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

str xa file lenght in directory is wrong #4

Closed
shikeyu opened this issue Jun 13, 2018 · 5 comments
Closed

str xa file lenght in directory is wrong #4

shikeyu opened this issue Jun 13, 2018 · 5 comments

Comments

@shikeyu
Copy link

shikeyu commented Jun 13, 2018

Original ISO
image
Remake ISO
image

I did not change the size of these STR files.
In the PSX ISO, the display size of the STR file in the directory is the LBA number multiplied by 2048.
The actual file size is the LBA number multiplied by 2336.

45636096/2336=19536
19536*2048=40009728

@Lameguy64
Copy link
Owner

Considered for the next update. Is it causing any significant issues in the game so far?

@shikeyu
Copy link
Author

shikeyu commented Jun 14, 2018

This bug has no hindrance to the running of the program.
However, another bug is fatal.
In the LBA 18-21, there is some data about the directory. There are two bytes in front of the directory name that seem to be about the depth of the directory, which is incremented in the remaked iso, which causes the directory data to fail to read.
image

@Lameguy64
Copy link
Owner

Lameguy64 commented Jun 14, 2018

Looks to be path table related. Are you using the recently released version of mkpsxiso which fixes the path table encoding from previous versions?

@shikeyu
Copy link
Author

shikeyu commented Jun 15, 2018

I try the 1.19 version. There is no problem now. Thank you.

@Lameguy64
Copy link
Owner

Released 1.20 which includes corrections on the file size calculation for STR and DA type files. See if that has solved one of your remaining issues with mkpsxiso.

CookiePLMonster referenced this issue in CookiePLMonster/mkpsxiso Nov 21, 2021
G4Vi pushed a commit to G4Vi/mkpsxiso that referenced this issue Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants