libretro / pcsx_rearmed

ARM optimized PCSX fork
GNU General Public License v2.0
166 stars 120 forks source link

add CHD support #137

Closed bigboo3000 closed 4 years ago

bigboo3000 commented 7 years ago

Hi Beetle psx now has CHD support, it would be great if pcsx_rearmed had CHD support as well. It's the only PSX core usable on RPI or old PCs.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/48944655-add-chd-support?utm_campaign=plugin&utm_content=tracker%2F441984&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F441984&utm_medium=issues&utm_source=github).
KMFDManic commented 6 years ago

First of all, thanks so much @notaz for the great PicoDrive, and coming out of pseudo retirement to add some nice changes to the code, and @twinaphex for all the work you have been doing in your personal time, libretro wise! Being that chd support has been added successfully for Genesis Plus GX, Mednafen PCE-Fast & Mednafen PC-FX, I would absolutely love to push for it to be added for pcsx_rearmed/neon. I would love both of your opinions, as far as reasonable expectations, of this being achieved...if I post a bounty for it. I am hoping to get chd support, additionally, for 4DO and Yabause. I will have no problem getting a few people involved in bounties for these. PicoDrive would be nice to have chd support, too, if it isn't too much of a hassle! But, thanks to both of you, and I look forward to seriously getting this done, if you guys and anyone else involved do not mind doing it for a bounty! Thank you in advance for your feedback. I am hoping to get the bounty posted, today, once I get a proper response from you:)

Darknior commented 6 years ago

Yes CHD is the best ISO format :) I dram to see it on all the systems like 4DO, Yabause, etc... like you write. But on PSX it is not the same, we already have the perfect PBP format. I convert all my ISO in it and it works very fine ;)

KMFDManic commented 6 years ago

CHD has better compression than eboots do. CHDs are also very easy to batch convert with a script I did.

Darknior commented 6 years ago

Ok i don't know it as a better compression, and it will works fine on PI ?

KMFDManic commented 6 years ago

Yes, it will. Space being a major factor, on the format I run them on, is why CHD takes priority over Eboot. But, yes, CHD would work on Pi.

Darknior commented 6 years ago

Ok ... wish some one add it to all RA core :) And some one other create an easy program to convert ISO of all these systems to CHD ! For the moment i don't use CHD, only on Dreamcast.

KMFDManic commented 6 years ago

I already made an easy setup to convert to CHD:)

Darknior commented 6 years ago

Excellent, where can we DL it ? have you an url please ?

KMFDManic commented 6 years ago

I will post it for you shortly.

MajorDangerNine commented 6 years ago

@Darknior I made the CHD step-by-step below a little while back, but it only converts the ones with a ".cue" or ".gdi".

https://redd.it/72kh6q

Darknior commented 6 years ago

Thanks a lot @Eckaji , i will try it :) So cool if i can save place for Sega and Nec games. PSX like you write i like PBP for multiple CD games ... I wish it will come also for 3DO and other CD systems ...

kidburglar commented 6 years ago

Helllo, It would be realy a good way to gain space. I just looked how to convert existant bin/cue files to pbp and it's a complete hell... Thanks for your work and I hope see chd support added soon

bebess commented 6 years ago

it would be so great...

any update ? i do a request https://github.com/notaz/pcsx_rearmed/pull/107

nosh01 commented 6 years ago

Bump!!!!!!

andres-asm commented 6 years ago

This is not 4ch. Bumping doesn't achieve anything other than annoying people.

nosh01 commented 6 years ago

Wellll maybe I'll contribute to a bounty, I would assume that wouldn't trigger anyone.

bebess commented 6 years ago

@KMFDManic , do you have any news from @notaz and/or @twinaphex ? I'm totally ready to start a great bounty , i have created a new https://github.com/libretro/pcsx_rearmed/issues/170 for better visibility

But i'm waiting ... an answer...if someone "can" do the request

gt46l commented 6 years ago

Something no one has mentioned yet, but PBP is a lossy format. You can't convert from a PBP to other formats with with 100% quality of the original, or playable on the original hardware at all, because it destroys the original format and converts audio/video to lossy versions. CHD on the other hand is a non-lossy archive quality format that you can convert to any other file format playable on emulators or hardware. CHD is the only format I would want to save 1200 roms in, even if I intended to use some in other formats.

ghost commented 5 years ago

i wish.....

VGkav commented 5 years ago

PBP is not a lossy format, you can extract the game files and they will be byte for byte identical. Saying it converts audio and video to lossy formats is false, I'm pretty sure it just gzips.

CHD does LZMA and FLAC compression, that will increase the performance/memory impact a lot and introduce new audio bugs, as if there aren't enough already.

gingerbeardman commented 5 years ago

PBP is not a lossy format, you can extract the game files and they will be byte for byte identical. Saying it converts audio and video to lossy formats is false, I'm pretty sure it just gzips.

I understood that you could get lossless files back out of an EBOOT.PBP but you could not get the original CD BIN/CUE back out of it (as yo van with CHD) so it's lossy depending on your source format? https://www.psdevwiki.com/ps3/PlayStation_archive_(PSARC)

CHD does LZMA and FLAC compression, that will increase the performance/memory impact a lot and introduce new audio bugs

What are you basing this on? It makes no sense to me. Why would a proven compression scheme with reference/OSS decompression code cause audio bugs?

negativeExponent commented 4 years ago

as far as i know, CHD should already be properly supported. so this can be closed.