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.3k 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.
    • saccublendaS
      saccublenda @ts-x
      last edited by

      @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 Reply Quote 0
      • T
        ts-x @saccublenda
        last edited by

        @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.

        saccublendaS 1 Reply Last reply Reply Quote 0
        • saccublendaS
          saccublenda @ts-x
          last edited by saccublenda

          @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...

          windgW 1 Reply Last reply Reply Quote 1
          • windgW
            windg @saccublenda
            last edited by windg

            @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.

            saccublendaS T 2 Replies Last reply Reply Quote 0
            • saccublendaS
              saccublenda @windg
              last edited by saccublenda

              @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.

              windgW 1 Reply Last reply Reply Quote 0
              • T
                ts-x @windg
                last edited by

                @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?

                saccublendaS 2 Replies Last reply Reply Quote 0
                • saccublendaS
                  saccublenda @ts-x
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • saccublendaS
                    saccublenda @ts-x
                    last edited by

                    @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
                    • windgW
                      windg @saccublenda
                      last edited by windg

                      @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.

                      saccublendaS 1 Reply Last reply Reply Quote 0
                      • saccublendaS
                        saccublenda @windg
                        last edited by

                        @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
                        • 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.