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

can't convert DDI image to RAW correctly #3

Open
roytam1 opened this issue Jan 5, 2024 · 2 comments
Open

can't convert DDI image to RAW correctly #3

roytam1 opened this issue Jan 5, 2024 · 2 comments

Comments

@roytam1
Copy link

roytam1 commented Jan 5, 2024

console shows:

Error: The data after the header is in a wrong format!

sample:
1.zip

old good unddi.exe source may help?
unddi104.zip

EDIT: maybe just removing JMP check is good enough, when the image is not FAT-formatted disk.

@SergiyKolesnikov
Copy link
Owner

Hey @roytam1, thanks for reporting this. Does removing the jump instruction check (Lines 71-72) gives you a working image?
You are right, maybe it is better to give a warning and write out whatever is there after the header if the image does not seem to be FAT.
What image do you have there? Does it have signature bytes, so that it can be recognized? If yes, an additional check can be done. Then ddi2raw can inform the user which filesystem it actually found.

@roytam1
Copy link
Author

roytam1 commented Jan 21, 2024

Does removing the jump instruction check (Lines 71-72) gives you a working image?

seems so.

What image do you have there?

some kind of old unix disks, so file system/BPB check is unuseful to these.

Does it have signature bytes, so that it can be recognized?

sure, DDI signature bytes are there.

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