Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: CHD file format support #1482

Closed
psionx opened this issue Feb 8, 2019 · 18 comments
Closed

Request: CHD file format support #1482

psionx opened this issue Feb 8, 2019 · 18 comments
Labels
App: EmuHawk Relating to EmuHawk frontend Enhancement For feature requests or possible improvements Repro: Fixed/added in 2.9.2 dev
Milestone

Comments

@psionx
Copy link

psionx commented Feb 8, 2019

que+bin is unreliable and fails to load if the que isn't formatted correctly. hopefully having the game data as a single file will resolve the issue. also CHD being a mame file format should make it easier to include then other formats.

specifically sega saturn games need this because depending on the emulator some games load perfectly while others are broken.

@YoshiRulz YoshiRulz added Enhancement For feature requests or possible improvements App: EmuHawk Relating to EmuHawk frontend labels Feb 8, 2019
@hegyak
Copy link
Contributor

hegyak commented Feb 8, 2019

My issue with this, personally is how do I turn my physical Disc into a CHD? I know how to make Bin/Cue from a Physical Disc.

Another other issue is MAME's Code License compatible with BizHawk's?

@vadosnaprimer
Copy link
Contributor

MAME is GPL now. BTW, potential use of this would be PCem whenever it's added as a core.

@Asnivor
Copy link
Contributor

Asnivor commented Feb 8, 2019

I'll take a look at this in a few weeks maybe if no-one else picks it up.

A .NET native implementation of THIS that feeds into DiscSystem is probably what we need...

@psionx
Copy link
Author

psionx commented Feb 9, 2019

My issue with this, personally is how do I turn my physical Disc into a CHD?

as far as I know no easy way exists to directly rip a CD/DVD to CHD but you can convert bin+que, toc, gdi, nrg and iso. http://wiki.batcom-it.netindex.php?title=Qt_CHDMAN_GUI< basic guide here

the only downside is that the QT gui is part of QMC2 mame launcher and not included with standard mame which is needed for chdman.exe.

@Sonia-7
Copy link

Sonia-7 commented Feb 19, 2019

100% support this. Converting multiple files into a single chd is good to keep things neat and organized, not to mention the huge decrease in size after compression. Helps saving space in the HDD.

I've been converting PCECD and Sega CD bin/cue's to chd's as of late and they all work perfectly in RetroArch.

@soundyogi
Copy link

soundyogi commented Apr 19, 2021

ping. still no way to get .chd working in bizhawk?

@mightymo77
Copy link

CHD support will inevitably need to be supported. Any plans or insight on this?

@hegyak
Copy link
Contributor

hegyak commented Jun 3, 2022

https://github.com/rtissera/libchdr
This appears to be what most Emulators are using.

To Convert to CHD, I recommend using CHDMan from any newer MAME release. There are batch files that work for Windows users. I don't know what Linux/OSX users would use for Bulk Conversion.

CHDs should be V5. But V1-V4 are still "Valid"

@CasualPokePlayer
Copy link
Member

CasualPokePlayer commented Jun 5, 2022

https://github.com/rtissera/libchdr This appears to be what most Emulators are using.

That was linked by Asnivor earlier in this thread.

A .NET native implementation of THIS that feeds into DiscSystem is probably what we need...

Really just needs somebody to do the work of porting that thing to .NET...

@YoshiRulz
Copy link
Member

@HeatXD
Copy link

HeatXD commented Apr 23, 2023

https://github.com/rtissera/libchdr This appears to be what most Emulators are using.

That was linked by Asnivor earlier in this thread.

A .NET native implementation of THIS that feeds into DiscSystem is probably what we need...

Really just needs somebody to do the work of porting that thing to .NET...

Today I worked on this https://github.com/HeatXD/chdr_cs
I'm at the point where I can generate C# bindings for libchdr
I will make try to make examples tomorrow.
It might also be smart to create a safer layer around these bindings

@HeatXD
Copy link

HeatXD commented Apr 23, 2023

recreated the benchmark tool of libchdr in C#
benchmark done in release mode.
chdr_cs:
image
libchdr:
image

Performance comes quite close using the C# bindings

@RinMaru

This comment was marked as resolved.

@CasualPokePlayer

This comment was marked as resolved.

@RinMaru

This comment was marked as resolved.

@CasualPokePlayer

This comment was marked as resolved.

@RinMaru

This comment was marked as resolved.

@CasualPokePlayer
Copy link
Member

Resolved by 21b6bd3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App: EmuHawk Relating to EmuHawk frontend Enhancement For feature requests or possible improvements Repro: Fixed/added in 2.9.2 dev
Projects
None yet
Development

No branches or pull requests