about pk2 Edit~Help plz
- Saberdude
- Frequent Member
- Posts: 1087
- Joined: Thu Dec 14, 2006 3:47 am
- Quick Reply: Yes
- Location: On the Edge....Of Glory!!
about pk2 Edit~Help plz
Anyone knows how to change golden dragon flag into santa set?
Last edited by Saberdude on Sun Apr 22, 2007 8:54 am, edited 1 time in total.
- Cruor
- Loyal Member
- Posts: 1999
- Joined: Wed Apr 12, 2006 1:22 am
- Quick Reply: Yes
- Location: Off topic
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:
Female Red:
Male Blue:
Female Blue:
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:
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.
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 xxxFemale 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 xxxMale 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 xxxFemale 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 xxxLook 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 00Place 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.

- Sharp324
- Senior Member
- Posts: 4383
- Joined: Tue Jan 30, 2007 4:24 am
- Quick Reply: Yes
- Location: Off Topic
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.
theres your man for pk2 editing, must say Cruor for your age you know your stuff
------------------------------
- HyorunmarouZ
- Loyal Member
- Posts: 1839
- Joined: Wed Mar 21, 2007 9:03 pm
- Quick Reply: Yes
- Location: Hell.
- HyorunmarouZ
- Loyal Member
- Posts: 1839
- Joined: Wed Mar 21, 2007 9:03 pm
- Quick Reply: Yes
- Location: Hell.
- Saberdude
- Frequent Member
- Posts: 1087
- Joined: Thu Dec 14, 2006 3:47 am
- Quick Reply: Yes
- Location: On the Edge....Of Glory!!
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.
I can't find " itemdata.txt "
can anybody TRANSLATE what Cru0r said???
-
Stallowned
- Senior Member
- Posts: 4561
- Joined: Tue Feb 07, 2006 6:34 pm
- Quick Reply: Yes
- Location: aeratadfer
- Saberdude
- Frequent Member
- Posts: 1087
- Joined: Thu Dec 14, 2006 3:47 am
- Quick Reply: Yes
- Location: On the Edge....Of Glory!!
mushrooms wrote:Saberdude wrote:if i hadded a note pad *sighs*
You gotta be kidding.
after i opened hex editor and go to media p2k i don't know what to then.
a screeny would be nice =\
Stallowned wrote:If you have no idea what you're doing, you're better off not doing anythign at all..
I installed sro 2 times cause of that lol i kept getting errors
EDIT: I just want to replace my golden dragon flag M in to Santa suit blue =\
- StealMySoda
- Ex-Staff
- Posts: 5245
- Joined: Sun Sep 03, 2006 2:37 pm
- Quick Reply: Yes
- Location: Off Topic
- Contact:
- Saberdude
- Frequent Member
- Posts: 1087
- Joined: Thu Dec 14, 2006 3:47 am
- Quick Reply: Yes
- Location: On the Edge....Of Glory!!
This what happend lol i found item data
[img][img]http://img160.imageshack.us/img160/6082/errorgo1.png[/img][/img]
[img][img]http://img160.imageshack.us/img160/6082/errorgo1.png[/img][/img]


