Majour Guide on PK Editing

Here you can post guides and tutorials you have written for Silkroad Online. If submitting a guide from another forum, please post credit to the author.
Post Reply
lynxz
Valued Member
Posts: 450
Joined: Sun Jul 02, 2006 9:42 pm

Majour Guide on PK Editing

Post by lynxz »

Heres it is, kids. Your nice lovely list of tuts for editing pk2 :)
I still have to add a lot of pictures to help you guys, but this is the basic info. Most of this information comes straight from other people's tutorials but I have added a bit to clarify meaning :)

ALWAYS REMEMBER TO BACK UP YOUR MEDIA.PK2, Place it on your desktop or something and do NOT rename it. I have a file on my desktop with all my media.pk2's in em filed by the mod :)

Also, don't forget to exit the hex program when you start the game, or it will corrupt the file!!!

Contents:

-->1.Modifying Weapons
-->2.Modifying Clothes
-->3.Modifying Your wolf
-->4.Modifying Your glow/Seal
-->5.Further mods??


>>1.Modding Weapons<<
The easiest step in all this. Taken from http://www.silkroadforums.com, credits to pantrofl.
ok first off allllllllllll..
Make a backup file of ur Media.pk2 in ur silkroad directory
you need to download this :
http://www.handshake.de/user/chmaas/del ... /xvi32.zip

ok now open up the file xvi32.exe
once u opend go to
File > Open > [Your silkroad directory] > Media.pk2
after u opend media.pk2 you go to
Search > Replace > click on the box infront of 'Find' > Text string, and click as Unicode aswell, also on the right boddom of the Replace window click instead of Cursor on Begin like this :

Image

ok now fill in the codes to get ur degree into the degree u want it to

weapon codes:

item\china\weapon\sword_XX.ddj
item\china\weapon\bow_XX.ddj
item\china\weapon\spear_XX.ddj
item\china\weapon\blade_XX.ddj
item\china\weapon\tblade_XX.ddj (glavie)
item\china\shield\shield_XX.ddj

ok.. XX signifies each degree you are wanting to change.. for instance 08 is degree 8 and 01 is degree 1 and so on.. anyways, now u fill in the top 'Find' thing you just clicked on as in the image one of the weapon codes i just gave, this will be the degree u want to change to an other degree

and in the second 'Replace with' thing you just clicked on as in the image one you pute in the same weapon code as in the top one for the desired degree u wont

example:
Find:
item\china\weapon\sword_07.ddj (7th degree sword)
Replace with:
item\china\weapon\sword_09.ddj (9th degree sword)

Next you must replace the bsr also.. bsr is what you see on your char or in the world. ddj is what you see in inventory.

example:
Find:
item\china\weapon\sword_07.bsr (7th degree sword)
Replace with:
item\china\weapon\sword_09.bsr (9th degree sword)


>>2.Modifying Clothes<<
This is realllllly easy. Easier then modding weapons actually.. Props to pantrofl. Anyway:
For clothes these are the codes:
'
\clothes_XX (garment)
\light_XX (protector)
\heavy_XX (armor)

do the same as what we just did with the weapons, but now u fill this in
*Remember* there is no .ddj / .bsr needed with clothes

Example :
Find:
\clothes_07 (garment 7th degree)
Replace with:
\clothes_09 (garment 9th degree)


>>3.Modifying Wolf<<
This is quite a bit more complexed and many of you may have lots of questions on this portion. Hit me, avalanche or cruor up on AIM for help (me:"TheAssassin",Cruor:"cruor313",Avalanche:"coloradofan1090").. All credits in this go to Cruor, the hex god :)) Screenshots will be added soon.
All this is done through editing characterdata.txt in media\server_dep\silkroad\textdata.

I typically extract the latest one and make a backup.

Next I open it up in a text editor. Then I look for the .bsr file that I want to use. For the fox girl it's "char\china\chinawoman_fox.bsr". Next I scroll down to where it says "COS_P_WOLF_044" because my wolf is level 44. I scroll to the right and paste the fox girl's .bsr file over "cos\p_wolf_02.bsr". Then I scroll all the way to the bottom of the file until I see "COS_GUILD_EU_SOLDIER9_140" and other variants of it. Those are high level Euro mercs. I look to the right of them for a reference to "cos\guild_eu_soldier9_scroll.ddj" which is their icon and replace it with "cos\cos_c_horse1.ddj" to make some extra space. How many I replace depends on how much space I want. Finally I save that file.

Now I find the file size of the original file. Then I open up my modified file in a hex editor and scroll to the bottom. Finally, I add in null bytes until it has the same file size as the original file.

The final step is opening up Media.pk2 in my hex editor, searching for "FF FE 31 00 09 00 31 00 39 00 30 00 37 00 09 00 43 00 48 00 41 52" in hexadecimal mode, which should bring me to the start of characterdata.txt. I then put my cursor in front of the "FF FE" from that search and paste over the file from my modified file.


>>4.Modifying Glow/Seal<<
Another very difficult hex. This is more difficult then changing your wolf. Once you have the wolf down, you'll be able to do this fairly easy. Credits to cruor:
Changing plus glows:
The plus glows are defined in a file called "itemtypenumber.txt"
It is in the resinfo directory of Media.pk2

1. Open up Media.pk2 in your hex editor and do a search in hexadecimal mode for "31 20 09 33".

2. There are sixteen lines of information in this file. The information is for +3 through +9, four times. Start out by opening resinfo\itemoption.txt and having a look at it. It uses the same syntax for item names as itemdata.txt. Look for your item in the first column. The number following it immediately is the number you want. Once you find it, move back over to your hex editor.

3. Search for "3X 20 09 3Y" in hexadecimal mode where X is the number you found earlier and Y is the plus number of the glow you have (3, 5, 7, or 9).
Example:
For ITEM_CH_SWORD_01_A (+4) you would search for "33 20 09 33"

4. Now that you have the right line, look for "option_textureXX.ddj". This is the texture overlayed over the weapon. Valid options for the number (XX) are 13, 14, and 20 with higher ones being brighter.

5. Look a bit futher and you should see two sets of comma separated three floating point numbers. These are the actual colors. The first set is one color, the second set is the second color. They are in RGB format and can go from 0.000 to 1.000. For example, a full on red glow would be "1.000,0.000,0.000" and if you wanted it to change to green you would set the second set to "0.000,1.000,0.000".

6. I haven't tested but I'm pretty sure you could get +1 and +2 to glow by editing the glow number that you searched for (Y).


Adding Seal Glows:
Seal glows are defined in "itemrare.txt" which is also in the resinfo folder of Media.pk2

1. Open up Media.pk2 in your hex editor and do a search for "raretype" in ANSI mode.

2. Next do a second search for your item in the usual format, in ANSI mode.

3. Now here is where you have to decide what seal you want it to be. If you want it to be SoSun you need to look for the "third tier" entry of your weapon. So if you originally searched for "ITEM_CH_SWORD_07_B_RARE" you need to scroll down till you see "ITEM_CH_SWORD_07_C_RARE". At this point, check your file size.

4. With that in view, go into insert mode and remove the rare so it looks like "ITEM_CH_SWORD_07_C".

5. Next go into over mode change the C to a B since you have a second tier sword.

6. Now with your cursor still where you changed the C to a B, do a hexadecimal search for "0D". Look in the left column to where it found it's result. You should see an "0A" immediately after it. Now in between those two, you need to insert ten zeroes (00 00 00 00 00) Make sure that your file size is the same as it was before.

7. Now find your weapon's entry in itemdata.txt with a Unicode search.

8. Once you find the correct entry, do another Unicode search for "18000".

9. You will see that following the 18000 there are two zeroes. Change the second one to a two.

10. Save and test.

11. If you already have a seal item and want to change its glow you simply need to swap it's tier letter with the desired one. (make sure you swap them so that both still have an entry)

---

There's some rough guides on it. If I have time I might make a nice picture tutorial on it later.


>>5.Further Mods<<
There are lots of possibilities here. As cruor managed to snag the GM armor set earlier today and the stats on them are CRAZY.

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

