Files
PrimeRemasterStructs/CScaleformFlashLibrary.bt
LolHacksRule 0aae00e75a Fix WiiU GFXLibrary, messagetable and DKCTF texture read
Actual commit this time
2023-02-19 11:04:58 -08:00

57 lines
1.3 KiB
Plaintext

//------------------------------------------------
//--- 010 Editor v13.0.1 Binary Template
//
// File:
// Authors:
// Version:
// Purpose:
// Category:
// File Mask:
// ID Bytes:
// History:
//------------------------------------------------
#ifndef _CSCALEFORMFLASHLIBRARY
#define _CSCALEFORMFLASHLIBRARY
typedef struct
{
ChunkDescriptor chunk;
struct CScaleformFlashLibraryChunk
{
uint32 referencedTextures;
struct ReferencedTxtrs
{
struct ReferencedTxtr
{
GUID texRef;
if (ReadByte() == 0)
{
CStringFixed texName;
}
else
{
CString texName;
}
} rtxtr[referencedTextures] <optimize = false>;
} rtxrs;
if (ReadByte() == 0)
{
CStringFixed theSWFName;
}
else
{
CString theSWFName;
}
FSkip(4); //Skip ahead to see the SWF size
LittleEndian(); //temp swap endian
uint32 swfSize<hidden=true>; //Pull SWF size
BigEndian(); //temp swap endian
FSkip(-8); //Go back to GFX
byte theGFXFile[swfSize]; //History
} GFXLChunk;
} CScaleformFlashLibrary;
#endif// _CSCALEFORMFLASHLIBRARY