Openbor on usb
-
My guess is your USB key is FAT32 formatted and it doesn't support the executable bit for
extract.sh
(hence the error). Try extracting the OpenBor games before transferring them to the USB. -
ok i'll try this solution but I don't really how I can do that. Do I make a script for extract and move then finish, I cant' extract to my usb directly ?
-
@wsamael The extract script is created by the install script in
/opt/retropie/ports/openbor/extract.sh
. You copy your.pak
files in theports/openbor
folder and then execute it - it will create a folder for each.pak
gamefile. -
You can use this script here to extract your PAKs
-
@mitu said in Openbor on usb:
@wsamael The extract script is created by the install script in
/opt/retropie/ports/openbor/extract.sh
. You copy your.pak
files in theports/openbor
folder and then execute it - it will create a folder for each.pak
gamefile.ok but if I use the extract script it's work but only to sd card if I change roms directory in extract script to add my usb directory i've an error to unpack.sh
-
@cyperghost said in Openbor on usb:
You can use this script here to extract your PAKs
i've see this script but how do i use it ? do i lunch it by
wget "https://raw.githubusercontent.com/crcerror/RetroPie-OpenBOR-scripts/master/extract.sh ?( this script is the v0.67 is it better ? ) and if I wanna make my rom in /media/usb/roms/ports/openbors where do I make the directory ?
-
@wsamael No you lunch usually no scripts
you download it with the
wget
command and and then you excute withbash
-
@cyperghost ok Thanks :) I 'll try this as soon as I can :)
ps: just one last question ( I hope ^^ ) where do I change the files directory to put mine (/media/usb/roms/ ports/openbor ) ?
I must change this line
" BORROM_DIR="/home/pi/RetroPie/roms/ports/openbor" " -
@wsamael Yes the script looks for your
*.pak
files in the directory you mentioned, so change the path here. -
it doesn' twork :( the game has created in th efolder, it's not appear in openbor. that work with
BORROM_DIR="/home/pi/RetroPie/roms/ports/openbor"
but it's not with
BORROM_DIR="/media/usb0/roms/ports/openbor" work with
in the both of them, that extract the game but in "usb" i can't launch it
ps sorry about my english i hope you understand me ;)
-
script ok
#!/bin/bash # PAK EXTRACT v0.67 # # by cyperghost for retropie.org.uk # 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" if [[ -f $EXTRACT_BOREXE ]]; then mkdir -p "$BORPAK_DIR" cd "$BORPAK_DIR" for i in *.[Pp][Aa][Kk]; do FILE="${i%%.*}" if [[ $FILE == '*' ]]; then echo "Aborting... No files to extract in $BORPAK_DIR!" exit fi mkdir -p "$BORROM_DIR/$FILE.bor" echo "Extracting file: $i" echo "to dir: $BORROM_DIR/$FILE.bor" sleep 3 "$EXTRACT_BOREXE" -d "$BORROM_DIR/$FILE.bor" "$i" echo "-------- Done Extracting: $i ---------" echo "-- Backup $i >> $i.original --" mv "$i" "$i.original" sleep 5 done echo "Extraction done without errors!" else echo "borpak executive file not found in $EXTRACT_BOREXE" echo "Exit now...." fi sleep 5 script not ok ``` #!/bin/bash # PAK EXTRACT v0.67 # # by cyperghost for retropie.org.uk # 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="/media/usb0/roms/ports/openbor" BORPAK_DIR="$BORROM_DIR/pak" if [[ -f $EXTRACT_BOREXE ]]; then mkdir -p "$BORPAK_DIR" cd "$BORPAK_DIR" for i in *.[Pp][Aa][Kk]; do FILE="${i%%.*}" if [[ $FILE == '*' ]]; then echo "Aborting... No files to extract in $BORPAK_DIR!" exit fi mkdir -p "$BORROM_DIR/$FILE.bor" echo "Extracting file: $i" echo "to dir: $BORROM_DIR/$FILE.bor" sleep 3 "$EXTRACT_BOREXE" -d "$BORROM_DIR/$FILE.bor" "$i" echo "-------- Done Extracting: $i ---------" echo "-- Backup $i >> $i.original --" mv "$i" "$i.original" sleep 5 done echo "Extraction done without errors!" else echo "borpak executive file not found in $EXTRACT_BOREXE" echo "Exit now...." fi sleep 5
-
This post is deleted! -
oups je viens de voir que j'ai raté mon message
alors le script qui marche
#!/bin/bash # PAK EXTRACT v0.67 # # by cyperghost for retropie.org.uk # 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" if [[ -f $EXTRACT_BOREXE ]]; then mkdir -p "$BORPAK_DIR" cd "$BORPAK_DIR" for i in *.[Pp][Aa][Kk]; do FILE="${i%%.*}" if [[ $FILE == '*' ]]; then echo "Aborting... No files to extract in $BORPAK_DIR!" exit fi mkdir -p "$BORROM_DIR/$FILE.bor" echo "Extracting file: $i" echo "to dir: $BORROM_DIR/$FILE.bor" sleep 3 "$EXTRACT_BOREXE" -d "$BORROM_DIR/$FILE.bor" "$i" echo "-------- Done Extracting: $i ---------" echo "-- Backup $i >> $i.original --" mv "$i" "$i.original" sleep 5 done echo "Extraction done without errors!" else echo "borpak executive file not found in $EXTRACT_BOREXE" echo "Exit now...." fi sleep 5
et celui qui ne passe pas
#!/bin/bash # PAK EXTRACT v0.67 # # by cyperghost for retropie.org.uk # 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="/media/usb0/roms/ports/openbor" BORPAK_DIR="$BORROM_DIR/pak" if [[ -f $EXTRACT_BOREXE ]]; then mkdir -p "$BORPAK_DIR" cd "$BORPAK_DIR" for i in *.[Pp][Aa][Kk]; do FILE="${i%%.*}" if [[ $FILE == '*' ]]; then echo "Aborting... No files to extract in $BORPAK_DIR!" exit fi mkdir -p "$BORROM_DIR/$FILE.bor" echo "Extracting file: $i" echo "to dir: $BORROM_DIR/$FILE.bor" sleep 3 "$EXTRACT_BOREXE" -d "$BORROM_DIR/$FILE.bor" "$i" echo "-------- Done Extracting: $i ---------" echo "-- Backup $i >> $i.original --" mv "$i" "$i.original" sleep 5 done echo "Extraction done without errors!" else echo "borpak executive file not found in $EXTRACT_BOREXE" echo "Exit now...." fi sleep 5
donc au final je me demande si le soucis n'est pas dans les reglage d'openbor car c'est lui qui ne les voit pas mais je ne voit pas ou le modifier .
-
@wsamael Is there any error during extraction?
How do you launch the OpenBOR? -
I think is no error during extraction
And I try to launch OPB with the ES Menu (like another system ) or I try to launch in ports menu an Ports menu but that dosn't work
i saw it in es menu but if I launch it that launch opb menu and may rom dosn't appear
-
asterix it's ok (on sd card) but street fighter ( on usb key) dosn't work . If I launch it, that launch opb and not Street fighter
( I hope you understand what i mean )
-
@wsamael The OpenBOR engine you are using is very old. That may be the reason that Asterix (also an old BOR title) works and Street Fighter maybe not. Did you try to extract Asterix on USB key, too?
-
@cyperghost
No Astérix is extract on sd card with your script in/home/pi/RetroPie/.... and it's work goodHow can i update openbor ? I've install it bye retropie-setup ?
-
sorry , yes I try to extract asterix on usb ans it's not ok, but if I extract street fighter on sd , it's work good
-
@wsamael Please post following
data of
/opt/retropie/configs/ports/openbor/emulators.cfg
There should be this entry (The %ROM% is vital)
openbor= "pushd /opt/retropie/ports/openbor; /opt/retropie/ports/openbor/OpenBOR %ROM%; popd" default = "openbor"
And your
es_system.cfg
should contain the following part<name>openbor</name> <fullname>OpenBOR</fullname> <path>/home/pi/RetroPie/roms/ports/openbor</path> <extension>.bor .BOR</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _PORT_ openbor %ROM%</command> <platform>pc</platform> <theme>openbor</theme>
Can you check?
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.