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: [DEV] MAME 0.168 Slider Refresh Save V1.2-32-64  (Read 169 times)

1 Member and 1 Guest are viewing this topic.

Olivcade

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:Yesterday at 03:11:03 pm
  • I want to build my own arcade controls!
[DEV] MAME 0.168 Slider Refresh Save V1.2-32-64
« on: Yesterday at 12:04:06 pm »
Hello TEAM :-)

For those interested, I'm offering this modified version of MAME 0.168 which allows you to automatically SAVE the "Slider Refresh Rate" setting of the slider, accessible via the Tab key, and save it in the configuration files (.cfg) of each game.

Binary files for Windows 32-64 (compatible with XP / 7 / 8 / 10 / 11) and source code are available here:

https://github.com/HardCade/hardcade/releases/tag/Mame_slider_refresh_save

Some info from the README:

= ... ======================================================================================

This modified version of MAME 0.168 adds the ability to automatically SAVE the "Refresh Rate" setting of the
SLIDER, accessible via TAB, in the configuration files (.cfg) of each
game.

✓ Allows you to fine-tune all resolutions with extreme precision (3 decimal places)

NOW: The slider setting is saved and restored automatically!

⚠ PREREQUISITE: The "cheats" option must be enabled in the mame.ini file
for the "Screen Refresh Rate" slider to appear.

→ This option is ENABLED BY DEFAULT in this version.

===========================================================================================
VIDEO CONFIGURATION TO FINE THE REFRESH RATE
===============================================================================================================

This version has been configured to facilitate refresh rate adjustment:

✓ Triple Buffering: DISABLED (triplebuffer = 0)
✓ V-Sync: DISABLED (waitvsync = 0)
✓ Filters Video: DISABLED

= ... ===========================================================================================

The settings are saved in: cfg/[game_name].cfg

Example for Double Dragon: cfg/ddragon.cfg

You can open this file with Notepad to see:

<?xml version="1.0"?>
<mameconfig version="10">
<system name="ddragon">
<screen_refresh>
<screen tag=":screen" refresh="60.000000" />

</screen_refresh>
</system>
</mameconfig>

===========================================================================================
FEATURES
========================================================================================================

✓ Automatic saving of the slider refresh rate to the .cfg file
✓ Automatic loading on game startup
✓ Intelligent detection (only modified values ​​are saved)
✓ Accuracy 0.001 Hz (3 decimal places)
✓ Automatic reset when you return to the default value
✓ Compatible with all MAME games
✓ The "Screen Refresh Rate" slider retains its value between sessions
Hardcade / PlayRetro Frontend development / Mame 0.168 Slider Refresh Save 1.2 development

Hardcade Frontend : https://sourceforge.net/projects/arcade-frontend/

Mame 0.168 Slider Refresh Save 1.2 : https://github.com/HardCade/hardcade