Skip to content

Commit

Permalink
Merge pull request #44 from momentum-mod/vpcfix
Browse files Browse the repository at this point in the history
VPC update and fixes
  • Loading branch information
tuxxi committed Mar 14, 2016
2 parents 3426e6a + 20341a2 commit 06426c6
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 29 deletions.
2 changes: 1 addition & 1 deletion mp/src/creategameprojects.bat
Original file line number Diff line number Diff line change
@@ -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
4 changes: 3 additions & 1 deletion mp/src/creategameprojects.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 = @"
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Expand All @@ -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"
60 changes: 33 additions & 27 deletions mp/src/sln_fix.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 06426c6

Please sign in to comment.