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: Single Joystick control of Defender and Battlezone (patch), ROTJ mouse patch...  (Read 20867 times)

0 Members and 1 Guest are viewing this topic.

artyfarty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 72
  • Last login:July 05, 2024, 05:18:55 am
  • I want to build my own arcade controls!
I had a look at the diff file for occurrences of williams_input_port_0_r (which appears to be what is giving compile errors), and replaced the two instances that I found with stargate_input_port_0_r and defender_input_port_0_r in the respective sections.

After applying this modified patch, the compile succeeds, and I get the option for 8-way joystick in defender.

Not sure whether this breaks anything else?

Martin

h0tw1r3

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 47
  • Last login:May 19, 2023, 09:50:54 pm
  • Git-R-Done
Not sure whether this breaks anything else?

Those are the only two changes, and exactly what I thought I uploaded.  This is getting comical...

artyfarty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 72
  • Last login:July 05, 2024, 05:18:55 am
  • I want to build my own arcade controls!
Thanks for the patch, much appreciated.  Martin

lowlytech

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 74
  • Last login:February 07, 2019, 08:12:12 am
  • I want to build my own arcade controls!
That did the trick for me too.  Complied with no problems.  Thanks so much..

artyfarty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 72
  • Last login:July 05, 2024, 05:18:55 am
  • I want to build my own arcade controls!
Just thought I'd add a note for others who might find this post for the same reasons as me.

I originally discovered this thread when searching for a MAME binary that included the defender patch for a 4-way or 8-way joystick.

If you are looking for a MAME binary that already includes support for 8-way joystick control of defender, battlezone and stargate, go and get h0tw1r3's UXME fork of MAME.

See h0tw1r3's post at http://forum.arcadecontrols.com/index.php?topic=146146.0 or download from his UXME site at https://build.zaplabs.com/project/uxme/

Martin

jimmer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 562
  • Last login:February 17, 2025, 02:48:38 pm
  • I want to play Defender like at the arcade.
So who's got the high score for 8way control Defender ?
« Last Edit: March 23, 2016, 02:00:12 pm by jimmer »
On forums jimmer speaks for himself as a Defender fan, not as proprietor of www.jbgaming.co.uk  << Is that advertising or disclosure ? or both ?

oomek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 268
  • Last login:March 30, 2025, 02:09:45 pm
  • Mame forever.
    • https://github.com/oomek
In case someone is still interested, here's the LUA script that does the same, but does not require patching the exe. It has some limitations though for which I'm still trying to figure out the solution.
http://forum.arcadecontrols.com/index.php/topic,163525.0.html
« Last Edit: September 11, 2020, 05:19:54 pm by oomek »