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

    copy controller cfg to psx`?

    Scheduled Pinned Locked Moved Help and Support
    psx
    21 Posts 3 Posters 950 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.
    • N
      naddel81
      last edited by

      hi at all,

      I configured my controller for all emulators using retroarch. unfortunately that will not work on PSX.

      here is my configfile from /all joypads. how can i copy it to psx since I cannot do it in the emulator. no button is recognized by default. why does it not use the same cfg all the other emulators use?

      "input_device = "Gamepad"
      input_driver = "udev"
      input_r_y_plus_axis = "+3"
      input_r_x_minus_axis = "-2"
      input_l_btn = "8"
      input_load_state_btn = "8"
      input_start_btn = "11"
      input_exit_emulator_btn = "11"
      input_r_y_minus_axis = "-3"
      input_down_btn = "h0down"
      input_l_x_plus_axis = "+0"
      input_r_btn = "9"
      input_save_state_btn = "9"
      input_right_btn = "h0right"
      input_state_slot_increase_btn = "h0right"
      input_select_btn = "10"
      input_left_btn = "h0left"
      input_state_slot_decrease_btn = "h0left"
      input_l2_btn = "6"
      input_l3_btn = "13"
      input_l_y_minus_axis = "-1"
      input_up_btn = "h0up"
      input_a_btn = "1"
      input_b_btn = "0"
      input_reset_btn = "0"
      input_enable_hotkey_btn = "10"
      input_l_y_plus_axis = "+1"
      input_r2_btn = "7"
      input_r3_btn = "14"
      input_x_btn = "4"
      input_menu_toggle_btn = "4"
      input_l_x_minus_axis = "-0"
      input_y_btn = "3"
      input_r_x_plus_axis = "+2"
      "

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

        Which emulator are you using ?

        1 Reply Last reply Reply Quote 0
        • N
          naddel81
          last edited by

          lr-pcsx ... the standard one on the retropie 4.4.4

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

            @naddel81 What does 'not working' mean ? No buttons work ? Does the RGUI toggle (Select + X) work ? Have you done anything special for the PSX system (like saving a configuration file for it ) ?

            1 Reply Last reply Reply Quote 0
            • N
              naddel81
              last edited by

              I cannot even enter the main menu. that works in every other emulator. what file do I have to copy over or delete to make it work in PSX, too?

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

                @naddel81 Why do you think you need to 'copy' or 'remove' files to fix this problem ? Can you attach a RetroArch log file (/dev/shm/runcommand.log) taken with verbose logging when starting a PS1 game ? Get the file's contents and post it on pastebin.com, it should be too large for the forum.

                1 Reply Last reply Reply Quote 0
                • N
                  naddel81
                  last edited by

                  it seems psx controls are not taken over from the global retroarch settings.
                  cant I just delete copy over the global cfg to this /opt/retropie/configs/psx/retroarch.cfg ?

                  I have FTP access to the pi. where is the file located that you need?

                  mituM 1 Reply Last reply Reply Quote 0
                  • N
                    naddel81
                    last edited by

                    Parameters:
                    Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-pcsx-rearmed/libretro.so --config /opt/retropie/configs/psx/retroarch.cfg "/home/pi/RetroPie/roms/psx/Tekken 3 (USA).cue" --appendconfig /dev/shm/retroarch.cfg
                    Memcard 2: disabled
                    Starting PCSX-ReARMed
                    Running PCSX Version 1.9 (Oct 13 2018).
                    psxMap: warning: wanted to map @80000000, got 0x6f560000
                    Init new dynarec
                    testing if we can run recompiled code..
                    test passed.
                    warning: RAM is not directly mapped, performance will suffer
                    Mapped (RAM/scrp/ROM/LUTs/TC):
                    77000000/1f800000/1fc00000/08000000/701a5000
                    no BIOS files found.
                    RGB565 supported, using it
                    plugin: plugins/builtin_gpu
                    plugin: plugins/builtin_spu
                    plugin: plugins/builtin_pad
                    plugin: plugins/builtin_pad
                    Plugins loaded.
                    Loaded CD Image: /home/pi/RetroPie/roms/psx/Tekken 3 (USA).cue[+cue].
                    Track 01 (DATA) - Start 00:02:00, Length 59:45:59
                    Track 02 (AUDIO) - Start 59:49:59, Length 02:35:03
                    Track 03 (AUDIO) - Start 62:26:62, Length 02:36:73
                    selected sound output driver: libretro
                    CD-ROM Label: TEKKEN3
                    CD-ROM ID: TEKKEN3SL
                    CD-ROM EXE Name: TEKKEN3\SLUS_004.02;1
                    ari64_reset
                    note: running with HLE BIOS, expect compatibility problems

                    Failed to open /home/pi/RetroPie/roms/psx/Tekken 3 (USA).srm: No such file or directory

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

                      @naddel81 said in copy controller cfg to psx`?:

                      where is the file located that you need?

                      I just posted above the location. From the log file you posted, it seems you don't have a BIOS file - you should fix that first. Also, the log would be better to be with verbose logging enabled from the Runcommand launch menu.

                      1 Reply Last reply Reply Quote 0
                      • N
                        naddel81
                        last edited by

                        will try. just pulling the power plug again :(

                        1 Reply Last reply Reply Quote 0
                        • N
                          naddel81
                          last edited by

                          although I have all the bios files in the BIOS folder and additionally in BIOS/psx it still tells me there is no BIOS found? is that not the right folder?

                          1 Reply Last reply Reply Quote 0
                          • N
                            naddel81
                            last edited by

                            https://pastebin.com/gPrDQ4X2

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

                              @naddel81 Either your psx RetroArch or global RetroArch is wrong.

                              [WARN] SYSTEM DIR is empty, assume CONTENT DIR /home/pi/RetroPie/roms/psx/Tekken 3 (USA).cue
                              [INFO] Environ SYSTEM_DIRECTORY: "/home/pi/RetroPie/roms/psx/".
                              

                              That's why the BIOS is not found and probably that's why the mapping doesn't work, although I see some auto-configuration taking place.

                              Replace the psx system retroarch.cfg with

                              # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
                              
                              input_remapping_directory = "/opt/retropie/configs/psx/"
                              
                              #include "/opt/retropie/configs/all/retroarch.cfg"
                              

                              in the /opt/retropie/configs/psx folder and try again.
                              You either enabled Save on Exit in RetroArch or just saved your configuration from the RGUI when you started a psx game. Are you using a stock RetroPie image ?

                              1 Reply Last reply Reply Quote 0
                              • N
                                naddel81
                                last edited by

                                yes, I did save on exit. now I copied the global /all retroarch.cfg to the psx folder and replaced the old one. it seems to be working fine now. how can I prevent this from happening again?

                                thanks for your help!!!

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

                                  @naddel81 said in copy controller cfg to psx`?:

                                  how can I prevent this from happening again?

                                  Don't use save ? Also, this is not what I recommended you to do, so YMMV.

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    naddel81
                                    last edited by

                                    @mitu said in copy controller cfg to psx`?:

                                    YMMV

                                    but when I don`t save I have to recreate the settings every time I play. that is "enhance resolution" etc.
                                    btw: does it really double the geometry resolution (not textures) so it is 2x antialiasing? I do not see a difference in enhanced and normal resolution. only bilinear filtering has a visible influence on the visual quality. do I have to restart for it to take effect?

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

                                      @naddel81 Those are Core Options and are saved automatically into a different file - you don't need to save them.

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        naddel81
                                        last edited by

                                        good to know. so "save on configuration" is OFF for my own safety, right? ;)

                                        is there an option to see the CPU load in retroarch? I would like to test the influence of different graphical settings on the system load.

                                        ClydeC 1 Reply Last reply Reply Quote 0
                                        • ClydeC
                                          Clyde @naddel81
                                          last edited by Clyde

                                          @naddel81 said in copy controller cfg to psx`?:

                                          is there an option to see the CPU load in retroarch? I would like to test the influence of different graphical settings on the system load.

                                          You can display the FPS in the RetroArch GUI unter Settings > Onscreen Display > Onscreen Notifications.

                                          edit: Also, if you use the Retropie image for the Pi or installed on any other kind of Linux system, you could ssh into it and use the command top to see the system load of the retroarch process. You can stop top by pressing the q key.

                                          1 Reply Last reply Reply Quote 0
                                          • N
                                            naddel81
                                            last edited by

                                            great, will try that. because pure FPS does not tell the system load. it could be the game and/or emulator that is not running smooth at a constant framerate. but with system load I can clearly see if my CPU or GPU are at maximum.

                                            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.