#pragma endian big import std.io; import std.string; using string = std::string::SizedString [[format("string_formatter")]]; fn string_formatter(ref string s) { return std::format("\"{:s}\"", s); }; enum Version : u8 { GC1 = 1, GC1EX = 2, GC2 = 3, GC3 = 4, GC4 = 5, }; Version PARSE_VER = Version::GC4; struct Title { u32 id; string texture; string textureSuffixEn; string textJP; string textEN; u8 unk5; string descriptionJP; string descriptionEN; string unk6; // Also descriptions, maybe for next title? string unk7; // ^ u8 unk8; u8 unk9; u8 unk10; u8 unk11; u8 unk12; u8 unk13; }; u16 titleCount @ 0x00; Title titles[titleCount] @ 0x02 [[inline]];