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

    Saving specific configurations for separate games

    Scheduled Pinned Locked Moved Help and Support
    psxplaystation 1configconfiguration
    38 Posts 6 Posters 27.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.
    • FloobF
      Floob
      last edited by

      I would keep your (psx) system based retoarch.cfg clean, or at least without edits relating to this.
      Then grab just the lines relating to the controller and put them in the new config file (nothing else) - there is an example in the video link above.

      Checking this file may help to see if there were issues loading the config file
      /dev/shm/runcommand.log

      Please read the Docs before asking a new question.
      RetroPie Help Guides: https://goo.gl/3gcNsT

      1 Reply Last reply Reply Quote 0
      • R
        retrogamer0897
        last edited by

        Thank you! Is there any chance you know how I can find out what the exact syntax of the lines should be in the CFG file? In other words, How can I find out exactly what commands in the CFG file correspond to the options I see in the GUI?

        I know I've seen a couple of other controller options in the RetroArch GUI, and I'm not sure how to figure out what is the correct way to address them in the CFG file.

        Thank you again!

        1 Reply Last reply Reply Quote 0
        • G
          goodpi31
          last edited by goodpi31

          I'm trying the exact same thing as you retrogamer, and have the same model pi, controllers, well actually everything is the same :).

          It would be great if we could setup a few individual PSX games to run with analog pad, instead of a the standard pad. It's very tidious, especially for the little ones, to change controller settings ingame, or by manually editing cfg files. I'll post my findings here, hopefully someone can point us in the right direction or at least explain if it can't be done.

          This is what I've come up with so far:

          You can change the padtype Ingame by opening the retroarch menu (select+triangle)- navigating to quick menu -> options. The menu looks like this.

          The setting for the analog/standard pad is found in: /opt/retropie/configs/all/retroarch-core-options.cfg
          The code is:
          pcsx_rearmed_pad1type = “analog” for setting pad 1 as an analog pad
          pcsx_rearmed_pad1type = “standard” for setting pad 1 as standard non analog pad

          For as far as I can tell, changing the retroarch-core-options.cfg changes the settings for all PSX games. I can't find settings for the analog/standard padtype anywhere else.

          Now on the WIKI I read it's possible to make cfg changes for individual games ( https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#example-per-rom-override-retroarchcfg ). However this (I think, please correct me if I'm wrong) only applies to retroarch.cfg type config files and NOT to the retroarch-core-options.cfg.

          The retroarch.cfg has controller mapping settings, but does not have a setting to change the analog/standard padtype. I can only find that in the retroarch-core-options.cfg. The video that was mentioned a few times in this thread explains how to make a game specific retroarch.cfg, but it seems there is no setting in here to actually change the padtype to analog/standard, so the video doesn't help much with this problem.

          Am I completely missing something here, or is it perhaps not currently possible to setup individual PSX games to start with analog or non-analog padtype settings?

          edmaul69E 1 Reply Last reply Reply Quote 0
          • edmaul69E
            edmaul69 @goodpi31
            last edited by edmaul69

            @goodpi31 have you tried putting the line from the retroarch core options into the individual retroarch.cfg files? With some issues the emulator has had you might have to put all 8 players in the individual config files with the analogs all on or all off in each config.

            @retrogamer0897 when you copied the retroarch.cfg for psx you might want to change the input remapping directory so it isnt pointing right back to /opt/retropie/configs/psx/retroarch.cfg

            G 1 Reply Last reply Reply Quote 0
            • G
              goodpi31 @edmaul69
              last edited by

              @edmaul69 Hi Ed, thanks for your comment. I tried it earlier, but I didnt test with all 8 players. So I just tried it again, but this time with all 8 players.

              My controllers are currently set to padtyp 'standard'. I confirmed this to be the case in /opt/retropie/configs/all/retroarch-core-options.cfg. I wanted to see if I could make a game load with padtyp 'analog' by changing all the retroarch files you suggested.

              I edited:
              /opt/retropie/configs/all/retroarch.cfg
              /opt/retropie/configs/psx/retroarch.cfg
              and a custom retroarch cfg for the game:/home/pi/RetroPie/roms/psx/gamename.cue.cfg

              and added the lines:
              pcsx_rearmed_pad1type = “analog”
              pcsx_rearmed_pad2type = “analog”
              pcsx_rearmed_pad3type = “analog”
              pcsx_rearmed_pad4type = “analog”
              pcsx_rearmed_pad5type = “analog”
              pcsx_rearmed_pad6type = “analog”
              pcsx_rearmed_pad7type = “analog”
              pcsx_rearmed_pad8type = “analog”

              It didn't work. I think the retroarch.cfg type configs just can't be used with those settings.. or perhaps the retroarch-core-options.cfg overrides it.

              edmaul69E 1 Reply Last reply Reply Quote 0
              • edmaul69E
                edmaul69 @goodpi31
                last edited by

                @goodpi31 that sucks. It actually would have been nice to be able to preset these so we didnt have to worry about switching them. I would have gladly gone through all my psx games to configure them.

                G 1 Reply Last reply Reply Quote 0
                • G
                  goodpi31 @edmaul69
                  last edited by

                  @edmaul69 Ah shoot, and here I was hoping you'd come up with a new plan :D And yea it sucks.

                  Hopefully someone has an answer/idea on how to solve this... or could point out if its a feature thats currently not possible.

                  edmaul69E 1 Reply Last reply Reply Quote 0
                  • edmaul69E
                    edmaul69 @goodpi31
                    last edited by edmaul69

                    @goodpi31 @retrogamer0897 @Floob good news is i figured out how to do this. first off, in the individual cfg files add this line:

                    core_options_path = "/opt/retropie/configs/psx/retroarchcore.cfg"
                    

                    make sure you do not have this remapping in your individual .cfg files otherwise it will override your new settings

                     input_remapping_directory = /opt/retropie/configs/psx/
                    

                    so you dont have to retype a path in every individual config file create a new config file located and called /opt/retropie/configs/psx/retroarchcore.cfg . in that file add these lines

                    pcsx_rearmed_pad1type = "analog"
                    pcsx_rearmed_pad2type = "analog"
                    pcsx_rearmed_pad3type = "analog"
                    pcsx_rearmed_pad4type = "analog"
                    pcsx_rearmed_pad5type = "analog"
                    pcsx_rearmed_pad6type = "analog"
                    pcsx_rearmed_pad7type = "analog"
                    pcsx_rearmed_pad8type = "analog"
                    

                    then you need to give 777 permissions to that file because retroarch needs to be able to edit/add core options to that file

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      goodpi31 @edmaul69
                      last edited by goodpi31

                      @edmaul69 Wow ed, thanks! I'm gonna try it right away. Edit: Still trying

                      edmaul69E 1 Reply Last reply Reply Quote 0
                      • edmaul69E
                        edmaul69 @goodpi31
                        last edited by edmaul69

                        @goodpi31 it is a typo. I just corrected it as you were responding

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          goodpi31 @edmaul69
                          last edited by goodpi31

                          @edmaul69 Your idea seems like it is the solution. I havent gotten it to work yet. I'm trying really hard to figure out whats preventing it from working and double checked everything thrice by now. I believe I edited the files correctly and Im sure the permissions are correct.

                          After some trial and error I figured out that individual cfg files are not being loaded when running a game; the one that calls our homemade retroarchcore.cfg.

                          If I use the runcommand to check what custom cfg is being loaded, I see my custom cfg file. But when the emulator starts it seems to still take its cfg from somewhere else as it does not change settings that were set in the custom cfg (I tested this with various settings). I'm kind of at a loss right now.

                          1 Reply Last reply Reply Quote 0
                          • dankcushionsD
                            dankcushions Global Moderator
                            last edited by

                            you can save per-game core options. look within the retroarch GUI (select + retropadX). in the quick menu > options menu, you can change settings and 'save game options file' or something like that.

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              goodpi31 @dankcushions
                              last edited by goodpi31

                              @dankcushions Hello, thanks for your suggestion, yes, there is a "save core overrides" and "save game overrides" button in the GUI. But it does not seem to be saving OR it doesn't seem to be loading these overrides when lauching a game.

                              The OP had the same problem I think, if I read his first post.

                              If I save an game override with say pad1type 'analog', all psx games will now have controller 1 on analog, not just that one game.
                              Same thing happens when saving a core override, it just happens on all games, not just that one.

                              dankcushionsD 1 Reply Last reply Reply Quote 0
                              • dankcushionsD
                                dankcushions Global Moderator @goodpi31
                                last edited by

                                @goodpi31 that's not what i said. go to the 'options' menu.

                                G 2 Replies Last reply Reply Quote 0
                                • G
                                  goodpi31 @dankcushions
                                  last edited by goodpi31

                                  @dankcushions hmm. the options menu has nothing that saves files- do you maybe mean the 'save game/core remap file' ?

                                  ( quick menu overview, options menu part 1, option menu part 2 )

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    goodpi31 @dankcushions
                                    last edited by goodpi31

                                    @dankcushions Well, just in case: I just tried the save game remap file, didnt work. Then I tried the save core remap file, also didnt work unfortunately.

                                    (save game/core remap file)

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Melvin.FoX
                                      last edited by Melvin.FoX

                                      Do you have retroarch OSD enabled (this yellow text on start of emulation)? If not then enable it so You'll see what's going on.
                                      I had some problems with core config loading on mame2010 so in fact I couldn't disable OSD. In final I found out that you have to be careful using this core/game specifig config because they have some hierarchy when loading them.
                                      I think it's best to just remove all of that additional config retroarch core and game specific files for psx and try to configure Ape Escape one more try and then just save game specific config. Maybe when You have core specific file and additional configs it just doesn't use it because every other option is already loaded from other file.

                                      G 2 Replies Last reply Reply Quote -1
                                      • G
                                        goodpi31 @Melvin.FoX
                                        last edited by

                                        @Melvin.FoX Thanks Fox, I'll try that. Yes I have the OSD enabled, it doesn't give much info on startup- just that a ps3 controller gets connected.

                                        1 Reply Last reply Reply Quote 0
                                        • dankcushionsD
                                          dankcushions Global Moderator
                                          last edited by

                                          per game configs/overrides/remaps are nothing to do with per-game core options. i'll get a screenshot, one second...

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            goodpi31 @Melvin.FoX
                                            last edited by goodpi31

                                            @Melvin.FoX I restored the cfg files and removed the files I've created. But no luck getting it to load my analog or standard controller type settings.

                                            But: Since you said you couldnt disable OSD, I tried disabling it. And turns out: I can't (?).

                                            I tried changing a few more settings in /opt/retropie/configs/all/retroarch.cfg, just to see if it would load. none of them are loaded by the emulator.

                                            This is weird by the way- I wasn't editing these cfg files before I started this thread, this pi is pretty much a fresh install with latest build, the only thing I did was update all installed packages from source and add ps3 drivers.

                                            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.