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

Set up trackball for a specific roms



  • Hi, I'm building an arcade with a joystick and a jamma trackball, how do I set up the trackball to play in certain roms? Thank you. (sorry for my english but I'm italian.)?



  • Hi,

    I have done that with my Tankstick :)

    I will assume you are running a version of MAME at the moment, probably MAME2003 or MAME4All... you haven't told me

    So what I would do is install a version of MAME that works with a trackball without an issue, and is different to your current one, in this case Advanced MAME. So if you install Advanced MAME and add the specific ROMs to your roms folder, you will have what you want. It is important to get ROMs that match your version of MAME (I think 0.106 will probably be it).

    I would be more helpful but you haven't provided much detail in what you are running.





  • I am having an issue like the end user; I am using the X arcade USB track ball with udev buttons;

    I can only get Marable madness to work with mame2003

    It's the only game that works with my track ball none of my other games will work;

    I have all my games in the arcade folder and mostly use FBA or Mame2013 or AdvMame to run them;

    I have already done input_player1_mouse_index = "0" to the retroarch.cfg
    I have enabled mouse to enabled as well

    https://shop.xgaming.com/collections/arcade-parts/products/x-arcade-trackball-assembly-usb
    This is the unit I'm using

    For this
    Trackball
    Since most trackball games will be emulated in AdvanceMAME using Player1, configure these lines as follows:

    input_map[p1_trackballx] mouse[0,x] mouse[1,x] mouse[2,x] mouse[3,x]
    input_map[p1_trackbally] mouse[0,y] mouse[1,y] mouse[2,y] mouse[3,y]
    This tells MAME to map the Player 1 Trackball to the X and Y inputs for all four of our possible mouse inputs. We are covering all possibilities here so if the mouse indexes change (maybe you boot up with an external mouse attached and next time you don't) it won't affect the gameplay. Basically, all attached mouse inputs will map to the game input.

    What location would I put this information?

    Does anyone have a simple way for this to work with more systems? Anyone else using this version how did you set it up
    I did the install via ETA primes youtube video so I have the drivers



  • @allenpie I know this is just your "mee too" addition to this thread which is fine, but @rbaker's suggestion above still applies. If anyone is going to be able to help you, you need to add the exact details about your setup following https://retropie.org.uk/forum/topic/3/read-this-first.

    Also, you will need to read more documentation to understand the difference between all of the arcade emulators. For example, you are quoting something I wrote in the Wiki that describes how to add configuration lines to the .rc file for AdvanceMAME. This has absolutely nothing to do with the entry you put into retroarch.cfg, since AdvanceMAME does not use RetroArch. Furthermore, these AdvanceMAME configurations assume a lot more attention as been paid to the mouse index, they assume you have also setup the mouse to use the RAW driver, and that you have defined the mouse device references elsewhere in the .rc file. You need to follow the whole wiki document for the emulator you are using.



  • @allenpie Some people have the mouse index being set t 2 gives better results. But I ended up using Advanced MAME instead for all my trackball ROMs



  • I installed adv-meme and change the .rc like the wiki said and now my trackball is working :)
    I'm pretty happy now



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.