The rules have been updated, read them now: Rules!

La-Mulana .dat decode/recode anyone?

Need help translating games in other languages? Have your language problems solved here.
Post Reply
hexaae
beginner
Posts: 29
Joined: Thu May 19, 2016 11:23 pm
Location: Italy
Has thanked: 3 times
Been thanked: 2 times

La-Mulana .dat decode/recode anyone?

Post by hexaae » Sun Dec 08, 2019 9:27 am

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

hexaae
beginner
Posts: 29
Joined: Thu May 19, 2016 11:23 pm
Location: Italy
Has thanked: 3 times
Been thanked: 2 times

Re: La-Mulana .dat decode/recode anyone?

Post by hexaae » Sun Dec 08, 2019 9:29 am

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? :oops:

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3247
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 891 times
Been thanked: 1784 times

Re: La-Mulana .dat decode/recode anyone?

Post by shakotay2 » Sun Dec 08, 2019 11:39 am

hexaae wrote:
Sun Dec 08, 2019 9:29 am
Can someone very kindly convert it to a simple decode/recode exe tool maybe? :oops:
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.)
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

hexaae
beginner
Posts: 29
Joined: Thu May 19, 2016 11:23 pm
Location: Italy
Has thanked: 3 times
Been thanked: 2 times

Re: La-Mulana .dat decode/recode anyone?

Post by hexaae » Wed Dec 18, 2019 9:40 pm

Thank you. But need a re-encode too...

piratesephiroth
beginner
Posts: 29
Joined: Sun Nov 08, 2009 11:05 am
Location: Brazil
Has thanked: 3 times
Been thanked: 13 times

Re: La-Mulana .dat decode/recode anyone?

Post by piratesephiroth » Wed Dec 02, 2020 1:39 am

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

Post Reply