about pk2 Edit~Help plz
Posted: Sun Apr 22, 2007 4:20 am
Anyone knows how to change golden dragon flag into santa set?
Free Forums for Silkroad Online players.
https://dev.silkroadforums.com/
Code: Select all
SN_ITEM_ETC_E051125_SANTA_SET_RED_M SN_ITEM_ETC_E051125_SANTA_SET_RED_M_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_red_m.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_red_m.ddj xxx xxx 1 1 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxxCode: Select all
SN_ITEM_ETC_E051125_SANTA_SET_RED_F SN_ITEM_ETC_E051125_SANTA_SET_RED_F_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_red_f.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_red_f.ddj xxx xxx 1 0 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxxCode: Select all
SN_ITEM_ETC_E051125_SANTA_SET_BLUE_M SN_ITEM_ETC_E051125_SANTA_SET_BLUE_M_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_blue_m.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_blue_m.ddj xxx xxx 1 1 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxxCode: Select all
SN_ITEM_ETC_E051125_SANTA_SET_BLUE_F SN_ITEM_ETC_E051125_SANTA_SET_BLUE_F_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_blue_f.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_blue_f.ddj xxx xxx 1 0 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxxCode: Select all
FF FE 31 00 09 00 31 00 09 00 49 00 54 00 45 00Cruor wrote:Extract Media\server_dep\silkroad\textdata\itemdata.txt with ExtractPK2.
Open itemdata.txt in Notepad. Search for ITEM_ETC_E060529_GOLDDRAGONFLAG_M for male flags or ITEM_ETC_E060529_GOLDDRAGONFLAG_F for female flags. Highlight from where it says SN_ITEM_ETC... on to the end of the line. Paste one of these lines over it, depending on what you want:
Male Red:Code: Select all
SN_ITEM_ETC_E051125_SANTA_SET_RED_M SN_ITEM_ETC_E051125_SANTA_SET_RED_M_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_red_m.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_red_m.ddj xxx xxx 1 1 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx
Female Red:Code: Select all
SN_ITEM_ETC_E051125_SANTA_SET_RED_F SN_ITEM_ETC_E051125_SANTA_SET_RED_F_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_red_f.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_red_f.ddj xxx xxx 1 0 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx
Male Blue:Code: Select all
SN_ITEM_ETC_E051125_SANTA_SET_BLUE_M SN_ITEM_ETC_E051125_SANTA_SET_BLUE_M_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_blue_m.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_blue_m.ddj xxx xxx 1 1 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx
Female Blue:Code: Select all
SN_ITEM_ETC_E051125_SANTA_SET_BLUE_F SN_ITEM_ETC_E051125_SANTA_SET_BLUE_F_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_blue_f.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_blue_f.ddj xxx xxx 1 0 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx
Look a few lines above. You should see something like "ITEM_ETC_E060607_WORLDCUP_G". That's for an event we never had. Look further on in that line for "item\etc\e060607_worldcup_g.ddj". Replace it with "xxx". Save the file as itemdata.mod.
Right click your original extracted itemdata.txt and check it's file size, in bytes.
Open itemdata.mod in HexEdit. Go to the end of the file. Add 00's (null bytes) to the end of the file until you see the file size (displayed in the lower right) matches that of the original. Save itemdata.mod.
Open Media.pk2 in HexEdit. Search in Hexadecimal for:Code: Select all
FF FE 31 00 09 00 31 00 09 00 49 00 54 00 45 00
Place your cursor before the FF found in the result. Go Edit->Paste From... and find your itemdata.mod file. Click paste. Save Media.pk2 and test ingame.
That's about as simple as I can put it. Make sure you back up your PK2 files and all that. Also, any time Joymax updates itemdata.txt your changes will be lost.
Saberdude wrote:cruor i don't have this note pad which u speak of.
where do i get it?

Saberdude wrote:u can get banned for using 9th degree. =\
can anybody
help me?![]()
Cruor wrote:Extract Media\server_dep\silkroad\textdata\itemdata.txt with ExtractPK2.
Open itemdata.txt in Notepad. Search for ITEM_ETC_E060529_GOLDDRAGONFLAG_M for male flags or ITEM_ETC_E060529_GOLDDRAGONFLAG_F for female flags. Highlight from where it says SN_ITEM_ETC... on to the end of the line. Paste one of these lines over it, depending on what you want:
Male Red:Code: Select all
SN_ITEM_ETC_E051125_SANTA_SET_RED_M SN_ITEM_ETC_E051125_SANTA_SET_RED_M_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_red_m.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_red_m.ddj xxx xxx 1 1 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx
Female Red:Code: Select all
SN_ITEM_ETC_E051125_SANTA_SET_RED_F SN_ITEM_ETC_E051125_SANTA_SET_RED_F_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_red_f.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_red_f.ddj xxx xxx 1 0 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx
Male Blue:Code: Select all
SN_ITEM_ETC_E051125_SANTA_SET_BLUE_M SN_ITEM_ETC_E051125_SANTA_SET_BLUE_M_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_blue_m.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_blue_m.ddj xxx xxx 1 1 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx
Female Blue:Code: Select all
SN_ITEM_ETC_E051125_SANTA_SET_BLUE_F SN_ITEM_ETC_E051125_SANTA_SET_BLUE_F_TT_DESC 0 0 3 1 7 4 180000 0 0 1 1 1 255 3 1 0 0 0 0 1 0 0 0 1 2500 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 item\etc\e051125_santa_set_blue_f.bsr item\etc\drop_ch_eventbox.bsr item\etc\e051125_santa_set_blue_f.ddj xxx xxx 1 0 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx
Look a few lines above. You should see something like "ITEM_ETC_E060607_WORLDCUP_G". That's for an event we never had. Look further on in that line for "item\etc\e060607_worldcup_g.ddj". Replace it with "xxx". Save the file as itemdata.mod.
Right click your original extracted itemdata.txt and check it's file size, in bytes.
Open itemdata.mod in HexEdit. Go to the end of the file. Add 00's (null bytes) to the end of the file until you see the file size (displayed in the lower right) matches that of the original. Save itemdata.mod.
Open Media.pk2 in HexEdit. Search in Hexadecimal for:Code: Select all
FF FE 31 00 09 00 31 00 09 00 49 00 54 00 45 00
Place your cursor before the FF found in the result. Go Edit->Paste From... and find your itemdata.mod file. Click paste. Save Media.pk2 and test ingame.
That's about as simple as I can put it. Make sure you back up your PK2 files and all that. Also, any time Joymax updates itemdata.txt your changes will be lost.
slurp wrote:Sigh, if you're that dumb then you don't deserve to get cool custom things anyway.
Saberdude wrote:if i hadded a note pad *sighs*
Saberdude wrote:if i hadded a note pad *sighs*
mushrooms wrote:Saberdude wrote:if i hadded a note pad *sighs*
You gotta be kidding.
Stallowned wrote:If you have no idea what you're doing, you're better off not doing anythign at all..
Saberdude wrote:How do i get itemdata in the notepad?