Jump to content
  • Advertisement
Sign in to follow this  
Starik1974

Small executables

This topic is 5034 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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?

Share this post


Link to post
Share on other sites
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).

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
I get it, I find it very interesting how they do that, its amazing.

I'm going to find out if I can make something similar too, you can always try, no?

Thanks for your input,

Starik

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!