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 with OpenBor & Retropie-Extra (Exarkuniv)

    Scheduled Pinned Locked Moved Help and Support
    retropie extraopenbor
    29 Posts 5 Posters 3.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.
    • mituM
      mitu Global Moderator
      last edited by mitu

      As an addendum to the previous post:

      Looking over the installation process for the extra repository, I see that the files are copied over to ext from $HOME/RetroPie-Extra, which leads to the update issue. The issue would occur with any file/scriptmodule which RetroPie-Setup doesn't know about (i.e. is not git commit-ed to the local repository).

      Maybe we can relax this check and get the modification date of the file, if git doesn't find the last modification of the file. This would solve the 2nd issue I was talking above, but without the need to clone @ExarKunIv's repo completely under RetroPie-Setup/ext (which does indeed slow down the setup script due to the increased number of scriptmodule registered).

      S 1 Reply Last reply Reply Quote 0
      • W
        Wrestlnut @ExarKunIv
        last edited by Wrestlnut

        @ExarKunIv said in Need Help with OpenBor & Retropie-Extra (Exarkuniv):

        @Wrestlnut No you are all good, asking question is how we learn,
        I know thats how i started,

        ill take a look and see what i can figure out,

        UPDATE

        yes all you need to do is install the .pak files in to the roms/openbor folder
        and reboot your pi, the new system will come up on emulationstation

        Hi EK! So I tried this and it's still not working. I wonder if I messed something up though. When it didn't work the first time, I deleted the roms/openbor folder manually so I could do a "fresh" reinstall. After I reinstalled, however, I noticed that folder never got recreated, so I added it manually. Now when I add he-man.pak to the folder and restart ES, I still don't see Retropie Extra. Should I maybe uninstall and start over?

        Also, I missed a couple of the cd ~ entries when running the initial scripts. Not sure if that makes a difference since everything seems to point to home/pi/RetroPie-Setup anyway, but I figured I would mention it just in case.

        ExarKunIvE 1 Reply Last reply Reply Quote 0
        • ExarKunIvE
          ExarKunIv @Wrestlnut
          last edited by

          @Wrestlnut said in Need Help with OpenBor & Retropie-Extra (Exarkuniv):

          Also, I missed a couple of the cd ~ entries when running the initial scripts. Not sure if that makes a difference since everything seems to point to home/pi/RetroPie-Setup anyway, but I figured I would mention it just in case.

          no that doesn't matter, if there was a issue it would not install the scripts to be ran to start with. if you can install it, then that part worked fine

          @Wrestlnut said in Need Help with OpenBor & Retropie-Extra (Exarkuniv):

          I still don't see Retropie Extra

          it will not be called Retropie Extra that is just what the main folder is called that holds all the scripts that i have made/maintained.

          so my question for you, is what version are you tring to install. there will be 2 different ones, in the install menu, one that says openbor that one will install the rom folder in to the ports folder, so you need to look roms/ports/openbor

          the version that is in Retropie Extra is called openbor-v6510 and that one will install a folder into the roms folder so this roms/openbor

          to test i deleted the roms/openbor, removed the system by using the remove function in the install menu, and then install it again from the same menu, and it also remade that folder when it was done.

          not sure what is going on for you, from what i can test the openbor-v6510 is working correctly

          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
          Maintainer of RetroPie-Extra .

          W 1 Reply Last reply Reply Quote 0
          • W
            Wrestlnut @ExarKunIv
            last edited by

            @ExarKunIv IT'S WORKING!! I did exactly as you described and deleted roms/openbor, removed openbor-v6510, reinstalled from source, and it automatically added roms/openbor back in. I then added he-man.pak and restarted ES, and lo and behold it worked. Apparently the roms/openbor folder I created manually did not have the same relationship to the emulator as the system-created version.

            I cannot thank you enough, EK! Also a special shoutout to @mitu and @sleve_mcdichael. I appreciate everyone's fast and detailed responses. You all helped me recapture a big part of my childhood today . Now it's time to go defeat Skeletor and his evil henchmen!

            1 Reply Last reply Reply Quote 1
            • S
              sleve_mcdichael @mitu
              last edited by sleve_mcdichael

              @mitu said in Need Help with OpenBor & Retropie-Extra (Exarkuniv):

              Maybe we can relax this check and get the modification date of the file, if git doesn't find the last modification of the file.

              And this quick change to the Extras install will preserve the modules' timestamps when they are copied, so that can be accurately assessed.

              https://github.com/Exarkuniv/RetroPie-Extra/pull/147/files

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

                @sleve_mcdichael said in Need Help with OpenBor & Retropie-Extra (Exarkuniv):

                And this quick change to the Extras install will preserve the modules' timestamps when they are copied, so that can be accurately assessed.

                That's ok, but I think it will only work after this change is added to RetroPie.

                BuZzB S 2 Replies Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators @mitu
                  last edited by

                  @mitu btw I've not merged yet as I want to test but I think I may implement this differently.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 1
                  • S
                    sleve_mcdichael @mitu
                    last edited by

                    @mitu did I do something wrong?

                    $ ls -l ext/RetroPie-Extra/scriptmodules/ports/prototype.sh 
                    -rw-r--r-- 1 pi pi 1377 Jul 21  2022 ext/RetroPie-Extra/scriptmodules/ports/prototype.sh
                    $ cat /opt/retropie/ports/prototype/retropie.pkg 
                    pkg_origin="source"
                    pkg_date="2023-02-21T21:42:33-08:00"
                    pkg_repo_type="git"
                    pkg_repo_url="https://github.com/ptitSeb/prototype.git"
                    pkg_repo_branch="master"
                    pkg_repo_commit="12d2de8639982db12091ca37eeee9036b54f3fa7"
                    pkg_repo_date="2020-12-20T17:42:33+01:00"
                    pkg_repo_extra=""
                    $ git status
                    On branch update-package
                    Your branch is up to date with 'cmitu/update-package'.
                    
                    nothing to commit, working tree clean
                    $ sudo ./retropie_setup.sh
                    

                    C773009E-D537-4A44-8972-C3D8635B4A31.jpeg

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

                      @mitu did I do something wrong?

                      No, but did you read my previous reply ?

                      EDIT: Ah, I see you're used by PR to test. Seems it's not working correctly then.

                      EDIT2: Seems the update trigger is also influenced by the commit hash from source repo declaration - without it works fine. Either remove the commit (keeping the branch) or add the full commit hash - see if it works afterwards.

                      S 2 Replies Last reply Reply Quote 0
                      • S
                        sleve_mcdichael @mitu
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • S
                          sleve_mcdichael @mitu
                          last edited by sleve_mcdichael

                          @mitu said in Need Help with OpenBor & Retropie-Extra (Exarkuniv):

                          EDIT2: Seems the update trigger is also influenced by the commit hash from source repo declaration - without it works fine. Either remove the commit (keeping the branch) or add the full commit hash - see if it works afterwards.

                          Indeed, with the full commit sha, or none, it works:

                          8DAD9298-E214-429D-9CCA-EE5F5931542C.jpeg

                          So I wonder, then, how do the "native" RetroPie modules manage to still work it using the truncated sha?

                          https://github.com/RetroPie/RetroPie-Setup/blob/1cf5cb6f327f3166dfc62e3fe83411c9dc7d78cf/scriptmodules/emulators/scummvm.sh#L16

                          rp_module_repo="git https://github.com/scummvm/scummvm.git master a9418f8f"
                          

                          EFFD0CD5-3BCD-421B-A0CB-FC9A2BA34025.jpeg

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

                            @sleve_mcdichael said in Need Help with OpenBor & Retropie-Extra (Exarkuniv):

                            So I wonder, then, how do the "native" RetroPie modules manage to still work it using the truncated sha?

                            https://github.com/RetroPie/RetroPie-Setup/blob/1cf5cb6f327f3166dfc62e3fe83411c9dc7d78cf/scriptmodules/packages.sh#L604-L605

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sleve_mcdichael @mitu
                              last edited by sleve_mcdichael

                              @mitu oh, so if it's exactly 8 characters, then...?

                              D2962A7F-4C57-4B13-BAE8-ED76F9608551.jpeg

                              Huzzah!

                              EDIT: I've been using seven just because that's what GitHub likes to show me:

                              32AB2DDC-2D1E-46AE-BAB7-062A8F6D3C64.jpeg

                              Is this good? https://github.com/s1eve-mcdichae1/RetroPie-Setup/commit/802ddfd0ed7ec31d483e3468d76fb8dd4896276a

                              Seems to work on quick test. Does it break anything else?

                              What's the smallest a commit sha can be and still work? Any reason not to just make it -gt 0?

                              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.