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

    Select button issues with LSDJ (Demo) on GB

    Scheduled Pinned Locked Moved Help and Support
    retroarch
    5 Posts 3 Posters 1.7k 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.
    • johne79J
      johne79
      last edited by

      LSDJ the music chiptune composing app on Gameboy uses button combinations like SELECT+RIGHT to switch between screens (such as Pattern Editor, Song Editor, etc).

      When I try this it doesn't work but will just give me a little yellow message on the bottom that it changed save state slots. I CAN use rshift+left/right to change screens.

      I'm very new to RetroPie and I was just wondering how to change the behavior appropriately for this specific ROM on Gameboy. I'm using a USB NES gamepad for my gamepad. So I want to use SELECT+(RIGHT/LEFT/UP/DOWN) during the game and remap the change save slot behaviors to keyboard keys.

      Started looking through the docs and retroarch.cfg but only have a vague idea how I might do this.

      B 2 Replies Last reply Reply Quote 0
      • B
        backstander @johne79
        last edited by

        @johne79
        You can over-ride the default RetroArch/libretro Hotkey behavior for a specific game by putting your custom configuration in a file named <ROM filename>.zip.cfg in the same directory as your ROM.

        For example:
        If your ROM file is named lsdj3_1_9_demo.zip in ~/RetroPie/roms/gb/ then you would make a file named ~/RetroPie/roms/gb/lsdj3_1_9_demo.zip.cfg.

        Now I'm not sure of the information you need to put in this file because I've never tried this and I'm not at my RPi.

        1 Reply Last reply Reply Quote 0
        • B
          backstander @johne79
          last edited by backstander

          @johne79
          Okay I experimented with this over my lunch break and this is what I discovered!

          From my understanding input_enable_hotkey is for a keyboard and input_enable_hotkey_btn is for a game controller but I had to set both to the same keyboard key before it would work.

          Here is an example of my <ROM filename>.zip.cfg:

          # Hotkey button
          input_enable_hotkey = "del"
          input_enable_hotkey_btn = "del"
          # Exit emulator
          input_exit_emulator = "Z"
          input_exit_emulator_btn = "Z"
          # Reset ROM
          input_reset = "X"
          input_reset_btn = "X"
          

          Also Hotkey + B button on game controller to save state and Hotkey + X button on game controller to load state. So with my "Hotkey" set to the Delete key on the keyboard, I was able to hold down the Delete key on my keyboard and then press the B button on game controller to successfully save and X to load.

          johne79J 1 Reply Last reply Reply Quote 0
          • johne79J
            johne79 @backstander
            last edited by

            Bless you backstander, it works! ^_^

            I had to make sure the input_state_slot_increase_btn = "S" and input_state_slot_decrease_btn = "A" were set (I used Z/X, and Q/W for Exit/Reset ROM).

            1 Reply Last reply Reply Quote 1
            • I
              itscherrybomb
              last edited by

              @johne79
              Hellooo, I try to do this on my rasppberry pi, but nothing happen, I have my room with lsdj.gb, pls, how i can do it?

              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.