Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 29.06.2007, 09:13   #1
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default [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 
  
 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'm hoping someone a bit more familiar with modeling or the UT2003 package data can look at this and see where it's going wrong.

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 байт
khelben is offline  
Old 29.06.2007, 12:23   #2
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

The mesh files are encrypted which is why unreal ed wont read em.
DeKoth is offline  
Old 29.06.2007, 12:27   #3
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

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
khelben is offline  
Old 29.06.2007, 17:24   #4
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

Hm Im not sure than, your further in than I am. Keep working at it and keep us posted.
DeKoth is offline  
Old 30.06.2007, 09:09   #5
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

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 байт
khelben is offline  
Old 30.06.2007, 16:34   #6
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default 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 байт
khelben is offline  
Old 01.07.2007, 08:26   #7
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

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.
khelben is offline  
Old 01.07.2007, 11:44   #8
~Marquis~
Архивный участник
 
Join Date: Dec 2006
Posts: 252
Default

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.
~Marquis~ is offline  
Old 01.07.2007, 13:05   #9
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

I'm afraid most developers lean towards modifying the server to accept interlude and have it's features than towards client modding.
m4rk is offline  
Old 01.07.2007, 13:32   #10
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

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.
khelben is offline  
Old 01.07.2007, 15:06   #11
~Marquis~
Архивный участник
 
Join Date: Dec 2006
Posts: 252
Default

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 :>
~Marquis~ is offline  
Old 02.07.2007, 01:24   #12
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

Gun in L2 LOL
DeKoth is offline  
Old 19.07.2007, 10:06   #13
SilentBot
Архивный участник
 
Join Date: Jul 2007
Posts: 1
Default

I was checking your model and saw that there's something wrong on it..:

I wonder if this causes the crash...
SilentBot is offline  
Old 19.07.2007, 13:49   #14
nish
Архивный участник
 
Join Date: May 2006
Posts: 237
Default

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:
Originally Posted by DeKoth View Post
Gun in L2 LOL
lol check this out found it on some chinese mod site






Вложения из исходного сообщения (сами файлы в копии отсутствуют):
ADA.rar — 327280 байт
nish is offline  
Old 19.07.2007, 14:44   #15
blackman
Архивный участник
 
Join Date: Apr 2007
Posts: 26
Default

WOW. Give a textures and scripts plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
blackman is offline  
Old 19.07.2007, 16:00   #16
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

that shits nuts lol i love it
DeKoth is offline  
Old 19.07.2007, 21:43   #17
Dkilla
Архивный участник
 
Join Date: Jun 2007
Posts: 43
Default

OMFG guns in l2!

Nice outfit btw.
Dkilla is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 22:38.