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

    Need help getting SORR to run on pi 4

    Scheduled Pinned Locked Moved Help and Support
    sorrstreets of ragepi 4
    14 Posts 4 Posters 1.4k 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.
    • R
      rejesterd
      last edited by

      v12 has been replaced with v16.

      $ sudo find / -type l -name libpng[12,16]*
      /lib/arm-linux-gnueabihf/libpng12.so.0
      find: ‘/run/user/1000/gvfs’: Permission denied
      /usr/lib/arm-linux-gnueabihf/libpng16.so
      /usr/lib/arm-linux-gnueabihf/libpng16.so.16
      

      You can see the symlink for libpng12 is under /lib/ not /usr/lib/.

      Ref:
      https://www.linuxuprising.com/2018/05/fix-libpng12-0-missing-in-ubuntu-1804.html

      quicksilverQ 1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver @rejesterd
        last edited by

        @rejesterd Thanks, is there a way to change the symlink to point to the correct directory?

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

          You can try making a new one..

          sudo ln -s /lib/arm-linux-gnueabihf/libpng12.so.0.54.0 /usr/lib/arm-linux-gnueabihf/libpng12.so.0
          

          Make sure the above file is actually there under /lib/... before making the link. I had 12.0.54.0 installed already, but yours could possibly be slightly different.

          quicksilverQ 1 Reply Last reply Reply Quote 0
          • quicksilverQ
            quicksilver @rejesterd
            last edited by

            @rejesterd I dont have a libpng12.so in my /lib/ folder

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

              To install it, run..

              sudo apt-get install libpng12-0
              

              Then check again. And maybe try running sorr before adding the symlink.. you might not need it after installing the package. I did try getting it to work on my pi4, but I get a different error when launching (I assume I have the wrong .dat file or something else is missing).

              1 Reply Last reply Reply Quote 0
              • J
                janderclander14
                last edited by

                Thanks for this. I managed to install and run SORR on a pi 4. However, the image is not resized to fullscreen, it is just at the upper left corner and just fills 1/4 of the screen. I've tried with the different video options (fullscreen, 2x, scalines, etc.) with the same result. The same config produced a fullscreen image on a pi 3. Any clues?

                quicksilverQ 1 Reply Last reply Reply Quote 0
                • quicksilverQ
                  quicksilver @janderclander14
                  last edited by

                  @janderclander14 unfortunately, from what I understand any game that relies on sdl1 won't scale through runcommand on the pi 4. Ive tested sorr on my pi 4 as well and can confirm the behavior you are seeing. I don't know what/if there is a solution.

                  @mitu would there be a way to use dispmanx here to get the game fullscreen? I know dispmanx seems to stretch the image to fullscreen with dosbox.

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

                    @quicksilver dispmanx might work. You need to add dispmanx to the rp_module_flags, and then use Configuration/Tools menu to enable it for the port/emulator, so it can be toggled by runcommand automatically.

                    quicksilverQ 1 Reply Last reply Reply Quote 0
                    • quicksilverQ
                      quicksilver @mitu
                      last edited by

                      @mitu So I added dispanx to the rp_module_flags and enabled it for sorr. However the game wont launch successfully now. The runcommand.log shows this error:

                      Parameters: 
                      Executing: SDL1_VIDEODRIVER=dispmanx pushd /opt/retropie/ports/sorr; ./bgdi-330 ./SorR.dat; popd
                      /opt/retropie/ports/sorr ~
                      ./SorR.dat: doesn't exist or isn't version 7 DCB compatible
                      ~
                      

                      I am assuming that it has something to do with the pushd/popd commands but im not sure how to modify it since Im not entirely sure what pushd and popd do (or if thats even the issue).

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

                        @quicksilver said in Need help getting SORR to run on pi 4:

                        Executing: SDL1_VIDEODRIVER=dispmanx pushd /opt/retropie/ports/sorr; ./bgdi-330 ./SorR.dat; popd

                        Try modifying the emulator command to

                        pushd /opt/retropie/ports/sorr; SDL1_VIDEODRIVER=dispmanx  ./bgdi-330 ./SorR.dat; popd
                        

                        and remove my previous suggested configuration.

                        quicksilverQ 1 Reply Last reply Reply Quote 0
                        • quicksilverQ
                          quicksilver @mitu
                          last edited by

                          @mitu

                          Parameters: 
                          Executing: pushd /opt/retropie/ports/sorr; SDL1_VIDEODRIVER=dispmanx  ./bgdi-330 ./SorR.dat; popd
                          /opt/retropie/ports/sorr ~
                          ./SorR.dat: doesn't exist or isn't version 7 DCB compatible
                          

                          same issue unfortunately

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

                            @quicksilver Do you have the SorR.dat file in /opt/retropie/ports/sorr ?

                            quicksilverQ 1 Reply Last reply Reply Quote 0
                            • quicksilverQ
                              quicksilver @mitu
                              last edited by

                              @mitu It was there...until I reinstalled with the dispanx flag set...sorry about that.

                              So i added it back to the sorr directory and I can now get the game to launch using your original instructions. However the window is still just small in the upper left corner of the screen. :(

                              1 Reply Last reply Reply Quote 0
                              • mituM mitu referenced this topic on
                              • 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.