Amiberry: CHD support for CD images

Created on 6 May 2018  路  15Comments  路  Source: midwan/amiberry

hello :)

I see in the blkdev_cdimage.cpp file

  • iso (2048/2352 block size)
  • cue/bin, cue/bin/wav, cue/bin/mp3, cue/bin/flac
  • ccd/img and ccd/img/sub
  • chd cd

I try a CHD file but it"s not recognized ^^

I will be a great feature..
It save 30% to 40% of space and only 1file/game

Any idea if it will be implemented on future updates ?

enhancement

Most helpful comment

@midwan check out my libchdr library https://github.com/rtissera/libchdr for easy CHD support ;)
It's used all other libretro and other projects and well tested.

All 15 comments

@bebess
I haven't tested CHDs so far, so I wasn't aware there was an issue.
You can still have 1 file / game with other formats as well (ZIP, LHA, 7z), but I don't even have CHDs to try with. How did you create it?

@midwan
chd has a better compression than bin/cue

i test with chdman.exe version 0.189
with command line chdman createcd -i name.cue -o name.chd"
like all the chd i made with segacd/pcecd/tg16cd/...

should i use and older version for the compatibility ?

@midwan Just to clarify, bebess is likely referring to CD32 games or virtual CD images to access in Workbench. It's not an ADF or LHA WHDLoad format replacement.

CHD's becoming relatively common in emulators now for a few reasons. Firstly is that it's tidy; each disk is only a single file. Second is that it's pretty much the best compression format for discs you can get (it uses LZMA for data and FLAC for audio) but doesn't need to be decompressed before use, it's "seekable" as-is.

Pretty much a godsend for space and tidiness.

@midwan , any update ?

@bebess
Do you have a CHD image that works with WinUAE 4.1.0?
If so, could you send me such an image so I can test it here?

We had a file filter on the requester to only show *.cue, *.ccd and *.iso files, so *.chd would be hidden. I could easily add those in the list, but I'd like to test that they work first.
Edit: It won't work without some extra glue and the CHD archiver support. I'll look into adding that, but I'll still need some samples to test with.

Midwan,

Since there is no PM system on Github, have you thought about starting an Amiberry discord channel, or otherwise joining an existing Amiga channel? I'm sure people would be happy to contribute there, were you to need examples.

@gt46l
We have a few Amiberry channels on Discord already:

@midwan Just trying to get into the Ultimate Amiga Discord channel but apparently the invite link on this thread has expired, could you please post a new one if it's still active? Thank you!

@nighthurdles
Here's a new one: https://discord.gg/HeJgfmw

Thanks :)

Hello, any chance to see chd support in Amiberry? Thanks for the great work so far!

@midwan check out my libchdr library https://github.com/rtissera/libchdr for easy CHD support ;)
It's used all other libretro and other projects and well tested.

@midwan should/could I start a fork with CHD support for CD images based on my own libchdr ?
There's still "old" WITH_CHD #defines in blkdev_cdimage so it should be not too hard to hook in.

@rtissera
I haven't had a chance to look into this yet, unfortunately. If you could assist with a pull request, it would be great!

@midwan will do !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vretro picture vretro  路  5Comments

ransom1122 picture ransom1122  路  5Comments

jonpatterson picture jonpatterson  路  8Comments

tenleftfingers picture tenleftfingers  路  8Comments

AnalogHero picture AnalogHero  路  5Comments