How to Edit PK2 files
-
shiningSun
- Hi, I'm New Here
- Posts: 3
- Joined: Fri Feb 23, 2007 1:10 pm
hi
i have changed some things and i think that is great, makes more fun to me to play
i changed 8th degree sword and shield +5 to 9th degree, but i want to make them shining like +11 (and sun could be too)
but i didnt check how to...only numbers and this hex makes me sad
any1 can maybe post the data i have to change from the +5 sword to +11 ? (maybe for spear +3 too
)
i changed 16 som glavie +2 to 9th degree, would be great to see it at sun +11, but i have the problem now, that every 3th degree glavie is now 9th -.-
i would be interested in changing grey wolf to white one, so i can tell my friend what a fool he was to pay real money for something i can buy for bytes and change with bits
its a great thread and makes fun to change stuff, but ppl who dont know how to work with it is
so if any1 could answer my question i would be very pleased
ty
i have changed some things and i think that is great, makes more fun to me to play
i changed 8th degree sword and shield +5 to 9th degree, but i want to make them shining like +11 (and sun could be too)
but i didnt check how to...only numbers and this hex makes me sad
any1 can maybe post the data i have to change from the +5 sword to +11 ? (maybe for spear +3 too
i changed 16 som glavie +2 to 9th degree, would be great to see it at sun +11, but i have the problem now, that every 3th degree glavie is now 9th -.-
i would be interested in changing grey wolf to white one, so i can tell my friend what a fool he was to pay real money for something i can buy for bytes and change with bits
its a great thread and makes fun to change stuff, but ppl who dont know how to work with it is
so if any1 could answer my question i would be very pleased
ty
-
shiningSun
- Hi, I'm New Here
- Posts: 3
- Joined: Fri Feb 23, 2007 1:10 pm
Geedunk wrote:Wtf am I doing wrong?
i think u want have 9th bow ?
open media.pk2 in hex editor -> find -> replace
go on with fillin out the boxes in textmode (activate ansi mode)
Find:
\bow_01
Replace:
\bow_09
then press "Replace all"
a window will popup with an information how much things had been replaced
confirm it, save it and close the pk2
launch game and check if it works
- iGod
- Veteran Member
- Posts: 3728
- Joined: Wed Oct 11, 2006 11:22 pm
- Quick Reply: Yes
- Location: Off Topic
Well to be more specific you have to change all
"item\china\weapon\bow_01.bsr"
in the media.pk2 file with
"item\china\weapon\bow_09.bsr"
"item\china\weapon\bow_01.bsr"
in the media.pk2 file with
"item\china\weapon\bow_09.bsr"
Last edited by iGod on Fri Feb 23, 2007 3:16 pm, edited 1 time in total.
- MiKe 51-50
- Frequent Member
- Posts: 1284
- Joined: Sun Dec 10, 2006 8:19 pm
- Quick Reply: Yes
- Location: Xian
- Megalomaniac
- Veteran Member
- Posts: 3132
- Joined: Mon Jul 17, 2006 8:39 pm
- Quick Reply: Yes
- Megalomaniac
- Veteran Member
- Posts: 3132
- Joined: Mon Jul 17, 2006 8:39 pm
- Quick Reply: Yes
- sama98b
- Frequent Member
- Posts: 1428
- Joined: Thu Feb 22, 2007 2:32 am
- Quick Reply: Yes
- Location: Aege
Can anyone verify that the data.pk2 is the same at every ppl if not moded ?
data.pk2 size: 659,443,712
Content crc check files:
data.sfv
data.md5
data.pk2 size: 659,443,712
Content crc check files:
data.sfv
Code: Select all
; Generated by WIN-SFV32 v1.0
; (Compatible: Total Commander 7.0pb1)
Data.pk2 68491765
data.md5
Code: Select all
039a1e717d01c5ac84c83a7769ba06ce *Data.pk2
- sama98b
- Frequent Member
- Posts: 1428
- Joined: Thu Feb 22, 2007 2:32 am
- Quick Reply: Yes
- Location: Aege
No one replies to my post b4, need to know if the data.pk2
is same size and content for everyone b4 moding anything in it,
in the easier way.
Ksro style n.patch took me 4 hours or more and 100 login to
find everything, and actually I had clue of editing.
And yes textures could be edited by exporting from pack / editing a bit / importing to editor (like pscs2)/ then with hex editor reinserting data to pk2.
ps.:
And about credit giving, I posted the wind bug fix by editing the cfg file
first on tavern, since then it was copyed all over, and no one give credit to
me...........
Don't care about it anymore.
is same size and content for everyone b4 moding anything in it,
in the easier way.
Ksro style n.patch took me 4 hours or more and 100 login to
find everything, and actually I had clue of editing.
And yes textures could be edited by exporting from pack / editing a bit / importing to editor (like pscs2)/ then with hex editor reinserting data to pk2.
ps.:
And about credit giving, I posted the wind bug fix by editing the cfg file
first on tavern, since then it was copyed all over, and no one give credit to
me...........
Don't care about it anymore.
Cruor wrote: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.
I'd love to be able to do this.. But I'm honestly confused beyond belief when I even attempt it
<<banned from SRF for bot admission and rules violations. -SG>>
-
disturbed666
- Regular Member
- Posts: 311
- Joined: Wed Nov 15, 2006 3:29 pm
- Quick Reply: Yes
- Location: Athens
wouldnt that be somethin if we could edit the # of our skill points and mastery levels..hehe
you could max out EVERYTHING. that would be ultimate hehe.
someone should try it and then tell me how
you could max out EVERYTHING. that would be ultimate hehe.
someone should try it and then tell me how
server:athens
ign:DragonPrince
build: hybrid int- spear
6x FINALLY YAY
guild- |_ShakeDoWn_| lvl 5 (recruiting)
[img:9027f6a294]http://www.clicksmilies.com/s1106/waffen/violent-smiley-098.gif[/img:9027f6a294]
ign:DragonPrince
build: hybrid int- spear
6x FINALLY YAY
guild- |_ShakeDoWn_| lvl 5 (recruiting)
[img:9027f6a294]http://www.clicksmilies.com/s1106/waffen/violent-smiley-098.gif[/img:9027f6a294]
disturbed666 wrote:wouldnt that be somethin if we could edit the # of our skill points and mastery levels..hehe
you could max out EVERYTHING. that would be ultimate hehe.
someone should try it and then tell me how
you don't seem to understand what exactly we're modding... serverside things may not be modded in anyway.. such as mastery points or skill points..
<<banned from SRF for bot admission and rules violations. -SG>>
-
disturbed666
- Regular Member
- Posts: 311
- Joined: Wed Nov 15, 2006 3:29 pm
- Quick Reply: Yes
- Location: Athens
-
ElCapuccino
- Frequent Member
- Posts: 1122
- Joined: Tue Sep 12, 2006 4:04 pm
hi i have a problem
i changed my armor and spear to 9th degree...
if i log in, just if the chars need to appear i get an error (and sro shuts down)
first i got an error of xfire...
then i shot down xfire and tried again
and then i got the weird ?????????? error
can someone help me?
i changed my armor and spear to 9th degree...
if i log in, just if the chars need to appear i get an error (and sro shuts down)
first i got an error of xfire...
then i shot down xfire and tried again
and then i got the weird ?????????? error
can someone help me?
<<banned from SRF got bot admission and illegal activities. -SG>>
can u add a more understandable guide for adding seal of glow into your wep?
i keep failing when trying to add the seal of sun glow with ur tut, i appreciate ur efforts but with that tut i get so confused.
what's are the exactly steps to add seal of sun glow into my 8th glavie?
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.
i search for ITEM_CH_TBLADE_08? or ITEM_CH_TBLADE_08_X_RARE ??
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.
A goes for sos, B for som and C for sosun? am i wrong?
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.
im totally lost at this point, do i have to open itemdata.txt with the hexeditor or what?
8. Once you find the correct entry, do another Unicode search for "18000".
how am i supposed to know which is the correct entry of my weapon? theres a lot of them when i look for my weapon entry, i see ITEM_CH_TBLADE_08_X_RARE (x=A,B and C), or i just look for ITEM_CH_TBLADE_08 ??
9. You will see that following the 18000 there are two zeroes. Change the second one to a two.
would be great if u can answer this noob questions, thanks!
i keep failing when trying to add the seal of sun glow with ur tut, i appreciate ur efforts but with that tut i get so confused.
what's are the exactly steps to add seal of sun glow into my 8th glavie?
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.
i search for ITEM_CH_TBLADE_08? or ITEM_CH_TBLADE_08_X_RARE ??
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.
A goes for sos, B for som and C for sosun? am i wrong?
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.
im totally lost at this point, do i have to open itemdata.txt with the hexeditor or what?
8. Once you find the correct entry, do another Unicode search for "18000".
how am i supposed to know which is the correct entry of my weapon? theres a lot of them when i look for my weapon entry, i see ITEM_CH_TBLADE_08_X_RARE (x=A,B and C), or i just look for ITEM_CH_TBLADE_08 ??
9. You will see that following the 18000 there are two zeroes. Change the second one to a two.
would be great if u can answer this noob questions, thanks!





