Originally Posted by Pupix
U have in \data\Object\Character man.ech,man1.ech....man9.ech and woman.ech,woman1.ech....woman9.ech there for sure the graphic texture of the armors/costumes/character,i'm not sure for the model of the character
If you want to modify a texture inside an EBM/ECH, just open the file in a hex editor. Then, find the name of the texture (*.dds), place you cursor before the following "DDS |", select until the end of the file, and then click on File -> Save selection as... (NOTE: This is how you do it in Hex Workshop, but shouldn't be much different from any other hex editor). Now that you've extracted the texture (along with some "fluff"), we need to find the compression rate of the image so we can save it correctly after editing it. Open up the DDS image in Hex Workshop. Near the top of the column on the right-hand side, you should see DXT1, DXT3 or DXT5. If none of those appear, you know that the texture is uncompressed. Now, edit the texture however you want, the resave it using the compression rate you found (DXT1, DXT3, DXT5, or nothing [argb32 if u use PS]). Then, what I do, is open the original EBM in Hex Workshop, and also open the texture in Hex Workshop. Write down the filesize for the texture (Hex Workshop displays EXACT filesize), then go into the EBM/ECH file, put ur cursor before the "DDS |" again, then click on Edit -> Select Block. Make sure "Dec" and "Size of Block" are checked, then type in the filesize of the texture, and click OK. Then, click on File -> Replace With File...", and choose the modified DDS file. Save, and you're done ^_^
Texture names for items contain:
Helmet = cap_XYY.dds
Suit = body_XYY.dds
Gloves = hand_XYY.dds (and sometimes arm_XYY.dds)
Boots = foot_XYY.dds (and sometimes leg_XYY.dds)
Cape = coat_XYY.dds
X can be either a, m, or z. a is armour. m is battle, and z is martial.
YY starts at 00 for unclothed, and increases from there. The numbers are sometimes out of sequential order (ie. STit has a higher YY number than Mithril/Forcium)
Some boots consist of 2 textures:
foot-XY.dds
leg-XY.dds
Also, certain gloves have 2 textures aswell:
arm-XY.dds
hand-XY.dds
I'll post the newest .ech file from cabal KR once i'll upload them
|