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 do I use the offscreen_reload option only for lightgun games that need it?  (Read 3249 times)

0 Members and 1 Guest are viewing this topic.

dmworking247

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 305
  • Last login:July 14, 2024, 01:30:59 pm
When I set offscreen_reload to '1' in the mame.ini, the B button of my lightgun works as reload for games like Lethal Enforcers (that needs to shoot offscreen to reload).

However, I cant leave it this way permanently... if I do, other games that dont use offscreen-reload and have a different function for button B... the offscreen_reload option seems to make button B function the same as Button A (mouse 0) when I set things up in the game config.

Is there a way to set things up so that offscreen_reload is configured on a game-by-game basis?

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Make a game-specific ini file (gamename.ini), and put in your \mame\ini folder!

It only needs to contain the part(s) you want different to mame.ini.  ie, in this case 'offscreen_reload 1'.

dmworking247

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 305
  • Last login:July 14, 2024, 01:30:59 pm
You legend, thankyou! I'm going to try that right now.