Unable to make OpenBoR work from usb
-
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 -
@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 ?
-
@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? -
@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"
-
Thanks for this excellent tip @cyperghost
I will try it out :) -
@cyperghost You sir are a genius!! Everything works flawlessly now.
Thank you so much :-) -
@cyperghost I have the same permission issue. Really dumb question, but how do I use that script you posted?
-
@tmc930 What is the output of the script I've posted above?
-
@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?
-
@tmc930 use
wget https://raw.githubusercontent.com/crcerror/RetroPie-OpenBOR-scripts/master/extract.sh
and thenbash extract.sh
-
@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?
-
@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?
-
@tmc930 well change the path and it should work. Forget the original extract script... It is rubbish
-
@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....
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.