Gildor's Forums

Author Topic: .unr file structure  (Read 16712 times)
Gildor
Administrator
Hero Member
*****
Posts: 7972



View Profile WWW
Re: .unr file structure
« Reply #15 on: December 05, 2013, 02:03 »

UTPT reads only package structure and object properties. It even can't read Lineage's textures.
Logged
Zacratla
Newbie
*
Posts: 1


View Profile
Re: .unr file structure
« Reply #16 on: December 06, 2013, 02:05 »

lineage textures seem different ,there is some unknown data in UTexture after UObject properties and before the mip maps data

UModel fails to load manually decrypted (xored) utx files with such error:

Code:
******** E:\TOOLS\umodel_win32\dexored.utx ********

ERROR: Texture::Serialize(aden_castle_etc08_a): 44039 unread bytes
LoadObject:Texture'dexored.aden_castle_etc08_a', pos=31E, ver=123/37, game=2000 <- UObject::EndLoad <- LoadWholePackage:dexored <- Main

It looks like there is some custom shadertext-like data before UTexture mipmaps array in lineage. So their serialization path is different from UT2003/UT2004 etc

Gildor, can you tell us the meaning of unknown Lineage-specific bytes in UTexture class after UObject properties and before MipMaps data?
« Last Edit: December 06, 2013, 02:27 by Zacratla » Logged
Gildor
Administrator
Hero Member
*****
Posts: 7972



View Profile WWW
Re: .unr file structure
« Reply #17 on: December 06, 2013, 12:35 »

Umodel detects Lineage only by special file prefix. When package is decrypted, umodel would try to load it as for generic UE2, not for Lineage, and it fails. -game=l2 option should help.
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS