Page 1 of 2

[Guide] PK2 Editing Underwear Patch and Font Fix

Posted: Sun Aug 05, 2007 5:34 pm
by Phemy
Hey, this is an easy, 5 min guide for p2k editing the "Nude Patch." As an added bonus, the font fix that Joymax promised is also included because of how this edit works. All props go to Cruor for showing me how to do this. His original thread is here, if you want to check it out. I just made it easier to understand.

http://www.silkroadforums.com/viewtopic.php?t=52922

Contents:

--1) Changing English Locale to Korean Locale
--2) Changing Launcher Translations (Optional)
--3) Font Fix (Optional)

1)Changing English Locale to Korean Locale

Changing the Locale in Media.p2k adds the "Nude Patch" to your client, as well as other features from the Korean client, such as the font fix, an extra server status (easy, populated, crowded, full) and adding text to that big blue bar everyone hates. This works because the game checks the Launcher for the language to use, but also uses the Locale in the Media.p2k. So relax, your game will still be in English :wink:


Anyways, let's skip all that mumbo jumbo and get to the editing.

Steps:

a) Open Media.p2k in a Hex Editor. For this guide, I'll be using HexEdit121.
b) Press Ctrl-F, this will lead you to the "Find" Option
c) Do a search for "English". Make sure it looks like the screenshot below.

Image

d) Change "English" to "Korean" and add a null byte where the "h" is suppose to be.

Image

That's it! Now you are done. 8)

2) Changing Launcher Translations (Optional)

The only problem with this method is that all out of game pop-ups will be unreadable, as the launcher looks to the media.p2k for language. A simple switch of the Korean Text with the English Text in the textuisystem.txt will solve this problem. I'll only be showing the important changes. There may be others, but well, they are unimportant. :P


Steps:

a) Open Media.p2k in PK2 Extractor, and extract textuisystem.txt located in "media\server_dep\silkroad\textdata"
b) Open textuisystem.txt in notepad.
c) Press Ctrl-F and search RESOLUTION
d) Switch the Blue text with the Red text and save as textuisystem.mod.txt

Blue is the Korean text
Red is the English text
Green are warnings such as "server is under inspection." You can switch them if you want.

Image

If you did it right, the file size should be the same.

e) Open Media.p2k with HexEdit121
f) Search for "UIIS_STT_MSG_INSTALL_START."

Image

After the search is done press F3

g) Put your cursor on FFFE

Image

h) Go to Edit --> Paste From and select you textuisystem.mod.txt
i) Save Media.p2k

3) Font Fix

The Silkroad Font Fix changes the fonts for 0, I, and Y in order to distinguish them from O, L and V. The problem with this is that, well, they are ugly. The letters are a good 1-2 mm above the rest of the fonts, and that just won't do. Cruor was kind enough to upload a fix for this. (Actually, you're not allowed to upload p2k files anymore, so I'll show you how to do it manually)


Image

Steps:

a) Open Media.pk2 in HexEdit121 and search for "JMXVIMG11000"

Image

You will notice 3 of these strings. The first one is the 0.dat (red), i.dat (green) followed by the y.dat (yellow). These control what the 0, i and y fonts look like.

Image

b) Copy and paste these hex values, (You might have to just type them out as I can't figure out how to copy and paste only in hex in HexEdit121)

0.dat
4a 4d 58 56 49 4d 47 31 31 30 30 30 07 00 0c 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 ff ff ff 00 00 00 ff 00 00
00 ff 00 00 ff 00 00 ff ff 00 00 ff 00 00 ff ff
00 00 ff 00 ff 00 ff 00 00 ff ff 00 00 ff 00 00
ff ff 00 00 ff 00 00 ff 00 00 00 ff 00 00 00 ff
ff ff 00 00


i.dat

4a 4d 58 56 49 4d 47 31 31 30 30 30 05 00 0c 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ff ff ff 00 00 00 ff 00 00 00 00 ff 00 00 00 00
ff 00 00 00 00 ff 00 00 00 00 ff 00 00 00 00 ff
00 00 00 00 ff 00 00 00 ff ff ff 00 00 00 00 00
00 00 00 00 00 00 00 00


y.dat

4a 4d 58 56 49 4d 47 31 31 30 30 30 07 00 0c 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 ff 00 00 00 00 00 ff 00 ff 00 00
00 ff 00 00 ff 00 00 00 ff 00 00 00 ff 00 ff 00
00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00
00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00
ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00


c) Save

