• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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-pcsx-rearmed not able to open CHD files

Scheduled Pinned Locked Moved Help and Support
lr-pcsx-rearmedchd4.3
13 Posts 3 Posters 2.0k 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
    ts-x
    last edited by 7 Oct 2022, 17:05

    At @windg's suggestion, I'm opening a new topic for this. Getting an "unsupported/invalid CD image" message when attempting to open CHD files with lr-pcsx-rearmed (latest r23 from source). The emulator runs fine for all other file formats but none of the CHD files I create from those files with chdman (mame0248b_version) will load. I was able to successfully build CHD files for segacd and pcengine in the past, so I don't believe it's an issue with chdman. Also tried swapping BIOS files to no avail. Any idea what I may be doing wrong here? Appreciate the help!

    Pi Model or other hardware: 3b
    RetroPie Version Used: 4.3 (w/ES 1.6.7)
    Built From: Pre-made SD Image on RetroPie website
    USB Devices connected: Keyboard Receiver, Xbox360 Controller Receiver
    Controller used: Xbox360
    Error messages received: None
    Verbose log (if relevant): Pastebin
    File: All files tried - Bust-a-Move 2, Crash Team Racing, MediEvil
    Emulator: lr-pcsx-rearmed

    S 1 Reply Last reply 7 Oct 2022, 17:12 Reply Quote 0
    • S
      saccublenda @ts-x
      last edited by saccublenda 10 Jul 2022, 18:15 7 Oct 2022, 17:12

      @ts-x I created several chds with chdmam and they alway worked with lr-pcsx-rearmed. How did you use chdman? Also your RetroPie version looks a bit old (4.3 vs 4.8 now available). Did you try updating your distribution?

      T 1 Reply Last reply 7 Oct 2022, 17:39 Reply Quote 0
      • T
        ts-x @saccublenda
        last edited by 7 Oct 2022, 17:39

        @saccublenda I've tried both command line and batch scripts, same as I used for the segacd/pcengine files which run just fine. I've honestly put too many years of work into my 4.3 image to risk an update, I guess if that ends up being the issue then I'll just have to go without CHD. Thanks for feedback!

        S 1 Reply Last reply 7 Oct 2022, 18:44 Reply Quote 0
        • S
          saccublenda @ts-x
          last edited by 7 Oct 2022, 18:44

          @ts-x Maybe the emulator itself was updated to include chd support. If you have a spare sd card you try installing the new RetroPie distribution on it and try loading the chds with it, if they work then the problem is the outdated distribution.

          T 1 Reply Last reply 7 Oct 2022, 19:14 Reply Quote 0
          • T
            ts-x @saccublenda
            last edited by 7 Oct 2022, 19:14

            @saccublenda lr-pcsx-rearmed was updated to add CHD support since my original install, but I just updated from source and picked up what I believe is the latest and greatest (r23). The new version runs non-CHD games fine but maybe something non-emulator related was updated behind the scenes that’s preventing CHD’s from running on my 4.3 image? Was hoping to pull a rabbit out of a hat here to free up some SD card space but maybe it’s just not possible with the old image. Seeing others with newer images experiencing the same problem in the other thread made me think something else could be to blame.

            S 1 Reply Last reply 11 Oct 2022, 15:12 Reply Quote 0
            • S
              saccublenda @ts-x
              last edited by saccublenda 10 Nov 2022, 16:12 11 Oct 2022, 15:12

              @ts-x I recently tried some chds that used to work on my system, and I confirm that they do not work anymore! I tried with both lr-pcsx-rearmed and with lr-duckstation, and in both cases the bin/cue format works, while the chd does not. That is weird, because they were working before. I don't know what happened...

              W 1 Reply Last reply 11 Oct 2022, 15:49 Reply Quote 1
              • W
                windg @saccublenda
                last edited by windg 10 Nov 2022, 16:52 11 Oct 2022, 15:49

                @saccublenda
                With what games do you have issues?

                So far my games are working. To create my chd's files i have install to RaspiOS Bullseye this package: mame-tools arm64 0.228+dfsg.1-1

                I am using this script that i create to convert my games, if you can, test and with this version of chdman :

                #!/bin/bash
                MENU() {
                echo "~~~~~~~~~~~~~~~~~~~~~"
                echo " C H D M A N "
                echo "~~~~~~~~~~~~~~~~~~~~~"
                echo " "
                echo "1. create .chd (Psx/Others)"
                echo "2. create .chd (Dreamcast)"
                echo "3. extract .chd to cue/bin"
                echo "4. install chdman"
                echo "5. Quit"
                }
                OPTIONS() {
                local choice
                echo " "
                read -p "Enter choice [ 1 - 5 ]: " choice
                case $choice in
                1) echo " "
                echo "=> You chose to create .chd."
                echo " "
                echo -n "-Give path of game folder: "
                read -r dest
                cd "$dest"
                for i in *.cue; do chdman createcd -i "$i" -o "${i%.*}.chd"; done
                ;;
                2) echo " "
                echo "=> You chose to create .chd."
                echo " "
                echo -n "-Give path of game folder: "
                read -r dest
                cd "$dest"
                for i in *.gdi; do chdman createcd -i "$i" -o "${i%.*}.chd"; done
                ;;
                3) echo " "
                echo "=> You chose to extract .chd to cue/bin."
                echo " "
                echo -n "-Give path of game folder: "
                read -r dest
                cd "$dest"
                echo " "
                echo -n "-Give file name: "
                read -r name
                echo " "
                chdman extractcd -i "$name".chd -o "$name".cue -ob "$name".bin
                ;;
                4) echo " "
                echo "=> You chose to install Chdman."
                echo " "
                sudo apt install -y --no-install-recommends mame-tools
                ;;
                5) exit 0;;
                esac
                }
                trap '' SIGINT SIGQUIT SIGTSTP
                while true
                do
                MENU
                OPTIONS
                done

                My English isn't at a good level.

                S T 2 Replies Last reply 11 Oct 2022, 16:36 Reply Quote 0
                • S
                  saccublenda @windg
                  last edited by saccublenda 10 Nov 2022, 17:37 11 Oct 2022, 16:36

                  @windg As I said, I created several chds with chdman (using chdman createcd -i NAME.cue -o NAME.chd), and they were working before. Today I tried a chd that was working before (Jumping Flash!) and it was not working anymore, nor with lr-pcsx-rearmed neither with lr-duckstation. The log only says "unsupported/invalid CD image". The bin/cue version of the same game works instead.

                  W 1 Reply Last reply 11 Oct 2022, 17:36 Reply Quote 0
                  • T
                    ts-x @windg
                    last edited by 11 Oct 2022, 16:39

                    @windg I don't know if this is a clue or not but what's strange is that per the verbose log, lr-pcsx-rearmed is able to see the .bin files but seems to stumble once it hits the .cue file. Again, it could be something related to my 4.3 version of RetroPie that's to blame. I also tested a .chd file from another source for the same game and ended up with the same result.

                    [libretro INFO] Loaded CD Image: /home/pi/RetroPie/roms/psx/MediEvil (USA).chd[+cue].
                    [libretro INFO] Track 01 (DATA) - Start 00:02:00, Length 49:57:36
                    [libretro INFO] Track 02 (AUDIO) - Start 50:01:36, Length 03:05:01
                    [libretro INFO] unsupported/invalid CD image: /home/pi/RetroPie/roms/psx/MediEvil (USA).chd

                    @saccublenda Is your verbose log ending with the same hiccup?

                    S 2 Replies Last reply 11 Oct 2022, 16:49 Reply Quote 0
                    • S
                      saccublenda @ts-x
                      last edited by 11 Oct 2022, 16:49

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • S
                        saccublenda @ts-x
                        last edited by 11 Oct 2022, 16:50

                        @ts-x said in Lr-pcsx-rearmed not able to open CHD files:

                        @saccublenda Is your verbose log ending with the same hiccup?

                        Yep.

                        1 Reply Last reply Reply Quote 0
                        • W
                          windg @saccublenda
                          last edited by windg 10 Nov 2022, 18:39 11 Oct 2022, 17:36

                          @saccublenda

                          I can confirm that Jumping Flash (USA).chd don't work with the latest version of lr-pcsx-reamred. It is working with lr-duckstation and lr-swanstation. Medievil(USA) is working for me.

                          verbose.log

                          My English isn't at a good level.

                          S 1 Reply Last reply 11 Oct 2022, 20:21 Reply Quote 0
                          • S
                            saccublenda @windg
                            last edited by 11 Oct 2022, 20:21

                            @windg I did some more testing, and find out that most of the chds still work (Tekken, Wipeout, Tomb Raider, both with lr-pcsx-rearmed and with lr-duckstation), but Jumping Flash! does not work nor with lr-pcsx-rearmed neither with lr-duckstation. I guess there is something specific with this game, but that still puzzles me because it was working before...

                            1 Reply Last reply Reply Quote 0
                            13 out of 13
                            • First post
                              13/13
                              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.

                              This community forum collects and processes your personal information.
                              consent.not_received