Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: electricd on January 13, 2006, 01:39:01 pm

Title: Compiled MAME much bigger than normal?
Post by: electricd on January 13, 2006, 01:39:01 pm
Hello,

I just download the MAME .103 source files and made 6 line changes and recompiled using the MingW document on mame.net.  Once it was all done, I ended up with a 35.1MB MAME executable file.  The actual MAME .103 binary download is only 8.24MB.  Where is this difference coming from?  I am assuming my 35.1MB version is going to take more resources to run than the 8.24MB version?  Did I do something wrong?

ED7
Title: Re: Compiled MAME much bigger than normal?
Post by: Farmboy90 on January 13, 2006, 01:41:51 pm
Dude I just had this same issue.  Mame compresses the executable with upx.exe.

I downloaded it last night and now the exe is only 8 megs.

http://upx.sourceforge.net/
Title: Re: Compiled MAME much bigger than normal?
Post by: electricd on January 13, 2006, 01:48:10 pm
I assume you just ran it at default? (ie upx mame.exe)
Title: Re: Compiled MAME much bigger than normal?
Post by: Farmboy90 on January 13, 2006, 01:50:04 pm
I assume you just ran it at default? (ie upx mame.exe)


uh huh     :)
Title: Re: Compiled MAME much bigger than normal?
Post by: Thenasty on January 13, 2006, 02:07:21 pm
mamdev uses this switch.

upx -9 mame.exe