PDA

View Full Version : Dies Irae Acta est Fabula Script extraction


Yeo
2010-06-22, 03:03
Hello.

I am in the odd position where I have translators ready to tackle the script yet cannot find the right means to extract the script so that I can format it for the translators.

Searching as best I can I cannot find an a game with similar file types to use as an example for myself. I thus cannot be certain as to what file in the game's directory holds the script.

My best guess at the moment would be one of these two files:

http://www.mediafire.com/?sharekey=509fd9238bb406eee62ea590dc5e5dbb4a674a01e1724c19480654b192e70f3f

'as.lib' and 'sc.dll'

So far I can find nothing on these two file types (nothing helpful). Any information on how to decompile or unpack .lib files or .dll files would be greatly appreciated.

Cheers in advance.

appztetra
2010-06-22, 05:24
It uses Malie right? use crass.

Yeo
2010-06-22, 22:05
It uses Malie right? use crass.

Ah, thank you very much I have been going around in circles.

appztetra
2010-06-30, 08:23
Ah, thank you very much I have been going around in circles.

now, make a repacker ^^

Yeo
2010-07-01, 02:28
I'm afraid now I have a new problem. Crass can only extract the library .lib files, none of these seem to have the game's script within them.

The only other files that are not elements of the manual or system sounds are a load of .dll files. However crass can not unpack .dll. Does anyone know of something that can?

LoSs
2010-07-01, 03:09
IIRC, you won't be able to extract scripts cause they are stuffed into exe and encrypted.

Yeo
2010-07-01, 09:29
IIRC, you won't be able to extract scripts cause they are stuffed into exe and encrypted.

Ah ha. Thank you. Sorry about this roundabout route but I have zero experience in this.

How does someone go about extracting the text of the story so that they may translate it then?

appztetra
2010-07-04, 08:53
Ah ha. Thank you. Sorry about this roundabout route but I have zero experience in this.

How does someone go about extracting the text of the story so that they may translate it then?

since you can't unpack them, use AGTH then... copy all the lines.

Yeo
2010-07-04, 12:22
since you can't unpack them, use AGTH then... copy all the lines.

Sorry to be negative all the time but that is unfeasible.

We have tried AGTH and other text extraction tools with Dies Irae and they only capture the names of a speaking character or the first character in a sentence of narration.

appztetra
2010-07-04, 15:08
Sorry to be negative all the time but that is unfeasible.

We have tried AGTH and other text extraction tools with Dies Irae and they only capture the names of a speaking character or the first character in a sentence of narration.

that's why there was a thing called agth code.

if you patched the game use this...

/C /KF /HWN-10*-8:-10*10@46BF32

and for the standalone...

"C:\agth\agth.exe /C /KF /HWN-10*-8:-10*10@46BF32 /pnmalie.exe"

Yeo
2010-07-05, 00:26
that's why there was a thing called agth code.

if you patched the game use this...

/C /KF /HWN-10*-8:-10*10@46BF32

and for the standalone...

"C:\agth\agth.exe /C /KF /HWN-10*-8:-10*10@46BF32 /pnmalie.exe"

I see. Thank you, I'll give it a go.

LoSs
2010-07-05, 02:17
I think you'll manage to find a hacker if you translate at least 30% of the game.

Unregistered
2010-07-05, 19:03
I see. Thank you, I'll give it a go.

Can you upload the exe? I managed to decrypt and decompress the script from the trial (dialogue strings seem to still be obfuscated/encrypted though).

Unregistered
2010-07-06, 15:12
(dialogue strings seem to still be obfuscated/encrypted though).
My bad, they're in utf16. I'm not used to see unicode japanese text in hexadecimal.

Unregistered
2010-07-12, 16:10
Well, I managed to get the exe from a downloadable update.

Here's the raw script:
http://www.mediafire.com/?nooa4twdiwt

I'm going to explain how to obtain it, for future reference:
The script is stored as a resource called EXEC inside malie.exe. It's easy to dump it with any resource editor.
The next step is to decrypt it. The cipher used is called camellia and the key used is "agbsvAZJVBqMwzmE". You can find the source of an implementation here: http://info.isl.ntt.co.jp/crypt/eng/camellia/engine.html
And here's a simple program that uses it to decode the script: http://pastebin.com/T4WbcB2i
The final step is to decompress the decrypted script. It's compressed with zlib so it's trivial to decompress it. I just used the example program zpipe (http://www.zlib.net/zpipe.c).

Yeo
2010-08-09, 16:16
Well, I managed to get the exe from a downloadable update.

Here's the raw script:
http://www.mediafire.com/?nooa4twdiwt(http://www.zlib.net/zpipe.c).

Ah!

Thank you so much. I'm very sorry, I was busy (switching countries and text looping) and only just now saw your post. Please forgive me for not linking and forcing you to go out of your way.

This will make everything much easier thank you again.

All the best.

Kan
2012-10-18, 19:49
Well, I am not sure if you can see this agian.
I'm also interested this game and I have looked what you said.
If you have time, can you tell me what to do next?
I mean, after I compressed the translated file using zpipe, how can I make it to the exe so that I can see my language when I run it?
Thank you very much!

Unregistered
2012-10-19, 00:08
[QUOTE=Unregistered;66207]Well, I managed to get the exe from a downloadable update.

Here's the raw script:
http://www.mediafire.com/?nooa4twdiwt

I'm going to explain how to obtain it, for future reference:
The script is stored as a resource called EXEC inside malie.exe. It's easy to dump it with any resource editor.
The next step is to decrypt it. The cipher used is called camellia and the key used




Oh, I forgot the malie.exe
http://pan.baidu.com/share/link?shareid=84429&uk=167830036