Recalbox Forum

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

    Replacing custom retroacrch.cfg in recalbox.conf

    GamePad/GPIO/USB encoder
    replacing retroacrch.cfg recalbox.conf
    2
    9
    6950
    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.
    • dbunnykong
      dbunnykong last edited by

      Dear all,
      I need some guidance on how to do the following:
      I have already configured a new hotkey setting by pressing Hotkey + B during a game, saved a NEW config (say sample.cfg). Got to "root access" using SSH, successfully rename the sample.cfg to custom.cfg. I want this config apply to all or global and all these steps done according to the wiki guideline.

      The next step, I access the recalbox.conf is through network using browser with my Pi3/Recalbox IP, and get to Configuration open up the recalbox.conf.

      I'm kinda confused on the next step stated in the Wike Guide:
      6) add the next line to recalbox.conf : neogeo.configfile=/recalbox/share/system/configs/retroarch/inputs/neogeo_custom.cfg

      If I want my newly created config file (/recalbox/share/system/configs/retroarch/inputs/custom.cfg) to apply to all or global, which "LINE" in the recalbox.conf should I place into? Is this the correct description:

      ;global.configfile=/recalbox/share/system/configs/retroarch/inputs/neogeo_custom.cfg

      Please help. Big thanks and cheers~

      dbunnykong

      Substring 1 Reply Last reply Reply Quote 0
      • Substring
        Substring @dbunnykong last edited by

        Hey @dbunnykong !

        I'm gon'a exlin you the difference !
        Global means the configfile specified will take precedence over any config file in any emulator. And despite hou created your custom.cfg in retroarch, this option will also prevent recalbox from automatically generating their config files (scummvm, N64, pifba etc ...). I woumdn't recommend using this option for configfile
        But the configfile can be set for a specific emulator : in your example yoi mentionned neogeo 🙂

        In your case, if you want all retroarch cores to use your custom.cfg, you should add each emulator one by one like for Neo-Geo

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        dbunnykong 1 Reply Last reply Reply Quote 0
        • dbunnykong
          dbunnykong @Substring last edited by

          @subs

          Thanks for the reply, I will give it a try and see how it goes.

          Thank you very much ;D

          1 Reply Last reply Reply Quote 0
          • Substring
            Substring last edited by

            Yw 🙂 upvote if t helped you 😉

            The only boring thing is that find system names emulated by retroarch

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            1 Reply Last reply Reply Quote 0
            • dbunnykong
              dbunnykong last edited by

              Dear all, after a few attempts, I finally able to change the config file with my own custom setting.

              Now I have a new issue, I have successfully added my emulator specified .cfg and got it running...

              ISSUE - 1:

              6 play buttons layout to cater Capcom fighting games, which I run in FBA:

              fbalibretro.configfile=/recalbox/share/system/.config/retroarch/config/fba_custom_libretro.cfg

              I would like to have a different key config for my Neo Geo emulator, a classic Neo Geo layout A, B, C, D.

              I have created another custom config for Neo Geo emulator for its 4 play buttons setup (A = Y, B= X, C = L, D = B), and successfully placed and loaded in recalbox.conf:

              neogeo.configfile=/recalbox/share/system/.config/retroarch/config/neogeocustom.cfg

              To SUM up I have something like this in recalbox.conf:

              If you do not want recalboxOS to generate the configuration for the emulator :

              fbalibretro.configfile=/recalbox/share/system/.config/retroarch/config/fba_custom_libretro.cfg
              neogeo.configfile=/recalbox/share/system/.config/retroarch/config/neogeocustom.cfg

              However when I fire up the Neo Geo emu, the play buttons config is same as 'fba_custom_libretro.cfg', in 6 buttons setup, NOT the 4 buttons setup from my 'neogeocustom.cfg'. Strangely under the in-game Retroarch menu (Hotkey + B), 'neogeocustom.cfg' is loaded up correctly; if I change it to 4 buttons setup againt and save "current cfg", it causes FBA emu buttons setup change to this 4 buttons setup too.

              Are both FBA and Neo Geo emu sharing the same config in some way? I wish to have this both have their own buttons layout.

              ISSUE - 2:

              "Error saving remap file"

              Due to the issue above, I tried to access the 'Quick' menu under the in-game retroarch menu (Hotkey + B) to change the config here. Unfortunately I can't SAVE the remaps through both 'Save core remap' and 'Save game remap'. I already have the 'Use per-game core option" and 'Save on exit' turn ON.

              Please Advice, thanks and cheers!

              1 Reply Last reply Reply Quote 0
              • Substring
                Substring last edited by

                Are you sure your 2 cfg files differ ?

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                dbunnykong 1 Reply Last reply Reply Quote 0
                • dbunnykong
                  dbunnykong @Substring last edited by

                  @subs Yes

                  1 Reply Last reply Reply Quote 0
                  • Substring
                    Substring last edited by

                    launch neogeo, run ps | grep retroarch through SSH, and make sure it loaded your neogeo custom file. You may also see that in /recalbox/share/system/logs/recalbox.log i think

                    Former dev - Please reply with @substring so that i am notified when you answer me
                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                    1 Reply Last reply Reply Quote 0
                    • dbunnykong
                      dbunnykong last edited by

                      Ok, I'll give it a try.

                      Thanks 😉

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

                      Want to support us ?

                      80
                      Online

                      98.7k
                      Users

                      28.1k
                      Topics

                      187.0k
                      Posts

                      Copyright © 2021 recalbox.com