You can mod your squirrel/monkey also. I'm trying to figure out if our version has the pig or not. I'd like to see if we can have a pig :) Umm, i know also weapon appearances can be modded too.. cruor and i were talking about having a "black" sword.. just an idea.. Some people also asked if you can turn your glaive into a sword, or etc etc.. Yes, you can mod your glaive into a sword and do glaive skills with a sword, or vica versa.. Any other questions? I will be posting pictures to help you guys out :))


>>People who made this tut possible<<
-->Cruor (the hex GOD)
-->Plus44
-->Demarthal
-->Avalanche1 (hex GOD jr :P)
-->Silkroadforums.com (this data was all spaced out and posted there)
-->0x33 (yes this was originally their find)

>>Program Links<<

HexEdit121, best for hexing glows, wolf etc
XVI32-easiest for modding clothes and weps IMO
pk2 extractor(for viewing txt files in a pk2)

>>Links<<

Easy Wep and Armor
Plus glows
Pet Modding
Gm armor

Anyone else I forgot, pm me or something to be added :)
Last edited by lynxz on Wed Feb 28, 2007 5:46 pm, edited 1 time in total.
<<banned from SRF for bot admission and rules violations. -SG>>

User avatar
Crumpets
Forum Legend
Posts: 7800
Joined: Mon Aug 14, 2006 4:58 pm
Quick Reply: Yes
Location:         

Post by Crumpets »

:!:

Stickeh, great job compiling it all.
<< banned for being a constant problem. -cin >>

pantrofl
Regular Member
Posts: 208
Joined: Thu Sep 14, 2006 2:02 pm

Post by pantrofl »

hurray, my name is mentioned on the forums :roll:

User avatar
bladecarlo
Frequent Member
Posts: 1116
Joined: Tue Oct 31, 2006 12:33 pm
Quick Reply: Yes
Location: Athens
Contact:

Post by bladecarlo »

OHOI!! nice.. :D

this deserve a sticky!!
Image
Happiness is Just a word to me..
Image
http://shadowsdie.deviantart.com/

User avatar
XMoshe
Ex-Staff
Posts: 17293
Joined: Sun Apr 09, 2006 10:13 am
Location: Ghosting around

Post by XMoshe »

nice but I'm getting an error when I try to start pk2extractor. Its giving this error: Component 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid. I just downloaded it from that link, redownload maybe or do I need to install it first or w/ ever =)

help appreciated

oh, and I'm stuck with step 7 from adding seal glows, I need to get the items line from itemdata.txt, I thought I had to look it up with that pk2extractor or I gotta do it another way? =)
Image
Props to chrisorg for the sig <3

User avatar
Charlotte
Common Member
Posts: 124
Joined: Mon Jan 01, 2007 2:49 am
Quick Reply: Yes
Location: Venice

Post by Charlotte »

XMoshe wrote:nice but I'm getting an error when I try to start pk2extractor. Its giving this error: Component 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid. I just downloaded it from that link, redownload maybe or do I need to install it first or w/ ever =)

help appreciated

oh, and I'm stuck with step 7 from adding seal glows, I need to get the items line from itemdata.txt, I thought I had to look it up with that pk2extractor or I gotta do it another way? =)


Man, try this :
http://www.ascentive.com/support/new/su ... MDLG32.OCX
The Spear Hybrid/No nuke
Oh man I love this :)
http://www.youtube.com/watch?v=0_eZqpHDUAA

User avatar
[SD]Kratos
Senior Member
Posts: 4785
Joined: Mon Apr 24, 2006 9:48 am
Quick Reply: Yes
Location: Venus

Post by [SD]Kratos »

I tried to replace my glavie but it doesnt seem to work...
Image

Ambusher
Hi, I'm New Here
Posts: 5
Joined: Thu Mar 01, 2007 6:14 pm

Post by Ambusher »

wat is the hex program i have to exit be4 i start the game and wat are the precautions and stuff i i am goona try this! :P

btw does this mess up my acc and the SRO cilent or is it full prove?

User avatar
[SD]Kratos
Senior Member
Posts: 4785
Joined: Mon Apr 24, 2006 9:48 am
Quick Reply: Yes
Location: Venus

