Fixed tools section

This commit is contained in:
XargonWan 2022-09-27 15:18:17 +02:00 committed by GitHub
parent a24f379622
commit 64d1ec9e1f
2 changed files with 20 additions and 2 deletions

View file

@ -1612,7 +1612,7 @@
<theme>zxspectrum</theme>
</system>
<system>
<name>zzztools</name>
<name>tools</name>
<fullname>RetroDECK Tools</fullname>
<path>/var/config/retrodeck/tools</path>
<extension>.sh .SH</extension>

View file

@ -2,12 +2,30 @@
THIS MUST BE PUT IN RETRODECK.SH
mkdir -p $rdhome/roms/ps3/emudir
mkdir -p $rdhome/roms/ps3/dump
#mkdir -p $rdhome/roms/ps3/dump cannot install in nogui
#user must install via emulator
source global.sh
install_ps3_fw(){
# Implement a check to see if the firmware is already installed then call this function
mkdir -p $rdhome/roms/ps3/.emudir
mkdir -p $rdhome/roms/ps3/tmp
chmod 777 $rdhome/roms/ps3/tmp
wget http://dus01.ps3.update.playstation.net/update/ps3/image/us/2022_0510_95307e1b51d3bcc33a274db91488d29f/PS3UPDAT.PUP -P $rdhome/roms/ps3/tmp/
rpcs3 --installfw $rdhome/roms/ps3/tmp/PS3UPDAT.PUP
rm -rf $rdhome/roms/ps3/tmp
}
zenity: "Hey I will destroy everything in $rdhome/roms/ps3/dump"
zenity: this will take a while, have a coffee
# this seems not to be working as rpcs3 doesn't support installation in --no-gui mode
rpcs3 --installpkg $rdhome/roms/ps3/dump/*
for each folder in $rdhome/roms/ps3/emudir/dev_hdd0/game/