Page 1 of 1
La-Mulana .dat decode/recode anyone?
Posted: Sun Dec 08, 2019 9:27 am
by hexaae
Is there a tool to decode and recode La-Mulana language files?
We have the Italian translation complete but NIGORO is not replying emails to add Italian language support, so I'm looking for a simple tool to decode/encode files like
grif.dat
script_code.dat
Files attached
https://1drv.ms/u/s!ApMUGr0cuN39gcUmtf8 ... Q?e=qXNyHH
Re: La-Mulana .dat decode/recode anyone?
Posted: Sun Dec 08, 2019 9:29 am
by hexaae
Just found there's a python script... but I never used Python myself:
https://github.com/archagon/la-mulana-h ... er-decoder
Can someone very kindly convert it to a simple decode/recode exe tool maybe?

Re: La-Mulana .dat decode/recode anyone?
Posted: Sun Dec 08, 2019 11:39 am
by shakotay2
hexaae wrote: ↑Sun Dec 08, 2019 9:29 amCan someone very kindly convert it to a simple decode/recode exe tool maybe?
There is a (more or less) working solution, try to use it.
For
windows blender 2.75 for example these changes are required:
in def
decode_block(b):
Code: Select all
if (o == 0x000C):
s = "{FF}"
else:
s = chr(o)
in def
decode(fin, fout):
b = fin.read(o//2)
result:
script_out_cmd.zip
(Re-encoding has another caveat, don't have the time to care for it now.)
Re: La-Mulana .dat decode/recode anyone?
Posted: Wed Dec 18, 2019 9:40 pm
by hexaae
Thank you. But need a re-encode too...
Re: La-Mulana .dat decode/recode anyone?
Posted: Wed Dec 02, 2020 1:39 am
by piratesephiroth
hexaae wrote: ↑Wed Dec 18, 2019 9:40 pm
Thank you. But need a re-encode too...
I made a tool for that. It's based on that python script and accepts basically the same decoded files.
https://github.com/piratesephiroth/LaMu ... ses/latest