And that's it for the guide. About the big blue bar thing, all the region names are unreadable, except for the lv range. It's completely blank in the English Locale since there is no English translation in regionname.txt. I guess if you really wanted to, you can change the Korean text to English and knock off the Chinese (I think it's Chinese, not sure) text to make some needed room. I haven't tried this yet, but it's something to do if you want your silkroad to be perfect. :D

P.S. if there are any changes to be made, just post.

Posted: Thu Sep 06, 2007 8:09 pm
by Juey
nice the first 1 works fine. Changed from English to Korean and I got the nude patch and correction on 0 and I

Posted: Fri Sep 07, 2007 11:06 am
by XMoshe
I changed it (the first one)(you only need to do the first one for those changes right? :) ) but I still have my clothes on :x

I did it with xvi instead of hexedit but I dont think that will make a difference lol Also I wanna do it with hexedit but I deleted it and the link for the download in one of the guides aint working :( So if anyone can be so kind (A)

Posted: Fri Sep 07, 2007 11:19 am
by Juey
XMoshe wrote:I changed it (the first one)(you only need to do the first one for those changes right? :) ) but I still have my clothes on :x

I did it with xvi instead of hexedit but I dont think that will make a difference lol Also I wanna do it with hexedit but I deleted it and the link for the download in one of the guides aint working :( So if anyone can be so kind (A)


just google for "download hexedit"
and it didn't work for me first time either, had to do it again. Then it works. Seems like it wasn't saved.

Posted: Fri Sep 07, 2007 11:23 am
by XMoshe
Juey wrote:
XMoshe wrote:I changed it (the first one)(you only need to do the first one for those changes right? :) ) but I still have my clothes on :x

I did it with xvi instead of hexedit but I dont think that will make a difference lol Also I wanna do it with hexedit but I deleted it and the link for the download in one of the guides aint working :( So if anyone can be so kind (A)


just google for "download hexedit"
and it didn't work for me first time either, had to do it again. Then it works. Seems like it wasn't saved.


hehe yeah...thought about it after I posted, like I can google it >.<
I will try again later on tonight...no pt and xian traffic now is ouch :(

Posted: Fri Sep 07, 2007 11:26 am
by Juey
u dont have to log in, just open up sro, and type the 0 and I in where u type your ID name, and see if it's the new one or old one. If it's changed to hte new one, then you know it worked.

Posted: Fri Sep 07, 2007 11:56 am
by XMoshe
yeah ok...but im online now so :P

Posted: Sat Sep 08, 2007 8:34 am
by XMoshe
I dont really get the last edit for the I, 0, Y fonts...where do you have to copy paste them? :)

Posted: Sat Sep 08, 2007 3:30 pm
by Dark520
Doesn't seem to work for me. I tried the first one, changed the English, made sure it saved, and it does nothing. Is there anything else that has to happen, whether its automatic, or not?

Posted: Sat Sep 08, 2007 3:48 pm
by XMoshe
uhm
you change English into Korean and the h gotta change into a 00 byte thingy, thats all =] try again when it didnt work like Juey said

Posted: Sat Sep 08, 2007 3:52 pm
by Dark520
Yeah, I'm looking at it right now, it's just as it should be, and yes, I know it saved... I dunno whats goin' on, lol.

Posted: Sun Sep 09, 2007 8:40 am
by DaeDevil
With the update there's a slight change in the media.pk2 file.
The "Language" is listed twice, and both will be set to "English".
Image
Image

Posted: Sun Sep 09, 2007 3:16 pm
by Dark520
Yeah, I noticed that and I did change both, but then when I try to boot SRO up, it says that the media.pk2 is damaged.

Posted: Mon Sep 10, 2007 12:48 pm
by XMoshe
Guide says change the first one...so change the first one :P

Posted: Tue Sep 11, 2007 1:16 am
by Vindicator
i changed BOTH English to Korean, and it worked, it didnt when i onyl changed the first one. When i tried to fix the text of IY and 0, it keeps saying the file is damaged, ive typed it out numerous times now and its very very annoying to manually type it in.......but it just wont work

Posted: Tue Sep 11, 2007 1:04 pm
by Raiju
OMG IT WORKS!!11 I love my character even more now :love: Too bad, there are farkin boxes instead of letters. :banghead:

Posted: Sun Sep 16, 2007 1:27 am
by -Evan
I made an AutoIt Script that types the font fix codes for you.

Here it is http://www.mediafire.com/?6bytymghmhu



