About the file formats of this mod
mainrs opened this issue ยท 4 comments
Hello!
I am trying to figure out the file format of the quests.hqm
and player.dat
files. The former seems to be a custom binary format. I specifically want to parse the files created by the mod version compatible with 1.6.4. It seems that the source code is not available though.
Is the binary format of some newer version the same as the one used in 1.6.4? That way, I could use the source code to try to implement a parser myself.
Besides that, the player.dat
file doesn't seem to be valid NBT either. Is it a custom file format, too?
Later releases seem to have switched to JSON for both files. From which version forward did this happen?
Thanks for taking your time and answering my questions!
As far as I can see, 1.7.10 already uses a different format, therefore there is no open source code of the old format.
The only way I can imagine is for you to decompile a 1.6.4 file and analyze the save/load code there.
As far as I can see, 1.7.10 already uses a different format, therefore there is no open source code of the old format. The only way I can imagine is for you to decompile a 1.6.4 file and analyze the save/load code there.
Ahhh, thanks for letting me know! And the JSON file is yet another format, right? 1.7.10 still seems to rely on some binary format as far as I can tell.
Without knowing anything about that specific version of HQM, the most common format for minecraft save file binary files is NBT. If either file is in that format, you should be able to open that file in NBTExplorer. Because of the file ending, I'm gonna guess that at least your player.dat
file is NBT.
Without knowing anything about that specific version of HQM, the most common format for minecraft save file binary files is NBT. If either file is in that format, you should be able to open that file in NBTExplorer. Because of the file ending, I'm gonna guess that at least your
player.dat
file is NBT.
I thought so, too. But opening it using NBTExplorer failed because it didn't recognize the file. I'll have to do some investigation. I'll make sure to report back once I know more.