gemot encubed  

Go Back   gemot encubed > Gemot > Technical Issues

Technical Issues For bug reports, problem solving, and help running Japanese software.

Reply
 
Thread Tools Display Modes
  #1  
Old 2006-09-24, 15:00
Starchanchan's Avatar
Starchanchan Starchanchan is offline
Obsessive
 
Join Date: Jul 2006
Location: in the rainstorm
Posts: 220
Send a message via AIM to Starchanchan Send a message via MSN to Starchanchan
Default Extracting script files from "Messiah"

@_@ I'm honestly fairly new to programming, so forgive me if this is kind of a stupid question... but I was interested in tackling the demo of Messiah. Unfortunately, I'm not sure what program to use to extract the files... they're all in either .pak or .dat format. Any help would be appreciated, and if this is too ambitious of me since I don't have as much experience, feel free to shoot me down =A=

Last edited by Starchanchan; 2009-03-10 at 10:12.
Reply With Quote
  #2  
Old 2006-09-24, 22:43
zalas zalas is offline
 
 
Join Date: Feb 2004
Location: fushigi misuterii
Posts: 1,831
Send a message via ICQ to zalas
Default

Looks like this is an updated version of ROOT's old stuff used for yamibou. You'll probably need a dedicated hacker for this. As for the script files, they're inside Scr.Pak, and the main chunk of the script (often starting with AA EC) was first encoded using lz32 and then xored with the byte sequence [00 01 02 03 04 05 ... FE FF 00 01 ... ]. Hopefully this should be enough for a dedicated hacker to start poking around.
__________________
~Yoda is waiting in the air~ | HAVEN
Reply With Quote
  #3  
Old 2006-09-25, 09:34
Starchanchan's Avatar
Starchanchan Starchanchan is offline
Obsessive
 
Join Date: Jul 2006
Location: in the rainstorm
Posts: 220
Send a message via AIM to Starchanchan Send a message via MSN to Starchanchan
Default

x_x aiyaaa, hex looks way too complicated for me... guess I'll just have to stick to onscripter ;_;
Reply With Quote
  #4  
Old 2006-09-25, 11:48
Haeleth's Avatar
Haeleth Haeleth is offline
Ex-boss
 
Join Date: Mar 2003
Location: England
Posts: 2,106
Default

Have you read Ed's introductions to hacking over at sekai.insani.org? It's really not as complicated as it looks at first glance. :3
Reply With Quote
  #5  
Old 2006-09-25, 20:02
Starchanchan's Avatar
Starchanchan Starchanchan is offline
Obsessive
 
Join Date: Jul 2006
Location: in the rainstorm
Posts: 220
Send a message via AIM to Starchanchan Send a message via MSN to Starchanchan
Default

Hmmm... I checked it out, but unfortunately my files don't have defined filenames, unlike his example @_@ I'm still pretty much in the dark.
Reply With Quote
  #6  
Old 2006-09-25, 21:02
ChocoEd ChocoEd is offline
Regular
 
Join Date: Dec 2004
Location: California, USA
Posts: 68
Default

Heh, sorry about that, I haven't gotten around to writing the entry about XOR encryption yet. ^^;
Reply With Quote
  #7  
Old 2009-03-10, 10:12
Starchanchan's Avatar
Starchanchan Starchanchan is offline
Obsessive
 
Join Date: Jul 2006
Location: in the rainstorm
Posts: 220
Send a message via AIM to Starchanchan Send a message via MSN to Starchanchan
Default

Necroing this thread because I've developed a renewed interest in translating this >_>;; thought maybe there might be something new, now that this is about three years later. To give information, the script is packed in a scr.pak file, and all the other game data is in .pak files as well, plus two .dat files. I know next to no one here is into BL games, but this one is made by Core, one of Orbit-Soft's sections, so I figure maybe it uses a similar engine to one someone's already looked at. :x I've only had real experience in the ONScripter language, and I've tried hex editing but I just can't understand it... but if I have SOMEwhere to start and a basic idea of what I'm doing, I like to think I can push through til I figure things out. I'm just not really sure where to begin with this.
__________________
Echoes of Thunder | Deja Vu
I fell in love at the seaside.
Reply With Quote
  #8  
Old 2009-03-10, 15:09
Rasqual Twilight
Guest
 
Posts: n/a
Default

would help if you provided a link to the dl page at the very least... x-x
Reply With Quote
  #9  
Old 2009-03-10, 18:18
Starchanchan's Avatar
Starchanchan Starchanchan is offline
Obsessive
 
Join Date: Jul 2006
Location: in the rainstorm
Posts: 220
Send a message via AIM to Starchanchan Send a message via MSN to Starchanchan
Default

Argh sorry, was kinda braindead earlier (I kinda ended up falling asleep for four hours because I was so out of it). Here's the download page.
__________________
Echoes of Thunder | Deja Vu
I fell in love at the seaside.
Reply With Quote
  #10  
Old 2009-09-20, 06:21
Nik_'s Avatar
Nik_ Nik_ is offline
Visitor
 
Join Date: Sep 2009
Posts: 1
Post Script Tools

Starchanchan
If you're still need the tools, here they are: http://www.mediafire.com/?yltomj4xd2w
Tools are written in php5, so you'll have to install interpreter first (get it at http://php.net/ ). Then edit pack.bat and unpack.bat in order to insert the correct path to php.exe file (by default it's located at C:\php5\php.exe).
unpack.bat decompiles file scr.pak into combscr folder.
First line - some number in the header. I didn't figured out it's function, so it was decompiled along with the script.
Second line - just a script description. Don't plays any role in the script.
Rest lines - commands. They can be formated with new lines. But don't change their structure.
Text mostly represented by TextOut, TextOutWithVoice and PushChoices commands. For them the text is wrapped by [FOLLOWSTR] and [\FOLLOWSTR] tags (new lines are also allowed inside of tags).
pack.bat compiles scripts from combscr folder into OutScr.pak file. Also, you can erase "REM"s from pack.bat in order to uncomment copy command. It can automatically copy OutScr.pak into Scr.pak in you game folder (don't forget to backup the original file).

Main files for Messiah demo: OP.x, DEC24.x, JAN07.x and SYSV.x

Some screenshots :)
Spoiler


upd:
Updated lineswalker.php with comments support here: http://www.mediafire.com/?mozwmfi4zkb
// This is example of commented line.

Last edited by Nik_; 2009-09-21 at 11:04.
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
Repacking .pak files orpheusT Production & Help 1 2009-05-03 18:53
ToHeart2 mov.pak file Unregistered Technical Issues 3 2008-06-18 05:22
Extracting .scp? Starchanchan Technical Issues 2 2008-01-24 12:47
Question about ".pak" Unregistered Technical Issues 1 2007-09-28 01:49
how to open pak or npa files???Please help RavenCloud Technical Issues 0 2007-09-22 11:01


All times are GMT -8. The time now is 04:46.


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