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 --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: San Francisco Rush: The Rock running @60fps in MAME  (Read 2362 times)

0 Members and 1 Guest are viewing this topic.

Bigtymer781

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • Last login:June 30, 2019, 08:44:11 pm
San Francisco Rush: The Rock running @60fps in MAME
« on: October 09, 2018, 08:00:57 pm »
I was messing around yesterday with the overclock slider controls in MAME and I noticed that if you increase the 'Screen Refresh Rate' the frames per second would actually increase slightly in Rush. When I put the refresh rate to the max value (67fps), Rush would top out at 34fps instead of 30, which is exactly half. So then I went into the MAME 0.199 source code and changed the max value to 120 to see if the game would then run at 60fps, and sure enough it did!

I was already using a custom MAME 0.199 build that had the main CPU for Rush (r5000) overclocked to get a frame rate boost, but the game would top out at 30fps. So then I started overclocking even more to try and get a solid 60fps. With the r5000 @600mhz (the default speed is 200mhz) I'm averaging 40-60fps. It's a pretty massive FPS increase over the default MAME, which goes as low as 15fps and probably averages 20-25fps.

It can be overclocked even more, but the higher the overclock the more demanding it is on your PC.

If anyone is interested here's a download link to the custom MAME 0.199 build...
https://www43.zippyshare.com/v/PDtDNsSY/file.html

When the game first starts you have to go into the slider controls menu (with cheats enabled) and set the 'Screen Refresh Rate' to 120fps.




Here's a video...



« Last Edit: October 10, 2018, 01:50:02 am by Bigtymer781 »

DarthMarino

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 497
  • Last login:Today at 06:42:00 am
Re: San Francisco Rush The Rock running @60fps in MAME
« Reply #1 on: October 09, 2018, 10:26:20 pm »
Thanks for sharing. It's working great.  Hopefully the force feedback can be modified to work with this version and we'll have the ultimate version.

Bigtymer781

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • Last login:June 30, 2019, 08:44:11 pm
Re: San Francisco Rush The Rock running @60fps in MAME
« Reply #2 on: October 09, 2018, 10:34:32 pm »
Thanks for sharing. It's working great.  Hopefully the force feedback can be modified to work with this version and we'll have the ultimate version.
Yeah that would be great.

Here's 2 other versions that may work better or worse for some people based on their PC. The original link is r5000 @600mhz.

r5000 @400mhz...
https://www93.zippyshare.com/v/q6jOqzk9/file.html

r5000 @600mhz (original link)...
https://www43.zippyshare.com/v/PDtDNsSY/file.html

r5000 @1000mhz...
https://www53.zippyshare.com/v/U1YxGGQT/file.html

bandicoot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 54
  • Last login:July 17, 2019, 12:39:13 pm
Re: San Francisco Rush: The Rock running @60fps in MAME
« Reply #3 on: October 10, 2018, 11:23:07 am »
Do you think it's possible to make somthing like that on GTI CLUB i think it's a similare problem

Bigtymer781

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • Last login:June 30, 2019, 08:44:11 pm
Re: San Francisco Rush: The Rock running @60fps in MAME
« Reply #4 on: October 10, 2018, 09:34:18 pm »
Do you think it's possible to make somthing like that on GTI CLUB i think it's a similare problem
Is the game capped at 30fps? Maybe I could take a look at it sometime.

Here's some benchmarks I did today with fraps, they aren't very scientific because I couldn't figure out how to record input then playback input with MAME 0.199. During playback the inputs were out of sync, so I just played through the track four separate times for the benchmarks. Does anyone know if record/playback input is broken in the newer Mame versions?

Track 4 (Extreme Car) Benchmarks:

2018-10-10 15:29:22 - mame64 (200mhz @30 default mame)
Frames: 5639 - Time: 248416ms - Avg: 22.700 - Min: 15 - Max: 32

2018-10-10 18:17:44 - mame64 (400mhz @60)
Frames: 9874 - Time: 239259ms - Avg: 41.269 - Min: 30 - Max: 61

2018-10-10 18:04:29 - mame64 (600mhz @60)
Frames: 10945 - Time: 249789ms - Avg: 43.817 - Min: 30 - Max: 61

2018-10-10 18:11:14 - mame64 (1000mhz @60)
Frames: 11956 - Time: 244189ms - Avg: 48.962 - Min: 30 - Max: 61

These benchmarks were ran on an i7 8086k, and the emulation speed was locked on 100%.


« Last Edit: October 10, 2018, 09:39:10 pm by Bigtymer781 »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17676
  • Last login:Today at 03:44:13 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: San Francisco Rush: The Rock running @60fps in MAME
« Reply #5 on: October 10, 2018, 11:44:12 pm »
Yeah there are a few games with issues, like the crusin' series.  Might be worth looking into. 

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 768
  • Last login:September 13, 2019, 08:23:32 pm
  • I want to build my own arcade controls!
Re: San Francisco Rush The Rock running @60fps in MAME
« Reply #6 on: January 05, 2019, 05:40:31 pm »
Thanks for sharing. It's working great.  Hopefully the force feedback can be modified to work with this version and we'll have the ultimate version.

here ya go  ;)

Ive just added SF Rush The Rock stuff for this 60fps hack version (64bit)

I only used the original link you posted, not doing everyone lol

FFB won't work for any other mame games if using this specific version of mame, Ive only added SF Rush The Rock so if any other games are good with this then i can add others
« Last Edit: January 05, 2019, 07:53:21 pm by Boomslang »

DarthMarino

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 497
  • Last login:Today at 06:42:00 am
Re: San Francisco Rush: The Rock running @60fps in MAME
« Reply #7 on: January 05, 2019, 05:46:53 pm »
^Awesome. Thanks.  I've been playing a ton of 2049 since it got promoted to working.  It's probably worth revisiting the feedback on that game once MAME 0.206 comes out at the end of the month.

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 768
  • Last login:September 13, 2019, 08:23:32 pm
  • I want to build my own arcade controls!
Re: San Francisco Rush: The Rock running @60fps in MAME
« Reply #8 on: January 05, 2019, 07:57:48 pm »
^Awesome. Thanks.  I've been playing a ton of 2049 since it got promoted to working.  It's probably worth revisiting the feedback on that game once MAME 0.206 comes out at the end of the month.

re-done it again cos someone said hack works on normal sf rush too so ive added that aswell now


I was hoping to add mame output support to ffb plugin sometime but no one seems interested to help on it and I myself don't understand it all so unfortunately it's gonna have to wait for now :(

I will eventually re-do the mame plugin cos firstly the code is a gigantic mess but secondly to update to newer mame but I'm thinking more like a yearly update rather then weekly or monthly

However if someone really wants to update quicker then I can show how to find the addresses easy enough and you can get list together and it's pretty easy for me after that

DarthMarino

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 497
  • Last login:Today at 06:42:00 am
Re: San Francisco Rush: The Rock running @60fps in MAME
« Reply #9 on: January 05, 2019, 08:11:06 pm »
Let's wait until 0.206 comes out and I might be able to help.

Bigtymer781

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • Last login:June 30, 2019, 08:44:11 pm
Re: San Francisco Rush: The Rock running @60fps in MAME
« Reply #10 on: January 12, 2019, 07:55:32 pm »
^Awesome. Thanks.  I've been playing a ton of 2049 since it got promoted to working.  It's probably worth revisiting the feedback on that game once MAME 0.206 comes out at the end of the month.

re-done it again cos someone said hack works on normal sf rush too so ive added that aswell now


I was hoping to add mame output support to ffb plugin sometime but no one seems interested to help on it and I myself don't understand it all so unfortunately it's gonna have to wait for now :(

I will eventually re-do the mame plugin cos firstly the code is a gigantic mess but secondly to update to newer mame but I'm thinking more like a yearly update rather then weekly or monthly

However if someone really wants to update quicker then I can show how to find the addresses easy enough and you can get list together and it's pretty easy for me after that
Cool man, thanks for adding it.

I haven't really messed with this or played Rush in a couple months, but there are two negative side effects from the overclocking that I'm aware of.

When the game first loads a scene in attract mode the emulation speed will drop below 100% and there will be a 'hiccup' even on fast CPU's. The other problem I noticed is on some tracks during the "3, 2, 1" countdown it will say "3, 1, 2, 1" something like that if I remember right.

They are pretty minor problems, but I think they both can be fixed (there are speedups for rush attract mode already in the source code). Also it would be nice if the refresh rate was set to 120hz by default (for Rush and Rush the Rock only), without needing to go into the config menu. I think these changes can be done in the future.
« Last Edit: January 13, 2019, 07:53:41 pm by Bigtymer781 »