Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: tbombaci on August 14, 2003, 05:41:24 pm

Title: Why is my build of MAME 17mb vs 4.7mb distro?
Post by: tbombaci on August 14, 2003, 05:41:24 pm
I just compiled mame. The exe is 17.9 mb! Can anyone suggest or point me to a FAQ?

Thanks.
-tom
Title: Re:Why is my build of MAME 17mb vs 4.7mb distro?
Post by: creatine28 on August 14, 2003, 06:41:33 pm
I noticed the same thing with my new compiled version.
Here's what I found while searching through Google.

http://groups.google.com/groups?q=Why+is+my+compiled+version+of+mame+big%3F&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=ar2j9j%24stt%241%40pegasus.csx.cam.ac.uk&rnum=2 (http://groups.google.com/groups?q=Why+is+my+compiled+version+of+mame+big%3F&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=ar2j9j%24stt%241%40pegasus.csx.cam.ac.uk&rnum=2)
Title: Re:Why is my build of MAME 17mb vs 4.7mb distro?
Post by: Rocky on August 14, 2003, 09:00:17 pm
Several builds ago, the MAME devs stopped including upx.exe in the files for compiling.  It's an executable packer to reduce the size.

 upx107w.zip is the whole package I got somewhere.

It will make your compiled version the same size as the binary they distribute.



Rocky
Title: Re:Why is my build of MAME 17mb vs 4.7mb distro?
Post by: tbombaci on August 14, 2003, 09:29:36 pm
Thank you for the responses. I had a great response on a board at mameworld.net. He mentioned that If I use UPX, the exe will indeed shrink (it did) but there is a memory usage / disk usage trade off. The larger binary will use less memory etc...

Best Regards,
Tom
Title: Re:Why is my build of MAME 17mb vs 4.7mb distro?
Post by: SirPoonga on August 15, 2003, 12:29:15 am
It compresses the EXE.  Just like a zip, the exe will need to be decopressed.


BTW, /. know you are using that pic here ;)