Difference between revisions of "Sims 3:0x736884F1"

From SimsWiki
Jump to: navigation, search
m (Visual Proxy)
m (Visual Proxy)
Line 14: Line 14:
  
 
This is followed by a TGI list containing GEOMS,MLOD,MODL,LITE,RSLT, and FTPT
 
This is followed by a TGI list containing GEOMS,MLOD,MODL,LITE,RSLT, and FTPT
 +
===File Format===
 
  -- Insert [[Sims 3:RCOL|Scenegraph]] header
 
  -- Insert [[Sims 3:RCOL|Scenegraph]] header
 
  DWORD // VPXY
 
  DWORD // VPXY
Line 20: Line 21:
 
  DWORD tgi size // size of TGI Block List
 
  DWORD tgi size // size of TGI Block List
 
   
 
   
  BYTE count1 // Entry Count (same as TGI index Count)
+
  BYTE count1 // Entry Count (same as TGI index Count)
 
     --repetition count1 Entries (see [[#Entry Types|below]])
 
     --repetition count1 Entries (see [[#Entry Types|below]])
 
     BYTE type
 
     BYTE type
 
     {data}
 
     {data}
 
   
 
   
  BYTE // 0x02 (? type code for bounding box)
+
  BYTE // 0x02 (? type code for bounding box)
  FLOAT[6] // ? bounding box (xyz1, xyz2)
+
  FLOAT[6] // ? bounding box (xyz1, xyz2)
 
   
 
   
  BYTE[4] // (probably redundant from earlier version)
+
  BYTE[4] // (probably redundant from earlier version)
 
   
 
   
 
  BYTE bool Modular?
 
  BYTE bool Modular?

Revision as of 18:52, 12 June 2009

Sims 3:Main Page -> Sims 3:PackedFileTypes
Sims 3:Main Page -> Sims 3:RCOL


Visual Proxy

This is a Scenegraph file with a single chunk tagged "VPXY".

The purpose of these files is to show which parts of an object are linked together, and what all the parts of the object are

A Typecase table starts the file, which has case 01's that index separate parts of the model and case 00's that index linked parts of the model, such as GEOMs (blends and pieces of the same model), and presumably MODL and MLOD (though I haven't tested this)

This is followed by what I think is a bounding box of floats

This is followed by an optional index for modulars, probably the corner (index of its FTPT)

This is followed by a TGI list containing GEOMS,MLOD,MODL,LITE,RSLT, and FTPT

File Format

-- Insert Scenegraph header
DWORD 			// VPXY
DWORD 			// version (4)
DWORD tgi offset	// from after this DWORD to TGI Block List
DWORD tgi size		// size of TGI Block List

BYTE count1		// Entry Count (same as TGI index Count)
   --repetition count1 Entries (see below)
   BYTE type
   {data}

BYTE			// 0x02 (? type code for bounding box)
FLOAT[6]		// ? bounding box (xyz1, xyz2)

BYTE[4]		// (probably redundant from earlier version)

BYTE bool Modular?
(if bool==1, then DWORD - Index)

-- Insert TGI Block List

Entry Types

type data
00
BYTE msIndex // Incremental count of type=00 entries
BYTE Count
DWORD[Count] // Indexes into TGI Block List
01
DWORD iD // Index into TGI Block List

Sims 3:Main Page -> Sims 3:PackedFileTypes
Sims 3:Main Page -> Sims 3:RCOL

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox