Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Turnarcades on September 16, 2009, 01:42:33 pm

Title: Saving frameskip setting in MAME on a 'per game' basis?
Post by: Turnarcades on September 16, 2009, 01:42:33 pm
Very quick question.

In my mame.ini, the default frameskip across the board is set to automatic, which is great for games that run well with no lag or only have the occasional hiccup. I learned somewhere that on some games that appear slow, setting the frameskip to 1 or 2 actually makes the game appear to run at a more consistent speed without high frameskip moments making it appear to lag. This trick works great on those games my PC struggles with, but I have to set the frameskip manually every time I load the game.

So, how can I save the default frameskip in MAME on a 'per game' basis? For example, you can set and save different key maps for each individual game, so can you save the default frameskip on each game?
Title: Re: Saving frameskip setting in MAME on a 'per game' basis?
Post by: TAG on September 16, 2009, 03:54:27 pm
I *think* you can do this by using game-specific ini files saved in the ini folder.  For example, in timecrs.ini, use the line "frameskip 2," or whatever number of frames you need to skip to keep it relatively smooth.
Title: Re: Saving frameskip setting in MAME on a 'per game' basis?
Post by: u_rebelscum on September 16, 2009, 06:03:04 pm
Side note: I suggest having just that one line in the game specific ini files.  Keep them as simple as possible.

That way if you want to make a global change in any other setting, all you have to change is in mame.ini.  If the game specific are full ini files, then you'd have to hand do the same gloabal change change in each file.
Title: Re: Saving frameskip setting in MAME on a 'per game' basis?
Post by: Turnarcades on September 16, 2009, 06:49:25 pm
Thanks for that - it was a big help. Had to figure out exactly what had to be written in the individual .ini file, but sussed it thanks. Got them launching at frameskip 2 now by default, which is the best compromise between frame rate and speed.