Table project - they fixed the bug.
This commit is contained in:
@ -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<uint16>(0); // skip two bytes, why? type? (0)
|
||||||
reader.read<uint32>(0); // sub section len? 0x098c (probably how much room is left)
|
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); // 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
|
// level1
|
||||||
std::string path1 = reader.read_string(); //levels/hub/prelevels/episode_01/ep1_prelevel_01/ep1pl01_catchupcrawl.scene_baked
|
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); // 0
|
reader.read<uint32>(0); // 0
|
||||||
reader.read<uint32>(0); // 0x00010100
|
|
||||||
reader.read<uint32>(0); // 0x01000000
|
reader.read<byte>(0); // 1
|
||||||
reader.read<uint32>(0); // 0
|
reader.read_string(); // ""
|
||||||
reader.read<uint32>(0); // 0x00010000
|
reader.read_string(); // ""
|
||||||
reader.skip(3); // ???
|
|
||||||
|
reader.read<uint16>(0); //0
|
||||||
|
reader.read_string();
|
||||||
|
|
||||||
// ep1
|
// ep1
|
||||||
std::string ep01 = reader.read_string(); // Episode1
|
std::string ep01 = reader.read_string(); // Episode1
|
||||||
@ -344,7 +346,6 @@ static void ParseOLST(BinaryReader& reader, size_t end_of_section)
|
|||||||
|
|
||||||
//------
|
//------
|
||||||
|
|
||||||
|
|
||||||
// cut
|
// cut
|
||||||
std::string cut2 = reader.read_string(); // cut/story/ep2/ep2_main/ep2_mainintro_sequence.scene_baked
|
std::string cut2 = reader.read_string(); // cut/story/ep2/ep2_main/ep2_mainintro_sequence.scene_baked
|
||||||
reader.read_string(); // ""
|
reader.read_string(); // ""
|
||||||
@ -353,14 +354,16 @@ static void ParseOLST(BinaryReader& reader, size_t end_of_section)
|
|||||||
|
|
||||||
// level
|
// level
|
||||||
std::string level2 = reader.read_string(); // levels/hub/prelevels/episode_02/ep2_prelevel_01/ep2pl01_catchupcrawl.scene_baked
|
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); // 0
|
reader.read<uint32>(0); // 0
|
||||||
reader.read<uint32>(0); // 0x00010100
|
|
||||||
reader.read<uint32>(0); // 0x01000000
|
reader.read<byte>(0); // 1
|
||||||
reader.read<uint32>(0); // 0
|
reader.read_string(); // ""
|
||||||
reader.read<uint32>(0); // 0x00010000
|
reader.read_string(); // ""
|
||||||
reader.skip(3); // ???
|
|
||||||
|
reader.read<uint16>(0); //0
|
||||||
|
reader.read_string();
|
||||||
|
|
||||||
// ep
|
// ep
|
||||||
std::string ep2 = reader.read_string(); // Episode2
|
std::string ep2 = reader.read_string(); // Episode2
|
||||||
@ -376,14 +379,18 @@ static void ParseOLST(BinaryReader& reader, size_t end_of_section)
|
|||||||
|
|
||||||
// level
|
// level
|
||||||
std::string level3 = reader.read_string(); // levels/hub/prelevels/episode_03/ep3_prelevel_01/ep3pl01_catchupcrawl.scene_baked
|
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); // 0
|
reader.read<uint32>(0); // 0
|
||||||
reader.read<uint32>(0); // 0x00010100
|
|
||||||
reader.read<uint32>(0); // 0x01000000
|
reader.read<byte>(0); // 1
|
||||||
reader.read<uint32>(0); // 0
|
reader.read_string(); // ""
|
||||||
reader.read<uint32>(0); // 0x00010000
|
reader.read_string(); // ""
|
||||||
reader.skip(3); // ???
|
|
||||||
|
reader.read<uint16>(0); //0
|
||||||
|
reader.read_string();
|
||||||
|
|
||||||
|
|
||||||
// ep
|
// ep
|
||||||
std::string ep3 = reader.read_string(); // Episode3
|
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 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 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 hub2 = reader.read_string(); // Levels/Hub/Planets/Tatooine/Locations/Settlements/Tatooine_desertArea/tatooine_desertarea.scene_baked
|
||||||
std::string arrive2 = reader.read_string(); // ArrivalPointFrom4_1
|
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
|
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_string(); // ""
|
||||||
reader.read<byte>(0); // false
|
|
||||||
|
|
||||||
// two names?
|
// two names?
|
||||||
reader.read<uint32>(0); // 2
|
reader.read<uint32>(0); // 2
|
||||||
|
Reference in New Issue
Block a user