-
Notifications
You must be signed in to change notification settings - Fork 35
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
Added support for cue sheets and other changes/fixes #56
base: master
Are you sure you want to change the base?
Conversation
Hello! I am interested in using this tool to dump the file contents of PS1 games, but have been sad that it does not support CUE/BIN format. I am very glad to see this PR come in, so that this might be used in the future! I believe I may have identified an issue in how the tool behaves, though I don't understand the code well enough to point at where the problem is coming from. I cloned your fork of the repo and checked out your branch, then built the tool. I didn't install it to my system since it's just a development version still, but I managed to build it. My project now has the following structure:
From the root MyProject folder, I attempted to use
This gave an error saying "Error: Failed to get the file size for "gamename (Track 1).bin". If I
Then I get a successful dump. It appears that the program is reading the Cue file, and then searching the current working directory for the Bin files, rather than searching the Cue file's directory for the Bin files. It would be great if this behavior could be adjusted so that the Bin files will be searched alongside the Cue file, and not alongside the user's working directory. Thank you for developing this functionality! I am very happy to see it work and I look forward to it being merged. |
@bismurphy are you under linux? Currently I only tested it on windows and it worked fine, even at drag & drop. Maybe the issue you are facing is releated on how linux parses paths and I would need to recheck it. Out of curiosity, did you try quoting |
Yes, this is on Linux. I have tried quoting and adding Additionally, there should probably be a newline at the end of the "Failed to get the file size" message, so that the user's terminal prompt will appear on a new line rather than at the end of the error message, but that's a minor cosmetic thing. |
Added support for single-bin cue files Restructured the logic on how DA files are processed Fixed file sorting at build time, so as to not take in account the ";1" chars And some minor fixes
The error is likely due to the fact that dumpsxiso uses the directory from which the command is issued in the terminal as the base path. The .cue file contains only the relative path of the bin, and thus dumpsxiso is not able to find it. Probably, dumpsxiso should be fixed to search for the .bin file using the same directory as the .cue file as the base directory. |
I alredy fixed that but idk why it worked on windows. |
Fully support for cue files in single and multi binary format
Also:
ecc_addr
string.ps2
string.--warns
argument to suppress all warnings. Fixes (Not an issue, but a request) Make it so you can suppress certain warnings #57order
string.Linux
.h_flag
tohidden
for better understanding and added obfusctation flags to it.Windows
APIs.#includes
.macOS
CI build.Windows
.STR/XA
files being extracted as DATA when they are not.SeekToSector
function tobool
.--lba
argument from--path-table
.--path-table
command.--force
argument to dump very obfuscated games like Chrono Cross, Xenogears.--quiet
argument to suppress all but warnings and errors.--noxml
argument which prevents creation of an xml and license file.;1
chars.-lba's
args.-lba
log, refactor and sort it by lba instead of name.12
to31
for homebrew development. Fixes Why are file names limited to 12 characters long? #35