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: mamewah question - roms loading after a few seconds  (Read 2387 times)

0 Members and 1 Guest are viewing this topic.

dreamfreak

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:August 23, 2005, 08:10:58 am
  • I'm a llama!
mamewah question - roms loading after a few seconds
« on: August 17, 2005, 03:36:07 am »
hi,
my cabinet hdd crashed  >:( and I set up my system with the newest versions of mamewah and mame.
now the roms are loading after about 5-10 sec ...
do you have a solution ?

thx

elvis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1154
  • Last login:January 13, 2025, 08:48:40 am
  • penguin poker
    • StickFreaks
Re: mamewah question - roms loading after a few seconds
« Reply #1 on: August 17, 2005, 04:56:46 am »
If you are using a precompiled version of MAME, there's a good chance whoever built it has compressed it with a tool like UPX. 

http://upx.sourceforge.net/

The end result is a much smaller MAME executable (I think the uncompressed mame.exe is around 20MB now, and an upx'ed version can sit under 5MB easily).  The downside is that the entire file needs to be read into memory and decompressed before the driver for the game you've selected can be found and executed.  Compare this to a version of MAME that hasn't been UPX'ed, and only needs to read in the main program and the particular driver you need for your game, which will shave those few seconds off the load time.

Solution?  Either find a copy of MAME that hasn't been UPX'ed, or build one yourself via the instructions on mame.net.

http://www.mame.net/compilewin.html


loadman

  • Wiki Contributor
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: mamewah question - roms loading after a few seconds
« Reply #2 on: August 17, 2005, 05:33:28 am »
Does it take longer in you load a game from a command prompt?

IE

dreamfreak

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:August 23, 2005, 08:10:58 am
  • I'm a llama!
Re: mamewah question - roms loading after a few seconds
« Reply #3 on: August 17, 2005, 06:46:44 am »
I

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: mamewah question - roms loading after a few seconds
« Reply #4 on: August 17, 2005, 08:32:44 am »
Probably has nothing to do with MAMEWAH.

What version of MAME?
What games?

Do you have this set in your mame ini file, located in your MAME directory.

skip_validitychecks 1

dreamfreak

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:August 23, 2005, 08:10:58 am
  • I'm a llama!
Re: mamewah question - roms loading after a few seconds
« Reply #5 on: August 17, 2005, 09:15:41 am »
I use 0.99 and my roms are up to date with clearmame

I will put your skip set in my ini

thx