Sims 3:0x3D8632D0

From SimsWiki
Revision as of 04:26, 7 September 2009 by Tiger (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sims 3:Main Page -> Sims 3:PackedFileTypes


This file does not seem to be actually used by the game currently. The low detail map view uses textures with the paint already applied, and there are textures for the shader to use for close-up rendering which contain the same data as this resource, but in smaller more digestible chunks.

The data in here is compressed with a very simplistic block compression. The map is split into 16x16 blocks (Or whatever the header calls for) and each is either missing (Indicating no terrain paint is applied), a single value for the whole block, or given individual values for each point.

WORD version 0x300
WORD 0xA5FF
DWORD map width (0x800 for current neighborhoods)
DWORD map height (0x800 for current neighborhoods)
DWORD block width
DWORD block height
DWORD layer count
DWORD texture count (Could have this and the previous reversed as currently they are always the same)
REP layer count
    [BYTE 0 padding to next DWORD boundry]
    DWORD size (Of this layer, not counting the first two DWORDs)
    DWORD blockcount
    BYTE texture (Index to Sims_3:0x9063660d)
    REP blockcount
        WORD block number (Big endian order, NOT little endian/Intel order)
        BYTE compressed
        IF compressed
            BYTE data (For all values in the block)
        ELSE
            REP block height
                REP block width
                    BYTE data

Sims 3:Main Page -> Sims 3:PackedFileTypes

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox