-
Notifications
You must be signed in to change notification settings - Fork 9
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
Tochd only processing either CUE/BIN or ISO, not both #12
Comments
This is indeed expected behaviour (although it's a workaround). It's an edge The .cue file is basically a regular text file, which has reference to the .bin If you now take the .iso file on its own and want to convert, then tochd has no This is a dirty workaround from me and it works generally speaking. For your My answer here assumes that BIN_PS2game.bin, BIN_PS2game.cue and Now in case you are 100% certain that the .cue and .iso files are totally different Edit: The intended behavior is actually ignoring .iso, not .cue. |
In the example BIN_PS2game.bin, BIN_PS2game.cue and ISO_PS2game.iso do NOT come from ZIPPED_ISO_PS2game.zip. These are all 3 different games, one is a ISO in a ZIP, one is in ISO format and one has a CUE and a BIN file, as you can see by looking at the filesize of the ls command. I just named them all PS2game for copyright reasons. butnut@PAD /mnt/demo % ls -AhgG games
total 4.3G
-rwxrwxrwx 1 587M Dec 24 1996 BIN_PS2game.bin
-rwxrwxrwx 1 74 Sep 20 12:49 BIN_PS2game.cue
-rwxrwxrwx 1 2.8G Dec 24 1996 ISO_PS2game.iso
-rwxrwxrwx 1 978M Sep 20 10:15 ZIPPED_ISO_PS2game.zip I'm aware of the workaround you speak off from reading the readme, but it seems like it leads to unexpected side effects like I demonstrated above. Ideally the workaround should look at the files and determine if they are even related to each other. Currently it just assumes they are related, which might not be the case in an average users rom folder. |
I actually agree with you. I actually wanted to do this properly, but could not get it to work correctly when writing the script. The best case would be to actually read the .cue files and analyzed the paths (which can be either Windows or POSIX/Linux paths BTW) and are formatted in different ways, because there are different .cue formats (and .gdi). And it needs to work with the temporary files too. Because I never needed this, I went with this (lazy) workaround and crossed the fingers. So for now there is no quick fix for this unfortunately. I will look into it again, if this can be resolved. But it needs a bit more rewrite and can take time. It's definitely something I would like to see solved myself. |
When running tochd in a folder containing BIN/CUEs and ISOs, it only processes one format, but not both.
I'm not sure under which conditions one format gets chosen over the other, I have folders where it ignores ISOs and folders where it ignores CUE/BIN files.
Is this expected behavior?
An sample test case, just showing the general problem, not an exhaustive test:
System information:
The text was updated successfully, but these errors were encountered: