-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7f1f421
Showing
17 changed files
with
26,057 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
out/ | ||
.vs/ | ||
CMakeSettings.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "extern/spdlog"] | ||
path = extern/spdlog | ||
url = https://github.com/gabime/spdlog | ||
[submodule "extern/minhook"] | ||
path = extern/minhook | ||
url = https://github.com/TsudaKageyu/minhook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
cmake_minimum_required (VERSION 3.8) | ||
|
||
project(MHS2Loader VERSION "0.0.1") | ||
|
||
set(CMAKE_CXX_STANDARD 20) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
|
||
add_subdirectory(extern) | ||
|
||
add_library(dinput8 SHARED | ||
"src/dinput_proxy/dinput8_proxy.cpp" | ||
) | ||
|
||
add_library(LoaderCore SHARED | ||
"src/loader/entry.cpp" | ||
"src/loader/SigScan.cpp" | ||
"src/loader/SigScan.hpp" | ||
"src/loader/Log.hpp" | ||
"src/loader/Log.cpp" | ||
"src/loader/PluginManager.cpp" | ||
"src/loader/PluginManager.hpp" | ||
) | ||
target_include_directories (LoaderCore PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src) | ||
target_include_directories (LoaderCore PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/extern) | ||
target_link_libraries(LoaderCore PUBLIC spdlog::spdlog) | ||
target_link_libraries(LoaderCore PUBLIC minhook) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 Andrew Gutekanst | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# MHS2 Loader | ||
|
||
A .dll plugin/mod loader for Monster Hunter Stories 2. This is an early alpha version and will be subject to non-compatible changes in the future. | ||
|
||
Disables various anti-tamper checks in the game in order to load mods / aid it mod development: | ||
* Anti-Debug | ||
* CRC of the `.text` section in memory | ||
* DLL validity checks (for proxy dlls) | ||
* ... more ... | ||
|
||
## Installation | ||
1. Download the latest release for your game version. | ||
2. Copy `dinput8.dll` and `LoaderCore.dll` to your game folder (next to `game.exe`) | ||
3. Place .dll mods into the `mods` folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
add_subdirectory(spdlog) | ||
add_subdirectory(minhook) |
Oops, something went wrong.