![]() |
|
|
#1 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
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 History: LoadObject <- (SkeletalMesh iLineageWeapons.shyid_bow_m00_wp 212109==212109/212143 194 211919) <- ULinkerLoad::Preload <- PreLoadObjects <- UObject::EndLoad <- UObject::StaticLoadObject <- (Engine.SkeletalMesh iLineageWeapons.shyid_bow_m00_wp NULL) <- IsLoadedResource <- User::SetPawnResource <- UNetworkHandler::Tick <- Function Name=UserInfoPacket <- UGameEngine::Tick <- UpdateWorld <- MainLoop 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 байт |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Apr 2006
Posts: 236
|
The mesh files are encrypted which is why unreal ed wont read em.
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
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 |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Apr 2006
Posts: 236
|
Hm Im not sure than, your further in than I am. Keep working at it and keep us posted.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
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 байт |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
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 байт |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
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. |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Dec 2006
Posts: 252
|
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.
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
I'm afraid most developers lean towards modifying the server to accept interlude and have it's features than towards client modding.
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
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. |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Dec 2006
Posts: 252
|
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 :>
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Apr 2006
Posts: 236
|
Gun in L2
LOL
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Jul 2007
Posts: 1
|
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: May 2006
Posts: 237
|
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Apr 2007
Posts: 26
|
WOW. Give a textures and scripts plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Apr 2006
Posts: 236
|
that shits nuts lol i love it
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: Jun 2007
Posts: 43
|
OMFG guns in l2!
Nice outfit btw. |
|
|
|
|