Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 29.06.2007, 17:24   #1
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   #2
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   #3
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   #4
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  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 02:25.