Skip to content

Commit

Permalink
rewrite SporeModManager in C++
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Jul 15, 2022
1 parent afcdb11 commit 279beb9
Show file tree
Hide file tree
Showing 33 changed files with 1,982 additions and 1,175 deletions.
19 changes: 19 additions & 0 deletions 3rdParty/BuildMinizipNG.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@echo off
set CUR_DIR=%~dp0

set MINIZIPNG_DIR=%CUR_DIR%\minizip-ng

rmdir /S /Q "%MINIZIPNG_DIR%\build"
mkdir "%MINIZIPNG_DIR%\build"

set PATH=%PATH%;C:\Program Files\CMake\bin

cmake -S "%MINIZIPNG_DIR%" -B "%MINIZIPNG_DIR%\build" -A Win32 ^
-DMZ_LZMA=OFF -DMZ_ZSTD=OFF ^
-DMZ_BZIP2=OFF -DMZ_PKCRYPT=OFF ^
-DMZ_WZAES=OFF -DMZ_SIGNING=OFF ^
-DCMAKE_POLICY_DEFAULT_CMP0091=NEW ^
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded ^
-DCMAKE_BUILD_TYPE=Release

cmake --build "%MINIZIPNG_DIR%\build" --config Release
10 changes: 10 additions & 0 deletions 3rdParty/BuildSporeModAPI.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off

set CUR_DIR=%~dp0

msbuild "%CUR_DIR%\Spore-ModAPI\Spore ModAPI" ^
/t:BuildDlls ^
/p:BuildVer=83 ^
/p:Config=Release ^
/p:Platform=Win32 ^
/m
22 changes: 12 additions & 10 deletions BuildRelease.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
@echo off

set CUR_DIR="%~dp0"
set OBJ_DIR="%CUR_DIR%\obj"
set BIN_DIR="%CUR_DIR%\bin"
set CUR_DIR=%~dp0
set OBJ_DIR=%CUR_DIR%\obj
set BIN_DIR=%CUR_DIR%\bin
set THIRDPARTY_DIR=%CUR_DIR%\3rdParty

rmdir /S /Q "%OBJ_DIR%" "%BIN_DIR%"

Expand All @@ -17,20 +18,21 @@ mkdir "%OBJ_DIR%\SporeModLoader\CoreLibs\march2017"
mkdir "%OBJ_DIR%\SporeModLoader\ModLibs"
mkdir "%OBJ_DIR%\SporeModLoader\SporeModManager"

msbuild "Spore-ModAPI\Spore ModAPI" ^
/t:BuildDlls ^
/p:BuildVer=83 ^
/p:Config=Release ^
CALL "%THIRDPARTY_DIR%\BuildMinizipNG.bat"
CALL "%THIRDPARTY_DIR%\BuildSporeModAPI.bat"

msbuild SporeModLoader ^
/p:Configuration=Release ^
/p:Platform=Win32 ^
/m

msbuild SporeModLoader ^
msbuild SporeModManager ^
/p:Configuration=Release ^
/p:Platform=Win32 ^
/m

copy Spore-ModAPI\dll\Release\SporeModAPI.disk.dll "%OBJ_DIR%\SporeModLoader\CoreLibs\disk\SporeModAPI.dll"
copy Spore-ModAPI\dll\Release\SporeModAPI.march2017.dll "%OBJ_DIR%\SporeModLoader\CoreLibs\march2017\SporeModAPI.dll"
copy "%THIRDPARTY_DIR%\Spore-ModAPI\dll\Release\SporeModAPI.disk.dll" "%OBJ_DIR%\SporeModLoader\CoreLibs\disk\SporeModAPI.dll"
copy "%THIRDPARTY_DIR%\Spore-ModAPI\dll\Release\SporeModAPI.march2017.dll" "%OBJ_DIR%\SporeModLoader\CoreLibs\march2017\SporeModAPI.dll"
copy SporeModLoader\Bin\Release\dinput8.dll "%OBJ_DIR%\SporebinEP1\dinput8.dll"
copy SporeModManager\Bin\Release\SporeModManager.exe "%OBJ_DIR%\SporeModLoader\SporeModManager"

