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 gun loses alignment when I aim off the screen. <tag> Aimtrak <Tag>

    Scheduled Pinned Locked Moved Help and Support
    aimtrak
    91 Posts 8 Posters 13.2k 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.
    • T
      tuki_cat @dureq83
      last edited by

      @dureq83

      Great, thanks.

      What size screen do you have? It might then help me to pick a starting point

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

        32" LG 720p

        EfriimE 1 Reply Last reply Reply Quote 1
        • EfriimE
          Efriim @dureq83
          last edited by

          @dureq83
          I read somewhere that a candle shouldn't be used in place of the sensor bar. Do you think the sensitivity was part of the ambient light in the room?

          It looked a lot like the cursor dragging, but thinking about it now, the sensor was probably just identifying to the wrong light sources when it was taken off screen.

          Then again the analog setting was a solution so maybe it was drifting while it reached a determined maximum value.

          1 Reply Last reply Reply Quote 0
          • G
            grant2258 Banned
            last edited by

            i have a wi mote that easy enough to map up in linux. Ill just need to get a sensor bar ill knock something when i get one. Ill make a bin for testing when i get round to it for people with aimtracks wiimotes doplhin bars ect.

            EfriimE 1 Reply Last reply Reply Quote 0
            • EfriimE
              Efriim @grant2258
              last edited by

              @grant2258
              How do you map a wiimote? I have a motionPlus controller so maybe it is just difficult.

              If I sync it, it will show up and the buttons are there in jstest, but when I use it is identified as a keyboard in emulationstation and only the directional buttons work.

              1 Reply Last reply Reply Quote 0
              • G
                grant2258 Banned
                last edited by grant2258

                really depends how you configure it and what you want to use it for in my case im only interested in two buttons and the ir sensor

                Wiimote.A               = BTN_A
                Wiimote.B               = BTN_B
                Wiimote.Dpad.X          = ABS_HAT0X
                Wiimote.Dpad.Y          = ABS_HAT0Y
                Wiimote.Minus   = BTN_SELECT
                Wiimote.Plus    = BTN_START
                Wiimote.Home    = BTN_MODE
                Wiimote.1               = BTN_X
                Wiimote.2               = BTN_Y
                

                should get you going not tested it obviously you can change the mapping any way you like

                for ir sensor add

                Plugin.ir_ptr.X = ABS_X
                Plugin.ir_ptr.Y = ABS_Y
                

                I know the ir sensor is working fine i tested it with my remote control just need to get a sensor bar if i ever get round to it

                1 Reply Last reply Reply Quote 0
                • G
                  grant2258 Banned
                  last edited by

                  Well ive added light gun support to my wee mame 095 test core its not an official core very much beta for my personal use. when i get a sensor bar ill test it and let mark know if it works or not then he can decide if 2003 and plus will get light gun support if it does.

                  1 Reply Last reply Reply Quote 1
                  • G
                    grant2258 Banned
                    last edited by

                    ok used two ir leds soldered to a usb cable to test the wii more doesnt work well unless you stand in the exact right place every time you defo need the cross hairs on. I dont see how the aimtrack will be much different unless the user uses the gun in the exact same position or calibrates it when the distance/height/player changes. Even changing people with different height would knock this out. Anyone with a aimtrack had much success without cross hairs on?

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      BJRetro @grant2258
                      last edited by

                      @grant2258 I think that’s the issue @MrLightgun invented his light gun to solve. But if you have code changes that will make a lightgun of any kind work with lr-Mame2003-plus that would be awesome. I could never get it working right with my dolphin bar/wiimote setup, and in general libretro is way easier to use than advancemame for most people including me.

                      quicksilverQ 1 Reply Last reply Reply Quote 0
                      • G
                        grant2258 Banned
                        last edited by

                        well i dont have a dophin bar ill mess about with the MoltenGamepad looks promising since its using the kernel drivers for the wii mote not the easiest to setup for users though. Ill do some setup tests with this and see if something is doable for the wii mote.

                        B 1 Reply Last reply Reply Quote 0
                        • quicksilverQ
                          quicksilver @BJRetro
                          last edited by

                          @BJRetro I just got a dolphinbar a few days ago to use with retropie and was able to get T2 to work using lr-mame2003+. I haven't had a chance to test much beyond that yet.

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            BJRetro @grant2258
                            last edited by BJRetro

                            @grant2258 ok I’m sorry I thought you meant you had a breakthrough with getting code working so the wiimote motion and buttons were recognized in a mame core (your own version, and albeit using your own created ir sensor)so that whatever you found in the code might be translated over to the lr-mame2003-plus core. I misunderstood.

                            1 Reply Last reply Reply Quote 0
                            • B
                              BJRetro @quicksilver
                              last edited by

                              @quicksilver interesting I just updated mame2003 plus for something and I think I tried with the wiimote again a couple games and it still didn’t work - wand didn’t move the cursor. Could you try Lethal Enforcers 1 and let me know if it works? If so maybe I have a setting wrong but I had tried a lot to get it working before figuring out I could use advancemame. Separately how did you get past the configuration screen for T2? I was able to configure gun 1 with the wiimote but then it made me try to configure gun 2, which I didn’t have anything for and I couldn’t figure out how to get past that screen to get to the game (in advance mame or mame2003plus).

                              quicksilverQ 1 Reply Last reply Reply Quote 0
                              • G
                                grant2258 Banned
                                last edited by

                                there really is no break through we just need to map the device we want to use for the light gun input. RA does have a lighgun api no documentation of what it maps to and how to map it ect so ill see if there is a workable way for us to map these ir sensor devices

                                1 Reply Last reply Reply Quote 0
                                • quicksilverQ
                                  quicksilver @BJRetro
                                  last edited by

                                  @BJRetro I just had a second controller hooked up to get through the calibration phase for player two. Ill test lethal enforcers when I have a moment and report back.

                                  quicksilverQ 1 Reply Last reply Reply Quote 0
                                  • quicksilverQ
                                    quicksilver @quicksilver
                                    last edited by

                                    @BJRetro so I tested lethal enforcers II with mame2003+ and I can get it to partially work but I can only aim in one quarter of the screen and shooting off screen to reload doesn't really work.

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      grant2258 Banned
                                      last edited by grant2258

                                      here you go for dolphin bar users

                                      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.