Forum Announcement, Click Here to Read More From EA_Cade.

.bt Request: World Map (0x1CC04273)

ZerbuZerbu Posts: 3,457 Member
@SimGuruModSquad

I've figured out the general structure of the world map resource, but the details have been very confusing, as all the settings seem to be connected to each other, it's very difficult to find what each one is supposed to do.

Here's a head start, using what I've figured out myself so far:
UINT16 version;
UINT16 unknown;
UINT32 unknown;
UINT32 unknown;
UINT32 unknown;
UINT32 unknown;
UINT64 selfInstance <format=hex>; // seems to always be the instance of the resource
UINT32 unknown;
UINT32 unknown;
UINT32 unknown;
byte unknown;
byte unknown;
byte unknown;
byte unknown;
char tag[4];
UINT32 unknown;
byte unknown;
byte unknown;
hfloat mapSize; // I'm not sure what type this is supposed to be, so I guessed half-float
UINT32 unknown;
UINT32 unknown;
byte unknown;
byte unknown;
byte shift; // changing this shifts the map a bit
byte unknown;
UINT32 unknown;
UINT32 unknown;
UINT32 unknown;
UINT32 unknown;
UINT32 lotCount;

typedef struct
{
byte unknown;
byte unknown;
byte positionData;
byte positionData;
byte unknown;
byte unknown;
byte unknown;
byte unknown;
byte unknown;
byte unknown;
byte unknown;
byte unknown;
byte unknown;
byte unknown;
byte unknown;
byte unknown;
UINT64 unknown;
UINT64 unknown;
} LotInfo;

LotInfo lots[lotCount];

As it's not a large resource, I don't imagine it would be hard for a developer who knows the format to make a complete .bt file of it. :)
Post edited by Zerbu on

Comments

  • Options
    SimGuruModSquadSimGuruModSquad Posts: 597 Member
    Hey @Zerbu,

    Posted. Happened to have this one done already.

    Note that I am out of the office currently and for the next couple weeks, so responses from me will be slower for the next little while.

    -SGMS
  • Options
    ZerbuZerbu Posts: 3,457 Member
    edited September 2016
    Thanks! I'm guessing you'll be able to get the other resource I requested done (0xFCB1A1E4) when you get back. :)
    Post edited by Zerbu on
Sign In or Register to comment.
Return to top