Skip to content

Commit 3cdb1af

Browse files
committed
added monoloader demo plugin
1 parent 671a23e commit 3cdb1af

26 files changed

+3807
-1
lines changed

premake5.lua

+52-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,32 @@ project "OverloadFromFolderDLL"
112112
defines { "NDEBUG" }
113113
optimize "On"
114114
staticruntime "On"
115-
115+
116+
project "MonoLoader"
117+
kind "SharedLib"
118+
language "C++"
119+
targetdir "bin/Win32/%{cfg.buildcfg}/scripts"
120+
targetextension ".asi"
121+
122+
files { "source/demo_plugins/MonoLoader.cpp" }
123+
files { "source/resources/Versioninfo.rc" }
124+
125+
includedirs { "source/demo_plugins/minhook/include" }
126+
includedirs { "source/demo_plugins/minhook/src" }
127+
128+
files { "source/demo_plugins/minhook/include/**" }
129+
files { "source/demo_plugins/minhook/src/**" }
130+
131+
characterset ("UNICODE")
132+
133+
filter "configurations:Debug"
134+
defines { "DEBUG" }
135+
symbols "On"
136+
137+
filter "configurations:Release"
138+
defines { "NDEBUG" }
139+
optimize "On"
140+
staticruntime "On"
116141

117142
-- x64
118143
workspace "Ultimate-ASI-Loader-x64"
@@ -206,6 +231,32 @@ project "OverloadFromFolderDLL_x64"
206231

207232
characterset ("UNICODE")
208233

234+
filter "configurations:Debug"
235+
defines { "DEBUG" }
236+
symbols "On"
237+
238+
filter "configurations:Release"
239+
defines { "NDEBUG" }
240+
optimize "On"
241+
staticruntime "On"
242+
243+
project "MonoLoader_x64"
244+
kind "SharedLib"
245+
language "C++"
246+
targetdir "bin/x64/%{cfg.buildcfg}/scripts"
247+
targetextension ".asi"
248+
249+
files { "source/demo_plugins/MonoLoader.cpp" }
250+
files { "source/resources/Versioninfo.rc" }
251+
252+
includedirs { "source/demo_plugins/minhook/include" }
253+
includedirs { "source/demo_plugins/minhook/src" }
254+
255+
files { "source/demo_plugins/minhook/include/**" }
256+
files { "source/demo_plugins/minhook/src/**" }
257+
258+
characterset ("UNICODE")
259+
209260
filter "configurations:Debug"
210261
defines { "DEBUG" }
211262
symbols "On"

release.bat

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ type nul >"bin\place both files in RESIDENT EVIL 7 biohazard Demo folder"
88
7za a -tzip ".\bin\MessageBox-x64.zip" ".\bin\x64\Release\scripts\MessageBox_x64.asi"
99
7za a -tzip ".\bin\OverloadFromFolderDLL-x64.zip" ".\bin\x64\Release\scripts\OverloadFromFolderDLL_x64.asi"
1010
7za a -tzip ".\bin\OverloadFromFolderDLL-Win32.zip" ".\bin\Win32\Release\scripts\OverloadFromFolderDLL.asi"
11+
7za a -tzip ".\bin\MonoLoader-Win32.zip" ".\bin\Win32\Release\scripts\MonoLoader.asi" ".\source\demo_plugins\plugins\"
12+
7za a -tzip ".\bin\MonoLoader-x64.zip" ".\bin\x64\Release\scripts\MonoLoader_x64.asi" ".\source\demo_plugins\plugins\"
1113
EXIT
1214

1315
7-Zip Extra

0 commit comments

Comments
 (0)