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

    Mayflash dolphinbar and AdvanceMAME 1.4

    Scheduled Pinned Locked Moved Help and Support
    mayflashdolphinbaradvancemameadvmamelight gun
    73 Posts 17 Posters 27.5k 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.
    • R
      Rettron
      last edited by

      So I found a solution to the issue of the dolphin bar only supporting only one wii zapper in mouse mode(mode 2). I bought a second dolphin bar and set it up like the first one, then synced a second controller and mapped it in the mame menu (hit tab while in mame game). It works perfectly as a second player after I followed this gentleman video

      . In short I have to wii zappers functioning as light guns for Mame advance 1.4 on Retropie. It seems to slow down game even more and tends to over work my power supply (flashing 4 colors in top right of screen), but me and the wife were able to play through Area51 and some older ones. Sadly Time crisis and other 3d shooters like it are virtually unplayable because of the limitations of the PI.

      1 Reply Last reply Reply Quote 1
      • M
        mrmartin79
        last edited by

        Hi Everyone, I wanted to clarify the correct steps for the Dolphinbar/wiimote gun setup.

        1. Setup AdvMame 1.4
        2. Add "gun" games to advmame folder
        3. Reboot Pi
        4. Plug dolphinbar usb into Usb port
        5. Select mode 2 on dolphinbar
        6. Press pair button on dolphinbar
        7. Press Red pair button in battery bay on wiimote
        8. Start Advmame 1.4 game Lethal Enforcers
        9. p1 crosshairs move around but trigger and wiimote buttons dont work

        At this point should everything be working?
        Or do i need to pair the wiimote directly to the RetroPie as well?

        In Advmame, using keyboard i can access config menus and set coin and start buttons to wiimote buttons 1,2 but when i try to config the trigger or A button it doesnt register with Mame.

        I think i'm close but could use clarification on the last bits.

        Thanks in adavnce!

        Marty

        B 1 Reply Last reply Reply Quote 0
        • B
          BGallagherLA @mrmartin79
          last edited by

          @mrmartin79 First thing, it should be mode 1 on DolphinBar. Second, you also have to pair the Wiimote to the on-board Bluetooth in your Pi, if you have a Pi 3. If you have a Pi 2 (like I do), you need a Bluetooth dongle. You also have to set the default emulator to AdvMame 1.4 by pressing a button when the grey box comes up before a game starts.

          I'm also using a keyboard, but only for the Select/Insert coin (5) and Start (1) buttons, but one of these days I should get around to mapping those to my Wiimote.

          You are in fact close. Just need to pair the Wiimote to Bluetooth, that should be it.

          M F 2 Replies Last reply Reply Quote 0
          • M
            mrmartin79 @BGallagherLA
            last edited by

            @bgallagherla Thanks for that advice! I paired the wiimote via the RetroArch>Bluetooth settings and got Lethal Enforcers running to the point of fun! However, it only works with Mode 2 on the dolphinbar.. it did not work with mode 1 for me.
            Also, I had to map button 1 > trigger pull but after that I wasted an hour. My wife didn't appreciate how many quarters this saved.

            Several other questions I have not see on the forum yet:

            • When I'm in Advmame and hit Tab to setup controls the select bar scrolls unless I balance the wiimote just perfectly. Is there anyway to prevent this? Its a real pain to try and balance the wiimote while using the keyboard to get to the correct control area.

            • advmame-1.4.rc should contain all the changes I make while in the Tab menus but changes don't seem to save. I have reset the permissions on the .rc file to 777 and will try again but not sure if this is a different issue ? I would like to set default controller configs for all advmame games since I am only using advmame for lightgun games.

            Alright, now to get more of these roms working! So far DuckHunt and LE1 worked for me.

            Best!

            B 1 Reply Last reply Reply Quote 0
            • B
              BGallagherLA @mrmartin79
              last edited by

              @mrmartin79 Glad you got it working! Strange about mode 2 though, always worked on Mode 1 for me, but I've heard others have to change theirs to 2. I have about 50 games that work with this setup.

              As for the balancing act, it is quite the pain, but I guess i've just gotten used to it, and/or learned how to balance it well. As for the advmame-1.4.rc... I honestly have no clue about all of that.

              Anyway, someone asked for my list of working gun games in AdvMame earlier so here are the ones I have got working. I actually added a bunch more last night, but many don't seem to be working - though that's probably a romset/rom issue more than anything. Still, a good rule of thumb is the older the game, the better chance it will work. Others have said they have Area 51 working, but it has yet to work with me, and many games with 3D graphics seem to be too much for the Pi. Also I have a Pi 2, so that's prob another issue. Anyway here's my gun game list as of now.

              Alien 3
              Bang!
              Beast Busters
              Blood Bros. (Set 1)
              Born To Fight
              Bubble Trouble (Japan, Rev C)
              Cheyenne
              Chiller
              Clay Pigeon (Version 2.0)
              Crackshot (Version 2.0)
              D-Day
              Dragon Gun
              Ghost Pilots
              Ghoul Panic
              Laser Ghost (World)
              Last Bronx
              Lethal Enforcers (11/19/92)
              Lethal Enforcers II
              Lethal Justice
              Line of Fire
              Lord of Gun (USA)
              Mad Dog McGree
              Mechanized Attack
              NY Captor
              Narc
              Ninja Assault
              Operation Thunderbolt
              Operation Wolf
              Polict10 (Police Trainer)
              Riot
              Shootout
              Showdown
              Space Gun
              Steel Gunner
              Terminator 2
              The Tin Star
              Under Fire
              Vs. Duck Hunt
              Vs. Freedom Force
              Vs. Gunsmoke
              Vs. Hogan's Alley
              Wanted
              Who dun It
              Zero Point
              Zero Point 2
              Zombie Raid

              M HurricaneFanH 2 Replies Last reply Reply Quote 1
              • M
                mrmartin79 @BGallagherLA
                last edited by mrmartin79

                @bgallagherla did you have to configure controls for each game? I know some have slightly different control schemes like Operation Wolf's 2nd button but just wondering what is typical.

                Is Mad Dog McGree via Dosbox?

                B F 2 Replies Last reply Reply Quote 0
                • HurricaneFanH
                  HurricaneFan @BGallagherLA
                  last edited by

                  @bgallagherla Is there any romset that has House of the Dead or Time Crisis working?

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    BGallagherLA @mrmartin79
                    last edited by

                    @mrmartin79 Nope. All of then worked with the crosshairs moving and the trigger button working without any configuration or calibration. The only one i had to map a button for was Operation Wolf and (i think Operation THunderbolt too), since there is an extra button for the grenades. If you dont map the Wiimote's "A" button to that, then it basically makes both the trigger and grenade button as one button - i.e. you fire all your grenades first right away, before using your regular bullets. But for the rest, its just the trigger and that worked automatically. And I use my keyboard for Select/Insert Coin (5) and Start (1) although I should map those to my other Wiimote buttons.

                    Re: Mad Dog, i dont know, i have Dosbox games but haven't tried any light gun games on that yet.

                    1 Reply Last reply Reply Quote 0
                    • B
                      BGallagherLA @HurricaneFan
                      last edited by

                      @hurricanefan Time Crisis technically works but it's SUPER laggy, not even worth it. I think it was the same for HOTD. Games with more advanced graphics like that seem to not mesh well on a Pi, but would probably run nicely on a PC setup, etc.

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        Febbweiss @mrmartin79
                        last edited by

                        @mrmartin79 Yes, Mad Dog works well via Dosbox.

                        1 Reply Last reply Reply Quote 0
                        • F
                          Febbweiss @BGallagherLA
                          last edited by

                          @bgallagherla I tried HOTD and Virtua Cop but there were no 3D graphics even on my PC. I think these roms don't work because of dumps and 3D libraries (no OpenGL support).

                          1 Reply Last reply Reply Quote 0
                          • F
                            Febbweiss @BGallagherLA
                            last edited by

                            @bgallagherla said in Mayflash dolphinbar and AdvanceMAME 1.4:

                            @mrmartin79 First thing, it should be mode 1 on DolphinBar. Second, you also have to pair the Wiimote to the on-board Bluetooth in your Pi, if you have a Pi 3. If you have a Pi 2 (like I do), you need a Bluetooth dongle.

                            I use the mode 2 and didn't pair my Wiimote with the raspberry on-board Bluetooth... Only with the Dolphin bar...

                            B M 2 Replies Last reply Reply Quote 0
                            • B
                              BGallagherLA @Febbweiss
                              last edited by

                              @febbweiss Hmm interesting about mode 2. Whatever works though!

                              edmaul69E 1 Reply Last reply Reply Quote 0
                              • M
                                mrmartin79
                                last edited by mrmartin79

                                I was able to get Area51 working without a problem. Just had to add the CHD file to the "images" directory. Or look at the advmame.rc file for images path. Then I put the rom in the roms folder.

                                I have also switched my DolphinBar to Mode 1. It still seems to work alright but I am struggling with the config. When I hit Tab and change Controller Config for All Games it works until I exit. But settings don't stick. From reading I believe the advmame-1.4.rc file should be changed but it does not. I have even reset permissions to 777.

                                Would someone with a working setup be able to post their .rc file so I can compare what I'm working on?

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mrmartin79 @Febbweiss
                                  last edited by

                                  @febbweiss

                                  Yes, I saw signs that this worked as well.... As I understood the DolphinBar it handles the controller pairing. I will unpair and experiment with this more.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mrmartin79
                                    last edited by

                                    UPDATES:
                                    I was able to get Area51 working without a problem. Just added the CHD file to the "image" directory. For me this was /home/pi/.advance/image but just look at the advmame-1.4.rc file for dir_image parameter.

                                    I have also switched my DolphinBar to Mode 1. It still seems to work alright but I am struggling with the config. When I hit Tab and change Controller Config for All Games it works until I exit. But settings don't stick. From reading I believe the advmame-1.4.rc file should be changed but it does not. I have even reset permissions to 777 but it doesn't seem to help... so I have added my settings to the .rc file.

                                    Currently I have the following setup:
                                    Trigger = fire
                                    A btn = 2ndary fire ala Op Wolf
                                    1 button = p1 coin in
                                    2 button = p1 start
                                    Home button = exit advmame back to emulationstation

                                    Here's what my .rc file looks like:

                                    debug_crash no
                                    debug_rawsound no
                                    debug_speedmark no
                                    device_alsa_device default
                                    device_alsa_mixer channel
                                    device_color_bgr15 yes
                                    device_color_bgr16 yes
                                    device_color_bgr24 yes
                                    device_color_bgr32 yes
                                    device_color_bgr8 yes
                                    device_color_palette8 yes
                                    device_color_yuy2 yes
                                    device_joystick auto
                                    device_keyboard raw
                                    device_mouse auto
                                    device_raw_firstkeyhack no
                                    device_raw_mousedev[0] auto
                                    device_raw_mousedev[1] auto
                                    device_raw_mousedev[2] auto
                                    device_raw_mousedev[3] auto
                                    device_raw_mousetype[0] pnp
                                    device_raw_mousetype[1] pnp
                                    device_raw_mousetype[2] pnp
                                    device_raw_mousetype[3] pnp
                                    device_sdl_samples 512
                                    device_sound alsa
                                    device_video fb
                                    device_video_cursor off
                                    device_video_doublescan yes
                                    device_video_fastchange no
                                    device_video_interlace yes
                                    device_video_output auto
                                    device_video_overlaysize auto
                                    device_video_singlescan yes
                                    dir_artwork /home/pi/RetroPie/roms/mame-advmame/artwork:/home/pi/RetroPie/roms/arcade/artwork
                                    dir_diff /home/pi/.advance/diff
                                    dir_hi /home/pi/.advance/hi
                                    dir_image /home/pi/.advance/image:/opt/retropie/emulators/advmame/1.4/share/advance/image:/home/pi/RetroPie/roms/mame-advmame/chd
                                    dir_inp /home/pi/.advance/inp
                                    dir_memcard /home/pi/.advance/memcard
                                    dir_nvram /home/pi/.advance/nvram
                                    dir_rom /home/pi/RetroPie/roms/mame-advmame:/home/pi/RetroPie/roms/arcade
                                    dir_sample /home/pi/RetroPie/roms/mame-advmame/samples:/home/pi/RetroPie/roms/arcade/sample
                                    dir_snap /home/pi/.advance/snap
                                    dir_sta /home/pi/.advance/sta
                                    display_adjust none
                                    display_antialias yes
                                    display_artwork_backdrop yes
                                    display_artwork_bezel no
                                    display_artwork_crop yes
                                    display_artwork_overlay yes
                                    display_aspectx 4
                                    display_aspecty 3
                                    display_beam 1
                                    display_brightness 1
                                    display_buffer no
                                    display_color auto
                                    display_expand 1
                                    display_flicker 0
                                    display_flipx no
                                    display_flipy no
                                    display_frameskip auto
                                    display_gamma 1
                                    display_intensity 1.5
                                    display_interlaceeffect none
                                    display_magnify auto
                                    display_magnifysize 640
                                    display_mode auto
                                    display_pausebrightness 1
                                    display_resize fractional
                                    display_resizeeffect auto
                                    display_restore yes
                                    display_rgbeffect none
                                    display_rol no
                                    display_ror no
                                    display_scanlines no
                                    display_skipcolumns auto
                                    display_skiplines auto
                                    display_translucency yes
                                    display_vsync no
                                    display_width 640
                                    display_height 480
                                    include 
                                    input_hotkey yes
                                    input_idleexit 0
                                    input_map[bill1] auto
                                    input_map[coin1] keyboard[0,pgup] or keyboard[0,5]
                                    input_map[coin2] auto
                                    input_map[coin3] auto
                                    input_map[coin4] auto
                                    input_map[coin5] auto
                                    input_map[coin6] auto
                                    input_map[coin7] auto
                                    input_map[coin8] auto
                                    input_map[event10] auto
                                    input_map[event11] auto
                                    input_map[event12] auto
                                    input_map[event13] auto
                                    input_map[event14] auto
                                    input_map[event1] auto
                                    input_map[event2] auto
                                    input_map[event3] auto
                                    input_map[event4] auto
                                    input_map[event5] auto
                                    input_map[event6] auto
                                    input_map[event7] auto
                                    input_map[event8] auto
                                    input_map[event9] auto
                                    input_map[interlock] auto
                                    input_map[p1_button10] auto
                                    input_map[p1_button1] joystick_button[0,left]
                                    input_map[p1_button2] joystick_button[0,right]
                                    input_map[p1_button3] auto
                                    input_map[p1_button4] auto
                                    input_map[p1_button5] auto
                                    input_map[p1_button6] auto
                                    input_map[p1_button7] auto
                                    input_map[p1_button8] auto
                                    input_map[p1_button9] auto
                                    input_map[p1_dial_down] auto
                                    input_map[p1_dial_left] auto
                                    input_map[p1_dial_right] auto
                                    input_map[p1_dial_up] auto
                                    input_map[p1_dialx] auto
                                    input_map[p1_dialy] auto
                                    input_map[p1_doubleleft_down] auto
                                    input_map[p1_doubleleft_left] auto
                                    input_map[p1_doubleleft_right] auto
                                    input_map[p1_doubleleft_up] auto
                                    input_map[p1_doubleright_down] auto
                                    input_map[p1_doubleright_left] auto
                                    input_map[p1_doubleright_right] auto
                                    input_map[p1_doubleright_up] auto
                                    input_map[p1_down] auto
                                    input_map[p1_left] auto
                                    input_map[p1_lightgun_down] auto
                                    input_map[p1_lightgun_left] auto
                                    input_map[p1_lightgun_right] auto
                                    input_map[p1_lightgun_up] auto
                                    input_map[p1_lightgunx] auto
                                    input_map[p1_lightguny] auto
                                    input_map[p1_mahjong_a] auto
                                    input_map[p1_mahjong_b] auto
                                    input_map[p1_mahjong_bet] auto
                                    input_map[p1_mahjong_c] auto
                                    input_map[p1_mahjong_chance] auto
                                    input_map[p1_mahjong_chi] auto
                                    input_map[p1_mahjong_d] auto
                                    input_map[p1_mahjong_double_up] auto
                                    input_map[p1_mahjong_e] auto
                                    input_map[p1_mahjong_f] auto
                                    input_map[p1_mahjong_flip_flop] auto
                                    input_map[p1_mahjong_g] auto
                                    input_map[p1_mahjong_h] auto
                                    input_map[p1_mahjong_i] auto
                                    input_map[p1_mahjong_j] auto
                                    input_map[p1_mahjong_k] auto
                                    input_map[p1_mahjong_kan] auto
                                    input_map[p1_mahjong_l] auto
                                    input_map[p1_mahjong_m] auto
                                    input_map[p1_mahjong_n] auto
                                    input_map[p1_mahjong_pon] auto
                                    input_map[p1_mahjong_reach] auto
                                    input_map[p1_mahjong_ron] auto
                                    input_map[p1_mahjong_score] auto
                                    input_map[p1_mouse_down] auto
                                    input_map[p1_mouse_left] auto
                                    input_map[p1_mouse_right] auto
                                    input_map[p1_mouse_up] auto
                                    input_map[p1_mousex] auto
                                    input_map[p1_mousey] auto
                                    input_map[p1_paddle_down] auto
                                    input_map[p1_paddle_left] auto
                                    input_map[p1_paddle_right] auto
                                    input_map[p1_paddle_up] auto
                                    input_map[p1_paddlex] auto
                                    input_map[p1_paddley] auto
                                    input_map[p1_pedalbrake] auto
                                    input_map[p1_pedalbrake_push] auto
                                    input_map[p1_pedalbrake_release] auto
                                    input_map[p1_pedalgas] auto
                                    input_map[p1_pedalgas_push] auto
                                    input_map[p1_pedalgas_release] auto
                                    input_map[p1_pedalother] auto
                                    input_map[p1_pedalother_push] auto
                                    input_map[p1_pedalother_release] auto
                                    input_map[p1_right] auto
                                    input_map[p1_stick_backward] auto
                                    input_map[p1_stick_down] auto
                                    input_map[p1_stick_forward] auto
                                    input_map[p1_stick_left] auto
                                    input_map[p1_stick_right] auto
                                    input_map[p1_stick_up] auto
                                    input_map[p1_stickx] auto
                                    input_map[p1_sticky] auto
                                    input_map[p1_stickz] auto
                                    input_map[p1_trackball_down] auto
                                    input_map[p1_trackball_left] auto
                                    input_map[p1_trackball_right] auto
                                    input_map[p1_trackball_up] auto
                                    input_map[p1_trackballx] auto
                                    input_map[p1_trackbally] auto
                                    input_map[p1_up] auto
                                    input_map[p2_button10] auto
                                    input_map[p2_button1] auto
                                    input_map[p2_button2] auto
                                    input_map[p2_button3] auto
                                    input_map[p2_button4] auto
                                    input_map[p2_button5] auto
                                    input_map[p2_button6] auto
                                    input_map[p2_button7] auto
                                    input_map[p2_button8] auto
                                    input_map[p2_button9] auto
                                    input_map[p2_dial_down] auto
                                    input_map[p2_dial_left] auto
                                    input_map[p2_dial_right] auto
                                    input_map[p2_dial_up] auto
                                    input_map[p2_dialx] auto
                                    input_map[p2_dialy] auto
                                    input_map[p2_doubleleft_down] auto
                                    input_map[p2_doubleleft_left] auto
                                    input_map[p2_doubleleft_right] auto
                                    input_map[p2_doubleleft_up] auto
                                    input_map[p2_doubleright_down] auto
                                    input_map[p2_doubleright_left] auto
                                    input_map[p2_doubleright_right] auto
                                    input_map[p2_doubleright_up] auto
                                    input_map[p2_down] auto
                                    input_map[p2_left] auto
                                    input_map[p2_lightgun_down] auto
                                    input_map[p2_lightgun_left] auto
                                    input_map[p2_lightgun_right] auto
                                    input_map[p2_lightgun_up] auto
                                    input_map[p2_lightgunx] auto
                                    input_map[p2_lightguny] auto
                                    input_map[p2_mahjong_a] auto
                                    input_map[p2_mahjong_b] auto
                                    input_map[p2_mahjong_bet] auto
                                    input_map[p2_mahjong_c] auto
                                    input_map[p2_mahjong_chance] auto
                                    input_map[p2_mahjong_chi] auto
                                    input_map[p2_mahjong_d] auto
                                    input_map[p2_mahjong_double_up] auto
                                    input_map[p2_mahjong_e] auto
                                    input_map[p2_mahjong_f] auto
                                    input_map[p2_mahjong_flip_flop] auto
                                    input_map[p2_mahjong_g] auto
                                    input_map[p2_mahjong_h] auto
                                    input_map[p2_mahjong_i] auto
                                    input_map[p2_mahjong_j] auto
                                    input_map[p2_mahjong_k] auto
                                    input_map[p2_mahjong_kan] auto
                                    input_map[p2_mahjong_l] auto
                                    input_map[p2_mahjong_m] auto
                                    input_map[p2_mahjong_n] auto
                                    input_map[p2_mahjong_pon] auto
                                    input_map[p2_mahjong_reach] auto
                                    input_map[p2_mahjong_ron] auto
                                    input_map[p2_mahjong_score] auto
                                    input_map[p2_mouse_down] auto
                                    input_map[p2_mouse_left] auto
                                    input_map[p2_mouse_right] auto
                                    input_map[p2_mouse_up] auto
                                    input_map[p2_mousex] auto
                                    input_map[p2_mousey] auto
                                    input_map[p2_paddle_down] auto
                                    input_map[p2_paddle_left] auto
                                    input_map[p2_paddle_right] auto
                                    input_map[p2_paddle_up] auto
                                    input_map[p2_paddlex] auto
                                    input_map[p2_paddley] auto
                                    input_map[p2_pedalbrake] auto
                                    input_map[p2_pedalbrake_push] auto
                                    input_map[p2_pedalbrake_release] auto
                                    input_map[p2_pedalgas] auto
                                    input_map[p2_pedalgas_push] auto
                                    input_map[p2_pedalgas_release] auto
                                    input_map[p2_pedalother] auto
                                    input_map[p2_pedalother_push] auto
                                    input_map[p2_pedalother_release] auto
                                    input_map[p2_right] auto
                                    input_map[p2_stick_backward] auto
                                    input_map[p2_stick_down] auto
                                    input_map[p2_stick_forward] auto
                                    input_map[p2_stick_left] auto
                                    input_map[p2_stick_right] auto
                                    input_map[p2_stick_up] auto
                                    input_map[p2_stickx] auto
                                    input_map[p2_sticky] auto
                                    input_map[p2_stickz] auto
                                    input_map[p2_trackball_down] auto
                                    input_map[p2_trackball_left] auto
                                    input_map[p2_trackball_right] auto
                                    input_map[p2_trackball_up] auto
                                    input_map[p2_trackballx] auto
                                    input_map[p2_trackbally] auto
                                    input_map[p2_up] auto
                                    input_map[p3_button10] auto
                                    input_map[p3_button1] auto
                                    input_map[p3_button2] auto
                                    input_map[p3_button3] auto
                                    input_map[p3_button4] auto
                                    input_map[p3_button5] auto
                                    input_map[p3_button6] auto
                                    input_map[p3_button7] auto
                                    input_map[p3_button8] auto
                                    input_map[p3_button9] auto
                                    input_map[p3_dial_down] auto
                                    input_map[p3_dial_left] auto
                                    input_map[p3_dial_right] auto
                                    input_map[p3_dial_up] auto
                                    input_map[p3_dialx] auto
                                    input_map[p3_dialy] auto
                                    input_map[p3_doubleleft_down] auto
                                    input_map[p3_doubleleft_left] auto
                                    input_map[p3_doubleleft_right] auto
                                    input_map[p3_doubleleft_up] auto
                                    input_map[p3_doubleright_down] auto
                                    input_map[p3_doubleright_left] auto
                                    input_map[p3_doubleright_right] auto
                                    input_map[p3_doubleright_up] auto
                                    input_map[p3_down] auto
                                    input_map[p3_left] auto
                                    input_map[p3_lightgun_down] auto
                                    input_map[p3_lightgun_left] auto
                                    input_map[p3_lightgun_right] auto
                                    input_map[p3_lightgun_up] auto
                                    input_map[p3_lightgunx] auto
                                    input_map[p3_lightguny] auto
                                    input_map[p3_mahjong_a] auto
                                    input_map[p3_mahjong_b] auto
                                    input_map[p3_mahjong_bet] auto
                                    input_map[p3_mahjong_c] auto
                                    input_map[p3_mahjong_chance] auto
                                    input_map[p3_mahjong_chi] auto
                                    input_map[p3_mahjong_d] auto
                                    input_map[p3_mahjong_double_up] auto
                                    input_map[p3_mahjong_e] auto
                                    input_map[p3_mahjong_f] auto
                                    input_map[p3_mahjong_flip_flop] auto
                                    input_map[p3_mahjong_g] auto
                                    input_map[p3_mahjong_h] auto
                                    input_map[p3_mahjong_i] auto
                                    input_map[p3_mahjong_j] auto
                                    input_map[p3_mahjong_k] auto
                                    input_map[p3_mahjong_kan] auto
                                    input_map[p3_mahjong_l] auto
                                    input_map[p3_mahjong_m] auto
                                    input_map[p3_mahjong_n] auto
                                    input_map[p3_mahjong_pon] auto
                                    input_map[p3_mahjong_reach] auto
                                    input_map[p3_mahjong_ron] auto
                                    input_map[p3_mahjong_score] auto
                                    input_map[p3_mouse_down] auto
                                    input_map[p3_mouse_left] auto
                                    input_map[p3_mouse_right] auto
                                    input_map[p3_mouse_up] auto
                                    input_map[p3_mousex] auto
                                    input_map[p3_mousey] auto
                                    input_map[p3_paddle_down] auto
                                    input_map[p3_paddle_left] auto
                                    input_map[p3_paddle_right] auto
                                    input_map[p3_paddle_up] auto
                                    input_map[p3_paddlex] auto
                                    input_map[p3_paddley] auto
                                    input_map[p3_pedalbrake] auto
                                    input_map[p3_pedalbrake_push] auto
                                    input_map[p3_pedalbrake_release] auto
                                    input_map[p3_pedalgas] auto
                                    input_map[p3_pedalgas_push] auto
                                    input_map[p3_pedalgas_release] auto
                                    input_map[p3_pedalother] auto
                                    input_map[p3_pedalother_push] auto
                                    input_map[p3_pedalother_release] auto
                                    input_map[p3_right] auto
                                    input_map[p3_stick_backward] auto
                                    input_map[p3_stick_down] auto
                                    input_map[p3_stick_forward] auto
                                    input_map[p3_stick_left] auto
                                    input_map[p3_stick_right] auto
                                    input_map[p3_stick_up] auto
                                    input_map[p3_stickx] auto
                                    input_map[p3_sticky] auto
                                    input_map[p3_stickz] auto
                                    input_map[p3_trackball_down] auto
                                    input_map[p3_trackball_left] auto
                                    input_map[p3_trackball_right] auto
                                    input_map[p3_trackball_up] auto
                                    input_map[p3_trackballx] auto
                                    input_map[p3_trackbally] auto
                                    input_map[p3_up] auto
                                    input_map[p4_button10] auto
                                    input_map[p4_button1] auto
                                    input_map[p4_button2] auto
                                    input_map[p4_button3] auto
                                    input_map[p4_button4] auto
                                    input_map[p4_button5] auto
                                    input_map[p4_button6] auto
                                    input_map[p4_button7] auto
                                    input_map[p4_button8] auto
                                    input_map[p4_button9] auto
                                    input_map[p4_dial_down] auto
                                    input_map[p4_dial_left] auto
                                    input_map[p4_dial_right] auto
                                    input_map[p4_dial_up] auto
                                    input_map[p4_dialx] auto
                                    input_map[p4_dialy] auto
                                    input_map[p4_doubleleft_down] auto
                                    input_map[p4_doubleleft_left] auto
                                    input_map[p4_doubleleft_right] auto
                                    input_map[p4_doubleleft_up] auto
                                    input_map[p4_doubleright_down] auto
                                    input_map[p4_doubleright_left] auto
                                    input_map[p4_doubleright_right] auto
                                    input_map[p4_doubleright_up] auto
                                    input_map[p4_down] auto
                                    input_map[p4_left] auto
                                    input_map[p4_lightgun_down] auto
                                    input_map[p4_lightgun_left] auto
                                    input_map[p4_lightgun_right] auto
                                    input_map[p4_lightgun_up] auto
                                    input_map[p4_lightgunx] auto
                                    input_map[p4_lightguny] auto
                                    input_map[p4_mahjong_a] auto
                                    input_map[p4_mahjong_b] auto
                                    input_map[p4_mahjong_bet] auto
                                    input_map[p4_mahjong_c] auto
                                    input_map[p4_mahjong_chance] auto
                                    input_map[p4_mahjong_chi] auto
                                    input_map[p4_mahjong_d] auto
                                    input_map[p4_mahjong_double_up] auto
                                    input_map[p4_mahjong_e] auto
                                    input_map[p4_mahjong_f] auto
                                    input_map[p4_mahjong_flip_flop] auto
                                    input_map[p4_mahjong_g] auto
                                    input_map[p4_mahjong_h] auto
                                    input_map[p4_mahjong_i] auto
                                    input_map[p4_mahjong_j] auto
                                    input_map[p4_mahjong_k] auto
                                    input_map[p4_mahjong_kan] auto
                                    input_map[p4_mahjong_l] auto
                                    input_map[p4_mahjong_m] auto
                                    input_map[p4_mahjong_n] auto
                                    input_map[p4_mahjong_pon] auto
                                    input_map[p4_mahjong_reach] auto
                                    input_map[p4_mahjong_ron] auto
                                    input_map[p4_mahjong_score] auto
                                    input_map[p4_mouse_down] auto
                                    input_map[p4_mouse_left] auto
                                    input_map[p4_mouse_right] auto
                                    input_map[p4_mouse_up] auto
                                    input_map[p4_mousex] auto
                                    input_map[p4_mousey] auto
                                    input_map[p4_paddle_down] auto
                                    input_map[p4_paddle_left] auto
                                    input_map[p4_paddle_right] auto
                                    input_map[p4_paddle_up] auto
                                    input_map[p4_paddlex] auto
                                    input_map[p4_paddley] auto
                                    input_map[p4_pedalbrake] auto
                                    input_map[p4_pedalbrake_push] auto
                                    input_map[p4_pedalbrake_release] auto
                                    input_map[p4_pedalgas] auto
                                    input_map[p4_pedalgas_push] auto
                                    input_map[p4_pedalgas_release] auto
                                    input_map[p4_pedalother] auto
                                    input_map[p4_pedalother_push] auto
                                    input_map[p4_pedalother_release] auto
                                    input_map[p4_right] auto
                                    input_map[p4_stick_backward] auto
                                    input_map[p4_stick_down] auto
                                    input_map[p4_stick_forward] auto
                                    input_map[p4_stick_left] auto
                                    input_map[p4_stick_right] auto
                                    input_map[p4_stick_up] auto
                                    input_map[p4_stickx] auto
                                    input_map[p4_sticky] auto
                                    input_map[p4_stickz] auto
                                    input_map[p4_trackball_down] auto
                                    input_map[p4_trackball_left] auto
                                    input_map[p4_trackball_right] auto
                                    input_map[p4_trackball_up] auto
                                    input_map[p4_trackballx] auto
                                    input_map[p4_trackbally] auto
                                    input_map[p4_up] auto
                                    input_map[safequit] auto
                                    input_map[service] auto
                                    input_map[service_coin1] auto
                                    input_map[service_coin2] auto
                                    input_map[service_coin3] auto
                                    input_map[service_coin4] auto
                                    input_map[service_coin5] auto
                                    input_map[service_coin6] auto
                                    input_map[service_coin7] auto
                                    input_map[service_coin8] auto
                                    input_map[start1] keyboard[0,pgdn] or keyboard[0,1]
                                    input_map[start2] auto
                                    input_map[start3] auto
                                    input_map[start4] auto
                                    input_map[start5] auto
                                    input_map[start6] auto
                                    input_map[start7] auto
                                    input_map[start8] auto
                                    input_map[tilt] auto
                                    input_map[ui_add_cheat] auto
                                    input_map[ui_cancel] keyboard[0,esc] or keyboard[0,lwin]
                                    input_map[ui_cocktail] auto
                                    input_map[ui_configure] auto
                                    input_map[ui_delete_cheat] auto
                                    input_map[ui_down] keyboard[0,down]
                                    input_map[ui_edit_cheat] auto
                                    input_map[ui_end] keyboard[0,enter]
                                    input_map[ui_frameskip_dec] auto
                                    input_map[ui_frameskip_inc] auto
                                    input_map[ui_help] auto
                                    input_map[ui_home] auto
                                    input_map[ui_left] auto
                                    input_map[ui_load_state] auto
                                    input_map[ui_mode_next] auto
                                    input_map[ui_mode_pred] auto
                                    input_map[ui_on_screen_display] auto
                                    input_map[ui_pan_down] auto
                                    input_map[ui_pan_left] auto
                                    input_map[ui_pan_right] auto
                                    input_map[ui_pan_up] auto
                                    input_map[ui_pause] auto
                                    input_map[ui_record_start] auto
                                    input_map[ui_record_stop] auto
                                    input_map[ui_reset_machine] auto
                                    input_map[ui_right] auto
                                    input_map[ui_save_cheat] auto
                                    input_map[ui_save_state] auto
                                    input_map[ui_select] keyboard[0,enter] or joystick_button[0,left]
                                    input_map[ui_show_fps] auto
                                    input_map[ui_show_gfx] auto
                                    input_map[ui_show_profiler] auto
                                    input_map[ui_snapshot] auto
                                    input_map[ui_startup] auto
                                    input_map[ui_throttle] auto
                                    input_map[ui_toggle_cheat] auto
                                    input_map[ui_toggle_crosshair] auto
                                    input_map[ui_toggle_debug] auto
                                    input_map[ui_toggle_ui] auto
                                    input_map[ui_turbo] auto
                                    input_map[ui_up] keyboard[0,up]
                                    input_map[ui_watch_value] auto
                                    input_map[volume_down] auto
                                    input_map[volume_up] auto
                                    input_steadykey no
                                    lcd_server none
                                    lcd_speed 4
                                    lcd_timeout 500
                                    misc_bios default
                                    misc_cheat no
                                    misc_cheatfile cheat.dat
                                    misc_difficulty none
                                    misc_eventdebug no
                                    misc_eventfile event.dat
                                    misc_freeplay no
                                    misc_hiscorefile hiscore.dat
                                    misc_lang none
                                    misc_languagefile english.lng
                                    misc_mutedemo no
                                    misc_quiet yes
                                    misc_safequit no
                                    misc_smp no
                                    misc_timetorun 0
                                    record_sound yes
                                    record_sound_time 15
                                    record_video yes
                                    record_video_interleave 2
                                    record_video_time 15
                                    script_coin1 
                                    script_coin2 
                                    script_coin3 
                                    script_coin4 
                                    script_emulation 
                                    script_event1 
                                    script_event10 
                                    script_event11 
                                    script_event12 
                                    script_event13 
                                    script_event14 
                                    script_event2 
                                    script_event3 
                                    script_event4 
                                    script_event5 
                                    script_event6 
                                    script_event7 
                                    script_event8 
                                    script_event9 
                                    script_led1 on(kdb, 0b1); wait(!event()); off(kdb, 0b1);
                                    script_led2 on(kdb, 0b10); wait(!event()); off(kdb, 0b10);
                                    script_led3 
                                    script_play 
                                    script_safequit 
                                    script_start1 
                                    script_start2 
                                    script_start3 
                                    script_start4 
                                    script_turbo while (event()) { toggle(kdb, 0b100); delay(100); } off(kdb, 0b100);
                                    script_video wait(!event()); set(kdb, 0);
                                    sound_adjust auto
                                    sound_equalizer_highvolume 0
                                    sound_equalizer_lowvolume 0
                                    sound_equalizer_midvolume 0
                                    sound_latency 0.2
                                    sound_mode auto
                                    sound_normalize no
                                    sound_samplerate 44100
                                    sound_samples yes
                                    sound_volume -3
                                    sync_fps auto
                                    sync_resample auto
                                    sync_speed 1
                                    sync_startuptime auto
                                    sync_turbospeed 3
                                    ui_color[help_other] 000000 808080
                                    ui_color[help_p1] 000000 ffff00
                                    ui_color[help_p2] 000000 00ff00
                                    ui_color[help_p3] 000000 ff0000
                                    ui_color[help_p4] 000000 00ffff
                                    ui_color[interface] 000000 ffffff
                                    ui_color[select] 000000 afffff
                                    ui_color[tag] 247ef0 ffffff
                                    ui_font auto
                                    ui_fontsize auto
                                    ui_helpimage auto
                                    ui_translucency 0.8
                                    

                                    Here are a few addl. items I'm working on:

                                    • Lethal Enforcers 2 - can't reload
                                    • How to fix lag when pulling trigger/firing.. this really sucks for T2 or Op Wolf where there is machine gun action?

                                    Cheers!

                                    B 2 Replies Last reply Reply Quote 0
                                    • B
                                      BGallagherLA @mrmartin79
                                      last edited by

                                      @mrmartin79 Interesting. I must have put the CHD in the wrong folder then. Will investigate later tonight.

                                      Also, I just noticed this last night - the "all games" config doesn't work. But if you go into "This game," they do stick. Yeah, you gotta go in and map stuff for every game, but you only have to do it once. Why the "all games" thing doesn't work is beyond me, but thats the way it is I guess. I have a similar button setup but didn't think about mapping the home button to exit. Will have to do that as well.

                                      As for Lethal Enforcers 2... i have the same problem, and don't know why. With the first Lethal Enforcers, I can reload, but only if I'm aiming at the bottom off screen not on sides or top. Could be because my DolphinBar is on the bottom of my TV instead of top.

                                      As for this .rc file, can you give me the path where I can find/edit this thing on mine? I still don't know a whole lot about tweaking settings/files through Putty/SSH and other methods. Thanks!

                                      M 2 Replies Last reply Reply Quote 1
                                      • M
                                        mrmartin79 @BGallagherLA
                                        last edited by

                                        @bgallagherla Sure thing... the config file is at

                                        /opt/retropie/configs/mame-advmame

                                        Also, you should make a backup of it before you start editing. so duplicate it to bak_advmame-1.4.rc etc...

                                        If something is wrong in this file advmame will throw an error and not start. (errors from this file can be found in the /dev/shm/runcommand.log file it took me a few tries to figure out keyboard/button usage.)

                                        1 Reply Last reply Reply Quote 1
                                        • M
                                          mrmartin79 @BGallagherLA
                                          last edited by

                                          @bgallagherla For the CHD, I dropped the unzipped folder named "area51mx" into the image directory. Inside that folder is the "area51mx.chd" file.

                                          Hope that helps... Works pretty well although the mouse/trigger lag still annoys me.

                                          1 Reply Last reply Reply Quote 2
                                          • B
                                            BGallagherLA @mrmartin79
                                            last edited by

                                            @mrmartin79 said in Mayflash dolphinbar and AdvanceMAME 1.4:

                                            dir_image /home/pi/.advance/image:/opt/retropie/emulators/advmame/1.4/share/advance/image:/home/pi/RetroPie/roms/mame-advmame/chd

                                            OK, so this is your dir_image path above, take from the .rc file you shared in previous post. Here's the entry from mine:

                                            dir_image /home/pi/RetroPie/roms/mame-advmame

                                            It looks like you're redirecting this file to two different places (opt/retropie/emulators/advmame/1.4/share/advance/image - and /home/pi/RetroPie/roms/mame-advmame/chd) or am I totally off base?

                                            I tried putting the unzipped folder with CHD file in /home/pi/.advance/image but it didn't work. Will keep tweaking, just kinda confused...

                                            M 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.