TGBGame.exe size after compile
by Christian Rousselle · in Torque Game Builder · 07/28/2007 (2:38 am) · 7 replies
The size of TGBGame.exe is more than 2 MB when I compile TGB.
"Smaller Game Sizes Both TorqueGameBuilder.exe and your distributable games (TGBGame.exe) are now compressed and optimized for space on disk. With TGB 1.1.3 the executable file you had to distribute with your game was 3.27MB on a windows install. On 1.5, the distributable (TGBGame.exe) is less than 1MB."
Which additonal steps do I need to do in order to compress/create a small exe myself?
Thank you.
"Smaller Game Sizes Both TorqueGameBuilder.exe and your distributable games (TGBGame.exe) are now compressed and optimized for space on disk. With TGB 1.1.3 the executable file you had to distribute with your game was 3.27MB on a windows install. On 1.5, the distributable (TGBGame.exe) is less than 1MB."
Which additonal steps do I need to do in order to compress/create a small exe myself?
Thank you.
#3
07/29/2007 (10:08 am)
Thank you.
#4
07/29/2007 (7:55 pm)
Why UPX? If you use LZMA compression (which you probably should, because it has a better compression ratio than ZIP, and all the good install-makers support it ) UPX will actually add to the size of your distribution. Of course in this case it may be trivial (only a few 100 or so KB) but still unnecessary.
#5
It modifies the executable, it will unpack in "realtime" not unpack an exe and start that one like ZIP, 7z and the like.
you can use both on an executable if you like.
07/30/2007 (4:33 am)
UPX does not pack the executable like ZIP and the like.It modifies the executable, it will unpack in "realtime" not unpack an exe and start that one like ZIP, 7z and the like.
you can use both on an executable if you like.
#6
Last I heard UPX can cause false positives with some virus scanners (It's used by virus creators to reduce EXE sizes.) It doesn't matter to me, I have the source and can rebuild the EXEs all day. I'm just wondering why GG thinks UPX is a good idea.
07/30/2007 (11:37 am)
I know you can use them together, but when you do that ZIP will just be a bit bigger than it needs to be. Last I heard UPX can cause false positives with some virus scanners (It's used by virus creators to reduce EXE sizes.) It doesn't matter to me, I have the source and can rebuild the EXEs all day. I'm just wondering why GG thinks UPX is a good idea.
#7
07/30/2007 (4:25 pm)
Perhaps an automatic post-built script in their automatic building system as all 3 Torque Engines are affected by it.
Torque Owner Joe Rossi
Indri Games