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: Saving frameskip setting in MAME on a 'per game' basis?  (Read 5989 times)

0 Members and 1 Guest are viewing this topic.

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Saving frameskip setting in MAME on a 'per game' basis?
« 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?

TAG

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 276
  • Last login:May 23, 2014, 05:52:05 pm
Re: Saving frameskip setting in MAME on a 'per game' basis?
« Reply #1 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.
I may not have gone where I intended to go, but I think I have ended up where I needed to be.

-- Dirk Gently

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Saving frameskip setting in MAME on a 'per game' basis?
« Reply #2 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.
Robin
Knowledge is Power

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Saving frameskip setting in MAME on a 'per game' basis?
« Reply #3 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.