I will describe here a way to add custom or new fashion to the game without replacing the old one
There was a post about it but no1 gave a solution besides of going off-topic
You will need:
sPCK tool for extracting/adding files from .pck file
sELedit tool for editing elements.data
They are included with other useful tools in pwTools pack by ronny1982
Firstly you will have to extract models.pck with sPCK tool if you plan on customizing fash
After extraction you will get folder models.pck.files
Then pick a fashion you want to customize
They are stored in
models.pck.files\models\players\装备\女\
for females
and
models.pck.files\models\players\装备\男\
for males
I picked female Vintage Shirt and it's folder name is 夏日清凉装上衣
It's containing those files:
女通用夏日清凉装上衣一级.ski
女通用夏日清凉装上衣三级.ski
女通用夏日清凉装上衣二级.ski
妖精夏日清凉装上衣一级.ski
妖精夏日清凉装上衣三级.ski
妖精夏日清凉装上衣二级.ski
textures\夏日清凉装上衣.dds
When you got your fashion folder copied rename it to something you like
Now if you leave it at this point and add it to element.data it won't work
You must rename all and ONLY ski files inside your fashion folder BUT in a specific way, do NOT change texture name.
Game will search for files with same name as fashion folder but it also utilize predefined sufixes and prefixes to differentiate them
Notice
Folder name: 夏日清凉装上衣
Files:
女通用夏日清凉装上衣一级.ski
女通用夏日清凉装上衣三级.ski
女通用夏日清凉装上衣二级.ski
妖精夏日清凉装上衣一级.ski
妖精夏日清凉装上衣三级.ski
妖精夏日清凉装上衣二级.ski
Rename all the red text and keep prefixes and sufixes untouched
After edit, my files looks like this:
Folder name: femaleshirt
Files:
女通用femaleshirt一级.ski
女通用femaleshirt三级.ski
女通用femaleshirt二级.ski
妖精femaleshirt一级.ski
妖精femaleshirt三级.ski
妖精femaleshirt二级.ski
Now you are completly done with files
Let's go to the elements.data and add entries for our fashion
Load Client version of elements.data in sELedit
Go to the Fashion list
for me it was List nr [83]:084
Right click and clone Selected item (check attached picture)
To make it easier clone one of the same type(shirt, pants, gloves, etc) as the one you want to add
Otherwise you will have to check IDs of types and subtypes and apply in your entry
I am adding Custom Vintage Shirt so i cloned just any shirt/top
For a simple explanation check second attatched picture
As for Row 16:
From 343's AdminNotes
32791 = SoulBound
55 = (? CHRONO KEY , hidden soulbound , cannot sell){}
19 = (? FB Tabs){cannot drop , cannot trade}
8 = (? Clothing/Soulbinding Item){}
1 = (? Revival Scroll){}
To edit icons you have to extract your surfaces.pck
Go to surfaces.pck.files\iconset\
Here we have bunch of .dds files and .txts for them
You have to edit .dds file and add your icon to the end
Then you open up a corresponding text document and at the end of it you type your wished name for icon with .dds extension
like myicon.dds
That's what you gonna use in row 6 in sELedit
so it will look something like
Surfaces\图标\通用物品\myicon.dds
When you are done with editing save your elements.data both for server and client
If you are exporting and overwriting at same time, your elements.data can get corrupted, it happened to me few times
I recommend to export them to differend folders and then you replace your elements.data on server and client
Also dont forget to update your client with new content you just made using sPCK
That's about it, GL
aarran
Ragezone