Closed sx-y closed 5 years ago
Is it for Bayo 2 or Bayo 1?
Is it for Bayo 2 or Bayo 1?
Thanks for reply! It's for Bayo 2 switch ver.
Then you are in luck, I reversed engineered the format last month. You can view the subtitles track using the Bayonetta 2 Switch mcd.bt or Bayonetta 2 mcd.bt binary templates depending if you are working on the Switch or WiiU version. You need to use 010Editor to use the templates.
Those files are in the data003.cpk file in the Evm directory. You have one file per event and language. Each file will contain an msq file, an mcd file and a texture (contained in the wta/wtp). The subtitles are based on bitmap font.
The first event Japanese bitmap font image is this one (without the alpha channel):
And the mcd file for the first event, where you can find the list of characters used:
And the messages (here French and Japanese introduction):
And the code point coordinates in the image:
Then you are in luck, I reversed engineered the format last month. You can view the subtitles track using the Bayonetta 2 Switch mcd.bt or Bayonetta 2 mcd.bt binary templates depending if you are working on the Switch or WiiU version. You need to use 010Editor to use the templates.
Those files are in the data003.cpk file in the Evm directory. You have one file per event and language. Each file will contain an msq file, an mcd file and a texture (contained in the wta/wtp). The subtitles are based on bitmap font.
- the texture is a bitmap font restricted to the characters used int the event messages
- the msq is list of time point during the event, a subtitle can appear at the different time points (note that the only complete msq file is the japanese one, the localized one only reference the time points they use)
- the mcd file contains the messages, but also the position of the different code points in the bitmap.
The first event Japanese bitmap font image is this one (without the alpha channel):
And the mcd file for the first event, where you can find the list of characters used:
And the messages (here French and Japanese introduction):
And the code point coordinates in the image:
Thank you for your hlep! I've extrated all the subtitle today! There are still some problems: When I tried to extrac the illustration of costumes, the text seems wrong. Could you please help me with that?
What file are you trying to read?
What file are you trying to read? mmCHA001.mcd I put a copy in google drive. https://drive.google.com/file/d/1FwSTXfwYVbERCFuG9toULHFjerGx-P1s/view?usp=sharing
Okay, I pushed a fix for this file 7854e508f8aa84d553e89636df5d02e7d7e6483b. The problem comes from special characters in the text. Here, it was a left stick icon. I replaced it with the <LeftStick>
token.
There must be one for each button of the switch controller. Please report any other file that fail so that I can add the correct tokens for the missing buttons' icons.
Thank you, The new templates works well. May I ask another stupid question about the .mcd? The mcd files contain the charactor that it used. I extracted a WiiU version of translation, but I still can't figure it out what these means.
Thanks again for your patience and marvelous work.
I added more comments and renamed what I understood/guessed. Can you update the templates and then ask me questions about which specific fields you don't understand?
I'm sorry I didn't get things clearly before asking questions. I realized my questions are not about the tools themselves, it's irresponsible to ask them to the owner.
What I want to say is another bug, I'm sure I used the updated templete, but there are still bugs.
I put a copy in google drive:
https://drive.google.com/file/d/1ekcQyF9G2X4U3I7VxtTbiylWBZG0E2Sc/view?usp=sharing
Thanks again.
I updated the templates again. The button recognition should be better. If you manage to identify unidentified buttons (only numbers between <> like <22>) or mislabeled ones please report them.
As far as questions are concerned it was just that your question was too vague for me to answer it. I don't know what you understood of the format or not so I can't adjust my answers.
I've tried the updated templates, it seems all the buttons are correctly recognized. Thanks to your work and patience.
Your tools are very useful and I've managed to extract many files. Sadly I did't find files like text. I think their name should inclued _us _fr etc. May I ask for some help find the text files?