Compare commits
6 commits
04beebbc1c
...
0c8c2601ce
Author | SHA1 | Date | |
---|---|---|---|
0c8c2601ce | |||
147c38669f | |||
1871440a7b | |||
133c34f5f7 | |||
47890f6939 | |||
354c3ff3d9 |
6 changed files with 58 additions and 46 deletions
|
@ -18,7 +18,7 @@ set(CMAKE_CXX_STANDARD 14)
|
|||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
set(SAVETOOL_PROJECT_VERSION 1.3.0-pre)
|
||||
set(SAVETOOL_PROJECT_VERSION 1.3.0)
|
||||
|
||||
find_package(Corrade REQUIRED Main Containers Utility Interconnect)
|
||||
find_package(Magnum REQUIRED GL Sdl2Application)
|
||||
|
@ -167,7 +167,7 @@ if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
|||
endif()
|
||||
add_compile_definitions(SAVETOOL_VERSION="${SAVETOOL_PROJECT_VERSION}"
|
||||
SAVETOOL_CODENAME="Dickish Cyclops"
|
||||
SUPPORTED_GAME_VERSION="0.7.6")
|
||||
SUPPORTED_GAME_VERSION="0.8.6")
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
set_target_properties(MassBuilderSaveTool PROPERTIES OUTPUT_NAME MassBuilderSaveTool-${SAVETOOL_PROJECT_VERSION})
|
||||
|
|
|
@ -52,4 +52,7 @@ static const std::map<Int, ArmourSet> armour_sets {
|
|||
{22, {"Panzer S-UC"_s, true}},
|
||||
{23, {"Panzer L-UC"_s, false}},
|
||||
{24, {"Panzer H-UC"_s, false}},
|
||||
{25, {"Axial Core R-Type"_s, true}},
|
||||
{26, {"Axial Core S-Type"_s, false}},
|
||||
{27, {"Axial Core X-Type"_s, false}},
|
||||
};
|
||||
|
|
|
@ -42,12 +42,14 @@ static const std::map<Int, Containers::StringView> mission_id_map {{
|
|||
{0x006F, "Mission 12 - Clashes of Metal"_s},
|
||||
{0x0070, "Mission 13 - The Sandstorm Glutton"_s},
|
||||
{0x0071, "Mission 14 - An Icy Investigation"_s},
|
||||
{0x0072, "Mission 15 - Outposts Line of Defense"_s},
|
||||
|
||||
// Hunting grounds
|
||||
{0x00C8, "Hunt 1 - Desert Pathway Safety"_s},
|
||||
{0x00C9, "Hunt 2 - Snowfield Custodian"_s},
|
||||
{0x00CA, "Hunt 3 - Abandoned Valley Raid"_s},
|
||||
{0x00CB, "Hunt 4 - Depths of the Machineries"_s},
|
||||
{0x00CC, "Hunt 5 - Crater Crashers"_s},
|
||||
|
||||
// Challenges
|
||||
{0x012C, "Challenge 1 - Redline Battlefront"_s},
|
||||
|
|
|
@ -91,11 +91,17 @@ static const Corrade::Containers::Array<StoryProgressPoint> story_progress
|
|||
{0x0514, "Chapter 2"_s, "Talking with Reina and Waltz in hangar"_s, "After mission 12"_s},
|
||||
{0x0515, "Chapter 2"_s, "Returned to hangar"_s, "After mission 12"_s},
|
||||
{0x0516, "Chapter 2"_s, "Got hunt 4 and mission 13 briefing"_s, "After mission 12"_s},
|
||||
{0x0578, "Chapter 2"_s, "Talking with Reina in hangar"_s, "After mission 13"_s},
|
||||
{0x0579, "Chapter 2"_s, "Returned to hangar"_s, "After mission 13"_s},
|
||||
{0x057A, "Chapter 2"_s, "Talked with Reina in development section"_s, "After mission 13"_s},
|
||||
{0x057B, "Chapter 2"_s, "Got briefing for challenges 1, 2, and 3"_s, "After mission 13"_s},
|
||||
{0x057C, "Chapter 2"_s, "Talked with Reina about device"_s, "After mission 13"_s},
|
||||
{0x057D, "Chapter 2"_s, "Got mission 14 briefing"_s, "After mission 13"_s},
|
||||
|
||||
{0x0578, "Chapter 3"_s, "Chapter start, talking with Reina"_s, "After mission 13"_s},
|
||||
{0x0579, "Chapter 3"_s, "Returned to hangar"_s, "After mission 13"_s},
|
||||
{0x057A, "Chapter 3"_s, "Talked with Reina in development section"_s, "After mission 13"_s},
|
||||
{0x057B, "Chapter 3"_s, "Got briefing for challenges 1, 2, and 3"_s, "After mission 13"_s},
|
||||
{0x057C, "Chapter 3"_s, "Talked with Reina about device"_s, "After mission 13"_s},
|
||||
{0x057D, "Chapter 3"_s, "Got mission 14 briefing"_s, "After mission 13"_s},
|
||||
{0x05DC, "Chapter 3"_s, "Talking with Reina and Nier"_s, "After mission 14"_s},
|
||||
{0x05DD, "Chapter 3"_s, "Returned to hangar"_s, "After mission 14"_s},
|
||||
{0x05DE, "Chapter 3"_s, "Got briefing for mission 15 and hunt 5"_s, "After mission 14"_s},
|
||||
{0x0640, "Chapter 3"_s, "Talking with Nier and Kazu, and Reina"_s, "After mission 15"_s},
|
||||
{0x0641, "Chapter 3"_s, "Returned to hangar"_s, "After mission 15"_s},
|
||||
}
|
||||
};
|
||||
|
|
|
@ -138,10 +138,12 @@ void SaveTool::drawMassViewer() {
|
|||
ImGui::EndTabItem();
|
||||
}
|
||||
|
||||
#ifdef SAVETOOL_DEBUG_BUILD
|
||||
if(ImGui::BeginTabItem("Tuning (WIP)")) {
|
||||
drawTuning();
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
#endif
|
||||
|
||||
ImGui::EndTabBar();
|
||||
}
|
||||
|
|
|
@ -128,13 +128,12 @@ auto UESaveFile::saveToFile() -> bool {
|
|||
return false;
|
||||
}
|
||||
|
||||
if(!Utility::Path::remove(_filepath)) {
|
||||
if(!Utility::Path::copy(_filepath + ".tmp"_s, _filepath)) {
|
||||
Utility::Path::copy(_filepath + ".bak"_s, _filepath);
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!Utility::Path::move(_filepath + ".tmp"_s, _filepath)) {
|
||||
Utility::Path::move(_filepath + ".bak"_s, _filepath);
|
||||
return false;
|
||||
else {
|
||||
Utility::Path::remove(_filepath + ".tmp"_s);
|
||||
}
|
||||
|
||||
_noReloadAfterSave = true;
|
||||
|
|
Loading…
Reference in a new issue