Table project - they fixed the bug.

This commit is contained in:
Chris Forseth (C4)
2022-05-19 13:25:25 -05:00
parent f142a737bf
commit 18322726e0

View File

@ -315,9 +315,9 @@ static void ParseOLST(BinaryReader& reader, size_t end_of_section)
reader.read<uint16>(0); // skip two bytes, why? type? (0)
reader.read<uint32>(0); // sub section len? 0x098c (probably how much room is left)
std::string subobj_name = reader.read_string(); // MOBJ
std::string subobj_name = reader.read_string(); // MOBJ - map object?
reader.read<uint32>(0); // 0
reader.read<uint32>(0); // 9
reader.read<uint32>(0); // 9 - number of episode sections to read.
//------
@ -329,14 +329,16 @@ static void ParseOLST(BinaryReader& reader, size_t end_of_section)
// level1
std::string path1 = reader.read_string(); //levels/hub/prelevels/episode_01/ep1_prelevel_01/ep1pl01_catchupcrawl.scene_baked
reader.read<uint32>(0); // 1
reader.read_string(); // ""
reader.read<uint32>(0); // 0
reader.read<uint32>(0); // 0
reader.read<uint32>(0); // 0x00010100
reader.read<uint32>(0); // 0x01000000
reader.read<uint32>(0); // 0
reader.read<uint32>(0); // 0x00010000
reader.skip(3); // ???
reader.read<byte>(0); // 1
reader.read_string(); // ""
reader.read_string(); // ""
reader.read<uint16>(0); //0
reader.read_string();
// ep1
std::string ep01 = reader.read_string(); // Episode1
@ -344,7 +346,6 @@ static void ParseOLST(BinaryReader& reader, size_t end_of_section)
//------
// cut
std::string cut2 = reader.read_string(); // cut/story/ep2/ep2_main/ep2_mainintro_sequence.scene_baked
reader.read_string(); // ""
@ -353,14 +354,16 @@ static void ParseOLST(BinaryReader& reader, size_t end_of_section)
// level
std::string level2 = reader.read_string(); // levels/hub/prelevels/episode_02/ep2_prelevel_01/ep2pl01_catchupcrawl.scene_baked
reader.read<uint32>(0); // 0x00000001
reader.read_string(); // ""
reader.read<uint32>(0); // 0
reader.read<uint32>(0); // 0
reader.read<uint32>(0); // 0x00010100
reader.read<uint32>(0); // 0x01000000
reader.read<uint32>(0); // 0
reader.read<uint32>(0); // 0x00010000
reader.skip(3); // ???
reader.read<byte>(0); // 1
reader.read_string(); // ""
reader.read_string(); // ""
reader.read<uint16>(0); //0
reader.read_string();
// ep
std::string ep2 = reader.read_string(); // Episode2
@ -376,14 +379,18 @@ static void ParseOLST(BinaryReader& reader, size_t end_of_section)
// level
std::string level3 = reader.read_string(); // levels/hub/prelevels/episode_03/ep3_prelevel_01/ep3pl01_catchupcrawl.scene_baked
reader.read<uint32>(0); // 0x00000001
reader.read_string(); // ""
reader.read<uint32>(0); // 0
reader.read<uint32>(0); // 0
reader.read<uint32>(0); // 0x00010100
reader.read<uint32>(0); // 0x01000000
reader.read<uint32>(0); // 0
reader.read<uint32>(0); // 0x00010000
reader.skip(3); // ???
reader.read<byte>(0); // 1
reader.read_string(); // ""
reader.read_string(); // ""
reader.read<uint16>(0); //0
reader.read_string();
// ep
std::string ep3 = reader.read_string(); // Episode3
@ -391,15 +398,15 @@ static void ParseOLST(BinaryReader& reader, size_t end_of_section)
//------
// level hub?
// cut
std::string hub1 = reader.read_string(); // Levels/Hub/Planets/Tatooine/Locations/Settlements/Tatooine_desertArea/tatooine_desertarea.scene_baked
std::string arrive1 = reader.read_string(); // ArrivalPointFrom4_1
std::string hub2 = reader.read_string(); // Levels/Hub/Planets/Tatooine/Locations/Settlements/Tatooine_desertArea/tatooine_desertarea.scene_baked
std::string arrive2 = reader.read_string(); // ArrivalPointFrom4_1
// level
std::string hub3 = reader.read_string(); // levels/hub/prelevels/episode_04/ep4_prelevel_02/e04pl02_catchupcrawl.scene_baked
reader.read<uint32>(0); // 1
reader.read<byte>(0); // false
reader.read_string(); // ""
// two names?
reader.read<uint32>(0); // 2