Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Want a nice tight EXE?

  1. #1

    Want a nice tight EXE?

    Give ASPack a try. I've found it reduces the size of most my apps and games well over 50%, without any horrendous side effects! Yeah it's gonna cost you about $30 for a license if you distribute freeware, and $50 if you plan to sell your goods. But hey it's helped me fit more than one of my "too big for a diskette" applications onto a diskette.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

  2. #2

    Want a nice tight EXE?

    If you're cheap, there's always UPX too!
    "All paid jobs absorb and degrade the mind."
    <br />-- Aristotle

  3. #3

    Want a nice tight EXE?

    Cheap is good too.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

  4. #4

    Want a nice tight EXE?

    Cheap is good!
    Do it by the book, but be the author!
    <br />
    <br />Visit the Lion Productions website at:
    <br />http://lionprod.f2o.org

  5. #5

    Want a nice tight EXE?

    I don't know about hte latest versions of UPX, but the old versions used to cause the runtime memory footprint of your application to grow tremendously. I've seen my applications' memory foot print increase anywhere from 30% to 1000% (yes, one thousand).

    Me thinks an exe packer may not be a good idea.

  6. #6

    Want a nice tight EXE?

    Exe packers are indeed not the best way to accomplish a nice tight exe, but if you have to make a really small application and no-one asks about the memory usage, well than its a nice idea...

    But they all use up more memory than your application would have without the packer... Thats the downside ...
    Do it by the book, but be the author!
    <br />
    <br />Visit the Lion Productions website at:
    <br />http://lionprod.f2o.org

  7. #7

    Want a nice tight EXE?

    When I use UPX it also makes the exe code much harder to hex.

    My game only increases the VM and mem by only about 1mb .. not a lot
    -AOTA Head Programmer
    <br />www.aotaonline.com
    <br />LiquidIce@aotaonline.om

  8. #8

    Want a nice tight EXE?

    Under windows, exe packers defeat several memory saving technigues windows uses.

    Normally there is only 1 copy of code in memory, regardless of how many instances there are. When a memory page of code is needed, it is read out of the file, when a code page is discarded it just gets dropped completely and doesnt get swapped out. And then re-read out of the executable when needed (which will be in the file cache normally).

    But an exe packer, writes its own code pages. Windows then has to keep the entire thing in memory at once, for each instance of the code. And when a code page is discarded, it must be swapped into the virtual memory to preseve it.

    Not to mention it will slow the application start up if you have a moderate sized exe (several megabytes)

  9. #9

    Want a nice tight EXE?

    Best way to get a small exe is not to use SyUtils and to create the Form manually using windows functions.
    Ask me about the xcess game development kit

  10. #10

    Want a nice tight EXE?

    The best I have done is 14KB for an OpenGL application without using an exe packer. Just used Win32API, no SysUtils, no Forms, just the bare minimum.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •