After I got some requests for "How to pk2-Edit", I've written a detailed Tutorial how to do pk2 editing.
Well as you can see that this tutorials are for newbie and advanced editors.
Feel free to copy things of my tutorial but do not forget to give credits.
Writing this tutorial took me lots of time.
Respect this hard work as I respect yours.
Now the Tutorials
First of all you need to extract the Media.pk2 with Drew's Pk2 Extractor
Tools are in the following post
__________________________________________________ ______________________________
Register:
1. Itemdata Editing
2. SoX Editing
3. Glow Editing
4. Character Editing
5. Removing Itemall and Event Windows
6. Skill Editing
∞. Importing the Files to the .pk2
__________________________________________________ ______________________________
1. Itemdata Editing
Open Itemdata.txt
/Media/server_dep/silkroad/textdata/itemdata.txt
Code:
WEAPON CODES: BLADE=CH_BLADE_XX GLAVIE=CH_TBLADE_XX BOW=CH_BOW_XX SPEAR=CH_SPEAR_XX SHIELD=CH_SHIELD_XX SWORD=CH_SWORD_XX DAGGER=EU_DAGGER_XX CLERIC ROD=EU_STAFF_XX STAFF=EU_TSTAFF_XX HARP=EU_HARP_XX WARLOCK ROD=EU_DARKSTAFF_XX CROSSBOW=EU_CROSSBOW_XX AXE=EU_AXE_XX TWO HANDED SWORD=EU_TSWORD_XX ONE HANDED SWORD=EU_SWORD_XX SHIELD=EU_SHIELD_XX CLOTHES: GARMENT=CH_Y_CLOTHES_XX PROTECTOR=CH_Y_LIGHT_XX ARMOR=CH_Y_HEAVY_XX ROBE=EU_Y_CLOTHES_XX LIGHT ARMOR=EU_Y_LIGHT_XX HEAVY ARMOR=EU_Y_HEAVY_XX XX = Degree (01,02,03....08,09,10) Y = Gender (Male = M ; Female = W)
changing Blade 8th (2.tier) to 9th (3.tier) to 10th
Search for CH_BLADE_08
[
]in the middle you will find bsr and ddj codes
bsr is that what you can see ingame
the degree changes
and ddj is the icon of the weapon
now change the degrees
[
]You also can change clothes and job suits
for job suits you need to know that codes:
Code:
- White Flag: ITEM_CH_M_TRADE_TRADER_02 ; ITEM_CH_W_TRADE_TRADER_02 - Red Flag: ITEM_CH_M_TRADE_TRADER_03 ; ITEM_CH_W_TRADE_TRADER_03 - Identity Card: ITEM_CH_M_TRADE_HUNTER_02 ; ITEM_CH_W_TRADE_HUNTER_02 - Special Identity Card: ITEM_CH_M_TRADE_HUNTER_03 ; ITEM_CH_W_TRADE_HUNTER_03 - Black Suit: ITEM_CH_M_TRADE_THIEF_02 ; ITEM_CH_W_TRADE_THIEF_02 - Devil Suit: ITEM_CH_M_TRADE_THIEF_03 ; ITEM_CH_W_TRADE_THIEF_03 KOREAN SPECIAL SUITS: JUST INSTERT THE NUMBER 4 INSTEAD OF 2 OR 3 ITEM_CH_W_TRADE_THIEF_04
[
]2. SoX Editing
open itemrare.txt
/Media/resinfo/silkroad/itemrare.txt
first you need this codes
Code:
Normal weapon: A=1Tier B=2Tier C=3Tier SoX: A_RARE=SoS B_RARE=SoM C_RARE=SoSun Honor: A_RARE_HONOR=Seal Of Honor Star B_RARE_HONOR=Seal Of Honor Moon C_RARE_HONOR=Seal Of Honor Sun
]these are the codes for honor
if you delete the _HONOR of the code _C_RARE_HONOR you will change Seal of Sun to Seal of Honor Sun
[
]if you put _HONOR to the code _C_RARE you will change Seal of Honor Sun to Seal of Sun
[
]you can change normal weapons to sox or soh too
you need to delete _RARE_HONOR to get soh
and _RARE to get sox
if your edited weapon is a normal weapon you also need to edit the itemdata.txt
open your itemdata.txt
look for your item
my item is the BLADE_08_C
in that line you will see the number "180000"
there are 2 zero's after that number
just change the second "0" to "2"
[
]result:
[
]that step is important because this will show your weapon as SoX ingame
but the bad thing is that your weapon is show as sox in your inventory too and the name of the weapon is yellow.
but i think that isnt a problem
WARNING:
If you want to change sox of blade , there are 2 codes
[
]you need to change both to get the full sox glow
otherwise you will see the half glow or just the sun
its just for sos and sosun
3. Glow Editing:
open itemtypenumber.txt
it is in the same folder as itemrare.txt
[
]standard glows
[
]changed to +9
i think the picture tells how to change the glows
Notice: Copy only the color codes, not the whole line!!!
XXXX XXXX XXXX
Red Green Blue
4. Character Editing
open characterdata.txt
its in the same folder as the itemdata.txt
now i will edit Wolf into a Genie
first you need to search for the wolf_02
if you have done just look for the lvl of your pet you want to change
[
]now paste wolf_02 over with jinn_02 (the code for the genie)
ddj is the icon of the pet
you also can change the growth of the pet
on lvl 80 your pet has got the growth 120
dunno what unit it is but its the growth xD
if you change the 120 to 180 your pet will be bigger
5. Removing Itemall and Event Windows
Itemmall Window:
open mall_notify.txt
/Media/server_dep/silkroad/event/mall_notify.txt
Code:
Open = "1"
Code:
Open = "0"
Event Window:
open event_interface.txt
/Media/server_dep/silkroad/event/event_interface.txt
Code:
Open = "1"
Code:
Open = "0"
6. Skill Editing
Well, I've seen a lot of wrong tutorials on some forums like SRF etc.
I've decided to make my own tut which will work for 100%
now, first of all you will need the skilleffect.txt (there are 2 skilleffect.txt)
you will need both files
open skilleffect.txt
1. - /Media/server_dep/silkroad/textdata/skilleffect.txt
2. - /Media/resinfo/skilleffect.txt
after you've opened you will see after exploring the files that there are two parts
first part there are the FALSE which means while doing the skill there will be effects like the blue effect of anti devil bow or the yellow effect of strong bow
second part there are the SHOT or ACT which means that there is an action while doing the skill like hawk summon or Soul spear soul
at first i will show you how to edit the lightning hawk (Lv 76) to fire hawk (Lv 100+) (bow skill)
search for the string:
SKILL_CH_BOW_CALL_D
you will see that there is the false line
search again after you see the ACT line
[
]then scroll to the side and you will see the skill name:
res\npc\animal\ lighthawk.bsr
[
]change it to:
res\npc\animal\ firehawk.bsr
which stands at the last line of the skill tree SKILL_CH_BOW_CALL
[
]*NOTICE:
You need to edit both skilleffect.txt files to get the new skills as a result!
Now i will edit the Anti Devil Bow - Strike (Lv 71) to Anti Devil Bow Dunno xD (Lv 100+)
coz its only an effect while doing the skill (Blue ray of Anti Devil Bow) we only need the 1. part of the skilleffect.txt file
Search for SKILL_CH_BOW_CRITICAL_D
[
]Scroll to the side after you see that string:
skill\china\force_bow_critical_b.efp
[
]edit the "b" to "c"
result:
skill\china\force_bow_critical_c.efp
[
]*NOTICE:
You need to edit both skilleffect.txt files to get the new skills as a result!
After editing both Files you can import the files manually*
*If you have got 2 files with the same name there will be a conflict which Drew_Benton's Pk2-Editor cannot deal with
All Skills:
Code:
Bicheon: Smashing Series - SKILL_CH_SWORD_SMASH_X Chain Sword Attack Series - SKILL_CH_SWORD_CHAIN_X Shield Technique Series - SKILL_CH_SWORD_SHIELD_X Blade Force Series - SKILL_CH_SWORD_GEOMGI_X Hidden Blade Series - SKILL_CH_SWORD_KNOCKDOWN_X Killing Heaven Blade Series - SKILL_CH_SWORD_DOWNATTACK_X Sword Dance Series - SKILL_CH_SWORD_SPECIAL_X Heuksal: Annihilating Blade Series - SKILL_CH_SPEAR_PIERCE_X Fanning Spear Series - SKILL_CH_SPEAR_SPIN_X Heuksal Spear Series - SKILL_CH_SPEAR_FRONTAREA_X Soul Departs Spear Series - SKILL_CH_SPEAR_STUN_X Ghost Spear Attack Series - SKILL_CH_SPEAR_ROUNDAREA_X Chain Spear Attack Series - SKILL_CH_SPEAR_CHAIN_X Flying Dragon Spear Series - SKILL_CH_SPEAR_SHOOT_X Pacheon: Anti Devil Bow Series - SKILL_CH_BOW_CRITICAL_X Arrow Combo Attack Series - SKILL_CH_BOW_CHAIN_X Hawk Training Series - SKILL_CH_BOW_CALL_X Autumn Wind Arrow Series - SKILL_CH_BOW_PIERCE_X Break Heaven Arrow Series - SKILL_CH_BOW_NORMAL_X Explosion Arrow Series - SKILL_CH_BOW_AREA_X Strong Bow Series - SKILL_CH_BOW_POWER_X Mind Bow Series - SKILL_CH_BOW_SPECIAL_X Cold: Cold Force Series - SKILL_CH_COLD_GIGONGTA_X Frost Guard Series - SKILL_CH_COLD_GANGGI_X Cold Wave Attack Series - SKILL_CH_COLD_GIGONGJANG_X Frost Wall Series - SKILL_CH_COLD_BINGBYEOK_X Frost Nova Series - KILL_CH_COLD_BINGPAN_X Snow Storm Series - SKILL_CH_COLD_GIGONGSUL_X Snow Shield Series - SKILL_CH_COLD_SHIELD_X Lightning: Thunder Force Series - SKILL_CH_LIGHTNING_GIGONGTA_X Piercing Force Series - SKILL_CH_LIGHTNING_GWANTONG_X Wind Walk Series - SKILL_CH_LIGHTNING_GYEONGGONG_X Lion Shout Series - SKILL_CH_LIGHTNING_CHUNDUNG_X Concentration Series - SKILL_CH_LIGHTNING_JIPJUNG_X Thunderbolt Force Series - SKILL_CH_LIGHTNING_STORM_X Fire: Fire Force Series - SKILL_CH_FIRE_GIGONGTA_X Fire Shield Series - SKILL_CH_FIRE_SHIELD_X Flame Body Series - SKILL_CH_FIRE_GONGUP_X Fire Protection Series - SKILL_CH_FIRE_GANGGI_X Fire Wall Series - SKILL_CH_FIRE_HWABYEOK_X Flame Wave Series - SKILL_CH_FIRE_GIGONGSUL_X Fire Combustion Series - SKILL_CH_FIRE_DESCRY_X Force: Self Heal Series - SKILL_CH_WATER_SELFHEAL_X Force Cure Series - SKILL_CH_WATER_CURE_X Heal Series - SKILL_CH_WATER_CUREAREA_X Rebirth Art Series - SKILL_CH_WATER_HEAL_X Natural Therapy Series - SKILL_CH_WATER_RESURRECTION_X Vital Spot Attack Series - SKILL_CH_WATER_HARMONY_X Cure Therapy Series - SKILL_CH_WATER_CANCEL_X "X" stands for the Book Example: SKILL_CH_BOW_CALL_X SKILL_CH_BOW_CALL_A = White Hawk Summon SKILL_CH_BOW_CALL_B = Black Hawk Summon
?. Importing the Files to the .pk2
open Drew's Pk2 Editor:
open Media.pk2:
File -> open -> Media.pk2
Automatic Single File Update:
open your file which you want to import (my file is itemdata.txt):
Automatic Single File Update -> Select File -> itemdata.txt -> Import
Manual Single File Update:
this function is used if there are two or more files with the same name but in different folders:
Example:
skilleffect.txt
\Media\server_dep\silkroad\textdata\skilleffect.tx t
\Media\resinfo\skilleffect.txt <--- this is what i will use
Manual Single File Update -> Select File -> skilleffect.txt (Folder: \Media\resinfo)
Entry Name: skilleffect.txt
Entry Folder: \Media\resinfo
-> Import!
I also support the codes for items in the pk2 files
Just ask for the item i will give you the codes!
Tutorial is written by [EXiT].cr[Y]staL^
Tools:
[

PK2-Extractor - Basic Tool
PK2-Editor - Basic ToolQuote:
This is a PK2 file extractor. It allows you to open up the PK2s and extract the files. Unlike the existing PK2 Extractor, this one has a few extra features. There are two modes: Explore mode and Search mode.
Explore mode allows you to navigate through the PK2 structure and selectively extract folders or files. A simple tree view control is used so when you click on entries you can see details on the file name, file path, and file size.
Search mode allows you to perform searches on the PK2 entries to find the files you wish to extract. You can search by a string found in the path or title of an entry, the file size, and entry type (file or folder). In addition to being able to just search, you can Filter results. This means you can search for all ".ddj" files of a size less than 1kb that have the phrase "skill" in them for example.
Quote:
This is a fully functional PK2 Editor. With this tool, you can import in modified PK2 files as well as import your own new files into the PK2 archive. The files you import can be larger or smaller than the original, the functions used will take care of everything. However, it is important to remember that the PK2s expect files in certain formats, so trying to import a dds in place of a ddj will result in a Silkroad crash.
The main functionally implemented for the PK2 editor is: automatic single file import, automatic multiple file import, and single file manual import. The automatic imports work by searching the PK2 for the file you are importing, if only one etrny exists, it can update that entry. If more than one entry exists, it will fail and you will have to use the manual import.
-Thx goes to Drew_Benton
Edited with Drew's archive.






