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: how to recompile mame...  (Read 1819 times)

0 Members and 1 Guest are viewing this topic.

simian

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:June 08, 2005, 01:57:46 am
  • I'm a llama!
how to recompile mame...
« on: May 30, 2005, 02:34:02 am »
what is really needed here? I run winxp on my computer and plan on recompiling dos mame .96, im kinda confused with all the info I have that i dunno where to start.

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: how to recompile mame...
« Reply #1 on: May 30, 2005, 10:19:02 am »
Did you read the documentation? 

sc1103

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 332
  • Last login:December 11, 2020, 08:37:35 pm
  • ......
Re: how to recompile mame...
« Reply #2 on: May 30, 2005, 12:55:45 pm »

AllisterFiend

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 165
  • Last login:June 04, 2013, 05:04:16 am
  • Rush 2112
    • Check out my Dragon's Lair/MAME cabinet.
Re: how to recompile mame...
« Reply #3 on: May 30, 2005, 04:09:56 pm »
Since this subject was brought up, I'll ask a question that is related to recompiling mame.

I've recompiled mame before but after recompiling, I noticed my mame went from around a 6 meg file to about 30+ meg file.  I normally just leave it at the new size since space on my hard drive is not an issue,  I was wondering if by leaving it this size does it have any unforeseen consequences, like longer load (boot) times for individual games...(as I plan to put mame on a slower computer)

Are there docs out there that show you how to compress it back to a reasonable size?


Thanks for any info.


Allister Fiend

EndTwist

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 480
  • Last login:May 26, 2022, 05:04:49 pm
  • Arg.
Re: how to recompile mame...
« Reply #4 on: May 30, 2005, 06:30:16 pm »
Since this subject was brought up, I'll ask a question that is related to recompiling mame.

I've recompiled mame before but after recompiling, I noticed my mame went from around a 6 meg file to about 30+ meg file.  I normally just leave it at the new size since space on my hard drive is not an issue,  I was wondering if by leaving it this size does it have any unforeseen consequences, like longer load (boot) times for individual games...(as I plan to put mame on a slower computer)

Are there docs out there that show you how to compress it back to a reasonable size?


Thanks for any info.


Allister Fiend

Actually, if anything, it would run [very] slightly faster at the 30mb+ size. The only reason it is 6mb from the MAME Team is because they have UPX Packed it. (Saves a lot of bandwidth).

And just to explain my speed comment - It would have that speed increase because it doesn't need to be "decompressed" as the precompiled ones do. But as I said, the difference is really, really minimal.

simian

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:June 08, 2005, 01:57:46 am
  • I'm a llama!
Re: how to recompile mame...
« Reply #5 on: May 30, 2005, 10:48:52 pm »
thanks for the info. it's all I really need. a source that's clear an easy  to look at (for motivation's sake).

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: how to recompile mame...
« Reply #6 on: May 31, 2005, 02:37:04 pm »
Actually, if anything, it would run [very] slightly faster at the 30mb+ size. The only reason it is 6mb from the MAME Team is because they have UPX Packed it. (Saves a lot of bandwidth).

And just to explain my speed comment - It would have that speed increase because it doesn't need to be "decompressed" as the precompiled ones do. But as I said, the difference is really, really minimal.
Also, some larger games won't load on the UPX'd version with minimal RAM, but I don't recall which ones.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

ddockery

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 47
  • Last login:October 29, 2005, 11:51:14 am
Re: how to recompile mame...
« Reply #7 on: June 01, 2005, 10:11:23 am »
Can anyone explain why the UPX version could cause some games to not run? I always thought it was decompressed, and the uncompressed (30MB) version was then stored in RAM, just as it normally would.  What did I oversimplify?

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: how to recompile mame...
« Reply #8 on: June 01, 2005, 11:00:07 am »
Can anyone explain why the UPX version could cause some games to not run? I always thought it was decompressed, and the uncompressed (30MB) version was then stored in RAM, just as it normally would.  What did I oversimplify?
I read that on the main MAME forum a while ago.

Perhaps if it is UPX'd, the entire program gets loaded into RAM but if it isn't it only uses the portions that it needs?

Dunno, but I think it was RB or Haze or Moogly Guy that posted it, so I think it's accurate.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

lokki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 647
  • Last login:May 05, 2025, 06:18:51 pm
Re: how to recompile mame...
« Reply #9 on: June 01, 2005, 11:33:22 am »
If the program is UPX the entire uncompressed executable is loaded into memory, If the program is not UPXed then on most Modern operating systems only the parts that are running are loaded into memory (giving mame a smaller running foot print).
Important to differenciate modern OS since DOS and up to Win ME will load the entire executable to memory no matter what.

Some systems use huge graphic tilemaps that are loaded in memory (hyper neogeo, konami gx etc). These games need about 1 gig of ram to run.

But I was not aware that UPX would cause some games to not run.




Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: how to recompile mame...
« Reply #10 on: June 01, 2005, 11:51:23 am »
If the program is UPX the entire uncompressed executable is loaded into memory, If the program is not UPXed then on most Modern operating systems only the parts that are running are loaded into memory (giving mame a smaller running foot print).
Important to differenciate modern OS since DOS and up to Win ME will load the entire executable to memory no matter what.

Some systems use huge graphic tilemaps that are loaded in memory (hyper neogeo, konami gx etc). These games need about 1 gig of ram to run.

But I was not aware that UPX would cause some games to not run.
That sounds like what I remember reading.  The problem probably occurred with moderng OS's and Konami GX and say 768M of RAM or so.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.