Jump to content

captain morgan and the golden turtle ps3 *dat file


kosemen_76
Go to solution Solved by LinkOFF,

Recommended Posts

  • Engineer
  • Solution
typedef struct{
    char Magic[];
    uint32 Version;
    char Filename[];
    uint32 NumOfEntries;
    uint32 LKEYTableStart;
    uint32 LSTRTableStart;
    uint32 Unknown;
    char LKEYMagic[4];
    uint32 LKEYTableSize;
} HEADER;


typedef struct{
    uint32 Unknown;
    uint32 Offset;
    local uint32 pos = FTell();
    FSeek(startPos + Offset);
    char LString[];
    FSeek(pos);
} LKEY_ENTRY;

HEADER hdr;
local uint32 startPos = hdr.LSTRTableStart;
LKEY_ENTRY lkey[hdr.NumOfEntries]<optimize=false>;

010 Editor Template

Edited by LinkOFF
  • Like 1
Link to comment
Share on other sites

11 minutes ago, LinkOFF said:
typedef struct{
    char Magic[];
    uint32 Version;
    char Filename[];
    uint32 NumOfEntries;
    uint32 LKEYTableStart;
    uint32 LSTRTableStart;
    uint32 Unknown;
    char LKEYMagic[4];
    uint32 LKEYTableSize;
} HEADER;


typedef struct{
    uint32 Unknown;
    uint32 Offset;
    local uint32 pos = FTell();
    FSeek(startPos + Offset);
    char LString[];
    FSeek(pos);
} LKEY_ENTRY;

HEADER hdr;
local uint32 startPos = hdr.LSTRTableStart;
LKEY_ENTRY lkey[hdr.NumOfEntries]<optimize=false>;

010 Editor Template

very nice thx..

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...