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-05-11, 12:45
Ojamajo_LimePie's Avatar
Ojamajo_LimePie Ojamajo_LimePie is offline
Local
 
Join Date: Jun 2008
Posts: 103
Default Flyable Heart - extracting script

I'm trying to extract the script from Flyable Heart. I found a couple files which I think might contain the script of the game, but I was wondering how to extract them. I'll include them with this post.

http://www.mediafire.com/?z3yg20mtlm1
Reply With Quote
  #2  
Old 2010-05-12, 03:42
appztetra's Avatar
appztetra appztetra is offline
Local
 
Join Date: May 2009
Posts: 179
Default

How about Crass?
__________________
Everything was a result of my laziness....
Reply With Quote
  #3  
Old 2010-05-12, 04:54
Hogan's Avatar
Hogan Hogan is offline
Visitor
 
Join Date: Jan 2010
Posts: 5
Default

The script, or part of it, is in text.dat:
If you open up text.dat in a hex editor (I'm using madEdit), you can see the script.

Dunno if the script.src is an archive file, or the command list, or anything else. Not my expertise unfortunately.
Reply With Quote
  #4  
Old 2010-05-12, 10:07
dsp2003
Guest
 
Posts: n/a
Default

CRASS won't help. Quick glance at text.dat revealed the following structure:

Header:

12 bytes - header '$TEXT_LIST__'
8 bytes - count of text blocks

Text table:

? bytes - text block
0 byte - control byte, means that the block is terminated
4 bytes - number of text block

Yes, that's all. There's no string offsets nor sizes, which virtually makes it possible to translate the script via simple HEX editor. ^_^

script.src is obviously a bytecode, but I think you can skip it. Unfortunately, that's all I can tell without having a copy of this novel.
Reply With Quote
  #5  
Old 2010-05-12, 10:56
dsp2003
Guest
 
Posts: n/a
Default

I wrote a small tool for decoding text.dat into an editable text script and re-encoding it back. Here it is, attached. Requires no .net components nor any runtimes, since it's a pure Object Pascal console application (uses SysUtils & Classes module).

How to convert:

dat -> txt : drag-n-drop the script file onto program's icon
txt -> dat : same as above. will create file with dat_new extension

How to edit & save:

1. Do NOT use MAC newline symbols, otherwise you'll screw up the converter
2. Do NOT add new lines, otherwise you'll screw it up

Enjoy.

P.S. Just checked the decode -> encode and compared CRC32 - 100% match. :3

Edit: the tool is defective. Removed. T_T

Last edited by dsp2003; 2010-05-20 at 12:30.
Reply With Quote
  #6  
Old 2010-05-12, 10:59
Unregistered
Guest
 
Posts: n/a
Default

This was posted on /jp/ a while ago. Looks like they got it extracted already.

http://www.mediafire.com/?13gluijyj3d
Reply With Quote
  #7  
Old 2010-05-12, 17:29
Ojamajo_LimePie's Avatar
Ojamajo_LimePie Ojamajo_LimePie is offline
Local
 
Join Date: Jun 2008
Posts: 103
Default

Thanks a bunch!
Reply With Quote
  #8  
Old 2010-05-13, 01:33
dsp2003
Guest
 
Posts: n/a
Default

Quote:
This was posted on /jp/ a while ago. Looks like they got it extracted already.

http://www.mediafire.com/?13gluijyj3d
It's not "extracted", it's heavely damaged by trying to remove "bytecode" data with Notepad. Do not use it. -_-
Reply With Quote
  #9  
Old 2010-05-13, 01:44
Asceai's Avatar
Asceai Asceai is offline
Posts way too much
 
Join Date: Mar 2007
Posts: 1,413
Default

wwwwwww δΉ™/jp/
__________________
www.erogenews.com
Reply With Quote
  #10  
Old 2010-05-13, 04:09
Ojamajo_LimePie's Avatar
Ojamajo_LimePie Ojamajo_LimePie is offline
Local
 
Join Date: Jun 2008
Posts: 103
Default

Quote:
Originally Posted by dsp2003 View Post
It's not "extracted", it's heavely damaged by trying to remove "bytecode" data with Notepad. Do not use it. -_-
Okay, I'll avoid that one.

Using Notepad to edit the file should be okay if I don't try and remove anything, though, right? That's what I usually edit in.
__________________
Current Projects: Ashita no Kimi to Autame ni & Yoake Mae Yori Ruriiro Na -Brighter than dawning blue-

Last edited by Ojamajo_LimePie; 2010-05-13 at 04:13.
Reply With Quote
  #11  
Old 2010-05-13, 04:22
Unregistered
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by dsp2003 View Post
It's not "extracted", it's heavely damaged by trying to remove "bytecode" data with Notepad. Do not use it. -_-
No. It just has the line numbers replaced with 0x0D0A. Did you even look at it?
Reply With Quote
  #12  
Old 2010-05-13, 08:28
dsp2003
Guest
 
Posts: n/a
Default

Quote:
Did you even look at it?
Yeah. Unfortunately, you (or someone who's edited the script file) DID broke it, there's no false-accusations from my side. ^^' Here's why: you haven't transformed the header and number of lines into plain text (in order to avoid the damage of resaving with an text editor) and left zero byte at the end of file. Did you ever thought about how you'll put everything back?
Reply With Quote
  #13  
Old 2010-05-16, 19:17
Anonymous
Guest
 
Posts: n/a
Default Update from /jp/

Script extraction is complete, have fun translating:
http://flyabletrans.freewebhostx.com...j=flyableheart
Reply With Quote
  #14  
Old 2010-05-19, 23:22
Unregistered
Guest
 
Posts: n/a
Default .pac file extension

Anybody know how to unpack/repack files with the new .pac extension? Or do I have to wait for a hacked exe?
Reply With Quote
  #15  
Old 2010-05-20, 04:56
Unregistered
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Unregistered View Post
Anybody know how to unpack/repack files with the new .pac extension? Or do I have to wait for a hacked exe?
If you just want to test your edited script files in the game: some Anon posted tools for that on /jp/, somewhere in this thread: http://archive.easymodo.net/cgi-boar...thread/5096685

He also said he'll take care of repacking, so you'd probably be best off following the FH threads on /jp/.
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
Help extracting script for Kanogi Unregistered Technical Issues 0 2012-07-21 22:10
Help with extracting Script Unregistered Production & Help 0 2011-03-29 19:59
Help extracting Little Busters! Ecstasy's script jyuichi Production & Help 1 2010-08-05 20:23
To Heart ThatGuy General Discussion 1 2008-07-31 03:44
To Heart script extraction Krunch Technical Issues 0 2007-11-26 00:08


All times are GMT -8. The time now is 20:09.


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