gemot encubed  

Go Back   gemot encubed > Gemot > Production & Help

Production & Help For discussions regarding production aspects, especially localisation, of visual novels and related games.

Reply
 
Thread Tools Display Modes
  #1  
Old 2010-06-22, 03:03
Yeo's Avatar
Yeo Yeo is offline
Visitor
 
Join Date: Jun 2010
Posts: 7
Default Dies Irae Acta est Fabula Script extraction

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=5...0654b192e70f3f

'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.

Last edited by Yeo; 2010-06-22 at 03:06.
Reply With Quote
  #2  
Old 2010-06-22, 05:24
appztetra's Avatar
appztetra appztetra is offline
Local
 
Join Date: May 2009
Posts: 179
Default

It uses Malie right? use crass.
__________________
Everything was a result of my laziness....
Reply With Quote
  #3  
Old 2010-06-22, 22:05
Yeo's Avatar
Yeo Yeo is offline
Visitor
 
Join Date: Jun 2010
Posts: 7
Default

Quote:
Originally Posted by appztetra View Post
It uses Malie right? use crass.
Ah, thank you very much I have been going around in circles.
Reply With Quote
  #4  
Old 2010-06-30, 08:23
appztetra's Avatar
appztetra appztetra is offline
Local
 
Join Date: May 2009
Posts: 179
Default

Quote:
Originally Posted by Yeo View Post
Ah, thank you very much I have been going around in circles.
now, make a repacker ^^
__________________
Everything was a result of my laziness....
Reply With Quote
  #5  
Old 2010-07-01, 02:28
Yeo's Avatar
Yeo Yeo is offline
Visitor
 
Join Date: Jun 2010
Posts: 7
Default

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?
Reply With Quote
  #6  
Old 2010-07-01, 03:09
LoSs's Avatar
LoSs LoSs is offline
Local
 
Join Date: Nov 2008
Posts: 142
Default

IIRC, you won't be able to extract scripts cause they are stuffed into exe and encrypted.
Reply With Quote
  #7  
Old 2010-07-01, 09:29
Yeo's Avatar
Yeo Yeo is offline
Visitor
 
Join Date: Jun 2010
Posts: 7
Default

Quote:
Originally Posted by LoSs View Post
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?
Reply With Quote
  #8  
Old 2010-07-04, 08:53
appztetra's Avatar
appztetra appztetra is offline
Local
 
Join Date: May 2009
Posts: 179
Default

Quote:
Originally Posted by Yeo View Post
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.
__________________
Everything was a result of my laziness....

Last edited by appztetra; 2010-07-04 at 08:56.
Reply With Quote
  #9  
Old 2010-07-04, 12:22
Yeo's Avatar
Yeo Yeo is offline
Visitor
 
Join Date: Jun 2010
Posts: 7
Default

Quote:
Originally Posted by appztetra View Post
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.
Reply With Quote
  #10  
Old 2010-07-04, 15:08
appztetra's Avatar
appztetra appztetra is offline
Local
 
Join Date: May 2009
Posts: 179
Default

Quote:
Originally Posted by Yeo View Post
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"
__________________
Everything was a result of my laziness....
Reply With Quote
  #11  
Old 2010-07-05, 00:26
Yeo's Avatar
Yeo Yeo is offline
Visitor
 
Join Date: Jun 2010
Posts: 7
Default

Quote:
Originally Posted by appztetra View Post
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.
Reply With Quote
  #12  
Old 2010-07-05, 02:17
LoSs's Avatar
LoSs LoSs is offline
Local
 
Join Date: Nov 2008
Posts: 142
Default

I think you'll manage to find a hacker if you translate at least 30% of the game.
Reply With Quote
  #13  
Old 2010-07-05, 19:03
Unregistered
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Yeo View Post
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).
Reply With Quote
  #14  
Old 2010-07-06, 15:12
Unregistered
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Unregistered View Post
(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.
Reply With Quote
  #15  
Old 2010-07-12, 16:10
Unregistered
Guest
 
Posts: n/a
Default

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/...ia/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).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Togainu No Chi PS2/PSP Script Extraction swiftnissity Production & Help 0 2011-06-18 04:16
Dies irae Also sprach Zarathustra -die Wiederkunft- LoSs General Discussion 18 2009-08-12 07:22
PSP Script Extraction Unregistered Technical Issues 0 2008-06-23 18:13
Script Extraction Help - Ashita no Kimi to Autame Ni Ojamajo_LimePie Technical Issues 6 2008-06-17 19:34
To Heart script extraction Krunch Technical Issues 0 2007-11-26 00:08


All times are GMT -8. The time now is 11:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.