UE3 507

From XentaxWiki
Jump to: navigation, search

Contents: GRAFs page - All - 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z - Edit

Format Type: Archive
Extensions: upk
Platforms: unknown
Endian Order: Little Endian



Format Specifications

// Unreal Engine 3 (Version 507)
// ID Numbers start at "0"

// ARCHIVE HEADER
  4 - Unreal Header (193,131,42,158)
  2 - Version (507)
  2 - License Mode (11)
  4 - First File Offset
  4 - Base Name Length (including null) (eg "bg", "none", etc)
  X - Base Name
  1 - null Base Name Terminator
  2 - Package Flags (9)
  2 - Package Flags (8)
  4 - Number Of Names
  4 - Name Directory Offset
  4 - Number Of Files
  4 - File Directory Offset
  4 - Number Of Types
  4 - Type Directory Offset
  4 - Padding Offset (offset to the end of the File Details directory)
  16 - GUID Hash
  
// GENERATION DIRECTORY
  4 - Number Of Generations
  
  // for each generation
    4 - Number Of Files
    4 - Number Of Names
    
  4 - Unknown
  4 - Unknown
  4 - Unknown
  8 - null
  4 - Unknown
    
// NAMES DIRECTORY
  // for each name
    4 - Name Length (including null)
    X - Name
    1 - null Name Terminator
    4 - null
    4 - Flags

// TYPES DIRECTORY
  // for each type (28 bytes per entry)
    8 - Parent Name ID
    8 - Class Name ID
    4 - Unknown
    8 - Type Name ID

// FILE DETAILS DIRECTORY
  // for each file (72 bytes per entry)
    4 - Type ID (-1) (XOR with 255)
    8 - null
    8 - File Name ID
    8 - null
    4 - Flags
    4 - File Length
    8 - File Offset
    28 - null

X - null Padding
    
// FILE DATA
  // for each file
    4 - File ID Number? (incremental from 0) (thie is NOT an ID into the Names Directory!)
    
    // for each property (until Property Name ID = "None")
      8 - Property Name ID
      8 - Property Type ID
      8 - Property Length
      X - Property Data
      
    8 - null
    4 - null
    4 - Unknown
    4 - Unknown (1)
    4 - Unknown (16)
    4 - Decompressed File Length
    4 - Compressed File Length
    4 - File Data Offset (= offset to this field + 4)
  
    if (!compressed){
      X - File Data
      }
    else if (compressed){
      4 - Unreal Header (193,131,42,158)
      2 - null
      2 - Compression Type? (1=ZLib, 2 = LZO, 4=LZX) (https://github.com/gildor2/UModel/blob/master/Unreal/UnCore.h)
      4 - Compressed Length
      4 - Decompressed Length
      
      // for each compressed block
        4 - Compressed Block Length
        4 - Decompressed Block Length
      }
      
      // for each compressed block
        X - Compressed File Data
      }
    
    4 - Unknown (256/512)
    4 - Unknown (32/64)



MultiEx BMS Script

No BMS script

Supported Programs



Notes

No additional notes

Games

  • The Last Remnant



Navigation

Jump to a listing by...
All Formats - Common Formats - Standard Formats - Malformed Pages
Platforms
Microsoft:
Xbox
Xbox 360
Nintendo:
GameCube
DS
Desktop:
PC
Sega:
Dreamcast
Sony:
PlayStation
PlayStation 2
PlayStation 3
PlayStation Portable
Type
Animation - Archive - Audio - Image - Mesh - Miscellaneous - Model - Video
Endianness
Little-endian - Big-endian
BMS Scripts
Pages Without a BMS Script

All Pages with Scripts:
Recently Added Scripts

Program Support
No Known Support

MultiEx Commander - Game Extractor

Format Specification Completion
Work in Progress - Almost Done - Completed
Compression and Encryption
No Compression or Encryption Used - Unknown Compression or Encryption Used

One or Both Used:
Compression Used - Both Compression and Encryption Used