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: How can you get MAME to switch resolutions dynamically WITHIN the game?  (Read 1338 times)

0 Members and 1 Guest are viewing this topic.

Fusion916

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:September 03, 2023, 03:55:07 am
I am already using switchres 1 and specifying the resolution of games in an ini file. No problem with that, as it boots in the correct resolution (lets just say 320x240).

But how do I get MAME to dynamically switch the resolution when the game does? For example, within the game, switching between 320x240, then 640x480i, then back to 320x240, etc.

An example game that I play that does this Guitar Freaks (all versions do this I think), but other games also do this. On a real hardware this is no problem as the PCB itself will dynamically change timings and frequencies sent to the CRT, but with MAME, it seems it changes the windows video resolution once on boot and never touches it again despite the actual in game resolution changing.

Is there any way for MAME to do this?