Post by [SD]Kratos »

sry double post : found out for glaive.

Now im stuck in glows...when i search it does not find it...could you make an example with glavie? :P >.<

thanks
Image

User avatar
XxYODAxX
Frequent Member
Posts: 1265
Joined: Thu Sep 07, 2006 8:14 pm
Quick Reply: Yes
Location: Iraq

Post by XxYODAxX »

Nice guide xD might try glow later.
We remember those who have paid the ultimate sacrifice for their country, for their friends and for their families. They shall live on forever in our memories.

lynxz
Valued Member
Posts: 450
Joined: Sun Jul 02, 2006 9:42 pm

Post by lynxz »

Ambusher wrote:wat is the hex program i have to exit be4 i start the game and wat are the precautions and stuff i i am goona try this! :P

btw does this mess up my acc and the SRO cilent or is it full prove?


You edit the pk2 with the hex editor.. when you're done.. you click save then exit the editor or it corrupts the pk2 files
<<banned from SRF for bot admission and rules violations. -SG>>

mirkof
Hi, I'm New Here
Posts: 2
Joined: Sun Mar 04, 2007 2:26 pm

Post by mirkof »

can u add some pictures because i dont understand how to add seal glows :/

lynxz
Valued Member
Posts: 450
Joined: Sun Jul 02, 2006 9:42 pm

Post by lynxz »

mirkof wrote:can u add some pictures because i dont understand how to add seal glows :/


VooDoo did a nice tut.. see here

http://www.silkroadtavern.com/forums/in ... 359&st=120
<<banned from SRF for bot admission and rules violations. -SG>>

User avatar
Key-J
Retired Admin
Posts: 8237
Joined: Fri Jun 23, 2006 2:21 pm
Location: BF3 waiting for BF4
Contact:

Post by Key-J »

Nice collection here dude, try to add some videos or pictures of results in PK2 edits.

/Stickied
Image

User avatar
The-Battalion
Casual Member
Posts: 71
Joined: Thu Dec 28, 2006 11:02 pm
Quick Reply: Yes
Location: Alps

Post by The-Battalion »

nice guide. gratz
Time is SP. Don't waste my time.

User avatar
XMoshe
Ex-Staff
Posts: 17293
Joined: Sun Apr 09, 2006 10:13 am
Location: Ghosting around

Post by XMoshe »



well I downloaded it. then unzip and when I try to past the stuff in C:\Windows\System32 it says that the program is used by something and cannot be pasted or something like that ><
Image
Props to chrisorg for the sig <3

User avatar
aznshadow
Regular Member
Posts: 265
Joined: Fri Apr 14, 2006 3:49 am
Quick Reply: Yes
Location: Oasis

Post by aznshadow »

I followed the Seal Glow and got it to work for the blade and shield... I just can't find the 180000 for the 8th deg glaive.. its always 180000 followed by 3 and 0... What am I doing wrong?
Image

User avatar
MastaChiefX
Senior Member
Posts: 4526
Joined: Fri Nov 03, 2006 1:18 am
Quick Reply: Yes
Location: Life.

Post by MastaChiefX »

You spelled Major wrong.
Image
^Thanks 0l3n!
Gone. Never really gone, but never really here.
"If Pac-Man had affected us as kids, we’d all be running around in dark rooms, munching pills and listening to repetitive electronic music"

V4smus
Hi, I'm New Here
Posts: 1
Joined: Thu Mar 08, 2007 9:44 pm

Post by V4smus »

7. Now find your weapon's entry in itemdata.txt with a Unicode search.


where it is??? i can find itemdata.txt

SOULCRYs
Hi, I'm New Here
Posts: 3
Joined: Fri Mar 09, 2007 1:18 am

Post by SOULCRYs »

Someone please post images how chage a wolf skin

its looks like nice



sorry 4 my bad english :banghead:

User avatar
XMoshe
Ex-Staff
Posts: 17293
Joined: Sun Apr 09, 2006 10:13 am
Location: Ghosting around

Post by XMoshe »

V4smus wrote:
7. Now find your weapon's entry in itemdata.txt with a Unicode search.


where it is??? i can find itemdata.txt


