From de3d65941a8d115d623a41a72630d75268072469 Mon Sep 17 00:00:00 2001 From: tuxxi Date: Sun, 13 Mar 2016 23:10:25 -0700 Subject: [PATCH] .vcproj files are regenerated every time we run creategameprojects.bat, updated sln fix and ps1 file --- mp/src/creategameprojects.bat | 2 +- mp/src/creategameprojects.ps1 | 4 ++- mp/src/sln_fix.txt | 60 +++++++++++++++++++---------------- 3 files changed, 37 insertions(+), 29 deletions(-) diff --git a/mp/src/creategameprojects.bat b/mp/src/creategameprojects.bat index db87e1bf5c..928fddc1a0 100755 --- a/mp/src/creategameprojects.bat +++ b/mp/src/creategameprojects.bat @@ -1,5 +1,5 @@ @echo off -devtools\bin\vpc.exe /momentum +game /mksln momentum.sln +devtools\bin\vpc.exe /momentum +game /mksln momentum.sln /f copy momentum.sln+sln_fix.txt momentum.sln Powershell.exe -ExecutionPolicy Bypass -File creategameprojects.ps1 PAUSE \ No newline at end of file diff --git a/mp/src/creategameprojects.ps1 b/mp/src/creategameprojects.ps1 index 5d3d7006e9..0c11522961 100644 --- a/mp/src/creategameprojects.ps1 +++ b/mp/src/creategameprojects.ps1 @@ -28,6 +28,8 @@ $momentum_sym = Join-Path $path momentum $momentum = [System.IO.Path]::GetFullPath("..\game\momentum") cmd /c mklink /d $momentum_sym $momentum +"`nSymbolic link created in ..\Source SDK Base 2013 Multiplayer\momentum to ..\game\momentum\" + $data = @" @@ -46,4 +48,4 @@ $data = @" $data | Out-File game\client\client_momentum.vcxproj.user utf8 -Print "Data added to client_hl2mp.vcxproj" +"`nDebug and launch added to client_momentum.vcxproj`n" diff --git a/mp/src/sln_fix.txt b/mp/src/sln_fix.txt index bb6c2f5d7b..38ade4a1c6 100644 --- a/mp/src/sln_fix.txt +++ b/mp/src/sln_fix.txt @@ -1,29 +1,35 @@ Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Release|Win32 = Release|Win32 - Debug|Win32 = Debug|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {947672D2-B6A5-E4B5-66F9-94050ADEBFA3}.Release|Win32.ActiveCfg = Release|Win32 - {947672D2-B6A5-E4B5-66F9-94050ADEBFA3}.Release|Win32.Build.0 = Release|Win32 - {947672D2-B6A5-E4B5-66F9-94050ADEBFA3}.Debug|Win32.Build.1 = Debug|Win32 - {BAB92FF0-D72A-D7E5-1988-74628D39B94F}.Release|Win32.ActiveCfg = Release|Win32 - {BAB92FF0-D72A-D7E5-1988-74628D39B94F}.Release|Win32.Build.0 = Release|Win32 - {BAB92FF0-D72A-D7E5-1988-74628D39B94F}.Debug|Win32.Build.1 = Debug|Win32 - {95D67225-8415-236F-9128-DCB171B7DEC6}.Release|Win32.ActiveCfg = Release|Win32 - {95D67225-8415-236F-9128-DCB171B7DEC6}.Release|Win32.Build.0 = Release|Win32 - {95D67225-8415-236F-9128-DCB171B7DEC6}.Debug|Win32.Build.1 = Debug|Win32 - {575631E0-3C7A-F6D5-5706-149FD39AE196}.Release|Win32.ActiveCfg = Release|Win32 - {575631E0-3C7A-F6D5-5706-149FD39AE196}.Release|Win32.Build.0 = Release|Win32 - {575631E0-3C7A-F6D5-5706-149FD39AE196}.Debug|Win32.Build.1 = Debug|Win32 - {EC1C516D-E1D9-BC0A-F79D-E91E954ED8EC}.Release|Win32.ActiveCfg = Release|Win32 - {EC1C516D-E1D9-BC0A-F79D-E91E954ED8EC}.Release|Win32.Build.0 = Release|Win32 - {EC1C516D-E1D9-BC0A-F79D-E91E954ED8EC}.Debug|Win32.Build.1 = Debug|Win32 - {F69B3672-C5E8-CD1A-257F-253A25B5B939}.Release|Win32.ActiveCfg = Release|Win32 - {F69B3672-C5E8-CD1A-257F-253A25B5B939}.Release|Win32.Build.0 = Release|Win32 - {F69B3672-C5E8-CD1A-257F-253A25B5B939}.Debug|Win32.Build.1 = Debug|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {947672D2-B6A5-E4B5-66F9-94050ADEBFA3}.Debug|Win32.ActiveCfg = Debug|Win32 + {947672D2-B6A5-E4B5-66F9-94050ADEBFA3}.Debug|Win32.Build.0 = Debug|Win32 + {947672D2-B6A5-E4B5-66F9-94050ADEBFA3}.Release|Win32.ActiveCfg = Release|Win32 + {947672D2-B6A5-E4B5-66F9-94050ADEBFA3}.Release|Win32.Build.0 = Release|Win32 + {BAB92FF0-D72A-D7E5-1988-74628D39B94F}.Debug|Win32.ActiveCfg = Debug|Win32 + {BAB92FF0-D72A-D7E5-1988-74628D39B94F}.Debug|Win32.Build.0 = Debug|Win32 + {BAB92FF0-D72A-D7E5-1988-74628D39B94F}.Release|Win32.ActiveCfg = Release|Win32 + {BAB92FF0-D72A-D7E5-1988-74628D39B94F}.Release|Win32.Build.0 = Release|Win32 + {95D67225-8415-236F-9128-DCB171B7DEC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {95D67225-8415-236F-9128-DCB171B7DEC6}.Debug|Win32.Build.0 = Debug|Win32 + {95D67225-8415-236F-9128-DCB171B7DEC6}.Release|Win32.ActiveCfg = Release|Win32 + {95D67225-8415-236F-9128-DCB171B7DEC6}.Release|Win32.Build.0 = Release|Win32 + {575631E0-3C7A-F6D5-5706-149FD39AE196}.Debug|Win32.ActiveCfg = Debug|Win32 + {575631E0-3C7A-F6D5-5706-149FD39AE196}.Debug|Win32.Build.0 = Debug|Win32 + {575631E0-3C7A-F6D5-5706-149FD39AE196}.Release|Win32.ActiveCfg = Release|Win32 + {575631E0-3C7A-F6D5-5706-149FD39AE196}.Release|Win32.Build.0 = Release|Win32 + {EC1C516D-E1D9-BC0A-F79D-E91E954ED8EC}.Debug|Win32.ActiveCfg = Debug|Win32 + {EC1C516D-E1D9-BC0A-F79D-E91E954ED8EC}.Debug|Win32.Build.0 = Debug|Win32 + {EC1C516D-E1D9-BC0A-F79D-E91E954ED8EC}.Release|Win32.ActiveCfg = Release|Win32 + {EC1C516D-E1D9-BC0A-F79D-E91E954ED8EC}.Release|Win32.Build.0 = Release|Win32 + {F69B3672-C5E8-CD1A-257F-253A25B5B939}.Debug|Win32.ActiveCfg = Debug|Win32 + {F69B3672-C5E8-CD1A-257F-253A25B5B939}.Debug|Win32.Build.0 = Debug|Win32 + {F69B3672-C5E8-CD1A-257F-253A25B5B939}.Release|Win32.ActiveCfg = Release|Win32 + {F69B3672-C5E8-CD1A-257F-253A25B5B939}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection EndGlobal \ No newline at end of file