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: Framedelay - the last piece of the puzzle?  (Read 3222 times)

0 Members and 1 Guest are viewing this topic.

Jonny G

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 191
  • Last login:March 04, 2024, 05:59:46 pm
Framedelay - the last piece of the puzzle?
« on: February 17, 2016, 01:50:29 pm »
Now I have GM installed on Win7 with the latest emu drivers, it looks like the only thing left to do in terms of perfection is to play with the framedelay option.

Could someone run me through the steps of creating the individual game ini's please? (I swear I had bookmarked a guide referring to this, but just cannot seem to find it!)

On another note, what are the chances of there ever being an automated way of generating perfect ini's per game? I can probably stand to create a batch for my favourites, but doing the lot could push me over the edge...

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1536
  • Last login:June 16, 2025, 04:27:16 pm
  • retro maniac
Re: Framedelay - the last piece of the puzzle?
« Reply #1 on: February 17, 2016, 04:54:28 pm »
Personally I set frame_delay 2 in main ini and then tested all games and then set additional inis when value is too high or frame_delay caused strange behaviour.. That's fine for me but not recommended.

Jonny G

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 191
  • Last login:March 04, 2024, 05:59:46 pm
Re: Framedelay - the last piece of the puzzle?
« Reply #2 on: February 19, 2016, 04:18:18 am »
Can anyone help me out if they're able to think where a guide to creating individual game ini's was posted. It was basically just a cut down list of all the commands you could enter to override those in Mame.ini.

Cheers!

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7461
  • Last login:May 23, 2025, 06:07:25 am
  • Quote me with care
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Jonny G

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 191
  • Last login:March 04, 2024, 05:59:46 pm
Re: Framedelay - the last piece of the puzzle?
« Reply #4 on: February 19, 2016, 10:29:50 am »
Thank you. It's possibly that ((haven't read through the full thread) I thought I had seen a list of all the commands you could enter in as per game ini

big10p

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 698
  • Last login:May 01, 2023, 01:46:23 pm
  • Mmmm, arcade classics!
Re: Framedelay - the last piece of the puzzle?
« Reply #5 on: February 19, 2016, 02:12:52 pm »
There's this guide, but it's for mainline MAME, so doesn't include any GM specific settings.
http://www.mameworld.info/easyemu/mameguide/mameguide-options.html

Jonny G

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 191
  • Last login:March 04, 2024, 05:59:46 pm
Re: Framedelay - the last piece of the puzzle?
« Reply #6 on: February 20, 2016, 05:28:15 am »
Nah, it wasn't that one. Basically I'm just after a list of all the main things you might want to put in a per game ini.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7461
  • Last login:May 23, 2025, 06:07:25 am
  • Quote me with care
Re: Framedelay - the last piece of the puzzle?
« Reply #7 on: February 20, 2016, 06:12:11 am »
All you have to put is:

frame_delay x

(x is a number between 1-9)

It wouldn't be bad to add "syncrefresh 1", this is implicit anyway but just in case triplebuffer got triggered by some game.

The value of frame_delay is the highest possible that gives you a stable frame rate.

The multithreading option is also good if the game doesn't switch resolutions several times.

For maximum theoretical performance, you can use:

priority 1
sleep 0
« Last Edit: February 20, 2016, 06:13:47 am by Calamity »
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Jonny G

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 191
  • Last login:March 04, 2024, 05:59:46 pm
Re: Framedelay - the last piece of the puzzle?
« Reply #8 on: February 20, 2016, 07:01:47 am »
thanks for the info!

So i just want to run a game with log output enabled and see which value for framedelay gets closest to 100%

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7461
  • Last login:May 23, 2025, 06:07:25 am
  • Quote me with care
Re: Framedelay - the last piece of the puzzle?
« Reply #9 on: February 20, 2016, 10:16:05 am »
No, just press F11.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Jonny G

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 191
  • Last login:March 04, 2024, 05:59:46 pm
Re: Framedelay - the last piece of the puzzle?
« Reply #10 on: February 20, 2016, 11:04:13 am »
OK then daft question. Bombjack for instance, is running at 100%, 100% of the time. Is there any point altering the framedelay value?

Frogger by comparison is running at 100% but has a lot of "partial updates" messages. Is that what altering framedelay would affect?

Also, is there a way to set the frameskip (F11) message to be on by default for all games?

intealls

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 322
  • Last login:May 27, 2025, 02:19:06 pm
  • I want to build my own arcade controls!
Re: Framedelay - the last piece of the puzzle?
« Reply #11 on: February 20, 2016, 11:06:59 am »
No, just press F11.

Another way is to use -bench with the ASIO build, since it has a built-in frame_delay benchmark. This will give you a conservative estimate of what your system is capable of with a given game. It uses the same method as creating a speed log and inspecting that using Octave/MATLAB, which Calamity linked a few posts up.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7461
  • Last login:May 23, 2025, 06:07:25 am
  • Quote me with care
Re: Framedelay - the last piece of the puzzle?
« Reply #12 on: February 20, 2016, 02:07:19 pm »
Another way is to use -bench with the ASIO build, since it has a built-in frame_delay benchmark. This will give you a conservative estimate of what your system is capable of with a given game. It uses the same method as creating a speed log and inspecting that using Octave/MATLAB, which Calamity linked a few posts up.

Sure, I knew this existed by didn't remember how to do it.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

arcadeswede

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:February 15, 2025, 10:03:44 am
    • Revansch!
Framedelay - the last piece of the puzzle?
« Reply #13 on: February 20, 2016, 02:23:26 pm »
I've read somewhere that while running a game unthrottled (throttle 0) or press F10, will show how fast your CPU can run the game.

So for example, if it says 750% you add 1 for every 250% so 750% would be frame_delay 3.
Is this true? Is it accurate doing this way?

I actually did that with DoDonPachi and got better result after that adjustment. Maybe it was just placebo?
« Last Edit: February 20, 2016, 02:29:44 pm by arcadeswede »