Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started 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
-
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)
-
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
-
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
-
It compresses the EXE. Just like a zip, the exe will need to be decopressed.
BTW, /. know you are using that pic here ;)