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

    RetroPi AdvanceMame SourceCode Build

    Scheduled Pinned Locked Moved Help and Support
    advance-mamemame settingspole position
    3 Posts 2 Posters 491 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.
    • A
      AMaraklov
      last edited by

      RasPi 3
      Power Supply is a Power Brick With a Switch
      RetroPie Version Used: 4.7.1
      Pre made SD Image on RetroPie website
      retropie-buster-4.7.1-rpi2_3.img
      USB Keyboard and U-HID

      Guide used: https://www.advancemame.it/doc-build

      So I'm trying to get some driving games to work (Pole Position, Outrun etc..) and I want to use a single switch, or use the Normally Open/Normally Closed functionality to trigger the shifter, the issue is most emulators do this with a toggle, which is less than optimal when you have labels on the cab with H-L or some other designation, as it is easy to swap them, during boot etc...

      So in Pole Position there's a driver polepos.c where you can comment out the toggle, and get it to work as originally intended, where when the switch is depressed it's in H or L, and if it's not it's in the other gear, so no confusion.

      The issue is because I have to alter the driver file, I have to re-compile advance-mame from source, I tried installing the source code build for emulationstation, from retopie-setup, and that worked, but I don't know if that script deleted the source files once done, but I can't find the driver .c files.

      So my question is, how do I add the "from source build" advance-mame, in my ~/advancemame folder, to be selectable during launch, where you can assign a mame engine, or is that even possible, am I barking up the wrong tree?

      I was thinking of adding some symlinks into the ~/.advance folder, or copying it over wholesale, but I figured I'd ask here, because most posts are about rom configurations, and multiple rom folders, which is not what I want, I'm fine with 1 rom folder, and 1 configuration, but to run the source built advance-mame instead of the one provided by Retropie-setup.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Just compile it (and optionally install it) separately, then modify your arcade (or mame-advance , whatever ROM folder you use) launch configuration in /opt/retropie/configs/arcade/emulators.cfg and add an entry for your own modified advmame under a different name and with the correct path.
        When launching an arcade ROM, use the Runcommand launch menu to choose your own advmame version by default and that's it.

        A 1 Reply Last reply Reply Quote 0
        • A
          AMaraklov @mitu
          last edited by AMaraklov

          Sorry Wrong Thread

          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.