+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  editing asian script issues (darkeden)
Pages: [1]
Author Topic: editing asian script issues (darkeden)  (Read 951 times)
The Rats
Guest
« on: February 04, 2007, 11:06:58 pm »

rom hack newbie

hello, I'm the rats (no spell check here, the "s" is for pronunciation purpose only)
French Canadian, recently got interested in hex editing due to countless incomplete and nonworking English patch for an originally Korean PC game called darkeden (now with Thai, JP and Chinese version as well)

I'm playing the Japanese version, and as a consequence is much interested in finding a way to understand ALL the text in it.
my 1st attempt was to open the script, needless to say it didn't work out well, I searched hex editors to be able to read it, same result. Found out it's partly in Unicode (or so it seem).
I have few options; getting screenshots of every text in game and get someone to translate them all (never gonna happen); edit the script to put English text, so far I tried to at least put the maps name (an incomplete English version of the game was released once, but never been updated, and missing many info's)but my skills aren't much developed as of now and causing game crash (I might get back to it eventually)
My best option right now, it to find a way to  see those Asian texts, either Korean or Japanese, to find ways to translate it (maybe with your kind help eventually ^^). but the only hex editor I found so far that can show text as Unicode, won't show the Asian characters, and when I copy paste the hexadecimal value in a convertor, the characters rendered  make no sense whatsoever (I,m used to how bad translation is, but in this case it's too much to be correct, complete paragraph talking of strawberry and clovers every lines (and it's kind of a bloody game).

EDIT: kept searching in my scripts folders, thinking the data between eack skill in my script was too short to include the description of skills, and I found some .spk and .spki files related to the text I wish to understand (similar filenames), if I assume right, these are encrypted data that only decrypt when I'm in game, what are the odds it's related to the text i'm looking for, and how scre*ed am I?

the dirrerent format are .spk .spki .ifr .rpk and configuration information?

So until I understand these scripts better, I can't hex them. And until I know how to view them correctly, I can't understand them to hex them.

so I'm at a dead end. but am willing to learn, any direction to helpfull tutorial, hints, or even tell me where I should start would be greatly appreciated.

if needed, I can provide screenshot, game scripts of most version

tnx again to whoever even take time to read this long post

« Last Edit: February 05, 2007, 03:06:26 pm by The Rats »
DarknessSavior
Guest
« Reply #1 on: February 05, 2007, 04:15:51 pm »

Show us some screenshots, and clean up your english a bit. -.-

~DS
The Rats
Guest
« Reply #2 on: February 05, 2007, 06:42:42 pm »

Sorry for my english. I do the best I can.

I'll assume your talking of game screenshot

 



The Rats
Guest
« Reply #3 on: February 19, 2007, 08:06:30 am »

Alright boys and girl.
Getting not much support and all, I kept trying on my own messing with those patches for days until I finally understood why they were able to hex it and why I wasen't
It seem my predecessor add inconviently and useless 0's almsot everywhere, messing with the text pointers.
I then started to redo it all using the original script as my base to hex instead of the patches and using the latest as reference points.

the strings were more easy to figure out once I understood the pointers in the patch weren't logic due to those added 0's I HAD to count to give the pointers the good value.

Right now, I have hexed almost all the important info I needed. I am on the good path to finish a working version of the patch.

BUT... I still got one main problem, even if I get all the scripts done, they is still text wich I cannot attack as of now with my current capacity.

It seem the items details, skill details, and most help texts are mst likely crypeted. What I modified so far showed like it should in the game since it seem the char table in the scripts was following the unicode values for english char (but the japanese char seem to have a different char table as unicode value for the should-be text is not the text that's writen in game). So hexing was just a matter of typing over. The problem is with the long texts mentioned before, as none of the scripts have these text within them.

One of the script does indicate .txt files for skills and help windows, wich are files that don'T apear as regular files, the only other file seemingly close to what could be texts is a .rpk file.
A quick search on the net said these were crypted format (and no visible english text in it tend to prove it).

If someone could help me there it would be nice, cause if I could get these texts out I'd be able to finish my patch.


SeekerOfPeace
Guest
« Reply #4 on: February 19, 2007, 10:01:08 am »

Quote from: DarknessSavior on February 05, 2007, 04:15:51 pm
Show us some screenshots, and clean up your english a bit. -.-

~DS

Pff.. give the guy a break. At least he's trying and I for one think his English is pretty decent.

« Last Edit: February 20, 2007, 08:25:52 am by SeekerOfPeace »
The Rats
Guest
« Reply #5 on: February 19, 2007, 06:58:29 pm »

Tnx for the positive reinforcement there SeekerOfPeace. I try the best I can at my level of understanding of what romhacking is ^^.

As I mentioned in my 2 precedent long post, I am easily able to rewrite most of the script I need since the international version and patches give a decent base from wich to start.

The problem is when in come to long dialoge texts in help windows, skill info windows, and item details window. These info seem to be within .spk files and can't be understood through a hex editor. n regular scripts they was english texts readable, but in the .rpk and .spk ones It can't be normaly read. This lead me to the conclusion it's crypted one way or another.

I read what I could find on these type of files but I'm still clueless as the exact nature of such file beside they are obviously containing the text I want to hex.


(I copyed your avatar ^^. too nicely done not to save it, wherever it come from Tongue)
Kitsune Sniper
Guest
« Reply #6 on: February 19, 2007, 07:54:34 pm »

Quote from: The Rats on February 19, 2007, 06:58:29 pm
(I copyed your avatar ^^. too nicely done not to save it, wherever it come from Tongue)

Not to be one to derail the thread, but dammit, SeekerofPeace - that avatar is huge. 500k? Get one that won't kill the poor dialuppers. Tongue
Tauwasser
Guest
« Reply #7 on: February 20, 2007, 03:32:14 am »

rpk-files: http://filext.com/detaillist.php?extdetail=rpk

program: http://nuclearscripts.com/tools-and-utilities/file-compression/page3-pricesort.html ZipZap or whatever it is called there.

spk-files: http://filext.com/detaillist.php?extdetail=SPK
Graphics, I read.

program: so it's either this :http://www.louderthanabomb.com/download.htm or that: http://pilling.users.netlink.co.uk//spark.html
(uni-version [free] : http://www.angelfire.com/folk/haikuos/ )

I'm thinking the latter one tho...

cYa,

Tauwasser
The Rats
Guest
« Reply #8 on: February 20, 2007, 06:27:02 am »

I'd like to thank you for pinpointing me good utilities to try to open these files.
It is with much regret I must now say that I wasn't able to.

The spark ones .spk files will no allow me to view it, the message is:
This file was created with Spark! V-120198.078125
Spark! Viewer can not open this file

The .rpk ones did make me slightly closer to my goal, but only by showing me they were containing .txt files. Files I cannot open as it prompt me to input a password.
Now I understand why my anti-virus have never been able to scan them

If any of you would know a way to open these weird .spk file

I might as well forget the .rpk ones, as password cracking is unknown to me, and since it won't even let me LOOK into it.

If this is after all a dead end, at least I've been been able to hex the most important.
Putting the description texts of item and skills aside, I'll be able to end a decent patch for those in need of it within a month (I know, I'm too lazy to do it in a week).

I did however take great fun in doing this project Cheesy. Who knows, I might do another one one day.
SeekerOfPeace
Guest
« Reply #9 on: February 20, 2007, 08:18:00 am »

NOOOOOO!

My Chinese dancing girl avatar...

You will be sorely missed, little Chinese girl. But I understand that it might be a lot to load for dial uppers.

DarknessSavior
Guest
« Reply #10 on: February 20, 2007, 09:20:13 am »

Hmm, that game does look pretty good. Is it an MMO?

Kinda reminds me of Diablo II, in a way.

~DS
Tauwasser
Guest
« Reply #11 on: February 20, 2007, 10:23:51 am »

For spk try the third link, please. I wasn't sure if it was just compressed/encrypted gfx files or if it's the actual archives containing gifs or jpegs or whatnot...

Anyways. You can probably read up on rpk and determine what encryption it uses and how likely you will find a password by bruteforce. On the other hand, you could open your executable or some dlls and look there for 'out-of-place' strings... Or you could debug the executable up to the point it accesses these files (because it needs to present a password to them at least Smiley )

Try OllyDbg for a start. It's not too hard to get what to do and you can trace stuff. There's better debuggers tho.

cYa,

Tauwasser
The Rats
Guest
« Reply #12 on: February 20, 2007, 09:02:42 pm »

This game is a mmorpg, it plays in a similar way to diablo, except it's online only, and you fight between player since you choose from three races what you want to be
the three race are slayers (human), vampire, and ousters
all three race have their own build up system, item slot, items. skills
you fight each other, they are monsters everywhere to kill to get items and heads to sell, market mode.
You can have 3 character on 1 account
It's quite a fine game

www.netmarble.jp/regist/ to create account
http://www.leetnetwork.com/showthread.php?t=4304 explain what to input
http://game.netmarble.jp/cpsite/darkeden/ and download the game from the download button on the left
to start game, you need to pass by the darkeden website, log in, and start game
That's for DarknessSavior Cheesy

Now for my dead friend Tauwasser who is much more better than me ^^ (no sarcasm, I really think it Smiley)
I tried to read on .rpk, and didn't find anything new, I'll keep looking for away to try to bruteforce it, the texts seem to be in there after all and not in the .spk .

the .spk ones all have a twin with the .spki ending, still puzzled there.
However, considering it might just be graphics, or images, I'm not going to dig further in those

so this leave me with the .rpk ones to figure out
I'm sorry to disappoint you Tauwasser, but I'm clueless to how to debug, and considering all the protection on the files, (and the need to log by passing by a webpage) I'm gonna have a hard time viewing the .rpk through the executable.
Sticking with zipzag to view them is still the best choice at the moment. meanwhile I'll search a bit on bruteforcing. see if I can find a program or something to try to bruteforce my .rpk files .

you've been very usefull Tauwasser, tnx ^^.

Edit: I just realised something, since it's the game that open the .rpk via the game, how hard would it be to find what key it send to the said rpk file when I do a specific action through the game?
« Last Edit: February 20, 2007, 09:26:44 pm by The Rats »
KaioShin
Guest
« Reply #13 on: February 21, 2007, 02:01:55 pm »

Quote from: The Rats on February 20, 2007, 09:02:42 pm

Edit: I just realised something, since it's the game that open the .rpk via the game, how hard would it be to find what key it send to the said rpk file when I do a specific action through the game?

That sounds like the best approach, you need a good debugger / disassembler for that though. I don't know any for PC unfortunately, everything I tried myself was somehow pretty crappy (or I didn't knew how to use it properly).
The Rats
Guest
« Reply #14 on: February 22, 2007, 12:00:45 am »

hm, I guess I go more school class to attend too, debugging 101
hex edit text was one thing, to learn how to debug is something else :S.

I might look into it once my preliminary patch is done, cause that gonna be pretty hardcore for me to figure all this out.
(I did start to read on hexing text and ROM hacking less than a month ago)
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC