• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

OpenBOR can't install libpng12-dev dependency

Scheduled Pinned Locked Moved Help and Support
libpng12-devopenborretropie-extra
16 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.
  • B
    BMovieBen @mitu
    last edited by 30 Sept 2020, 07:03

    @mitu libpng12-dev is not installed. I double-checked and tried to uninstall it. I ran what you asked and here's the output (apologies for blurriness):
    grep lib sm.jpg

    M 1 Reply Last reply 30 Sept 2020, 07:38 Reply Quote 0
    • M
      mitu Global Moderator @BMovieBen
      last edited by 30 Sept 2020, 07:38

      @BMovieBen Hm, the list of packages seems right, but for some reason the installation is not completed.
      Did you add any additional apt repositories to your installation ? What does the following command show:

      apt-cache policy libcaca-dev
      
      B 1 Reply Last reply 30 Sept 2020, 16:19 Reply Quote 0
      • B
        BMovieBen @mitu
        last edited by 30 Sept 2020, 16:19

        @mitu I don't know if I added additional apt repos or not... I don't think so? Here's the results of the libcaca-dev request (incidentally if anyone can tell me how to get a screenshotting tool to work let me know)
        libcaca-dev-sm.jpg
        I do have aptitude installed if that will help in any way.

        1 Reply Last reply Reply Quote 0
        • M
          mitu Global Moderator
          last edited by 30 Sept 2020, 16:24

          That looks fine - the package is installed and it's not different from what's available in the repositories. I don't have any more ideas - you could re-installing the libsdl1 packages from RetroPie-Setup (the dependencies section) and see if anything changes.

          incidentally if anyone can tell me how to get a screenshotting tool to work let me know

          Use SSH to connect to your Pi, you'll be able to both paste the commands you need and copy the output, without needing a screenshot.

          B 1 Reply Last reply 30 Sept 2020, 22:10 Reply Quote 1
          • B
            BMovieBen @mitu
            last edited by 30 Sept 2020, 22:10

            @mitu Thank you for the info about SSH - I had incorrectly assumed it was just for SFTP. I've got Putty running and now feel like a superuser thanks to you!

            Tried reinstalling libcaca-dev, didn't help. Removed 'kintaro' repo from sources, didn't help.

            However, I did a sudo grep -r "libpng12-dev" and found it mentioned in three files:
            /home/pi/RetroPie-Setup/scriptmodules/ports/openbor.sh
            /home/pi/RetroPie-Setup/scriptmodules/ports/easyrpgplayer.sh
            /home/pi/RetroPie-Setup/scriptmodules/helpers.sh

            I changed references in openbor.sh and easyrpgplayer.sh (left helpers.sh alone) from libpng12-dev to libpng-dev and re-ran the RetroPie-Extra OpenBOR install script, and it builds...progress!

            Full log: https://pastebin.com/36NQhG89

            That said...I don't know what it built. In ES, Ports is now visible, with openbor listed as an item. When you launch it it says no config exists for openbor. So maybe my list of 'experimental' packages is broken somehow - there are actually two OpenBOR packages listed. One is the 6510, listed towards the top, and the other is towards the bottom. I went ahead and installed the second 'openbor' package, and now when I launch openbor it's the 3400 version that comes with RetroPie out of the box.

            @zerojay Any ideas here? I put my paks under roms/openbor, which I have not extracted (which is how I understand 65xx to work), and OpenBor should show up as its own top-level system in ES...

            Z 1 Reply Last reply 30 Sept 2020, 22:19 Reply Quote 0
            • Z
              zerojay @BMovieBen
              last edited by 30 Sept 2020, 22:19

              @BMovieBen said in OpenBOR can't install libpng12-dev dependency:

              @mitu Thank you for the info about SSH - I had incorrectly assumed it was just for SFTP. I've got Putty running and now feel like a superuser thanks to you!

              Tried reinstalling libcaca-dev, didn't help. Removed 'kintaro' repo from sources, didn't help.

              However, I did a sudo grep -r "libpng12-dev" and found it mentioned in three files:
              /home/pi/RetroPie-Setup/scriptmodules/ports/openbor.sh
              /home/pi/RetroPie-Setup/scriptmodules/ports/easyrpgplayer.sh
              /home/pi/RetroPie-Setup/scriptmodules/helpers.sh

              I changed references in openbor.sh and easyrpgplayer.sh (left helpers.sh alone) from libpng12-dev to libpng-dev and re-ran the RetroPie-Extra OpenBOR install script, and it builds...progress!

              Full log: https://pastebin.com/36NQhG89

              That said...I don't know what it built. In ES, Ports is now visible, with openbor listed as an item. When you launch it it says no config exists for openbor. So maybe my list of 'experimental' packages is broken somehow - there are actually two OpenBOR packages listed. One is the 6510, listed towards the top, and the other is towards the bottom. I went ahead and installed the second 'openbor' package, and now when I launch openbor it's the 3400 version that comes with RetroPie out of the box.

              @zerojay Any ideas here? I put my paks under roms/openbor, which I have not extracted (which is how I understand 65xx to work), and OpenBor should show up as its own top-level system in ES...

              You didn't use my script but the one already in RetroPie. That's why you have the unpacker there (which isn't needed with mine) and why you aren't getting it as a system but as a port.

              B 1 Reply Last reply 30 Sept 2020, 22:28 Reply Quote 0
              • B
                BMovieBen @zerojay
                last edited by 30 Sept 2020, 22:28

                @zerojay I figured that...so how do I fix it so it runs your script? Or should I just try running it directly with
                sudo ./RetroPie-Extra/scriptmodules/emulators/openbor.sh?
                When I try that nothing happens...

                Z 1 Reply Last reply 30 Sept 2020, 22:29 Reply Quote 0
                • Z
                  zerojay @BMovieBen
                  last edited by 30 Sept 2020, 22:29

                  @BMovieBen Replace the one that is already in RetroPie-Setup with my own, then install it as you would normally.

                  B 1 Reply Last reply 30 Sept 2020, 23:25 Reply Quote 1
                  • B
                    BMovieBen @zerojay
                    last edited by 30 Sept 2020, 23:25

                    @zerojay So I had to kill /home/pi/RetroPie-Setup/scriptmodules/ports/openbor.sh in order for yours (which copies to /home/pi/RetroPie-Setup/scriptmodules/emulators/openbor.sh) to run. It looks like it built successfully, see log: https://pastebin.com/2J0c99DB

                    Now, do I need to manually add this to es_systems.cfg for OpenBOR to show up in ES? Because it's not showing up. Likewise do I need to manually create the gameslist.xml file?

                    Z 1 Reply Last reply 30 Sept 2020, 23:30 Reply Quote 0
                    • Z
                      zerojay @BMovieBen
                      last edited by zerojay 10 Jan 2020, 00:59 30 Sept 2020, 23:30

                      @BMovieBen You should see it added in /etc/emulationstation/es_systems.cfg. If you have a ~/.emulationstation/es_systems.cfg, you'll need to copy the chunk for openbor into it to get it working.

                      The gamelist will be populated if you have the games in the proper place when you start up EmulationStation. There's nothing here that's any different from any other system being added.

                      Here's what's in mine:

                       <system>
                         <name>openbor</name>
                         <fullname>OpenBOR</fullname>
                         <path>/home/pi/RetroPie/roms/openbor</path>
                         <extension>.pak .PAK</extension>
                         <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ openbor %ROM%</command>
                         <platform>openbor</platform>
                         <theme>openbor</theme>
                       </system>
                      
                      B 1 Reply Last reply 1 Oct 2020, 03:36 Reply Quote 1
                      • B
                        BMovieBen @zerojay
                        last edited by 1 Oct 2020, 03:36

                        @zerojay The extensions were missing from es_systems.cfg in the openbor section; I just had to add them😊. It's launching now!!! Thank you so much for all your help guys. Really appreciate it.

                        1 Reply Last reply Reply Quote 0
                        16 out of 16
                        • First post
                          16/16
                          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.

                          This community forum collects and processes your personal information.
                          consent.not_received