Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. neekin
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    neekin

    @neekin

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    neekin Unfollow Follow

    Latest posts made by neekin

    • RE: How to specify BIOS when running PS1 game?

      @neekin

      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
      
      
      posted in Community projects
      neekin
      neekin
    • 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
      
      posted in Community projects
      neekin
      neekin