Expand Down
138 changes: 6 additions & 132 deletions SporeModLoader.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,154 +8,28 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SporeModLoader", "SporeModL
{37489709-8054-4903-9C49-A79846049FC9} = {37489709-8054-4903-9C49-A79846049FC9}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Detours", "Detours\vc\Detours.vcxproj", "{37489709-8054-4903-9C49-A79846049FC9}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Detours", "3rdParty\Detours\vc\Detours.vcxproj", "{37489709-8054-4903-9C49-A79846049FC9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SporeModManager", "SporeModManager\SporeModManager.csproj", "{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SporeModManager", "SporeModManager\SporeModManager.vcxproj", "{7D7E065A-3A61-434F-98CB-363031BE4481}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
DebugMDd|Any CPU = DebugMDd|Any CPU
DebugMDd|ARM = DebugMDd|ARM
DebugMDd|ARM64 = DebugMDd|ARM64
DebugMDd|x64 = DebugMDd|x64
DebugMDd|x86 = DebugMDd|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
ReleaseMD|Any CPU = ReleaseMD|Any CPU
ReleaseMD|ARM = ReleaseMD|ARM
ReleaseMD|ARM64 = ReleaseMD|ARM64
ReleaseMD|x64 = ReleaseMD|x64
ReleaseMD|x86 = ReleaseMD|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Debug|Any CPU.ActiveCfg = Debug|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Debug|Any CPU.Build.0 = Debug|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Debug|ARM.ActiveCfg = Debug|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Debug|ARM.Build.0 = Debug|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Debug|ARM64.ActiveCfg = Debug|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Debug|ARM64.Build.0 = Debug|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Debug|x64.ActiveCfg = Debug|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Debug|x64.Build.0 = Debug|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Debug|x86.ActiveCfg = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Debug|x86.Build.0 = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.DebugMDd|Any CPU.ActiveCfg = Release|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.DebugMDd|Any CPU.Build.0 = Release|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.DebugMDd|ARM.ActiveCfg = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.DebugMDd|ARM.Build.0 = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.DebugMDd|ARM64.ActiveCfg = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.DebugMDd|ARM64.Build.0 = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.DebugMDd|x64.ActiveCfg = Debug|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.DebugMDd|x64.Build.0 = Debug|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.DebugMDd|x86.ActiveCfg = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.DebugMDd|x86.Build.0 = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Release|Any CPU.ActiveCfg = Release|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Release|Any CPU.Build.0 = Release|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Release|ARM.ActiveCfg = Release|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Release|ARM.Build.0 = Release|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Release|ARM64.ActiveCfg = Release|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Release|ARM64.Build.0 = Release|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Release|x64.ActiveCfg = Release|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Release|x64.Build.0 = Release|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Release|x86.ActiveCfg = Release|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.Release|x86.Build.0 = Release|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.ReleaseMD|Any CPU.ActiveCfg = Release|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.ReleaseMD|Any CPU.Build.0 = Release|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.ReleaseMD|ARM.ActiveCfg = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.ReleaseMD|ARM.Build.0 = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.ReleaseMD|ARM64.ActiveCfg = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.ReleaseMD|ARM64.Build.0 = Debug|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.ReleaseMD|x64.ActiveCfg = Release|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.ReleaseMD|x64.Build.0 = Release|x64
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.ReleaseMD|x86.ActiveCfg = Release|Win32
{AD9120DA-E42B-4563-A307-B5A155CC25C0}.ReleaseMD|x86.Build.0 = Release|Win32
{37489709-8054-4903-9C49-A79846049FC9}.Debug|Any CPU.ActiveCfg = ReleaseMD|Win32
{37489709-8054-4903-9C49-A79846049FC9}.Debug|Any CPU.Build.0 = ReleaseMD|Win32
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM.ActiveCfg = DebugMDd|ARM
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM.Build.0 = DebugMDd|ARM
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM64.ActiveCfg = DebugMDd|ARM64
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM64.Build.0 = DebugMDd|ARM64
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x64.ActiveCfg = DebugMDd|x64
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x64.Build.0 = DebugMDd|x64
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x86.ActiveCfg = DebugMDd|Win32
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x86.Build.0 = DebugMDd|Win32
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|Any CPU.ActiveCfg = DebugMDd|x64
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|Any CPU.Build.0 = DebugMDd|x64
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM.ActiveCfg = DebugMDd|ARM
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM.Build.0 = DebugMDd|ARM
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM64.ActiveCfg = DebugMDd|ARM64
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM64.Build.0 = DebugMDd|ARM64
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x64.ActiveCfg = DebugMDd|x64
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x64.Build.0 = DebugMDd|x64
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x86.ActiveCfg = DebugMDd|Win32
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x86.Build.0 = DebugMDd|Win32
{37489709-8054-4903-9C49-A79846049FC9}.Release|Any CPU.ActiveCfg = ReleaseMD|Win32
{37489709-8054-4903-9C49-A79846049FC9}.Release|Any CPU.Build.0 = ReleaseMD|Win32
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM.ActiveCfg = ReleaseMD|ARM
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM.Build.0 = ReleaseMD|ARM
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM64.ActiveCfg = ReleaseMD|ARM64
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM64.Build.0 = ReleaseMD|ARM64
{37489709-8054-4903-9C49-A79846049FC9}.Release|x64.ActiveCfg = ReleaseMD|x64
{37489709-8054-4903-9C49-A79846049FC9}.Release|x64.Build.0 = ReleaseMD|x64
{37489709-8054-4903-9C49-A79846049FC9}.Release|x86.ActiveCfg = ReleaseMD|Win32
{37489709-8054-4903-9C49-A79846049FC9}.Release|x86.Build.0 = ReleaseMD|Win32
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|Any CPU.ActiveCfg = ReleaseMD|x64
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|Any CPU.Build.0 = ReleaseMD|x64
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM.ActiveCfg = ReleaseMD|ARM
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM.Build.0 = ReleaseMD|ARM
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM64.ActiveCfg = ReleaseMD|ARM64
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM64.Build.0 = ReleaseMD|ARM64
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x64.ActiveCfg = ReleaseMD|x64
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x64.Build.0 = ReleaseMD|x64
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x86.ActiveCfg = ReleaseMD|Win32
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x86.Build.0 = ReleaseMD|Win32
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Debug|ARM.ActiveCfg = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Debug|ARM.Build.0 = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Debug|ARM64.Build.0 = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Debug|x64.ActiveCfg = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Debug|x64.Build.0 = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Debug|x86.ActiveCfg = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Debug|x86.Build.0 = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.DebugMDd|Any CPU.ActiveCfg = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.DebugMDd|Any CPU.Build.0 = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.DebugMDd|ARM.ActiveCfg = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.DebugMDd|ARM.Build.0 = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.DebugMDd|ARM64.ActiveCfg = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.DebugMDd|ARM64.Build.0 = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.DebugMDd|x64.ActiveCfg = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.DebugMDd|x64.Build.0 = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.DebugMDd|x86.ActiveCfg = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.DebugMDd|x86.Build.0 = Debug|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Release|Any CPU.Build.0 = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Release|ARM.ActiveCfg = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Release|ARM.Build.0 = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Release|ARM64.ActiveCfg = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Release|ARM64.Build.0 = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Release|x64.ActiveCfg = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Release|x64.Build.0 = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Release|x86.ActiveCfg = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.Release|x86.Build.0 = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.ReleaseMD|Any CPU.ActiveCfg = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.ReleaseMD|Any CPU.Build.0 = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.ReleaseMD|ARM.ActiveCfg = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.ReleaseMD|ARM.Build.0 = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.ReleaseMD|ARM64.ActiveCfg = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.ReleaseMD|ARM64.Build.0 = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.ReleaseMD|x64.ActiveCfg = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.ReleaseMD|x64.Build.0 = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.ReleaseMD|x86.ActiveCfg = Release|Any CPU
{79DE9382-1D2D-4D7C-B1C3-4AAA0B8FD3FC}.ReleaseMD|x86.Build.0 = Release|Any CPU
{7D7E065A-3A61-434F-98CB-363031BE4481}.Debug|x86.ActiveCfg = Debug|Win32
{7D7E065A-3A61-434F-98CB-363031BE4481}.Debug|x86.Build.0 = Debug|Win32
{7D7E065A-3A61-434F-98CB-363031BE4481}.Release|x86.ActiveCfg = Release|Win32
{7D7E065A-3A61-434F-98CB-363031BE4481}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
26 changes: 22 additions & 4 deletions SporeModLoader/SporeModLoader.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,16 @@
<TargetName>dinput8</TargetName>
<OutDir>Bin\$(Configuration)\</OutDir>
<IntDir>Obj\$(Configuration)\</IntDir>
<LibraryPath>$(MSBuildProjectDirectory)\..\Detours\lib.X86;$(LibraryPath)</LibraryPath>
<IncludePath>$(MSBuildProjectDirectory)\..\Detours\include;$(IncludePath)</IncludePath>
<LibraryPath>$(MSBuildProjectDirectory)\..\3rdParty\Detours\lib.X86;$(LibraryPath)</LibraryPath>
<IncludePath>$(MSBuildProjectDirectory)\..\3rdParty\Detours\include;$(IncludePath)</IncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<TargetName>dinput8</TargetName>
<OutDir>Bin\$(Configuration)\</OutDir>
<IntDir>Obj\$(Configuration)\</IntDir>
<LibraryPath>$(MSBuildProjectDirectory)\..\Detours\lib.X86;$(LibraryPath)</LibraryPath>
<IncludePath>$(MSBuildProjectDirectory)\..\Detours\include;$(IncludePath)</IncludePath>
<LibraryPath>$(MSBuildProjectDirectory)\..\3rdParty\Detours\lib.X86;$(LibraryPath)</LibraryPath>
<IncludePath>$(MSBuildProjectDirectory)\..\3rdParty\Detours\include;$(IncludePath)</IncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
Expand All @@ -107,6 +107,15 @@
<ModuleDefinitionFile>dllmain.def</ModuleDefinitionFile>
<AdditionalDependencies>detours.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PreBuildEvent>
<Command>if NOT EXIST "$(MSBuildProjectDirectory)\..\3rdParty\Spore-ModAPI\dll\Release\SporeModAPI.dll" (
"$(MSBuildProjectDirectory)\..\3rdParty\BuildSporeModAPI.bat"
)</Command>
</PreBuildEvent>
<PostBuildEvent>
<Command>
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
Expand All @@ -127,6 +136,15 @@
<ModuleDefinitionFile>dllmain.def</ModuleDefinitionFile>
<AdditionalDependencies>detours.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PreBuildEvent>
<Command>if NOT EXIST "$(MSBuildProjectDirectory)\..\3rdParty\Spore-ModAPI\dll\Release\SporeModAPI.dll" (
"$(MSBuildProjectDirectory)\..\3rdParty\BuildSporeModAPI.bat"
)</Command>
</PreBuildEvent>
<PostBuildEvent>
<Command>
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
Expand Down
6 changes: 0 additions & 6 deletions SporeModManager/App.config

This file was deleted.

76 changes: 0 additions & 76 deletions SporeModManager/Program.cs

This file was deleted.

Loading

0 comments on commit 279beb9

Please sign in to comment.