feat: add script for converting iso to chd.

This commit is contained in:
CronyAkatsuki 2025-03-20 11:38:17 +01:00
parent f1c37c598f
commit 6276e0b53d
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/usr/bin/env sh
for File in *.iso; do
[ -f "$File" ] || continue
chdman createdvd -i "$File" -o "${File%.iso}.chd"
rm -v "$File"
done

View File

@ -19,5 +19,9 @@ with pkgs;
# Add dependencies to the runtime for my cue2chd script
wrapProgram $out/bin/cue2chd \
--prefix PATH : ${lib.makeBinPath [mame-tools]}
# Add dependencies to the runtime for my iso2chd script
wrapProgram $out/bin/cue2chd \
--prefix PATH : ${lib.makeBinPath [mame-tools]}
'';
}