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: Why is my build of MAME 17mb vs 4.7mb distro?  (Read 1110 times)

0 Members and 1 Guest are viewing this topic.

tbombaci

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 381
  • Last login:October 31, 2024, 01:32:56 pm
Why is my build of MAME 17mb vs 4.7mb distro?
« 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

creatine28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 481
  • Last login:July 26, 2012, 03:41:48 pm
  • Which way to the Arcade?
Re:Why is my build of MAME 17mb vs 4.7mb distro?
« Reply #1 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

Rocky

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 562
  • Last login:December 30, 2009, 12:38:41 pm
  • I want to finish my cab before I retire!!
Re:Why is my build of MAME 17mb vs 4.7mb distro?
« Reply #2 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

tbombaci

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 381
  • Last login:October 31, 2024, 01:32:56 pm
Re:Why is my build of MAME 17mb vs 4.7mb distro?
« Reply #3 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

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 17, 2025, 11:04:07 pm
  • The Bears Still Suck!
Re:Why is my build of MAME 17mb vs 4.7mb distro?
« Reply #4 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 ;)