Compare commits
4 commits
7531dc88ac
...
f7aa89325f
Author | SHA1 | Date | |
---|---|---|---|
f7aa89325f | |||
935d291a8b | |||
5ca1e660f4 | |||
ff1782ca9d |
4 changed files with 11 additions and 5 deletions
|
@ -4,7 +4,7 @@ A save file manager and editor for M.A.S.S. Builder. Based on [wxMASSManager](ht
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
Get the `MassBuilderSaveTool-<version>.zip` file from the [Releases](https://github.com/williamjcm/MassBuilderSaveTool/releases) page, and extract it somewhere. Then, launch `MassBuilderSaveTool.exe`.
|
Get the `MassBuilderSaveTool-<version>.zip` file from the [Releases](https://williamjcm.ovh/git/williamjcm/MassBuilderSaveTool/releases) page, and extract it somewhere. Then, launch `MassBuilderSaveTool.exe`.
|
||||||
|
|
||||||
## Building on MSYS2 - IGNORE IF YOU JUST WANT TO USE THE APP!
|
## Building on MSYS2 - IGNORE IF YOU JUST WANT TO USE THE APP!
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ set(CMAKE_CXX_STANDARD 14)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
|
set(SAVETOOL_PROJECT_VERSION 1.0.0)
|
||||||
|
|
||||||
find_package(Corrade REQUIRED Main Containers Utility Interconnect)
|
find_package(Corrade REQUIRED Main Containers Utility Interconnect)
|
||||||
find_package(Magnum REQUIRED GL Sdl2Application)
|
find_package(Magnum REQUIRED GL Sdl2Application)
|
||||||
find_package(MagnumIntegration REQUIRED ImGui)
|
find_package(MagnumIntegration REQUIRED ImGui)
|
||||||
|
@ -54,10 +56,14 @@ add_executable(MassBuilderSaveTool WIN32
|
||||||
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||||
add_compile_definitions(SAVETOOL_DEBUG_BUILD)
|
add_compile_definitions(SAVETOOL_DEBUG_BUILD)
|
||||||
endif()
|
endif()
|
||||||
add_compile_definitions(SAVETOOL_VERSION="1.0.0"
|
add_compile_definitions(SAVETOOL_VERSION="${SAVETOOL_PROJECT_VERSION}"
|
||||||
SAVETOOL_CODENAME="Agonising Quark"
|
SAVETOOL_CODENAME="Agonising Quark"
|
||||||
SUPPORTED_GAME_VERSION="0.7.6")
|
SUPPORTED_GAME_VERSION="0.7.6")
|
||||||
|
|
||||||
|
if(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||||
|
set_target_properties(MassBuilderSaveTool PROPERTIES OUTPUT_NAME MassBuilderSaveTool-${SAVETOOL_PROJECT_VERSION})
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_options(MassBuilderSaveTool PRIVATE -static -static-libgcc -static-libstdc++)
|
target_link_options(MassBuilderSaveTool PRIVATE -static -static-libgcc -static-libstdc++)
|
||||||
|
|
||||||
target_link_libraries(MassBuilderSaveTool PRIVATE
|
target_link_libraries(MassBuilderSaveTool PRIVATE
|
||||||
|
|
|
@ -58,8 +58,8 @@ void SaveTool::drawAbout() {
|
||||||
"is a rewrite of the wxWidgets-powered M.A.S.S. Builder Save Tool (formerly known as wxMASSManager).");
|
"is a rewrite of the wxWidgets-powered M.A.S.S. Builder Save Tool (formerly known as wxMASSManager).");
|
||||||
|
|
||||||
ImGui::AlignTextToFramePadding();
|
ImGui::AlignTextToFramePadding();
|
||||||
const char* repo = "https://github.com/williamjcm/MassBuilderSaveTool";
|
const char* repo = "https://williamjcm.ovh/git/williamjcm/MassBuilderSaveTool";
|
||||||
ImGui::Text(ICON_FA_GITHUB " %s", repo);
|
ImGui::Text(ICON_FA_GIT_ALT " %s", repo);
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if(ImGui::Button("Copy to clipboard")) {
|
if(ImGui::Button("Copy to clipboard")) {
|
||||||
ImGui::SetClipboardText(repo);
|
ImGui::SetClipboardText(repo);
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
#ifndef SAVETOOL_DEBUG_BUILD
|
#ifndef SAVETOOL_DEBUG_BUILD
|
||||||
std::ofstream output{"out.txt", std::ios::trunc|std::ios::out};
|
std::ofstream output{"SaveToolLog.txt", std::ios::trunc|std::ios::out};
|
||||||
|
|
||||||
Utility::Debug d{&output};
|
Utility::Debug d{&output};
|
||||||
Utility::Warning w{&output};
|
Utility::Warning w{&output};
|
||||||
|
|
Loading…
Reference in a new issue