Skip to content

Commit

Permalink
added monoloader demo plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Oct 25, 2023
1 parent 671a23e commit 3cdb1af
Show file tree
Hide file tree
Showing 26 changed files with 3,807 additions and 1 deletion.
53 changes: 52 additions & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,32 @@ project "OverloadFromFolderDLL"
defines { "NDEBUG" }
optimize "On"
staticruntime "On"


project "MonoLoader"
kind "SharedLib"
language "C++"
targetdir "bin/Win32/%{cfg.buildcfg}/scripts"
targetextension ".asi"

files { "source/demo_plugins/MonoLoader.cpp" }
files { "source/resources/Versioninfo.rc" }

includedirs { "source/demo_plugins/minhook/include" }
includedirs { "source/demo_plugins/minhook/src" }

files { "source/demo_plugins/minhook/include/**" }
files { "source/demo_plugins/minhook/src/**" }

characterset ("UNICODE")

filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"

filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
staticruntime "On"

-- x64
workspace "Ultimate-ASI-Loader-x64"
Expand Down Expand Up @@ -206,6 +231,32 @@ project "OverloadFromFolderDLL_x64"

characterset ("UNICODE")

filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"

filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
staticruntime "On"

project "MonoLoader_x64"
kind "SharedLib"
language "C++"
targetdir "bin/x64/%{cfg.buildcfg}/scripts"
targetextension ".asi"

files { "source/demo_plugins/MonoLoader.cpp" }
files { "source/resources/Versioninfo.rc" }

includedirs { "source/demo_plugins/minhook/include" }
includedirs { "source/demo_plugins/minhook/src" }

files { "source/demo_plugins/minhook/include/**" }
files { "source/demo_plugins/minhook/src/**" }

characterset ("UNICODE")

filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
Expand Down
2 changes: 2 additions & 0 deletions release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ type nul >"bin\place both files in RESIDENT EVIL 7 biohazard Demo folder"
7za a -tzip ".\bin\MessageBox-x64.zip" ".\bin\x64\Release\scripts\MessageBox_x64.asi"
7za a -tzip ".\bin\OverloadFromFolderDLL-x64.zip" ".\bin\x64\Release\scripts\OverloadFromFolderDLL_x64.asi"
7za a -tzip ".\bin\OverloadFromFolderDLL-Win32.zip" ".\bin\Win32\Release\scripts\OverloadFromFolderDLL.asi"
7za a -tzip ".\bin\MonoLoader-Win32.zip" ".\bin\Win32\Release\scripts\MonoLoader.asi" ".\source\demo_plugins\plugins\"
7za a -tzip ".\bin\MonoLoader-x64.zip" ".\bin\x64\Release\scripts\MonoLoader_x64.asi" ".\source\demo_plugins\plugins\"
EXIT

7-Zip Extra
Expand Down
Loading

0 comments on commit 3cdb1af

Please sign in to comment.