| View previous topic :: View next topic |
| Author |
Message |
ZileXa
Joined: 27 Jun 2006 Posts: 2
|
Posted: Tue Jun 27, 2006 5:49 pm Post subject: |
|
|
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
|
Posted: Wed Jun 28, 2006 12:52 am Post subject: |
|
|
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
|
Posted: Wed Jun 28, 2006 12:06 pm Post subject: |
|
|
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
|
Posted: Thu Jun 29, 2006 10:28 pm Post subject: |
|
|
| Quote: | | everyone may check out the batchfile.. |
Hmmm...,yes this is correct for current version. Only for current version
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
|
Posted: Wed Feb 28, 2007 3:30 pm Post subject: |
|
|
| 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: 302
|
Posted: Wed Feb 28, 2007 11:52 pm Post subject: |
|
|
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
|
Posted: Thu Aug 30, 2007 10:07 pm Post subject: |
|
|
[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: 302
|
Posted: Mon Sep 10, 2007 6:30 pm Post subject: |
|
|
| 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 |
|
 |
|