RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    lr-mess running pv-2000 cannot find BIOS file

    Scheduled Pinned Locked Moved Help and Support
    raspberrypi4messlr-messretropiebios not found
    2 Posts 1 Posters 496 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      theburgerking
      last edited by

      I am using an excellent replacement RetroPie-Setup script by @valerino to explore some less common systems.

      I am not able to run Casio PV-2000 roms out of the box. The system is attempting to run:

      /home/pi/RetroPie-Setup/scriptmodules/run_mess.sh /opt/retropie/emulators/retroarch/bin/retroarch /opt/retropie/libretrocores/lr-mess/mess_libretro.so /opt/retropie/configs/pv2000/retroarch.cfg pv2000 /home/pi/RetroPie/BIOS -cart %ROM%"

      This looks good, and the bios file is in place in the specified bios directory in both zipped and unzipped forms (pv2000.zip and hn613128pc64.bin). In addition another copy of each of those files is in the pv2000 roms directory alongside the actual roms.

      The output I get is:
      <snip>
      [libretro INFO] Starting game from command line:pv2000 -rp /home/pi/RetroPie/BIOS -cfg_directory
      /opt/retropie/configs/pv2000 "-cart" "/home/pi/RetroPie/roms/pv2000/rocnrope.zip"
      [libretro INFO] ARGUV[0]=pv2000
      [libretro INFO] Game name: pv2000, Game description: PV-2000
      Error opening translation file English
      Adding monitor screen0 (640 x 480) a:1.333333
      [libretro INFO] SOURCE FILE: ../../../../../src/mame/drivers/pv2000.cpp
      [libretro INFO] PARENT: 0
      [libretro INFO] NAME: pv2000
      [libretro INFO] DESCRIPTION: PV-2000
      [libretro INFO] YEAR: 1983
      [libretro INFO] MANUFACTURER: Casio
      hn613128pc64.bin NOT FOUND (tried in pv2000)
      Fatal error: Required files are missing, the machine cannot be run.
      </snip>

      Note that if I launch manually like this, I can get the game up and running (but this will not work for roms that have multiple sub-entries in the hash files so is not a solution):

      /opt/retropie/emulators/retroarch/bin/retroarch --verbose --config /opt/retropie/configs/pv2000/retroarch.cfg -L /opt/retropie/libretrocores/lr-mess/mess_libretro.so /home/pi/RetroPie/roms/pv2000/rocnrope.zip

      I am looking through /home/pi/RetroPie-Setup/scriptmodules/run_mess.sh but do not see anything obviously off. I did get this one error higher in the run:
      [.] parameters dump
      \t_retroarchbin: /opt/retropie/emulators/retroarch/bin/retroarch
      \t_messpath: /opt/retropie/libretrocores/lr-mess/mess_libretro.so
      \t_config: /opt/retropie/configs/pv2000/retroarch.cfg (+ /opt/retropie/configs/pv2000/retroarch.
      cfg.add)
      \t_cfg_directory: /opt/retropie/configs/pv2000
      \t_system: pv2000
      \t_biosdir: /home/pi/RetroPie/BIOS
      dirname: invalid option -- 'c'
      Try 'dirname --help' for more information.
      \t_romdir: /home/pi/RetroPie/roms/pv2000

      however light debugging did not yield a solution.

      Please help point me in the right direction here, I am up for trying instrumented scripts or anything else. Thanks.

      1 Reply Last reply Reply Quote 0
      • T
        theburgerking
        last edited by

        I am going to answer this one myself in case anyone else needs this info in the future. After looking through the run_mess.sh script itself, I was able to see that the message "hn613128pc64.bin NOT FOUND (tried in pv2000)" was trying to tell me that lr-mess was looking for the BIOS file in a pv2000 subdirectory of the main BIOS directory. Once it was placed there the logic to skip the software list/hash started working properly and I was able to launch roms that did not match the official hashes.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.