Skip to content

Commit

Permalink
game_mod v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SE2Dev committed Jun 25, 2017
2 parents 96564f0 + 6969027 commit f6f7615
Show file tree
Hide file tree
Showing 568 changed files with 144,850 additions and 1,534 deletions.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Normalize line endings to CRLF on checkout
* text eol=crlf

# Git kept corrupting binary files
# by trying to convert them to CRLF
*.iwi binary
*.lib binary
*.ttf binary
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,21 @@

/build
/ipch
/.vs

/Debug
/Release

components/sdk
components/game_mod/steam
components/*/Debug
components/*/Release
components/shared/*/Debug
components/shared/*/Release
components/D3DBSP_Lib/*/Release
components/D3DBSP_Lib/*/Debug
components/launcher/imgui.ini

components/gsc_parser/src/cpp/parser

!*.lib
104 changes: 104 additions & 0 deletions LinkerMod.sln
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,57 @@ MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "launcher_ldr", "components\launcher_ldr\launcher_ldr.vcxproj", "{E543772A-4051-499E-8DC6-B5501043DA7B}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "linker_pc", "components\linker_pc\linker_pc.vcxproj", "{3A1FA19B-CC11-4725-AC86-6B3CF539E1B2}"
ProjectSection(ProjectDependencies) = postProject
{E543772A-4051-499E-8DC6-B5501043DA7B} = {E543772A-4051-499E-8DC6-B5501043DA7B}
{06E30C65-D79A-4FEC-8A60-B36D907E6601} = {06E30C65-D79A-4FEC-8A60-B36D907E6601}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "game_mod", "components\game_mod\game_mod.vcxproj", "{69B41EFB-E992-4351-AA29-FDC61F4DBDE0}"
ProjectSection(ProjectDependencies) = postProject
{E543772A-4051-499E-8DC6-B5501043DA7B} = {E543772A-4051-499E-8DC6-B5501043DA7B}
{06E30C65-D79A-4FEC-8A60-B36D907E6601} = {06E30C65-D79A-4FEC-8A60-B36D907E6601}
{86C18FD7-1144-440C-B5E3-265194BBC934} = {86C18FD7-1144-440C-B5E3-265194BBC934}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "radiant_mod", "components\radiant_mod\radiant_mod.vcxproj", "{6A3FB8CD-BEA3-42F1-B551-A0F56ED9B266}"
ProjectSection(ProjectDependencies) = postProject
{E543772A-4051-499E-8DC6-B5501043DA7B} = {E543772A-4051-499E-8DC6-B5501043DA7B}
{06E30C65-D79A-4FEC-8A60-B36D907E6601} = {06E30C65-D79A-4FEC-8A60-B36D907E6601}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cod2rad", "components\cod2rad\cod2rad.vcxproj", "{B19C7605-5258-457E-883A-1A7896E7BD6C}"
ProjectSection(ProjectDependencies) = postProject
{F9BA1B1B-9BF9-4365-8A18-531F80C8847F} = {F9BA1B1B-9BF9-4365-8A18-531F80C8847F}
{E543772A-4051-499E-8DC6-B5501043DA7B} = {E543772A-4051-499E-8DC6-B5501043DA7B}
{06E30C65-D79A-4FEC-8A60-B36D907E6601} = {06E30C65-D79A-4FEC-8A60-B36D907E6601}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cod2map", "components\cod2map\cod2map.vcxproj", "{37CF9A1C-7E15-44FA-BA81-A389E617F2D9}"
ProjectSection(ProjectDependencies) = postProject
{F9BA1B1B-9BF9-4365-8A18-531F80C8847F} = {F9BA1B1B-9BF9-4365-8A18-531F80C8847F}
{E543772A-4051-499E-8DC6-B5501043DA7B} = {E543772A-4051-499E-8DC6-B5501043DA7B}
{06E30C65-D79A-4FEC-8A60-B36D907E6601} = {06E30C65-D79A-4FEC-8A60-B36D907E6601}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "path_mod", "components\path_mod\path_mod.vcxproj", "{B6D3B040-AC50-4BA9-BC91-CE5F5DAAF877}"
ProjectSection(ProjectDependencies) = postProject
{F9BA1B1B-9BF9-4365-8A18-531F80C8847F} = {F9BA1B1B-9BF9-4365-8A18-531F80C8847F}
{E543772A-4051-499E-8DC6-B5501043DA7B} = {E543772A-4051-499E-8DC6-B5501043DA7B}
{06E30C65-D79A-4FEC-8A60-B36D907E6601} = {06E30C65-D79A-4FEC-8A60-B36D907E6601}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "D3DBSP_Lib", "components\D3DBSP_Lib\D3DBSP_Lib\D3DBSP_Lib.vcxproj", "{F9BA1B1B-9BF9-4365-8A18-531F80C8847F}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "asset_viewer", "components\asset_viewer\asset_viewer.vcxproj", "{9934C743-9987-4D7C-B847-0E77DDA520C0}"
ProjectSection(ProjectDependencies) = postProject
{E543772A-4051-499E-8DC6-B5501043DA7B} = {E543772A-4051-499E-8DC6-B5501043DA7B}
{06E30C65-D79A-4FEC-8A60-B36D907E6601} = {06E30C65-D79A-4FEC-8A60-B36D907E6601}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "asset_util", "components\asset_util\asset_util.vcxproj", "{0045F885-7DD4-4898-B760-ACB4DA32DA6B}"
ProjectSection(ProjectDependencies) = postProject
{F9BA1B1B-9BF9-4365-8A18-531F80C8847F} = {F9BA1B1B-9BF9-4365-8A18-531F80C8847F}
{C61A8481-11F8-4A98-9776-C5A4E1F13D98} = {C61A8481-11F8-4A98-9776-C5A4E1F13D98}
{D8721F95-955F-4931-9EBA-5C7BA28E6875} = {D8721F95-955F-4931-9EBA-5C7BA28E6875}
{612D8EF6-74FD-4E5E-A5C9-F4E8BF20195A} = {612D8EF6-74FD-4E5E-A5C9-F4E8BF20195A}
EndProjectSection
Expand All @@ -40,58 +65,137 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "components\shared\z
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "miniz", "components\shared\miniz\miniz.vcxproj", "{D8721F95-955F-4931-9EBA-5C7BA28E6875}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "launcher", "components\launcher\launcher.vcxproj", "{99C1298E-362E-455B-B938-04CB5B5510BA}"
ProjectSection(ProjectDependencies) = postProject
{86C18FD7-1144-440C-B5E3-265194BBC934} = {86C18FD7-1144-440C-B5E3-265194BBC934}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "imgui", "components\shared\imgui\imgui.vcxproj", "{86C18FD7-1144-440C-B5E3-265194BBC934}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "detours", "components\shared\detours\detours.vcxproj", "{06E30C65-D79A-4FEC-8A60-B36D907E6601}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gsc_parser", "components\gsc_parser\gsc_parser.vcxproj", "{C61A8481-11F8-4A98-9776-C5A4E1F13D98}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "semver", "components\shared\semver\semver.vcxproj", "{5FB372DD-A7E1-4A4B-9A28-3AC02543E9E8}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lib_json", "components\shared\jsoncpp\makefiles\msvc\lib_json.vcxproj", "{1E6C2C1C-6453-4129-AE3F-0EE8E6599C89}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E543772A-4051-499E-8DC6-B5501043DA7B}.Debug|Win32.ActiveCfg = Debug|Win32
{E543772A-4051-499E-8DC6-B5501043DA7B}.Debug|Win32.Build.0 = Debug|Win32
{E543772A-4051-499E-8DC6-B5501043DA7B}.Debug|x64.ActiveCfg = Debug|Win32
{E543772A-4051-499E-8DC6-B5501043DA7B}.Release|Win32.ActiveCfg = Release|Win32
{E543772A-4051-499E-8DC6-B5501043DA7B}.Release|Win32.Build.0 = Release|Win32
{E543772A-4051-499E-8DC6-B5501043DA7B}.Release|x64.ActiveCfg = Release|Win32
{3A1FA19B-CC11-4725-AC86-6B3CF539E1B2}.Debug|Win32.ActiveCfg = Debug|Win32
{3A1FA19B-CC11-4725-AC86-6B3CF539E1B2}.Debug|Win32.Build.0 = Debug|Win32
{3A1FA19B-CC11-4725-AC86-6B3CF539E1B2}.Debug|x64.ActiveCfg = Debug|Win32
{3A1FA19B-CC11-4725-AC86-6B3CF539E1B2}.Release|Win32.ActiveCfg = Release|Win32
{3A1FA19B-CC11-4725-AC86-6B3CF539E1B2}.Release|Win32.Build.0 = Release|Win32
{3A1FA19B-CC11-4725-AC86-6B3CF539E1B2}.Release|x64.ActiveCfg = Release|Win32
{69B41EFB-E992-4351-AA29-FDC61F4DBDE0}.Debug|Win32.ActiveCfg = Debug|Win32
{69B41EFB-E992-4351-AA29-FDC61F4DBDE0}.Debug|Win32.Build.0 = Debug|Win32
{69B41EFB-E992-4351-AA29-FDC61F4DBDE0}.Debug|x64.ActiveCfg = Debug|Win32
{69B41EFB-E992-4351-AA29-FDC61F4DBDE0}.Release|Win32.ActiveCfg = Release|Win32
{69B41EFB-E992-4351-AA29-FDC61F4DBDE0}.Release|Win32.Build.0 = Release|Win32
{69B41EFB-E992-4351-AA29-FDC61F4DBDE0}.Release|x64.ActiveCfg = Release|Win32
{6A3FB8CD-BEA3-42F1-B551-A0F56ED9B266}.Debug|Win32.ActiveCfg = Debug|Win32
{6A3FB8CD-BEA3-42F1-B551-A0F56ED9B266}.Debug|Win32.Build.0 = Debug|Win32
{6A3FB8CD-BEA3-42F1-B551-A0F56ED9B266}.Debug|x64.ActiveCfg = Debug|Win32
{6A3FB8CD-BEA3-42F1-B551-A0F56ED9B266}.Release|Win32.ActiveCfg = Release|Win32
{6A3FB8CD-BEA3-42F1-B551-A0F56ED9B266}.Release|Win32.Build.0 = Release|Win32
{6A3FB8CD-BEA3-42F1-B551-A0F56ED9B266}.Release|x64.ActiveCfg = Release|Win32
{B19C7605-5258-457E-883A-1A7896E7BD6C}.Debug|Win32.ActiveCfg = Debug|Win32
{B19C7605-5258-457E-883A-1A7896E7BD6C}.Debug|Win32.Build.0 = Debug|Win32
{B19C7605-5258-457E-883A-1A7896E7BD6C}.Debug|x64.ActiveCfg = Debug|Win32
{B19C7605-5258-457E-883A-1A7896E7BD6C}.Release|Win32.ActiveCfg = Release|Win32
{B19C7605-5258-457E-883A-1A7896E7BD6C}.Release|Win32.Build.0 = Release|Win32
{B19C7605-5258-457E-883A-1A7896E7BD6C}.Release|x64.ActiveCfg = Release|Win32
{37CF9A1C-7E15-44FA-BA81-A389E617F2D9}.Debug|Win32.ActiveCfg = Debug|Win32
{37CF9A1C-7E15-44FA-BA81-A389E617F2D9}.Debug|Win32.Build.0 = Debug|Win32
{37CF9A1C-7E15-44FA-BA81-A389E617F2D9}.Debug|x64.ActiveCfg = Debug|Win32
{37CF9A1C-7E15-44FA-BA81-A389E617F2D9}.Release|Win32.ActiveCfg = Release|Win32
{37CF9A1C-7E15-44FA-BA81-A389E617F2D9}.Release|Win32.Build.0 = Release|Win32
{37CF9A1C-7E15-44FA-BA81-A389E617F2D9}.Release|x64.ActiveCfg = Release|Win32
{B6D3B040-AC50-4BA9-BC91-CE5F5DAAF877}.Debug|Win32.ActiveCfg = Debug|Win32
{B6D3B040-AC50-4BA9-BC91-CE5F5DAAF877}.Debug|x64.ActiveCfg = Debug|Win32
{B6D3B040-AC50-4BA9-BC91-CE5F5DAAF877}.Release|Win32.ActiveCfg = Release|Win32
{B6D3B040-AC50-4BA9-BC91-CE5F5DAAF877}.Release|x64.ActiveCfg = Release|Win32
{F9BA1B1B-9BF9-4365-8A18-531F80C8847F}.Debug|Win32.ActiveCfg = Debug|Win32
{F9BA1B1B-9BF9-4365-8A18-531F80C8847F}.Debug|Win32.Build.0 = Debug|Win32
{F9BA1B1B-9BF9-4365-8A18-531F80C8847F}.Debug|x64.ActiveCfg = Debug|Win32
{F9BA1B1B-9BF9-4365-8A18-531F80C8847F}.Release|Win32.ActiveCfg = Release|Win32
{F9BA1B1B-9BF9-4365-8A18-531F80C8847F}.Release|Win32.Build.0 = Release|Win32
{F9BA1B1B-9BF9-4365-8A18-531F80C8847F}.Release|x64.ActiveCfg = Release|Win32
{9934C743-9987-4D7C-B847-0E77DDA520C0}.Debug|Win32.ActiveCfg = Debug|Win32
{9934C743-9987-4D7C-B847-0E77DDA520C0}.Debug|Win32.Build.0 = Debug|Win32
{9934C743-9987-4D7C-B847-0E77DDA520C0}.Debug|x64.ActiveCfg = Debug|Win32
{9934C743-9987-4D7C-B847-0E77DDA520C0}.Release|Win32.ActiveCfg = Release|Win32
{9934C743-9987-4D7C-B847-0E77DDA520C0}.Release|Win32.Build.0 = Release|Win32
{9934C743-9987-4D7C-B847-0E77DDA520C0}.Release|x64.ActiveCfg = Release|Win32
{0045F885-7DD4-4898-B760-ACB4DA32DA6B}.Debug|Win32.ActiveCfg = Debug|Win32
{0045F885-7DD4-4898-B760-ACB4DA32DA6B}.Debug|Win32.Build.0 = Debug|Win32
{0045F885-7DD4-4898-B760-ACB4DA32DA6B}.Debug|x64.ActiveCfg = Debug|Win32
{0045F885-7DD4-4898-B760-ACB4DA32DA6B}.Release|Win32.ActiveCfg = Release|Win32
{0045F885-7DD4-4898-B760-ACB4DA32DA6B}.Release|Win32.Build.0 = Release|Win32
{0045F885-7DD4-4898-B760-ACB4DA32DA6B}.Release|x64.ActiveCfg = Release|Win32
{612D8EF6-74FD-4E5E-A5C9-F4E8BF20195A}.Debug|Win32.ActiveCfg = Debug|Win32
{612D8EF6-74FD-4E5E-A5C9-F4E8BF20195A}.Debug|Win32.Build.0 = Debug|Win32
{612D8EF6-74FD-4E5E-A5C9-F4E8BF20195A}.Debug|x64.ActiveCfg = Debug|Win32
{612D8EF6-74FD-4E5E-A5C9-F4E8BF20195A}.Release|Win32.ActiveCfg = Release|Win32
{612D8EF6-74FD-4E5E-A5C9-F4E8BF20195A}.Release|Win32.Build.0 = Release|Win32
{612D8EF6-74FD-4E5E-A5C9-F4E8BF20195A}.Release|x64.ActiveCfg = Release|Win32
{D8721F95-955F-4931-9EBA-5C7BA28E6875}.Debug|Win32.ActiveCfg = Debug|Win32
{D8721F95-955F-4931-9EBA-5C7BA28E6875}.Debug|Win32.Build.0 = Debug|Win32
{D8721F95-955F-4931-9EBA-5C7BA28E6875}.Debug|x64.ActiveCfg = Debug|Win32
{D8721F95-955F-4931-9EBA-5C7BA28E6875}.Release|Win32.ActiveCfg = Release|Win32
{D8721F95-955F-4931-9EBA-5C7BA28E6875}.Release|Win32.Build.0 = Release|Win32
{D8721F95-955F-4931-9EBA-5C7BA28E6875}.Release|x64.ActiveCfg = Release|Win32
{99C1298E-362E-455B-B938-04CB5B5510BA}.Debug|Win32.ActiveCfg = Debug|Win32
{99C1298E-362E-455B-B938-04CB5B5510BA}.Debug|Win32.Build.0 = Debug|Win32
{99C1298E-362E-455B-B938-04CB5B5510BA}.Debug|x64.ActiveCfg = Debug|Win32
{99C1298E-362E-455B-B938-04CB5B5510BA}.Release|Win32.ActiveCfg = Release|Win32
{99C1298E-362E-455B-B938-04CB5B5510BA}.Release|Win32.Build.0 = Release|Win32
{99C1298E-362E-455B-B938-04CB5B5510BA}.Release|x64.ActiveCfg = Release|Win32
{86C18FD7-1144-440C-B5E3-265194BBC934}.Debug|Win32.ActiveCfg = Debug|Win32
{86C18FD7-1144-440C-B5E3-265194BBC934}.Debug|Win32.Build.0 = Debug|Win32
{86C18FD7-1144-440C-B5E3-265194BBC934}.Debug|x64.ActiveCfg = Debug|Win32
{86C18FD7-1144-440C-B5E3-265194BBC934}.Release|Win32.ActiveCfg = Release|Win32
{86C18FD7-1144-440C-B5E3-265194BBC934}.Release|Win32.Build.0 = Release|Win32
{86C18FD7-1144-440C-B5E3-265194BBC934}.Release|x64.ActiveCfg = Release|Win32
{06E30C65-D79A-4FEC-8A60-B36D907E6601}.Debug|Win32.ActiveCfg = Debug|Win32
{06E30C65-D79A-4FEC-8A60-B36D907E6601}.Debug|Win32.Build.0 = Debug|Win32
{06E30C65-D79A-4FEC-8A60-B36D907E6601}.Debug|x64.ActiveCfg = Debug|Win32
{06E30C65-D79A-4FEC-8A60-B36D907E6601}.Release|Win32.ActiveCfg = Release|Win32
{06E30C65-D79A-4FEC-8A60-B36D907E6601}.Release|Win32.Build.0 = Release|Win32
{06E30C65-D79A-4FEC-8A60-B36D907E6601}.Release|x64.ActiveCfg = Release|Win32
{C61A8481-11F8-4A98-9776-C5A4E1F13D98}.Debug|Win32.ActiveCfg = Debug|Win32
{C61A8481-11F8-4A98-9776-C5A4E1F13D98}.Debug|Win32.Build.0 = Debug|Win32
{C61A8481-11F8-4A98-9776-C5A4E1F13D98}.Debug|x64.ActiveCfg = Debug|Win32
{C61A8481-11F8-4A98-9776-C5A4E1F13D98}.Release|Win32.ActiveCfg = Release|Win32
{C61A8481-11F8-4A98-9776-C5A4E1F13D98}.Release|Win32.Build.0 = Release|Win32
{C61A8481-11F8-4A98-9776-C5A4E1F13D98}.Release|x64.ActiveCfg = Release|Win32
{5FB372DD-A7E1-4A4B-9A28-3AC02543E9E8}.Debug|Win32.ActiveCfg = Debug|Win32
{5FB372DD-A7E1-4A4B-9A28-3AC02543E9E8}.Debug|Win32.Build.0 = Debug|Win32
{5FB372DD-A7E1-4A4B-9A28-3AC02543E9E8}.Debug|x64.ActiveCfg = Debug|Win32
{5FB372DD-A7E1-4A4B-9A28-3AC02543E9E8}.Release|Win32.ActiveCfg = Release|Win32
{5FB372DD-A7E1-4A4B-9A28-3AC02543E9E8}.Release|Win32.Build.0 = Release|Win32
{5FB372DD-A7E1-4A4B-9A28-3AC02543E9E8}.Release|x64.ActiveCfg = Release|Win32
{1E6C2C1C-6453-4129-AE3F-0EE8E6599C89}.Debug|Win32.ActiveCfg = Debug|Win32
{1E6C2C1C-6453-4129-AE3F-0EE8E6599C89}.Debug|Win32.Build.0 = Debug|Win32
{1E6C2C1C-6453-4129-AE3F-0EE8E6599C89}.Debug|x64.ActiveCfg = Debug|x64
{1E6C2C1C-6453-4129-AE3F-0EE8E6599C89}.Debug|x64.Build.0 = Debug|x64
{1E6C2C1C-6453-4129-AE3F-0EE8E6599C89}.Release|Win32.ActiveCfg = Release|Win32
{1E6C2C1C-6453-4129-AE3F-0EE8E6599C89}.Release|Win32.Build.0 = Release|Win32
{1E6C2C1C-6453-4129-AE3F-0EE8E6599C89}.Release|x64.ActiveCfg = Release|x64
{1E6C2C1C-6453-4129-AE3F-0EE8E6599C89}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# LinkerMod
###### Enhancements for Call of Duty: Black Ops' Mod Tools
#### Join the [Discord Server](https://discord.gg/nukNNsP)!

