-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathp3p_cmmeventno.bt
72 lines (66 loc) · 1.36 KB
/
p3p_cmmeventno.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//
// File: P3PCommunityEventNumberDAT.bt
// Authors: moddaman
// Version: 1.0
// Purpose: Parse the cmmEventNo.dat file in P3P
// Category: Persona 3 Portable
// File Mask:
// ID Bytes:
// History:
//------------------------------------------------
#include "types.h"
LittleEndian();
enum<u16> commu
{
NULL = 0,
SEES = 1,
Kenji = 2,
Hidetoshi = 3,
OldCouple = 4,
Yukari = 5,
Fuuka = 6,
Mitsuru = 7,
Aigis = 8,
Yuko = 9,
Chihiro = 10,
TrackTeam = 11,
KendoTeam = 12,
SwimTeam = 13,
Maya = 14,
PhotoClub = 15,
ArtClub = 16,
MusicClub = 17,
Maiko = 18,
Pharos = 19,
Bebe = 20,
Tanaka = 21,
Mutatsu = 22,
Mamoru = 23,
Nozomi = 24,
Akinari = 25,
NyxTeam = 26,
};
typedef struct hed
{
u32 Field00 <bgcolor = 0x00FFFF>;
u32 EntryCount <bgcolor = 0x00FF00>;
};
typedef struct eventEntry
{
commu SocialLinkID;
u8 Field02;
u8 Field03;
u16 EventMinorID <bgcolor = 0xAAAAFF>;
u16 EventMajorID <bgcolor = 0x5555FF>;
u32 Field08;
u32 Field0C;
};
typedef struct eventNoFile
{
hed Header;
eventEntry Entry[Header.EntryCount];
u32 DupeBytes[6] <comment = "Duplicated from start of file, ignore", bgcolor = 0x0000FF>;
};
eventNoFile FILE;