SHARE
TWEET

Untitled

a guest Dec 9th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. #link the usb drive dirs into the /gaadata
  3. cd /media/games
  4. for D in *; do
  5.   if [ -d "${D}" ]; then
  6.     ln -s /media/games/${D} /gaadata/${D}
  7.     ln -s /media/games/${D} /data/AppData/sony/pcsx/${D}
  8.     mkdir /media/games/${D}/.pcsx
  9.     cp /media/games/${D}/pcsx.cfg /media/games/${D}/.pcsx
  10.   fi
  11. done
  12.  
  13. #cp /gaadata/databases/regional.db /media/games/original.db
  14. #install our custom db
  15. cp /media/games/custom.db /gaadata/databases/regional.db
  16.  
  17. sleep 5s
  18.  
  19. #enable Select-Triangle to in game menu
  20. export PCSX_ESC_KEY=2
  21.  
  22. # kill the ui process
  23. killall ui_menu
  24.  
  25. sleep 5s
  26.  
  27. cd /data/AppData/sony/pcsx
  28.  
  29. #sync usb drive
  30. sync
  31.  
  32. # restart ui
  33. /usr/sony/bin/ui_menu --power-off-enable
  34.  
  35. # sleep forever so the usb is never unmounted
  36. while :; do sleep 10; done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top