Solved How to specify BIOS when running PS1 game?
-
Hey guys, I'm playing some special PS1 games that require some special BIOS to run, so I wrote an event script for that. When the game is running, copying a special BIOS to replace a normal BIOS still has no effect. Did I overlook something?
# /Volumes/share/userscripts/runpsxgame[rungame](sync).sh param="" destination="/recalbox/share/bios/scph7001.bin" original_destination="/recalbox/share/bios/psx/scph7001.bin" while [[ $# -gt 0 ]]; do case $1 in -param) if [[ -n $2 ]]; then param="$2" shift 2 else exit 1 fi ;; *) shift ;; esac done if [[ "$param" == *"roms/psx"* ]]; then game_name="${param#*roms/psx/}" game_name="${game_name%.*}" bios_file="${param%/*}/$game_name.bios" if [[ -f "$bios_file" ]]; then cp "$bios_file" "$destination" else cp "$original_destination" "$destination" fi fi
-
-
-
Actually, different bios need to be used according to different simulators, and pcsx_rearmed is used by default
So the priority recommendation for BIOS is scph101.bin. I opened two scripts and used a special BIOS when entering the game, and restored the BIOS when exiting the game// psxrungame[rungame](sync).sh param="" destination="/recalbox/share/bios/scph101.bin" while [[ $# -gt 0 ]]; do case $1 in -param) if [[ -n $2 ]]; then param="$2" shift 2 else exit 1 fi ;; *) shift ;; esac done if [[ "$param" == *"roms/psx"* ]]; then game_name="${param#*roms/psx/}" game_name="${game_name%.*}" bios_file="${param%/*}/$game_name.bios" if [[ -f "$bios_file" ]]; then cp "$bios_file" "$destination" fi fi
// psxexitgame[endgame](sync).sh param="" destination="/recalbox/share/bios/scph101.bin" original_destination="/recalbox/share/bios/psx/scph101.bin" while [[ $# -gt 0 ]]; do case $1 in -param) if [[ -n $2 ]]; then param="$2" shift 2 else exit 1 fi ;; *) shift ;; esac done if [[ "$param" == *"roms/psx"* ]]; then game_name="${param#*roms/psx/}" game_name="${game_name%.*}" bios_file="${param%/*}/$game_name.bios" if [[ -f "$bios_file" ]]; then cp "$original_destination" "$destination" fi fi