It's an AutoIt script, so don't post crap about false positives.


password for the rar is "-evan"

Posted: Sun Sep 16, 2007 2:36 pm
by 123noob
omg the nude patch work. No longer do I have to mindlessly wandered off into some dimension, lusting. Now I can nude while stall baby! (for my view of course)
:D :D :D



jk jk jk
lol (I am not that desperate :p, I just like that new font fix and the blue bar thingy)

//EDIT:
I have a problem with the pk2 extract, I extracted the media.pk2 and this is what I get

Image

For some reason it didn't show every files in the pk2, especially the textuisystem.txt or even those for changing the wolf meshes as well. Basically, whatever you see right now from that SS is all there is.

Any help? Thanks.

//EDIT 2:

Nevermind, I figured out what i was missing.

Posted: Sun Sep 16, 2007 4:26 pm
by 123noob
I have a request, but not sure if it's appropriate. It appears that I am stuck on step 2 (done step 1 and 3), the extraction give me the textuisystem.txt, however, since I dont' have teh korean/japanese text format, it seems to change teh file size and they're correct anymore. Plus when I go into hexedit the media.pk2, I couldn't find the lines anywhere, especially the FF FE one to copy and paste the textui.

So could anyone who have done this step help me? or send me this of some way?

Thanks.

Posted: Sun Sep 16, 2007 4:31 pm
by Raiden
Sorry for not reading all the posts but, will the skin change be applied still even after you update your client. For instance, every tuesday I update the client, will the naked skin still be seen?

Posted: Tue Sep 18, 2007 2:11 pm
by 123noob
How come when I check for number of bytes total, I found my media.pk2 (260444160 bytes) have less than that of the guide (262746112 bytes), so due to this I cannot modify the foreign or weird boxes appearing.

Posted: Wed Sep 19, 2007 5:06 am
by 123noob
Well, again, took me a while to figure things around. But I noticed that if you don't have the East Language pack installed for the window, you won't be able to get the textuisystem.txt correct. So when you paste over FF FE it will give error message when you're trying to log into the game. Not sure if this is correct, but I'm goign to try it again, if it does work, then the problem comes from -evan's autoscript byte. If it is, then I guess we will need to type it in by hand.


///EDIT:

I was correct, -evan's autoscript it is probably incorrect or I could've started the autoscript sequence at wrong spot. Anyways, I'll take a look into that one tomorrow as well.

Also for those who do not have the East Language installed, you don't have to. In order to keep the file teh same size, just delete the extra spaces when you paste/type the english text over (when you type 2 long texts, it'll look like you just hit a tap and see the line moving further out).

Posted: Wed Sep 19, 2007 12:07 pm
by -Evan
Made an Auto-It that Searches the entries and edits them for you.


The script:
- Changes the language from English to Korean.
- Applies the font fix for Y, I,and 0 Characters.

Download links:
http://www.sendspace.com/file/fwqbi3
http://www.mediafire.com/?enzg9mxyzia

P.S. You need to have XVI32 for your editor.

Posted: Mon Sep 24, 2007 4:37 am
by GiGi
lol
it work!
ty a lot
Image
=P

Posted: Thu Sep 27, 2007 7:49 am
by Guykild
thnx for the auto it i think it work :D

Posted: Thu Sep 27, 2007 7:55 am
by GrimJow
autoit script didnt work for me :? it didnt do anything to the pk2 file...
i just ended up putting up the instructions in a txt file and changed the lines around a little so i can do it manualy in like a minute
(my media file tends to get corrupted alot...i always forget to make backups)

Posted: Thu Sep 27, 2007 5:41 pm
by Timujin
Thx for the help with the ksro patch, its cool xD but the big blue hing is even more anoying with the [] in 3 colours xD but anyways, its cool. :P

Posted: Sun Sep 30, 2007 7:49 pm
by -Evan
GrimJow wrote:autoit script didnt work for me :? it didnt do anything to the pk2 file...
i just ended up putting up the instructions in a txt file and changed the lines around a little so i can do it manualy in like a minute
(my media file tends to get corrupted alot...i always forget to make backups)


Make sure you are using XVI32 as your hex editor and it's window must be name "XVI32 - Media.pk2", Because it checks the active window before it does something... It works perfectly..

Posted: Mon Oct 01, 2007 6:28 pm
by Guykild
yep :D

Posted: Tue Oct 02, 2007 4:29 am
by -Evan
Guykild wrote:yep :D


Are you sure that you opened the original media.pk2?...