For Bleemsync 0.2.2:Someone knows how to use bleem sync and select triangle menu script together?
Windows users please use a texteditor with unix fileformat support (like notepad++ (google it)) to apply. Just to be safe.
Code:
#!/bin/sh
# BleemSync Payload 0.2.2
killall -s KILL sonyapp ui_menu
PCSX_DIR="/data/AppData/sony/pcsx"
# Extract system files to avoid crashing
mkdir -p /media/System
mkdir -p /media/System/Bios
mkdir -p /media/System/Preferences
mkdir -p /media/System/Preferences/System
mkdir -p /media/System/Preferences/User
mkdir -p /media/System/Databases
mkdir -p /media/System/Region
mkdir -p /media/System/Logs
mkdir -p /media/System/UI
if [ ! -f /media/System/Bios/romw.bin ]
then
cp -r /gaadata/system/bios/* /media/System/Bios
fi
if [ ! -f /media/System/Preferences/regional.pre ]
then
cp /gaadata/preferences/regional.pre /media/System/Preferences/regional.pre
fi
if [ ! -f /media/System/Region/GENINFO ]
then
cp /gaadata/geninfo/* /media/System/Region
fi
if [ ! -f /media/System/Logs/ui_menu.log ]
then
touch /media/System/Logs/ui_menu.log
fi
# Overmount some folders
mount -o bind /media/System/Bios /gaadata/system/bios
mount -o bind /media/System/Preferences/System /gaadata/preferences
mount -o bind /media/System/Preferences/User /data/AppData/sony/ui
mount -o bind /media/System/Databases /gaadata/databases
mount -o bind /media/System/Region /gaadata/geninfo
mount -o bind /media/System/Logs/UI /data/sony/ui
killall ui_menu
# The pcsx.cfg file needs to be copied into the user data folder or controllers may not work.
cd /media/Games
find * -maxdepth 0 -type d -exec mount -o bind /media/Games/{}/GameData /gaadata/{} \;
find * -maxdepth 0 -type d -exec mkdir -p /media/Games/{}/UserData \;
find * -maxdepth 0 -type d -exec mount -o bind /media/Games/{}/UserData /data/AppData/sony/pcsx/{} \;
find * -maxdepth 0 -type d -exec mkdir -p /data/AppData/sony/pcsx/{}/.pcsx \;
find * -maxdepth 0 -type d -exec cp /media/Games/{}/GameData/pcsx.cfg /data/AppData/sony/pcsx/{}/.pcsx/pcsx.cfg \;
cd -
##
## Grabbed from sonyapp
mkdir -p $PCSX_DIR/.pcsx
BIOS_SRC=/gaadata/system/bios
if [ ! -e $BIOS_SRC ]; then
BIOS_SRC=/usr/sony/bin/bios
fi
if [ ! -e $PCSX_DIR/bios/SCPH1001.BIN ]; then
echo "bios file 0 not exist"
cp $BIOS_SRC/SCPH1001.BIN $PCSX_DIR/bios/
elif [ "$(stat -c%s $PCSX_DIR/bios/SCPH1001.BIN)" -eq "0" ]; then
echo "bios file 0 is zero length"
cp $BIOS_SRC/SCPH1001.BIN $PCSX_DIR/bios/
fi
if [ ! -e $PCSX_DIR/bios/romJP.bin ]; then
echo "bios file 1 not exist"
cp $BIOS_SRC/romJP.bin $PCSX_DIR/bios/
elif [ "$(stat -c%s $PCSX_DIR/bios/romJP.bin)" -eq "0" ]; then
echo "bios file 1 is zero length"
cp $BIOS_SRC/romJP.bin $PCSX_DIR/bios/
fi
if [ ! -e $PCSX_DIR/bios/romw.bin ]; then
echo "bios file 2 not exist"
cp $BIOS_SRC/romw.bin $PCSX_DIR/bios/
elif [ "$(stat -c%s $PCSX_DIR/bios/romw.bin)" -eq "0" ]; then
echo "bios file 2 is zero length"
cp $BIOS_SRC/romw.bin $PCSX_DIR/bios/
fi
PLUGINS_SRC=/usr/sony/bin/plugins
if [ ! -e $PCSX_DIR/plugins ]; then
echo "plugins directory not exist"
mkdir -p $PCSX_DIR/plugins
fi
for f in `ls $PLUGINS_SRC`; do
if [ ! -e $PCSX_DIR/plugins/$f ]; then
echo "$f file not exist"
cp $PLUGINS_SRC/$f $PCSX_DIR/plugins/
elif [ "$(stat -c%s $PCSX_DIR/plugins/$f)" -eq "0" ]; then
echo "$f file is zero length"
cp $PLUGINS_SRC/$f $PCSX_DIR/plugins/
fi
done
##
##
sed -i "s/iUiUserSettingLastSelectGameCursorPos.*/iUiUserSettingLastSelectGameCursorPos=0/" /data/AppData/sony/ui/user.pre
find / > /media/filelist.log
sleep 3s
sync
export PCSX_ESC_KEY=2
killall ui_menu
sync
cd /data/AppData/sony/pcsx
/usr/sony/bin/ui_menu --power-off-enable > /media/System/Logs/ui_menu.log
sync
red_led "12" "0.3"
while :; do sleep 10; done
--------------------- MERGED ---------------------------
I also messed around with Bleemsync 0.2.2 for a while and then reverted to gpghax.
Here are some findings.
First, with the current files hosted at the gpghax github, we get our regional.db backups, so we can revert our consoles to "stock" (with savefiles for 21+ still on the console, but wayne (= whatever, german meme).. ), so get a copy.
With Bleemsync one thing becomes "impossible" (/harder) and that is, to have access to all the games on the console, as well as on your usb stick. Its either or (USB stick in or out). I dont like that so much -
so I dumped all the game files and savegames from the console, formated them in the correct way for Bleemsync, and tried to create the db file (using the exe) just to find out, that Bleemsyncs exe on its own currently supports 20 games - and not any more. Which had me miffed. Maybe psclassic edit does - but at least my attempts to edit the db file manually resulted in not being able to launch game 21. (Question: Was anyone in here able to launcha game 21 or higher with Bleemsync?)
I also came to notice, that with 20 games read from the USB stick (Bleemsync), menu navigation became much slower - which I didn't terribly enjoy either.
So for me its back to gpghax, with only one added game - which is then used with esc menu to load in multiple other games.
I also modified the gpghax lolhack.sh once more to only write the database file onto the console once - so that doesnt end up to become an issue further down the road.
If you want to have it write the database file again, you have to remove a textfile named dontinstalldb.txt from the games folder.
If anyone is still interested in an updated gpghax lolhack.sh (although gpghax isnt publicly available anymore) - here you go:
Windows users please use a texteditor with unix fileformat support (like notepad++ (google it)) to apply. Just to be safe.
Code:
#link the usb drive dirs into the /gaadata
cd /media/games
for D in *; do
if [ -d "${D}" ]; then
ln -s /media/games/${D} /gaadata/${D}
fi
done
#backup the original db (will not overwrite the file after the first backup)
cp -n /gaadata/databases/regional.db /media/games/backup.db
#install our custom db
if [ ! -f /media/games/dontinstalldb.txt ]
then
cp /media/games/custom.db /gaadata/databases/regional.db
fi
#sync usb drive
sync
# kill the ui process
killall ui_menu
sleep 3s
touch /media/games/dontinstalldb.txt
sync
export PCSX_ESC_KEY=2
killall ui_menu
sync
cd /data/AppData/sony/pcsx
/usr/sony/bin/ui_menu --power-off-enable > /media/ui_menu.log
sync
while :; do sleep 10; done
Last edited by notimp,