libchdr icon indicating copy to clipboard operation
libchdr copied to clipboard

Are python bindings of this library yet?

Open i30817 opened this issue 3 years ago • 2 comments

I'd like to consider using it on a python project and it'd be swell if it was on pypi already. My usecase is simple identification of redump dumps of cue/bin and gdi/bin dumps, which necessarily needs to divide the tracks streams, so a way to get the track extents and the stream without file I/O would be nice. The 'data sha1sum' is not sufficient because redump does not have it.

If this ever gets write support, particularly write of delta chds, i'd like to make that xdelta->delta chd child feature in my other RFE if it's not done by this project, because it's a major usability barrier for romhack users, especially if they have to divide the tracks every time. FSM knows MAME upstream probably never will, with the way they think romhacks are for other projects and they 'must' control all dumps themselves.

i30817 avatar Jun 03 '22 08:06 i30817

Would https://github.com/chyyran/chd-rs-py be of use?

I whipped this up in an hour, feel free to flesh it out as you need.

chyyran avatar Aug 07 '22 05:08 chyyran

@j68k check this out. Might be useful for your https://github.com/j68k/verifydump#readme project too if the crate can be built for all the platforms and placed on pypi.

i30817 avatar Aug 07 '22 07:08 i30817