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 2007-06-12, 16:11
Kile Kile is offline
Visitor
 
Join Date: Jun 2007
Posts: 2
Default Symphonic Rain Font Hacking

I've tackled the hacking portions of a Symphonic Rain translation project and have met with varying degrees of success. Aside from the difficulties in retrieving the scripts and recompiling the pak archives (which is now done easily), I have run into some snags with the kgo script format. This is all i am certain about within the format:

Text start offset stored at $28
Length from script start (value listed at $28) to EOF (it actually technically points to 1 byte AFTER the file) stored at $2C

Each line is prefixed by two bytes, the first of which has some special meaning (perhaps an actor name or style tag), the second of which is null. The lines are also suffixed by two null bytes (the engine stops reading the current line upon seeing this).

24 characters across max and only double width characters are rendered.

What I want to know is if there is any good way to use single-width characters or change the character encoding to something more useful than SJIS. Preferably I hope to persuade the engine to read 48 single width characters rather than the 24 doubles as 24 characters isn't enough for even the most terse translations of most lines.

Another possible solution is determining the meaning of the two bytes before each line and manipulating that to display a single text even in multiple lines (something that all attempts to do so far resulted in the wrong text per event and an eventual crash).

Basically everything before the text script that isn't mentioned is treated as a black box until i can determine its purpose.

If anyone can offer me advice or can help me out, I would appreciate it. I have very little experience in assembly programming and probably cannot hack the executable myself if that becomes necessary.

EDIT: Sorry, it was a bit late when i posted this and there are some resources I would like to add.

Home of the pakcomp and pakdecomp tools:
http://homepage1.nifty.com/rikudou/as/index.html

Pakcomp quick and dirty:
Run pakcomp. Highlight and drag ALL files belonging in the archive onto the little window. When the next screen appears, select the third option where you can type "Script" into the field to create a "Script.pak" when you continue. Wait a few seconds and then hit the button to close the program. The Script.pak file will be sitting in the folder with the files you dragged into it (NOT the pakcomp folder unless they are the same).

Padecomp:
You should copy the spi file from pakdecomp into your susie folder (or whatever alternative you may use). With that you can simply copy the files out of the susie display window to retrieve the raw scripts intact. Using the actual pakdecomp utility will result in the retrieval of the scripts in a somewhat less useful txt format that cannot be converted directly back to KGO (but may be useful to hand a translator).

The "demo" on the official site is only an mpg movie.

Last edited by Kile; 2007-06-12 at 22:58.
Reply With Quote
  #2  
Old 2007-06-16, 05:58
Rasqual Twilight
Guest
 
Posts: n/a
Default

http://guu.skyhalo.info/2/kgo-assembler-suite-v10-rc1
Ask if you need assistance.

Regarding the script encoding: it is assumed that the user locale uses either one of CP932, CP950 or CP936, but it is possible to hack the executable to convert UTF-8 data on-the-fly (which I've done, but not published). But, there is no automated word-breaking facility and you need to set the line breaks manually.

Edit: Note, even when hacked, the executable has some undesirable effects I have not corrected (flipping book animation positioning, weird text clipping "feature")



kogado kgo 1-0-RC1.zip << Provided as-is, my documentation about .kgo

Last edited by Rasqual Twilight; 2007-06-16 at 07:00.
Reply With Quote
  #3  
Old 2007-06-19, 18:10
Kile Kile is offline
Visitor
 
Join Date: Jun 2007
Posts: 2
Default

Thanks, your response is much appreciated!

I will let you know how it goes (should have time to work on it tomorrow afternoon) and give as much helpful feedback as possible.
Reply With Quote
  #4  
Old 2008-02-06, 10:08
Rasqual Twilight
Guest
 
Posts: n/a
Exclamation

I'm running some tests here, I'd like to gather opinions on which font to choose for the game. Do not mind the crappy translation, I was too lazy to reinsert the script :p

DejaVu Sans vs Liberation Sans - DejaVu Sans is a nice sans-serif font, maybe a bit too large, though. Liberation Sans' redist terms are iffy!?
Linux Libertine OTF vs DejaVu Serif - IMO, DejaVu Serif is even better than the sans-serif.
Palatino Linotype vs Cambria (Cambria not redistributable)
Palatino Linotype vs Constantia (Constantia not redistributable) - Palatino Linotype is shipped starting Windows 2000. Those two very much look alike.
Palatino Linotype vs DejaVu Serif - these two ones match up, with an advantage to the latter re: its availability and licensing terms over Palatino's.
Palatino Linotype vs "Book Antiqua" - BA is not installed on (my) Windows XP by default, it is in Win98/old Office, before Microsoft licensed the font.
BodoniFLF-Italic vs BodoniFLF - If an italic font is acceptable, the following shows BodoniFLF whose regular version is disappointing (at small sizes):
Bienetresocial vs Essai - Two extremely legible fonts by the same author. Sweetness.
As an extra, here's Verlag Book vs Verlag Bold ($hundreds font family)
Now, I'd like to hear what you think.
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
NScripter2 Hacking qazmlpok Production & Help 0 2012-11-02 15:08
Symphonic Rain sidestories Mazyrian General Discussion 5 2010-09-06 04:03
I need help with a Symphonic Rain game error Unregistered Technical Issues 1 2010-08-15 19:49
[Release][Teaser] Symphonic Rain Unofficial English Demo Rasqual Twilight General Discussion 15 2008-07-01 04:35
Help with syphonic Rain? hypertoast Technical Issues 3 2007-12-09 11:43


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


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