Abyssmedia.com Forum Index Abyssmedia.com
Abyssmedia Support Forums
 
  FAQ    Search    Memberlist    Usergroups   Register 
  Profile    Log in to check your private messages    Log in 

LARGE .exe filesize! 250 Bytes .bat to 146 KB .exe - Other tools create lot smaller output!

 
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> Quick Batch File Compiler
View previous topic :: View next topic  
Author Message
ZileXa



Joined: 27 Jun 2006
Posts: 2

PostPosted: Tue Jun 27, 2006 5:49 pm    Post subject: Reply with quote

Hi, I would like to know why the .exe file becomes 146KB.
The file I am converting only has 14 lines, 250 bytes.
The .exe file is 73x bigger then it is suppose to be.. because:

When I use ExeScript, the .exe file is 8.6KB.
When using commandline tools like bat2com and bat2exec, the .exe file is just 2KB!
So it seems Quick Batchfile Converter puts A LOT of junk in the exe file. Why?
Back to top
Oleg Tsheglov
Site Admin


Joined: 13 Feb 2004
Posts: 309

PostPosted: Wed Jun 28, 2006 12:52 am    Post subject: Reply with quote

Well, good question!

Did you know how it work?

1. bat2exe is rare DOS application and support only MS-DOS/Win95 commands
It can create only 16-bit applications, using assembler.

2. ExeScript from my good friends (everstrike.com) just combine tiny loader with script text
into single EXE file.

3. QBFC offer much more features, it included encryption module for protecting script source (Blowfish algorithm),
compression module for included files (LZH algorithm), application resources (icons, version info).

Please take a look on compression and encryption software - most of applications have a bigger size!
Back to top
ZileXa



Joined: 27 Jun 2006
Posts: 2

PostPosted: Wed Jun 28, 2006 12:06 pm    Post subject: Reply with quote

OK but, I don't need encryption... everyone may check out the batchfile..

Please check out this:
http://www.savefile.com/projects.php?pid=423945
It creates smaller files, allows icons and other files to be included.

Just got the idea last night.

The 7zSD.sfx module is from Oleg_Sch, I am not Russian, but perhaps you know Russian, here is his site:
http://7zsfx.solta.ru/



Edited By ZileXa on 1151496486
Back to top
Oleg Tsheglov
Site Admin


Joined: 13 Feb 2004
Posts: 309

PostPosted: Thu Jun 29, 2006 10:28 pm    Post subject: Reply with quote

Quote:
everyone may check out the batchfile..


Hmmm...,yes this is correct for current version. Only for current version Smile

We working on ne new version very long time, it will create exe files with same size,
but will contain our own scripting engine. No one can't see encrypted content.

Another reason - we uses Borland Delphi and this compiler can not create small exe files.
Back to top
DJX



Joined: 04 Jan 2007
Posts: 12
Location: Cleveland, Ohio

PostPosted: Wed Feb 28, 2007 3:30 pm    Post subject: Reply with quote

I've noticed that too. And when I put extra resources (Company, Copyright, Internal Name, ETC...) using a PE Explorer, it render's the file down a few bytes. I think the main reason is just plain junk and the reversible encryption (Decompilation information).
Back to top
support
Site Admin


Joined: 13 Feb 2004
Posts: 376

PostPosted: Wed Feb 28, 2007 11:52 pm    Post subject: Reply with quote

Not right.
Total size of resources inside compiled exe file 24884 bytes.
This includes "version info", "application icon"...
Back to top
jsmcpn



Joined: 30 Aug 2007
Posts: 2
Location: Colorado

PostPosted: Thu Aug 30, 2007 10:07 pm    Post subject: Reply with quote

[quote="Oleg Tsheglov"]
2. ExeScript from my good friends (everstrike.com) just combine tiny loader with script text
into single EXE file.

3. QBFC offer much more features, it included encryption module for protecting script source (Blowfish algorithm),
compression module for included files (LZH algorithm), application resources (icons, version info).
quote]

Sorry to resurrect this old thread -
Question: Are there any plans for a future QBFC that will also support VBScript like ExeScript does?
Back to top
support
Site Admin


Joined: 13 Feb 2004
Posts: 376

PostPosted: Mon Sep 10, 2007 6:30 pm    Post subject: Reply with quote

We are working on the new compiler for VBScript and Jscript files. It scheduled on 1 october 2007. All QBFC customers will get big discount for this new compiler.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> Quick Batch File Compiler All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2011 phpBB Group