Sims 3:0x8EAF13DE

From SimsWiki
Revision as of 18:08, 7 December 2009 by Pljones (Talk | contribs)

Jump to: navigation, search

Sims 3:Main Page -> Sims 3:PackedFileTypes

Contents

RIG

There are two formats of the RIG file. The basic file content is a Granny 2 data file. Apart from the official tools, there are some user-contributed tools for manipulating the data on altervista. In addition, a second format exists, where the Granny data is wrapped with some additional fields.

Get "Granny Viewer" from the altervista downloads page and you can load the data (export it as 'somefile.gr2').

Also related is this thread on Xentax.

Format

Optional wrapper

There is an optional wrapper to the Granny data. This can be identified by the first DWORD in the file being 0x8EAF13DE (i.e. the resource type). The format is:

DWORD 0x8EAF13DE
DWORD 0
DWORD offset1			// To "Int2" block from start of Granny data (from start of file)
DWORD offset2			// To start of Granny data (from start of this DWORD)
DWORD chunk1offset		// To start first of "Int2" Chunk (from start of this DWORD)
--repetition 4 times:
	DWORD chunkOffset	// To start of 2nd to 5th "Int2" Chunk (from start of this DWORD)
--repetition 4 times:
	DWORD unusedOffset	// 0?

--insert Granny2 data

//"Int2" block:
//chunk1:
DWORD Count1
DWORD offset (from start of this DWORD)
--repetition Count1:
	QWORD type
	--if type == 00000000 03000000
		BYTE[144]
	--if type == 01000000 01000000
		BYTE[176]

--repetition 4 times:
	//chunks 2 to 5:
	DWORD count:
	--repetition count
		DWORD

Granny2 Data

--Header (For all further offsets, treat this as Offset 0 (as if the Int2 Offset header didn't exist)) (This is Granny2 data)
16 BYTES B867B0CAF86DB10F84728C7E5E19001E
DWORD - Header Size
12 BYTES
DWORD - 6
DWORD - Size of main file not including Int2/Int2Header data
DWORD - Guid?
DWORD
40 BYTES
DWORD - 2 
DWORD - Offset of the scripty bit from beginning of file
DWORD - Size of the scripty bit
DWORD
DWORD
DWORD
DWORD
DWORD - offset Int1
DWORD - count Int1
DWORD - offset end Int1
DWORD

--Int1 Section
	DWORD
	DWORD
	DWORD

--Scripty

--Padding 00's to next even DWORD (end of granny2 data)

Rick adds:

The blobs that start with

B867B0CAF86DB10F84728C7E5E19001E

(as well as)

29DE6CC0BAA4532B25F5B7A5F666E2EE
0E1195B56AA5B54BEB2828502578B304
E59B495E6F631F141E13EBA990BEEDC4
3195D4E320DC4F62CC36D03AB182FF89

are Granny 2 file data.


Sims 3:Main Page -> Sims 3:PackedFileTypes

Based on contributions from Karybdis and Atavera

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox