Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Unsolved GPi Case and PiSNES Configs

    GamePad/GPIO/USB encoder
    gpi case pisnes configs
    3
    5
    1164
    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.
    • Snip3rM00n
      Snip3rM00n last edited by

      I recently got a GPi case and set it up with a Raspberry Pi Zero W and installed Recalbox onto it. After testing around with some SNES games, I've noticed that the A/B and X/Y buttons are swapped (A button is mapped to B on the case, B to A, X to Y and Y to X). Doing some digging, I learned that I should be able to create a custom config file for the SNES and so I created the config file /recalbox/share/custom_configs/snes9x.cfg and added the line snes.configfile=/recalbox/share/custom_configs/snes9x.cfg to my recalbox.conf and for good measure I rebooted Recalbox. When I run SNES roms though, the custom config file is seemingly ignored. Is there something I am missing?

      Setup:
      Device: Retroflag GPi Case
      Board: Raspberry Pi Zero W (2017)
      SD Card: 32GB SanDisk Ultra (flashed with Recalbox using Etcher)
      Recalbox Version: 6.1.1 Dragonblaze

      RecalBox.conf file and custom snes9x.cfg file

      sixer_sixer 3 Replies Last reply Reply Quote 1
      • sixer_sixer
        sixer_sixer @Snip3rM00n last edited by

        @snip3rm00n Yo i've also tried and also did not work here

        1 Reply Last reply Reply Quote 0
        • sixer_sixer
          sixer_sixer @Snip3rM00n last edited by

          @snip3rm00n OK I did the trick by editing the Python generator file in the terminal

          ssh root@192.168.0.xxx
          mount -o remount, rw /
          cd /usr/lib/python2.7/site-packages/configgen/generators/pisnes
          vi pisnesGenerator.py
          

          And re-mapping the keys

          RECALBOX_TO_PBCS_BUTTON_MAPPING = \
              {
                  "up": "UP",
                  "down": "DOWN",
                  "left": "LEFT",
                  "right": "RIGHT",
                  "a": "B",
                  "b": "A",
          ...
          

          But it got side effects to save/load states indeed
          NB: expecting you have remap your emulationstation keys to a snes controller of course 🙂

          Following this post
          https://forum.recalbox.com/topic/19565/pisnes-fullscreen-since-last-update-6-1-1-dragonblaze

          1 Reply Last reply Reply Quote 0
          • sixer_sixer
            sixer_sixer @Snip3rM00n last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Matze1980
              Matze1980 last edited by

              Go to the main menu (Start)
              Go to controller settings
              Go to Configure Controller
              Brings the Gpi case into Axis mode. Hold SELECT* + D-PAD LEFT for 5s. The device led will flash purple when done.
              *SELECT may have been replace by START on new firmware.
              Set up your controller.
              High
              Down
              Left
              Right
              Joystick can be skipped (press D-Pad down 4x)
              A
              B
              X
              Y
              Start
              Select
              L1
              R1
              Skip L2, R2, L3, R3 again (press D-Pad down 4x)
              Hotkey (press Select)
              Press B to finish OK

              Right B and A button in the SNES
              The D-Pad works with Scummvm

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Want to support us ?

              79
              Online

              99.0k
              Users

              28.1k
              Topics

              187.1k
              Posts

              Copyright © 2021 recalbox.com