Provides automatic installation scripts for OpenRA with Tiberian Sun & Red Alert 2 + Dune 2 (Windows, Linux)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
3.1 KiB

  1. --- a/OpenRA.Mods.D2/OpenRA.Mods.D2.csproj
  2. +++ b/OpenRA.Mods.D2/OpenRA.Mods.D2.csproj
  3. @@ -17,8 +17,8 @@
  4. <ErrorReport>prompt</ErrorReport>
  5. <OutputPath>bin\Debug\</OutputPath>
  6. <CustomCommands>
  7. - <Command type="AfterBuild" command="cp ${TargetFile} .." workingdir="${ProjectDir}" />
  8. - <Command type="AfterBuild" command="cp ${TargetFile}.mdb .." workingdir="${ProjectDir}" />
  9. + <Command type="AfterBuild" command="cp ${TargetFile} ../mods/d2" workingdir="${ProjectDir}" />
  10. + <Command type="AfterBuild" command="cp ${TargetFile}.mdb ../mods/d2" workingdir="${ProjectDir}" />
  11. </CustomCommands>
  12. <DefineConstants>TRACE;DEBUG;</DefineConstants>
  13. <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  14. @@ -36,20 +36,20 @@
  15. <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  16. <Optimize>true</Optimize>
  17. <CustomCommands>
  18. - <Command type="AfterBuild" command="cp ${TargetFile} .." workingdir="${ProjectDir}" />
  19. - <Command type="AfterBuild" command="cp ${TargetFile}.mdb .." workingdir="${ProjectDir}" />
  20. + <Command type="AfterBuild" command="cp ${TargetFile} ../mods/d2" workingdir="${ProjectDir}" />
  21. + <Command type="AfterBuild" command="cp ${TargetFile}.mdb ../mods/d2" workingdir="${ProjectDir}" />
  22. </CustomCommands>
  23. <Prefer32Bit>false</Prefer32Bit>
  24. </PropertyGroup>
  25. <ItemGroup>
  26. <Reference Include="OpenRA.Game">
  27. - <HintPath>dependencies\OpenRA.Game.exe</HintPath>
  28. + <HintPath>..\OpenRA.Mods.RA\OpenRA.Game.exe</HintPath>
  29. </Reference>
  30. <Reference Include="OpenRA.Mods.Common">
  31. - <HintPath>dependencies\OpenRA.Mods.Common.dll</HintPath>
  32. + <HintPath>..\OpenRA.Mods.RA\OpenRA.Mods.Common.dll</HintPath>
  33. </Reference>
  34. <Reference Include="Eluant">
  35. - <HintPath>dependencies\Eluant.dll</HintPath>
  36. + <HintPath>..\thirdparty\download\Eluant.dll</HintPath>
  37. <Private>False</Private>
  38. </Reference>
  39. <Reference Include="System" />
  40. @@ -59,6 +59,18 @@
  41. <Reference Include="System.Xml.Linq" />
  42. </ItemGroup>
  43. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  44. + <ItemGroup>
  45. + <ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
  46. + <Project>{0DFB103F-2962-400F-8C6D-E2C28CCBA633}</Project>
  47. + <Name>OpenRA.Game</Name>
  48. + <Private>False</Private>
  49. + </ProjectReference>
  50. + <ProjectReference Include="..\OpenRA.Mods.Common\OpenRA.Mods.Common.csproj">
  51. + <Project>{fe6c8cc0-2f07-442a-b29f-17617b3b7fc6}</Project>
  52. + <Name>OpenRA.Mods.Common</Name>
  53. + <Private>False</Private>
  54. + </ProjectReference>
  55. + </ItemGroup>
  56. <ItemGroup>
  57. <Compile Include="SpriteLoaders\IcnD2Loader.cs" />
  58. <Compile Include="SpriteLoaders\CpsD2Loader.cs" />
  59. @@ -72,7 +84,8 @@
  60. <Compile Include="D2LoadScreen.cs" />
  61. </ItemGroup>
  62. <PropertyGroup>
  63. - <PostBuildEvent>copy $(TargetPath) $(ProjectDir)..
  64. -</PostBuildEvent>
  65. + <PostBuildEvent>mkdir "$(SolutionDir)mods/d2/"
  66. +copy "$(TargetPath)" "$(SolutionDir)mods/d2/"
  67. +cd "$(SolutionDir)"</PostBuildEvent>
  68. </PropertyGroup>
  69. </Project>
  70. \ No newline at end of file