From 0fbad869545620e8979c61a3ecdb8d5593d229ad Mon Sep 17 00:00:00 2001 From: Tee Yuan Date: Tue, 13 Feb 2024 16:45:53 +0800 Subject: [PATCH 1/6] Update gitignore --- .gitignore | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c0a5bb7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +################################################################################ +# 此 .gitignore 文件已由 Microsoft(R) Visual Studio 自动创建。 +################################################################################ + +/Source Code/.vs/SAOFB-Launcher/v17 +/Source Code/.vs/SAOFB-Launcher/FileContentIndex +/Source Code/x64/Debug/SAOFB-Launcher.tlog From 3a5a19ab7165f3460240850948be32de43f6984a Mon Sep 17 00:00:00 2001 From: Tee Yuan Date: Tue, 13 Feb 2024 16:47:04 +0800 Subject: [PATCH 2/6] Upgrade PlatformToolSet to v143. --- Source Code/SAOFB-Launcher.vcxproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source Code/SAOFB-Launcher.vcxproj b/Source Code/SAOFB-Launcher.vcxproj index 188bf58..5fcf6f4 100644 --- a/Source Code/SAOFB-Launcher.vcxproj +++ b/Source Code/SAOFB-Launcher.vcxproj @@ -29,26 +29,26 @@ Application true - v142 + v143 Unicode Application false - v142 + v143 true Unicode Application true - v142 + v143 Unicode Application false - v142 + v143 true Unicode From 41d87cace4286725ad347372c8245c1003bdf2e7 Mon Sep 17 00:00:00 2001 From: Tee Yuan Date: Tue, 13 Feb 2024 17:07:59 +0800 Subject: [PATCH 3/6] Update gitignore. --- .gitignore | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index c0a5bb7..1b8da77 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,4 @@ -################################################################################ -# 此 .gitignore 文件已由 Microsoft(R) Visual Studio 自动创建。 -################################################################################ - -/Source Code/.vs/SAOFB-Launcher/v17 -/Source Code/.vs/SAOFB-Launcher/FileContentIndex -/Source Code/x64/Debug/SAOFB-Launcher.tlog +*.exe +x64/ +x86/ +.vs/ \ No newline at end of file From 91b2b742b7b660624713c4401c5748d0d27de345 Mon Sep 17 00:00:00 2001 From: Tee Yuan Date: Tue, 13 Feb 2024 17:12:43 +0800 Subject: [PATCH 4/6] Change the startup directory to relative directory. --- Source Code/RunSAOFB.h | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/Source Code/RunSAOFB.h b/Source Code/RunSAOFB.h index 3a1f1ab..31ccdf8 100644 --- a/Source Code/RunSAOFB.h +++ b/Source Code/RunSAOFB.h @@ -1,6 +1,7 @@ #pragma once #include #include + VOID startup(LPWSTR lpApplicationName) { // additional information @@ -12,23 +13,24 @@ VOID startup(LPWSTR lpApplicationName) ZeroMemory(&pi, sizeof(pi)); // start the program up - CreateProcessW(lpApplicationName, // the path - 0, // Command line - NULL, // Process handle not inheritable - NULL, // Thread handle not inheritable - FALSE, // Set handle inheritance to FALSE - 0, // No creation flags - NULL, // Use parent's environment block - NULL, // Use parent's starting directory - &si, // Pointer to STARTUPINFO structure - &pi // Pointer to PROCESS_INFORMATION structure (removed extra parentheses) + CreateProcessW(lpApplicationName, // the path + 0, // Command line + NULL, // Process handle not inheritable + NULL, // Thread handle not inheritable + FALSE, // Set handle inheritance to FALSE + 0, // No creation flags + NULL, // Use parent's environment block + NULL, // Use parent's starting directory + &si, // Pointer to STARTUPINFO structure + &pi // Pointer to PROCESS_INFORMATION structure (removed extra parentheses) ); - // Close process and thread handles. + // Close process and thread handles. CloseHandle(pi.hProcess); CloseHandle(pi.hThread); } -bool RunSAOFB() + +bool RunSAOFB() { - startup((LPWSTR)L"R:\\Games\\Sword Art Online Fatal Bullet Dissonance of the Nexus\\SAOFB\\Binaries\\Win64\\SAOFB-Win64-Shipping.exe"); //Sword Art Online Fatal Bullet Auto Launcher + startup((LPWSTR)L".\\SAOFB\\Binaries\\Win64\\SAOFB-Win64-Shipping.exe"); // Sword Art Online Fatal Bullet Auto Launcher return GetLastError(); } From 6f6c407317d01056ac13d478ecaea8fd64684d7e Mon Sep 17 00:00:00 2001 From: Tee Yuan Date: Tue, 13 Feb 2024 17:13:39 +0800 Subject: [PATCH 5/6] Edited README file. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3ac8a41..e133905 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # SAOFB-Launcher + Launcher for Sword Art Online Fatal Bullet(Pirated Version) +Easy to use mods, just compile and put it in your game root directory. From 649e0ea214f418108e7bfe9abb337cf91e943d77 Mon Sep 17 00:00:00 2001 From: YBKF <31159963+YBKF@users.noreply.github.com> Date: Thu, 15 Feb 2024 19:42:14 +0800 Subject: [PATCH 6/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e133905..939db5e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # SAOFB-Launcher Launcher for Sword Art Online Fatal Bullet(Pirated Version) + Easy to use mods, just compile and put it in your game root directory.