Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Compiled MAME much bigger than normal?  (Read 1348 times)

0 Members and 1 Guest are viewing this topic.

electricd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 501
  • Last login:February 14, 2025, 07:59:10 pm
  • I'm not a llama!
Compiled MAME much bigger than normal?
« 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

Farmboy90

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 294
  • Last login:June 26, 2006, 12:15:04 am
  • My cab is done... Pics coming soon!!
Re: Compiled MAME much bigger than normal?
« Reply #1 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/

electricd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 501
  • Last login:February 14, 2025, 07:59:10 pm
  • I'm not a llama!
Re: Compiled MAME much bigger than normal?
« Reply #2 on: January 13, 2006, 01:48:10 pm »
I assume you just ran it at default? (ie upx mame.exe)

Farmboy90

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 294
  • Last login:June 26, 2006, 12:15:04 am
  • My cab is done... Pics coming soon!!
Re: Compiled MAME much bigger than normal?
« Reply #3 on: January 13, 2006, 01:50:04 pm »
I assume you just ran it at default? (ie upx mame.exe)


uh huh     :)

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:Yesterday at 01:25:13 am
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re: Compiled MAME much bigger than normal?
« Reply #4 on: January 13, 2006, 02:07:21 pm »
mamdev uses this switch.

upx -9 mame.exe
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0