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

    Aimtrak Success?

    Scheduled Pinned Locked Moved Help and Support
    15 Posts 6 Posters 2.8k 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.
    • Lamaman1971L
      Lamaman1971
      last edited by

      Hi Folks,

      So my Aimtrak arrived yesterday and, once Id used a windows PC to configure the gun to be a Mouse rather than a joystick it "kinda" works in advance mame - obviously after the requisite changes in the advmame-1.4.rc file.

      I say kinda - the cursor is wooly at best, even after calibration, in Operation Wolf. Plus, for some reason whenever I try to map the trigger / gun buttons to controls in mame the results are just a bunch of directional mumbo-jumbo.

      I feel like Im almost there with it - and I dont want to go the Windows route! Has anyone else tried a lightgun in RetroPie with any other emulator?

      By the way, its awesome - I got the version with the SoV and sourced the correct PSU - very cool - props to Andy at Ultimarc!

      Mark

      1 Reply Last reply Reply Quote 0
      • InsecureSpikeI
        InsecureSpike
        last edited by

        i'm very curious on how this turns out! please keep battling at it!
        can you post pics?
        thanks

        RPi 3 - RetroPie + 500gb HDD [consoles] + Razer Onza Tournament
        RPi 3 - RetroPie + 32gb USB [computers] + Keyboard
        both with AttractMode + FuzzBoxx Layout

        1 Reply Last reply Reply Quote 0
        • mediamogulM
          mediamogul Global Moderator
          last edited by mediamogul

          @Lamaman1971

          the cursor is wooly at best, even after calibration

          To use Ultimarc AimTrak guns or the Mayflash DolphinBar in an emulator, the software must support absolute mouse coordinates. By default, most of the emulators that have mouse support in RetroPie only utilize relative mouse coordinates. UAE4ALL2 seems to be the only exception. Absolute coordinates are also what's used for touchscreens, so keep that in mind when looking for compatible software.

          Light Gun support has been a requested feature and is discussed here:
          https://retropie.org.uk/forum/topic/840/light-gun-shooters

          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

          1 Reply Last reply Reply Quote 0
          • caver01C
            caver01
            last edited by

            @Lamaman1971 said in Aimtrak Success?:

            Plus, for some reason whenever I try to map the trigger / gun buttons to controls in mame the results are just a bunch of directional mumbo-jumbo.

            When I read this I was thinking that if you are mapping the trigger within the MAME GUI while holding the gun, small movements would send commands that the mapping process probably picks up. You might try setting the gun down and holding it solid so it can't move (or prevent it from seeing motion) and then map the trigger. That way, the only input received is your button.

            Just a thought.

            My 4-player cocktail style cabinet built as a custom "roadcase"

            mediamogulM 1 Reply Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator @caver01
              last edited by

              @caver01 said in Aimtrak Success?:

              or prevent it from seeing motion

              That's what I do when I calibrate my cabinet. I just aim the guns down, well below the sensor, as I map the buttons. Works very well.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              1 Reply Last reply Reply Quote 0
              • D
                david264
                last edited by

                Hiya

                Can anyone tell me what changes are needed in the RC file. ive been tryin to get my gun working in ADVmame for last few days ive not been having much luck.

                T 1 Reply Last reply Reply Quote 0
                • T
                  tuki_cat @david264
                  last edited by

                  @david264

                  It has been so long since I set up my Aimtrak I can’t remember, but I’m sure there is a post on this forum that will tell you if you search for it (I think that was how I found out).

                  When I’m back later I’ll also post the contents of my .rc file in case it’s useful

                  1 Reply Last reply Reply Quote 0
                  • D
                    david264
                    last edited by

                    thank you in advance

                    T 2 Replies Last reply Reply Quote 0
                    • T
                      tuki_cat @david264
                      last edited by

                      @david264

                      No problem. I’ve been delayed so may not get a chance to post the .RC until tomorrow morning

                      1 Reply Last reply Reply Quote 0
                      • T
                        tuki_cat @david264
                        last edited by

                        @david264

                        Hi,

                        Here is a link to my advmame-1.4.rc

                        https://pastebin.com/ixDYiGWf

                        I think it was these lines that I edited.

                        device_mouse raw

                        device_raw_mousedev[0] /dev/input/mouse0
                        device_raw_mousedev[1] /dev/input/mouse1
                        device_raw_mousedev[2] /dev/input/mouse2
                        device_raw_mousedev[3] /dev/input/mouse3
                        device_raw_mousetype[0] ps2
                        device_raw_mousetype[1] ps2
                        device_raw_mousetype[2] ps2
                        device_raw_mousetype[3] ps2

                        1 Reply Last reply Reply Quote 0
                        • D
                          david264
                          last edited by

                          thank you so much for the help i'll give them a bash :)

                          1 Reply Last reply Reply Quote 0
                          • D
                            david264
                            last edited by

                            im one step closer. the cursors are popping up now but when i move the gun its jumping all over the place. :( anyone got any ideas

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              tuki_cat @david264
                              last edited by

                              @david264

                              Can you enter the MAME menu (you normally press tab on the keyboard to get into it)?

                              If so I believe one of the options allows you to turn down the sensitivity of the gun movement.

                              I think you can set the sensitivity from 1 - 100. I have set mine at 25. I think you need to set sensitivity settings for both the X and Y axis.

                              1 Reply Last reply Reply Quote 0
                              • D
                                david264
                                last edited by

                                hi

                                @tuki_cat just wanted to say a big thank you for helping me ive spent the last 3 hours messing with the .rc file and GUI sensitivity ive got it impoved but its still jumping about quite bad. i think i'll just give it up as a bad job for time being.

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  tuki_cat @david264
                                  last edited by

                                  @david264

                                  Hi. I agree that sometimes taking a step back can help.

                                  I don't know what you have referred to in the past, or what guides you have read, so I post this in case its helpful.

                                  The Retropie Docs offer some good guidance (link below), the bits on testing mouse inputs and determining mice index numbers might help.

                                  https://retropie.org.uk/docs/Spinners,-Trackballs,-Lightguns,-and-other-Mouse-Devices/

                                  Have you installed the gunconf utility? It could be the gun calibration that is the issue. this also lets you test the gun.

                                  https://github.com/gunpadawan/gunconf

                                  This thread (link below) has a whole load on informaton that is related to the issues you have had. I have provided part of the thread below which specifically mentions the sensativity issues.

                                  https://retropie.org.uk/forum/topic/21848/aimtrak-gun-loses-alignment-when-i-aim-off-the-screen-tag-aimtrak-tag/70

                                  I hope that helps, and I can try and answers questions if I can

                                  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.