arcusmaximus / VNTranslationTools

Tools for translating visual novels
MIT License
296 stars 45 forks source link

"Found invalid data while decoding" KaGuYa Message.Dat #135

Open shonen-jampu opened 1 year ago

shonen-jampu commented 1 year ago

Sorry in advance if this is a complete noob problem, honestly I can barely even work the Command Prompt. I want to extract the script for Mainichi Ga M!" by Atelier Kaguya HonkyTonk Pumpkin (vndb.org/v1178) but I've been met with the same error everytime; "Found invalid data while decoding". I tried a couple of other games by the same developer that I had installed on my PC and got the same error twice before another one worked. This made me think the error might not be on my complete lack of computer literacy and that there might be a problem with the message.dat file, so I reinstalled the game on a separate drive but still got the same error.

I've attached a screenshot of my command prompt, I'm not sure how to upload a .dat file but I can provide it if needed. Any help would be greatly appreciated, thanks in advance.

CMD 1 CMD 2

Cosetto commented 1 year ago

batch.zip Drag a zip file to comment box to attach it and here's the batch command files. At the end, you manage to pull it off, the problem was message.dat. I guess since the game was too old, so the script format was old too. That explains why vntextpatch failed to extract it.

shonen-jampu commented 1 year ago

Thanks for the help and sorry for sounding like an idiot but am I supposed to do something with the batch files?

I tested the six Kaguya games I had again and found the first three, published between 2008 - 2012 returned the invalid data error, while the latter three, published between 2013 - 2014 worked perfectly. I included another screenshot of my command prompt and a zip files with all six game's message.dat file.

Thanks again for all the help.

CMD 3 Kaguya Message.Dat files.zip

Cosetto commented 1 year ago

https://github.com/arcusmaximus/VNTranslationTools/issues/59#issuecomment-1175859834

Like I said, those games are too old. Vntextpatch only newer version of Kaguya engine

shonen-jampu commented 1 year ago

Ah okay then. Is there any chance support could be added in a future release? No worry either way, thanks again.