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

    Unable to make OpenBoR work from usb

    Scheduled Pinned Locked Moved Help and Support
    openborusb drive
    14 Posts 4 Posters 898 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.
    • F
      freakazoidman
      last edited by

      I've tried to run OpenBOR with roms on an external usb with no luck. Is it possible to run it from a usb, if so how? Do I need both the. exe file and the .pak file from the games folder to run the games? l I would be very happy if someone could help :)

      My setup: Raspberry pi 3
      External usb 256 (FAT 32)
      retropie 4.4

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

        @freakazoidman What error are you exactly encountering ? A log file (/dev/shm/runcommand.log) from running the game would help.

        EDIT: I see the installation requires symbolic links, which probably your stick doesn't support (FAT32) - is this the problem you're facing ?

        1 Reply Last reply Reply Quote 0
        • F
          freakazoidman
          last edited by

          @mitu Thanks for reply. usb stick could be the case yes. I get" permission denied" when running /dev/shm/runcommand.log in terminal.

          Heres what I got when running the extract script:
          /opt/retropie/ports/openbor/extract.sh
          /opt/retropie/ports/openbor/extract.sh: line 13: ./unpack.sh: Permission denied
          mv: cannot stat 'data/': No such file or directory
          I guess one obvious problem is that I have no folder called "data". When running OpenBOR on internal sd card is this something that will be automatically made when downloading the emulator?

          cyperghostC 1 Reply Last reply Reply Quote 0
          • cyperghostC
            cyperghost @freakazoidman
            last edited by cyperghost

            @freakazoidman Yes you've permission issues

            You can use this script from here
            Read comments in script file to know what happens there.

            Take care about BORPAK_DIR!

            # 1. PLACE  BARE PAK FILES to /home/pi/RetroPie/roms/ports/openbor/pak
            # 2. RUN THE SCRIPT (with user pi!)
            # 3. Data will be extracted to ./openbor/gamename.bor/data
            # 4. pak files will be backuped from gamename.pak to gamename.pak.original
            # Change pathes as you like!
            
            EXTRACT_BOREXE="/opt/retropie/ports/openbor/borpak"
            BORROM_DIR="/home/pi/RetroPie/roms/ports/openbor"
            BORPAK_DIR="$BORROM_DIR/pak"
            
            F T 2 Replies Last reply Reply Quote 1
            • F
              freakazoidman @cyperghost
              last edited by

              Thanks for this excellent tip @cyperghost
              I will try it out :)

              1 Reply Last reply Reply Quote 0
              • F
                freakazoidman
                last edited by

                @cyperghost You sir are a genius!! Everything works flawlessly now.
                Thank you so much :-)

                1 Reply Last reply Reply Quote 0
                • T
                  tmc930 @cyperghost
                  last edited by

                  @cyperghost I have the same permission issue. Really dumb question, but how do I use that script you posted?

                  cyperghostC 1 Reply Last reply Reply Quote 0
                  • cyperghostC
                    cyperghost @tmc930
                    last edited by

                    @tmc930 What is the output of the script I've posted above?

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tmc930 @cyperghost
                      last edited by

                      @cyperghost Sorry I’m really a noob in Linux. How do I use the script you posted? Do I have to download it first to my machine and execute it locally then? Or can I simply copy and paste all the text in your script into the command line and hit enter?

                      cyperghostC 1 Reply Last reply Reply Quote 0
                      • cyperghostC
                        cyperghost @tmc930
                        last edited by

                        @tmc930 use wget https://raw.githubusercontent.com/crcerror/RetroPie-OpenBOR-scripts/master/extract.sh and then bash extract.sh

                        T 2 Replies Last reply Reply Quote 0
                        • T
                          tmc930 @cyperghost
                          last edited by

                          @cyperghost The wget command worked, but after I run the bash command, it gives me Aborting... No files to extract in /home/pi/RetroPie/roms/ports/openbor/pak!

                          I am running the roms off a USB flash drive. Does that make a difference? And is there a workaround or tweak to the script I can run to get it to run off the flash drive?

                          cyperghostC 1 Reply Last reply Reply Quote 0
                          • T
                            tmc930 @cyperghost
                            last edited by

                            @cyperghost Every time I run /opt/retropie/ports/openbor/extract.sh, each game folder is created but there is no data folder created in each. The terminal gives me “/opt/retropie/ports/openbor/extract.sh: line 13: ./unpack.sh: Permission denied mv: cannot stat ‘data/‘: No such file or directory” for each game pak extraction.

                            Is running the ROMs off the USB stick an issue also?

                            1 Reply Last reply Reply Quote 0
                            • cyperghostC
                              cyperghost @tmc930
                              last edited by

                              @tmc930 well change the path and it should work. Forget the original extract script... It is rubbish

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tmc930 @cyperghost
                                last edited by

                                @cyperghost It is finally working now. I just scrapped running it off the flash drive for now, and just copied the pak files to the microsd, and unpacked it off there. If anything, I could just copy the unpacked stuff back to the flash drive later on, if I really want to run it off the flash drive later. Thanks so much for your help on this, and for bearing with a complete noob like me. Sorry to bother you a whole year after this was last posted, and thank you for the working script!

                                I hope the controller mapping and config isn't too painful, requiring another script to configure....

                                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.