it is: ITEM_CH_(weapon type)_(degree)_(A,B,C for 1st, 2nd and 3rd tier).

dont forget to check as unicode Latin.

also check this link: http://www.silkroadtavern.com/forums/index.php?showtopic=29359&st=120
Lynxz posted it a few reply's up
Image
Props to chrisorg for the sig <3

User avatar
Innovacious
Advanced Member
Posts: 2446
Joined: Mon Sep 11, 2006 9:24 pm
Quick Reply: Yes
Location: Off Topic
Contact:

Post by Innovacious »

i can already do the changing weapons and clothes things, i wanna try changing my wolf and whatnot but i cant download the pk2 extractor right now :( (no its nothing to do with the website or anything, its my connection)
nice guides anyway, ill have to remember this topic for when i do manage to download the extractor
ImageImage

GogetaDSH
Hi, I'm New Here
Posts: 1
Joined: Tue Mar 13, 2007 3:41 pm

O.O

Post by GogetaDSH »

:shock: WTH... :shock:
i tried to modify my wolf but its not workin...
the PK2 Extractor is not workin

User avatar
PR0METHEUS
Senior Member
Posts: 4093
Joined: Tue Aug 22, 2006 7:30 pm
Quick Reply: Yes
Location: Earth
Contact:

Post by PR0METHEUS »

Nice guide. There's always the Babe Summon Scroll. I haven't figured that one out yet.
Missing the good times in SRO... :love:

SRO:
1x, STR Blader (Thebes)
54, STR blader (Venice)
0x, INT wizard (Venice)
19, INT spear (Venice)
34, STR rogue/bard (Venus)
0x, STR blader (Venus)
8x, INT bard/cleric (Gaia)

User avatar
micheal_safian
Common Member
Posts: 106
Joined: Sun Dec 31, 2006 3:43 am
Quick Reply: Yes
Location: Athens

Post by micheal_safian »

nice stuff man ...u r great ...... made it with cloths and weapons ..look dam good.... :D :D :D :D



Image

ahRithy
New Member
Posts: 27
Joined: Wed Aug 30, 2006 6:44 pm
Quick Reply: Yes
Location: Long Beach
Contact:

Post by ahRithy »

dammit i forgot to back up my media.pk2 file, how do i change eveything back to normal?
Babel

Image

User avatar
QwertyNukes
Hi, I'm New Here
Posts: 22
Joined: Thu Mar 15, 2007 1:56 am

Post by QwertyNukes »

Whoo thanks for the guide :D i was getting bored of my 5th degree stuff...anyway, whenever i try to mod the wolf, i follow all the steps and paste the characterdata.txt hex code over the one in media.pk2 and save it, but when i open the game the wolf is unchanged. I got it working once (but 1/2 stuck in the ground tiger girl isn't much of an improvement over the regular wolf) but now whenever i try it, nothing happens.

Here are some screens so maybe you can tell me if im doing something wrong:
Image

Image

Image

Image

Image

Didnt work

:banghead:

So any help would be appreciated
Image

User avatar
QwertyNukes
Hi, I'm New Here
Posts: 22
Joined: Thu Mar 15, 2007 1:56 am

Post by QwertyNukes »

Hmm i got it to work after reinstall ...so iono what the problem was before :D

Anyway:
I feel short...
Image

And just for fun...
Image

So apparently doing it the way i did does work...my file was just messed up to begin with or something O_o
Image

[7|7|7]
Hi, I'm New Here
Posts: 1
Joined: Sun Mar 18, 2007 12:00 pm

RE: GM Armor

Post by [7|7|7] »

Cruor can u say me plz how ic can get the gm armor ??

thsi would be very great :)

User avatar
BladeOne
Hi, I'm New Here
Posts: 4
Joined: Tue Mar 13, 2007 7:04 pm

Post by BladeOne »

Hi. The program worked at the begining but now when i try to change something wont work :banghead:
EDIT: And i found why. U cant modify an item that has been already modified.
--===Only 2 things are infinite: The Universe and the human stupidity, and im not sure about The Universe===--

Post Reply

Return to “Guides and Tutorials”