## Features
- Mod Support
Expand Down
69 changes: 69 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
@echo off

rem
rem ------- Find Visual Studio's install path -------
rem
:find2015
if "%VS140COMNTOOLS%"=="" (
goto find2013
) else (
echo Found: Visual Studio 2015
set TMP_VSPATH="%VS140COMNTOOLS%\..\..\vc\vcvarsall.bat"
goto compile
)

:find2013
if "%VS120COMNTOOLS%"=="" (
goto find2012
) else (
echo Found: Visual Studio 2013
set TMP_VSPATH="%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat"
goto compile
)

:find2012
if "%VS110COMNTOOLS%"=="" (
goto notfound
) else (
echo Found: Visual Studio 2012
set TMP_VSPATH="%VS110COMNTOOLS%\..\..\vc\vcvarsall.bat"
goto compile
)

:notfound
echo Visual Studio (2012/2013/2015) wasn't found on your computer.
exit 1

rem
rem ------ Compile -------
rem
:compile
call %TMP_VSPATH% amd64_x86
set type=Configuration=Release;Platform=Win32

msbuild.exe LinkerMod.sln /maxcpucount /verbosity:minimal /t:Rebuild /p:%type%

rem
rem ------ Copy Files -------
rem
:docopy
setlocal ENABLEEXTENSIONS
set KEY_NAME=HKLM\SOFTWARE\activision\call of duty black ops
set VALUE_NAME=InstallPath

FOR /F "tokens=2*" %%A IN ('REG.exe query "%KEY_NAME%" /v "%VALUE_NAME%" /reg:32 ') DO (set pInstallDir=%%B)

if NOT "%pInstallDir%" == "" (
copy .\build\Release\asset_viewer.dll "%pInstallDir%"\bin\asset_viewer.dll
copy .\build\Release\cod2map.dll "%pInstallDir%"\bin\cod2map.dll
copy .\build\Release\cod2rad.dll "%pInstallDir%"\bin\cod2rad.dll
copy .\build\Release\game_mod.dll "%pInstallDir%"\bin\game_mod.dll
copy .\build\Release\linker_pc.dll "%pInstallDir%"\bin\linker_pc.dll
copy .\build\Release\path_mod.dll "%pInstallDir%"\bin\path_mod.dll
copy .\build\Release\radiant_mod.dll "%pInstallDir%"\bin\radiant_mod.dll
copy .\build\Release\launcher_ldr.exe "%pInstallDir%"\bin\launcher_ldr.exe
exit 0
) else (
echo InstallPath registry key wasn't found.
exit 1
)
Loading

0 comments on commit f6f7615

Please sign in to comment.