Need help with 2pk 9D

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
guym18
Hi, I'm New Here
Posts: 2
Joined: Wed Jul 11, 2007 4:54 pm

Need help with 2pk 9D

Post by guym18 »

Hi all, i got problem whan i am trying to make any Degree to 9D it say
Occurences replaced:
0 :banghead:
what do you think i need to do
Tnx for the help

User avatar
Cruor
Loyal Member
Posts: 1999
Joined: Wed Apr 12, 2006 1:22 am
Quick Reply: Yes
Location: Off topic

[GUIDE] Extraction/Injection method

Post by Cruor »

1. Stop using XVI32.
2. Go to http://catch22.net/ and download Hexedit.
3. Stop using the "find/replace" method and learn the "extract/inject" method.

Unfortunately, I can't just say that because surprisingly no one's written a tutorial on using the extract/inject method for replacing equipment. The extract/inject method has pretty much completely replaced the find/replace method.

The basic steps are:
1. Extract itemdata.txt from Media.pk2 using PK2Extractor.
2. Find the equipment you want to change in itemdata.txt and change the degree number in the BSR reference string. As you scroll to the right you should see two or three long strings. The BSR reference string will either be the first one, or there will be an "xxx" in it's place because there is no BSR to reference.
3. Once you have made all of your changes, save the file as itemdata.mod.txt.
4. Open up Media.pk2 in HexEdit.
5. Do an ANSI search for "ITEM_ETC_GOLD".
6. In the hex column, you will see an "FF FE" somewhere before the "ITEM_ETC_GOLD". This is the file's header that marks it as a Unicode file. Put your cursor in front of the "FF".
7. Go Edit -> Paste From and select the itemdata.mod.txt file you saved earlier. Click okay.
8. You should see everything past your cursor turn to red. Now press CTRL+Z and then CTRL+Y. This will bring you to the end of what you pasted.
9. This is where it gets tricky. The way Joymax updates the files leaves parts of old files sitting around in the PK2 file. I have two copies of itemdata.txt in my Media.pk2 file and only one is valid. Anyway, the valid one in yours should be immediately followed by skilldata.txt. Look for "SKILL_PUNCH_01".
10. If you see it, then you can save your Media.pk2 file and test ingame. If you don't see it, hit CTRL+Z again to undo the Paste From. Then do an ANSI search for "ITEM_ETC_GOLD" again. You should hit the one you are right next to first because your cursor was before it. Hit Find again to find the next instance of the file. Once you find that do the Paste From again and check to see if it's immediately followed by "SKILL_PUNCH_01".

That was fairly basic, but I'm assuming others can hop in here and help with whatever I missed. As a side note, this is just the basic idea of the extract/inject method. You can take this idea and apply it to other files. In it's purest form, the extract/inject method is simply extracting the file you want, editing it and saving it as a .mod.* (making sure to preserve your original file size), opening up the PK2 file that contained it, searching for a unique string or sequence of bytes you found in the file, placing your cursor in front of the start of the file in the PK2 file, pasting from the file, then finally checking to see if you pasted in the right spot with CTRL+Z and CTRL+Y. Also, once you are done it is smart to write down the hexadecimal offset of where you found the file so that the next time you want to change it you only need to hit CTRL+G and enter in the offset.
Image

guym18
Hi, I'm New Here
Posts: 2
Joined: Wed Jul 11, 2007 4:54 pm

Post by guym18 »

omg :shock: Can you write it simpler for reading
please i just want make garment 5D stuff to 9D
or just garment 05 to garment 09 and glavie 5D to 9D
tnx for helping :)

and the:\clothes_05 to \clothes_09 don't work -_-
but it's weird i can do \shield_05 to \shield_09

User avatar
penfold1992
Senior Member
Posts: 4059
Joined: Sun Apr 22, 2007 9:48 am
Quick Reply: Yes
Location: Uranus

Post by penfold1992 »

ITEM_CH_M_HEAVY_07_HA_C_SUPER
ITEM_CH_M_HEAVY_07_SA_C_SUPER
ITEM_CH_M_HEAVY_07_BA_C_SUPER
ITEM_CH_M_HEAVY_07_LA_C_SUPER
ITEM_CH_M_HEAVY_07_AA_C_SUPER
ITEM_CH_M_HEAVY_07_FA_C_SUPER
ITEM_CH_W_HEAVY_07_HA_C_SUPER
ITEM_CH_W_HEAVY_07_SA_C_SUPER
ITEM_CH_W_HEAVY_07_BA_C_SUPER
ITEM_CH_W_HEAVY_07_LA_C_SUPER
ITEM_CH_W_HEAVY_07_AA_C_SUPER
ITEM_CH_W_HEAVY_07_FA_C_SUPER

CHA CHING!
gm armor

thing i was gunna ask is, what is item\etc\drop_ch_equip.bsr and SN_ITEM_CH_HEAVY_07_FA_C_SUPER_TT_DESC im guessing that the first one is the box it is dropped in and the second is the description

cruor if im not mistaken u edited the stats too ( CLIENT SIDE!) how did u do that? also please go on msn ^^

User avatar
Hellzowner
Active Member
Posts: 820
Joined: Sat May 19, 2007 6:00 am
Quick Reply: Yes
Location: OLYMPUS

Post by Hellzowner »

Bump for the luvly guide <3
Image
Image

Post Reply

Return to “Guides and Tutorials”