Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: dreamfreak on August 17, 2005, 03:36:07 am

Title: mamewah question - roms loading after a few seconds
Post by: dreamfreak 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
Title: Re: mamewah question - roms loading after a few seconds
Post by: elvis 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

Title: Re: mamewah question - roms loading after a few seconds
Post by: loadman on August 17, 2005, 05:33:28 am
Does it take longer in you load a game from a command prompt?

IE
Title: Re: mamewah question - roms loading after a few seconds
Post by: dreamfreak on August 17, 2005, 06:46:44 am
I
Title: Re: mamewah question - roms loading after a few seconds
Post by: 2600 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
Title: Re: mamewah question - roms loading after a few seconds
Post by: dreamfreak 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