-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathp3p_field_name.bt
29 lines (25 loc) · 897 Bytes
/
p3p_field_name.bt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//
// File: AtlusFieldHitNames_P3P.bt
// Authors: moddaman
// Version: 1.0
// Purpose: Parse Field Hit Object *_name.dat files.
// Category: Persona 3 Portable
// File Mask:
// ID Bytes:
// History:
//------------------------------------------------
typedef uint u32;
typedef struct objName
{
char Name[64] <bgcolor=0xDDDD00>;
};
typedef struct nameDAT
{
u32 NamesLength <name = "Size", comment="Total length of all names in bytes", bgcolor=0x00BB00>;
u32 TotalNames <name = "Total Names", bgcolor=0xFF0000>;
objName ObjectNames[TotalNames] <name = "Object Names", comment = "String can get cut-off in-game if too long">;
u32 HeaderDupe[(FileSize() - FTell()) / 4] <name = "Duplicate Bytes", bgcolor=0x0000FF, comment = "Unused, can be ignored">;
};
nameDAT FILE;