Small executables
Hi,
I was wandering about something I saw on the internet:
GameTutorials
These are very little executables but the length of the 'movie' are amazing,
and my question is how do they do that?
I use VC++ 7 or Delphi, but I never get such small executables even when only compiling the main function :)
Any ideas?
Thanks,
Starik
So if I understand it correctly, the basis of .theprodukkt is that everything is done in run-time, and textures and such are 'calculated' in procedures and not stored as data?
And incredibly those demos (including a music player with 12 mods) are stored in only 64K!!!
You have seen that when you write a simple "hello world" app you start from 50K or above!
To reduce the size of the executable so much it is necessary to use win32 assembler programming (for example masm32).
You have seen that when you write a simple "hello world" app you start from 50K or above!
To reduce the size of the executable so much it is necessary to use win32 assembler programming (for example masm32).
No, those demos are programmed in C++.
What you can do first is get rid of all debug info in your executable.
Then you should take a look for executable packers.
http://upx.sourceforge.net/
Graphics are decompressed when the application is started, or better said, they are generated like explained at the farbrausch site.
Sound is stored in a mod format, or probably fasttracker xm format. The samples may also be generated during startup by fm-synthesis.
What you can do first is get rid of all debug info in your executable.
Then you should take a look for executable packers.
http://upx.sourceforge.net/
Graphics are decompressed when the application is started, or better said, they are generated like explained at the farbrausch site.
Sound is stored in a mod format, or probably fasttracker xm format. The samples may also be generated during startup by fm-synthesis.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement