RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    *Working* AdvanceMAME 3.10 settings for Arcade Marble Madness with Two Happ USB trackballs

    Scheduled Pinned Locked Moved Help and Support
    advance mamemarble madnesstrackball usb
    1 Posts 1 Posters 162 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mlarsen2000
      last edited by

      Dear Retropie Community,

      I wanted to share working settings for two Happ USB trackballs, for my original arcade cabinet. These are just plugged directly in to my Pi4. This took me 10 hours to figure out how to get two trackballs simultaneously working, along with the correct speed and sensitivities, and coming up with a solution for this to be able to be saved with a Pi 4, as well as the 45 degree fix if you have an original control panel. I thought I would post the work here, in case it helps others in the future. Feel free to let me know if anyone has improvements on any of these settings, but all of this feels rather perfect to me, true to the arcade original:

      sudo nano /home/pi/.advance/advmame.rc (text editor)

      1. GET BOTH TRACKBALLS WORKING (find each line in the config file and edit the following)

      device_mouse raw
      device_raw_mousedev[0] /dev/input/mouse0
      device_raw_mousedev[1] /dev/input/mouse1
      device_raw_mousetype[0] ps2
      device_raw_mousetype[1] ps2

      1. MAP THE TRACKBALLS PROPERLY (NO 45 DEGREE FIX, JUST STANDARD TRACKBALL ORIENTATION)

      input_map[p1_trackballx] mouse[0,x]
      input_map[p1_trackbally] mouse[0,y]
      input_map[p2_trackballx] mouse[1,x]
      input_map[p2_trackbally] mouse[1,y]

      1. HOW TO SAVE TRACKBALL SENSITIVITES AND OTHER SETTINGS in advmame.rc so they load correctly EACH TIME without having to manually change things each time in-game on a Pi4,. (I couldn't find this solution on the internet or in any documentation, so this came with a lot of experimentation).

      REFERENCE KEY
      Digital Speed = keydelta
      Autocenter Speed = centerdelta
      Sensitivity = sensitivity
      Reverse = reverse

      Add the following lines to advmame.rc (the end of the file is fine):

      input_setting[p1_trackballx] keydelta:35,centerdelta:30,sensitivity:125,reverse:1
      input_setting[p1_trackbally] keydelta:30,centerdelta:30,sensitivity:125,reverse:0
      input_setting[p2_trackballx] keydelta:35,centerdelta:30,sensitivity:125,reverse:1
      input_setting[p2_trackbally] keydelta:30,centerdelta:30,sensitivity:125,reverse:0

      This will save your trackball settings properly when you boot the game each time in your dedicated arcade cabinet! Feel free to adjust as needed, seems to me like the best feel is for sensitivity between 120-130 in my opinion. Let me know if you find better settings to compete with these!

      1. (Optional) HERE IS HOW TO ROTATE YOUR TRACKBALLS 45 DEGREES ONLY IF YOU HAVE AN ORIGINAL MARBLE MADNESS CONTROL PANEL

      Edit the following lines:

      input_map[p1_trackballx] mouse[0,x] -mouse[0,y]
      input_map[p1_trackbally] mouse[0,x] mouse[0,y]
      input_map[p2_trackballx] mouse[1,x] -mouse[1,y]
      input_map[p2_trackbally] mouse[1,x] mouse[1,y]

      Hopefully this will help others in the future, and yes it can be done with Advancemame (version 3.10 at least), and not changing ANY retroarch settings in Retropie!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.