-
Notifications
You must be signed in to change notification settings - Fork 2
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
New tool in Python3 #2
base: master
Are you sure you want to change the base?
Conversation
data_offset = sector * SECTOR_SIZE | ||
offset += 14 | ||
|
||
# MS kernel checks for empty directory is directory size = 0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reword this and make clear that a description of an Xbox kernel bug follows.
# Their file-search isn't aware. So for empty directories, it sees garbage. | ||
# | ||
# 1. Searching in empty directory fails with STATUS_DISK_CORRUPT_ERROR. | ||
# 2. Empty directories have file: "\xFF" * 0xFF; but filtered by bound-check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is hard to understand. Reword.
seems not works with python 3.10
greetings |
else: | ||
assert(right != 0xFFFF) | ||
|
||
# Parse filname |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: typo
Solves many issues with extract-xiso.
It was primarily an attempt to understand the extract-xiso issue and to visualize the file format; the output looks like this:
Some more comments I left on Discord when originally posting this:
Read the source-code to find out more.