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: RatRefresh - Automated EDID updater for MAME and others - no more LCD tearing  (Read 17641 times)

0 Members and 1 Guest are viewing this topic.

tonyt76

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 32
  • Last login:Today at 04:38:08 pm
  • I want to build my own arcade controls!
Hi everyone. Has anyone created a batch file to do the following:

Run the batch
Type in the rom name
Ratrefesh sets the custom res
MAME launches the same "rom" that you typed in?

Thanks!
« Last Edit: April 10, 2019, 09:27:36 am by tonyt76 »

Rataplan626

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:September 20, 2019, 02:29:25 am
  • I want to build my own arcade controls!
Tony, I will help you out, and we will post the final .bat here for reference for other people. Rest will be through PM to not clutter the forum. Also fixed the initial posts' images. Sorry for not responding earlier, never got the notifications. Changed my email address now, this one gets them. Probably a spam issue.

Note there's still no improvements in RatRefresh. However, I'm going to do a new version with better usability and hopefully detection of the display device. However, the main issue will still be there, which is restarting of the display driver. So far I've been unable to find a solution, or any third-party tool that can apply new EDID overrides without restarting the video driver.
Again, please prove me wrong :-)
« Last Edit: April 10, 2019, 10:03:30 am by Rataplan626 »

mortalkombatfan

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:July 22, 2019, 04:38:59 pm
  • I want to build my own arcade controls!
My Attract Mode emulator cfg

   !Code!
# Generated by Attract-Mode v2.5.1
#
executable           run.bat
args                 "[romfilename]"
workdir              emulators\MAME
rompath              roms\
romext               .zip;.7z
system               Arcade
info_source          listxml
import_extras        nplayers.ini;catver.ini
artwork    marquee         
artwork    snap
   !Code!

This is my batch file (run.bat) in the mame folder with nircmd.exe and ratrefresh configured as per instructions. I use nircmd.exe as attract mode loses focus when relaunched and does not terminate well.   

   !Code!
nircmd.exe killprocess attract.exe

ratrefresh.exe /edidfile edid.txt /file refreshrates.txt /get %~n1;mame

devconx64.exe disable =display
devconx64.exe enable =display

mame64.exe %1

ratrefresh.exe -edidfile edid.txt -refresh 60

devconx64.exe disable =display
devconx64.exe enable =display

nircmd.exe exec2 max "D:\Attract Mode" "D:\Attract Mode\attract.exe"
   !Code!

I use groovymame which would only launch after i added an additional display driver restart, as switchres did not agree.

In groovymame mame.ini
   !Code!
monitor      lcd
lcd_range   50.00-75.00
   !Code!

Putting this altogether you select a game refresh rate is chosen, attract mode terminated, mame launched when you exit mame the display is switched back to 60hz. Attract mode relaunched, Select another game.

I use groovymame with d3d9ex for low latency.

Bojak

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:Yesterday at 11:31:31 pm
  • I want to build my own arcade controls!
Unable to download your files, GDrive keep saying it's infected with virus, both 0.1 and 0.11 version.  :'(