![]() |
[HELP / WIP] Interlude Meshes
I'm messing around with modifying the C4 client to add the meshes from C6.
I'm not exactly sure how this is done but i have managed to get this far.... I have the meshes, there aren't any bones in them, and I've been able to export the mesh to a psk, importable by UnrealEd. The trick is i get an error when i try to use the ukx i rolled in unrealed on the c4 client. Code:
SkeletalMesh iLineageWeapons.shyid_bow_m00_wp: Serial size mismatch: Got 211915, Expected 211919 I suspect that there is a header missing or a header that is normally stripped out is present (the package mismatch size is only 4 bytes) As I'm not a DLL programmer, this would be my only acceptable alternative method to add Interlude content. The below package contains my max project, a dds texture, the psk i generated, and the ukx package i generated for the test item (Shyeed's Bow) Any help getting this to work would be greatly appreciated. Вложения из исходного сообщения (сами файлы в копии отсутствуют): Shyeed_Bow.rar — 226282 байт |
The mesh files are encrypted which is why unreal ed wont read em.
|
Unreal Ed reads this fine. It's after I write it out.
Also if you look at the error message, the difference between the size received as well as the size expected is 4 bytes... to me that screams some type of header data was either inserted and should have been omitted or vice versa. I can personally guarantee i didn't encrypt the mesh before i rolled it ;p |
Hm Im not sure than, your further in than I am. Keep working at it and keep us posted.
|
Ok, here's what i have so far.
It looks like L2 Format and UnrealEd format do differ by 4 bytes per payload object. I confirmed this by comparing a decrypted Texture Package with a Decrypted Texture Package ran through L2Tool. For each object in the payload so far the difference in the payload has been an insert of 4 bytes then a modded value. Decrypted Value (d) UnrealEd Value (u) u = d + (2^10 * position in export table) i.e. 1st = +1024, 2nd = +2048, 3rd = +3072 in addition to these changes, obviously the offsets changed too.... I'm still trying to learn the ut package format. If anyone else wants to pipe in, or better yet if some hexer wants to tell me why these extra bytes are needed and what they do... that'd be awesome. Edit: Found some interesting reading. http://anonym.to?http://www.unrealwi...ge_File_Format http://anonym.to?http://www.unrealwi...t/Data_Details http://anonym.to?http://www.acordero...Format_pdf.zip http://anonym.to?http://wiki.xentax....Specifications http://anonym.to?http://www.acordero...Format_pdf.zip Edit: Random thought.. values could be increasing by 2^10 because of compact indexes.... the borrowed bits could make this look like an ordered increase due to the 4 byte insertion if the value is an address pointer... I'll have to look into this once i have some more time and a better understanding of the format. Вложения из исходного сообщения (сами файлы в копии отсутствуют): hex compare.rar — 30433 байт |
Little Tool To Help
I went cross eyed trying to compute compact indicies, so i wrote a little tool to do it for me....
If you are looking to help out, maybe it will help you too. Source available also. Вложения из исходного сообщения (сами файлы в копии отсутствуют): CITool.rar — 7878 байт CITool_Source.rar — 5120 байт |
Wow, the interest in creating a package tool is overwhelming.
Perhaps I'm the only one that thinks being able to convert between unrealed and l2 packages is a worthwhile endeavor? Fair Enough. |
Well i spent days finding a way to import animations and meshes, i find a way to edit them with a brazilian tool, but this tool was not working with C4 animations. I dropped the idea that one day we could import meshes. If you find the way to do it, it'd be great. Unfortunately i have no skill in hexin so i cannot help you out.
|
I'm afraid most developers lean towards modifying the server to accept interlude and have it's features than towards client modding.
|
Well, this isn't just about interlude and it's features though....
If we had a package tool for L2 I could model and skin the Sw0rd of M4rk and add it to my client. Or custom NPCs, etc.... the more we can pick apart the more customization is possible. I dunno about you but i think that's pretty exciting. |
Modifying/importing animations and meshes is hella exciting, imaging what you could be able to do with it. If you could import in L2, UT2003 animations for example :>
|
Gun in L2 ;) LOL
|
I was checking your model and saw that there's something wrong on it..:
http://img300.imageshack.us/img300/3...ptedlh7.th.jpg I wonder if this causes the crash... |
lol i been tryin to do this for quite some time now with no luck
ncsoft uses something else to pack some stuff same with kamael it is even worse to decode Quote:
http://thumbnails.keepmyfile.com/35/...8758e0538e.gif Вложения из исходного сообщения (сами файлы в копии отсутствуют): ADA.rar — 327280 байт |
WOW. Give a textures and scripts plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
|
that shits nuts lol i love it
|
OMFG guns in l2!
Nice outfit btw. |
| All times are GMT. The time now is 21:52. |