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

0x0C type #6

Open
PHandlerC opened this issue May 19, 2020 · 5 comments
Open

0x0C type #6

PHandlerC opened this issue May 19, 2020 · 5 comments

Comments

@PHandlerC
Copy link

Used this tool to extract files from the DRAMAtical Murder re:code game for the PS Vita. While most of the files are able to be extracted just fine, some specific MZP files from the image MRG result in an "Unknown type 0x0C" error, with the program closing after it. All files were extracted from the original MRG/HED/NAM using the hedunit tool and _extract_mzp DEBUG do show that the files have a "mrgd00" header and entries but its unable to extract them. What could be causing this? (Files attached)
BG.zip

@PHandlerC
Copy link
Author

Was able to extract images by change the 0C to 01, but tiles and colors get completed messed up because of additional bytes of info later on the file. Gonna leave an example for 2 equal images with the same resolution but used for different purposes in-game. (The later is blurrier than its supposed to be.)
BG101051.zip

@qo06
Copy link

qo06 commented Jun 16, 2023

did you find a solution?

@suteakanon
Copy link

I am running into the same issue with a vita game called Meiji Tokyo Renka [PCSG00896].
This is what the error shows.

INFO: Extracting from BG024_0L.MZP
DEBUG: header: mrgd00
DEBUG: found 249 entries
Unknown type 0x0C
Press any key to continue . . .

What's especially inconvenient is that the thumbnail images extract fine but the full sized images all have this error.
BG024_0.zip
I'm attaching this for examples of what worked and what didn't. They are all presumably the same images but in different sizes.

@dewrfe53535
Copy link

Each tile represents a file with data starting with 'HEP\x0'. The first 32 bytes contain information, followed by image data, and the last 1024 bytes comprise the image palette.

@FwaFwaDaiya
Copy link

been having a problem extracting the MZPs from Recode LOL

Here's the error I encounter

C:\Users\daiya\downloads\PCSG00420\image\allpac-unpacked>py _extract_mzp.py *.mzp Traceback (most recent call last): File "C:\Users\daiya\downloads\PCSG00420\image\allpac-unpacked\_extract_mzp.py", line 18, in <module> from mzx.decomp_mzx0 import mzx0_decompress ModuleNotFoundError: No module named 'mzx'

Idk if it's because I only have the scripts the documentation specifies, but it is quite ironic I'm having issues with the same game years later! ^^

If you have found out how to unzip them, please tell me! I have big plans for Recode

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

5 participants