remove foreign dependencies from d2k mod entirely
This commit is contained in:
@@ -79,7 +79,6 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="D2kLoadScreen.cs" />
|
||||
<Compile Include="Widgets\Logic\D2kInstallLogic.cs" />
|
||||
<Compile Include="Widgets\Logic\D2kExtractGameFilesLogic.cs" />
|
||||
<Compile Include="Widgets\Logic\D2kInstallFromCDLogic.cs" />
|
||||
<Compile Include="Widgets\Logic\D2kDownloadPackagesLogic.cs" />
|
||||
<Compile Include="BuildingCaptureNotification.cs" />
|
||||
@@ -91,10 +90,6 @@ copy "$(TargetPath)" "$(SolutionDir)mods/d2k/"
|
||||
cd "$(SolutionDir)"</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\OpenRA.Utility\OpenRA.Utility.csproj">
|
||||
<Project>{F33337BE-CB69-4B24-850F-07D23E408DDF}</Project>
|
||||
<Name>OpenRA.Utility</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
|
||||
<Project>{0DFB103F-2962-400F-8C6D-E2C28CCBA633}</Project>
|
||||
<Name>OpenRA.Game</Name>
|
||||
@@ -103,10 +98,6 @@ cd "$(SolutionDir)"</PostBuildEvent>
|
||||
<Project>{BDAEAB25-991E-46A7-AF1E-4F0E03358DAA}</Project>
|
||||
<Name>OpenRA.FileFormats</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\OpenRA.TilesetBuilder\OpenRA.TilesetBuilder.csproj">
|
||||
<Project>{1A8E50CC-EE32-4E57-8842-0C39C8EA7541}</Project>
|
||||
<Name>OpenRA.TilesetBuilder</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\OpenRA.Mods.RA\OpenRA.Mods.RA.csproj">
|
||||
<Project>{4A8A43B5-A9EF-4ED0-99DD-4BAB10A0DB6E}</Project>
|
||||
<Name>OpenRA.Mods.RA</Name>
|
||||
|
||||
@@ -14,7 +14,6 @@ using System.Linq;
|
||||
using System.Threading;
|
||||
using OpenRA.FileFormats;
|
||||
using OpenRA.FileFormats.Graphics;
|
||||
using OpenRA.Utility;
|
||||
using OpenRA.Widgets;
|
||||
|
||||
namespace OpenRA.Mods.D2k.Widgets.Logic
|
||||
|
||||
@@ -33,9 +33,6 @@ namespace OpenRA.Mods.D2k.Widgets.Logic
|
||||
panel.Get<ButtonWidget>("COPY_BUTTON").OnClick = () =>
|
||||
Ui.OpenWindow("INSTALL_FROMCD_PANEL", args);
|
||||
|
||||
panel.Get<ButtonWidget>("EXTRACT_BUTTON").OnClick = () =>
|
||||
Ui.OpenWindow("EXTRACT_GAMEFILES_PANEL", args);
|
||||
|
||||
panel.Get<ButtonWidget>("QUIT_BUTTON").OnClick = Game.Exit;
|
||||
|
||||
panel.Get<ButtonWidget>("MODS_BUTTON").OnClick = () =>
|
||||
|
||||
BIN
mods/d2k/bits/rockcrater1.shp
Normal file
BIN
mods/d2k/bits/rockcrater1.shp
Normal file
Binary file not shown.
BIN
mods/d2k/bits/rockcrater2.shp
Normal file
BIN
mods/d2k/bits/rockcrater2.shp
Normal file
Binary file not shown.
BIN
mods/d2k/bits/sandcrater1.shp
Normal file
BIN
mods/d2k/bits/sandcrater1.shp
Normal file
Binary file not shown.
BIN
mods/d2k/bits/sandcrater2.shp
Normal file
BIN
mods/d2k/bits/sandcrater2.shp
Normal file
Binary file not shown.
BIN
mods/d2k/bits/spice0.shp
Normal file
BIN
mods/d2k/bits/spice0.shp
Normal file
Binary file not shown.
@@ -3,7 +3,7 @@ Background@INSTALL_PANEL:
|
||||
X:(WINDOW_RIGHT - WIDTH)/2
|
||||
Y:(WINDOW_BOTTOM - HEIGHT)/2
|
||||
Width:630
|
||||
Height:350
|
||||
Height:200
|
||||
Children:
|
||||
Label@TITLE:
|
||||
X:0
|
||||
@@ -13,51 +13,23 @@ Background@INSTALL_PANEL:
|
||||
Text:Content files missing
|
||||
Align:Center
|
||||
Font:Bold
|
||||
Label@DESC1:
|
||||
Label@WELCOME:
|
||||
X:0
|
||||
Y:50
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Text:This is the work in progress Dune 2000 mod.
|
||||
Text:This is the work in progress Dune 2000 mod. It requires the original game files.
|
||||
Align:Center
|
||||
Label@DESC2:
|
||||
Label@DOWNLOAD:
|
||||
X:0
|
||||
Y:90
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Text:It requires the original Dune 2000 assets whose fileformats differ from other C&C games.
|
||||
Text:The easiest way is to simply click "Download" to fetch a minimal subset to get started.
|
||||
Align:Center
|
||||
Label@DESC3:
|
||||
Label@VIA_CD:
|
||||
X:0
|
||||
Y:130
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Text:The easiest way is to simply click download to fetch already prepared files and restart.
|
||||
Align:Center
|
||||
Label@DESC4:
|
||||
X:0
|
||||
Y:170
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Text:You can also copy "Dune 2000/Data/GAMESFX" folder and "Dune 2000/DATA/*.R8" files
|
||||
Align:Center
|
||||
Label@DESC5:
|
||||
X:0
|
||||
Y:190
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Text: from your local Dune 2000 1.03 installation to ~/.openra/Content/d2k/ (Linux)
|
||||
Align:Center
|
||||
Label@DESC6:
|
||||
X:0
|
||||
Y:210
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Text: or "My Documents/OpenRA/Content/d2k/" (Windows) and click "Extract Data".
|
||||
Align:Center
|
||||
Label@DESC7:
|
||||
X:0
|
||||
Y:250
|
||||
Y:110
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Text: Put in your Dune 2000 CD and click "From CD" to extract game assets including music.
|
||||
@@ -76,13 +48,6 @@ Background@INSTALL_PANEL:
|
||||
Height:25
|
||||
Text:From CD
|
||||
Font:Bold
|
||||
Button@EXTRACT_BUTTON:
|
||||
X:260
|
||||
Y:PARENT_BOTTOM - 45
|
||||
Width:110
|
||||
Height:25
|
||||
Text:Extract Data
|
||||
Font:Bold
|
||||
Button@MODS_BUTTON:
|
||||
X:PARENT_RIGHT - 250
|
||||
Y:PARENT_BOTTOM - 45
|
||||
@@ -206,68 +171,3 @@ Background@INSTALL_FROMCD_PANEL:
|
||||
Text:Back
|
||||
Font:Bold
|
||||
Key:escape
|
||||
|
||||
Background@EXTRACT_GAMEFILES_PANEL:
|
||||
Logic:D2kExtractGameFilesLogic
|
||||
X:(WINDOW_RIGHT - WIDTH)/2
|
||||
Y:(WINDOW_BOTTOM - HEIGHT)/2
|
||||
Width:500
|
||||
Height:160
|
||||
Children:
|
||||
Label@TITLE:
|
||||
X:0
|
||||
Y:20
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Text:Extracting and Converting Dune 2000 Gamefiles
|
||||
Align:Center
|
||||
Font:Bold
|
||||
Container@EXTRACTING:
|
||||
Width:PARENT_RIGHT
|
||||
Height:PARENT_BOTTOM
|
||||
Visible: false
|
||||
Children:
|
||||
ProgressBar@PROGRESS_BAR:
|
||||
X:50
|
||||
Y:55
|
||||
Width:PARENT_RIGHT - 100
|
||||
Height:25
|
||||
Label@STATUS_LABEL:
|
||||
X:50
|
||||
Y:80
|
||||
Width:PARENT_RIGHT - 100
|
||||
Height:25
|
||||
Align:Left
|
||||
Container@COPY_FILES:
|
||||
Width:PARENT_RIGHT
|
||||
Height:PARENT_BOTTOM
|
||||
Visible: false
|
||||
Children:
|
||||
Label@INFO:
|
||||
Y:50
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Text:Gamefiles not not found.
|
||||
Align:Center
|
||||
Label@INFO2:
|
||||
Y:70
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Text:Please copy the Data/*.R8 files from your Dune 2000 installation to OpenRAs Content/d2k directory then click Retry.
|
||||
Align:Center
|
||||
Button@RETRY_BUTTON:
|
||||
X:PARENT_RIGHT - 280
|
||||
Y:PARENT_BOTTOM - 45
|
||||
Width:120
|
||||
Height:25
|
||||
Text:Retry
|
||||
Font:Bold
|
||||
Key:return
|
||||
Button@BACK_BUTTON:
|
||||
X:PARENT_RIGHT - 140
|
||||
Y:PARENT_BOTTOM - 45
|
||||
Width:120
|
||||
Height:25
|
||||
Text:Back
|
||||
Font:Bold
|
||||
Key:escape
|
||||
|
||||
@@ -10,16 +10,11 @@ Folders:
|
||||
./mods/d2k/bits
|
||||
./mods/d2k/uibits
|
||||
./mods/ra/uibits
|
||||
~^/Content/ra
|
||||
~^/Content/d2k
|
||||
~^/Content/d2k/GAMESFX
|
||||
~^/Content/d2k/Music
|
||||
~^/Content/d2k/Tilesets
|
||||
~^/Content/d2k/SHPs
|
||||
|
||||
Packages:
|
||||
~main.mix
|
||||
conquer.mix
|
||||
SOUND.RS
|
||||
|
||||
Rules:
|
||||
@@ -101,8 +96,8 @@ Movies:
|
||||
|
||||
LoadScreen: D2kLoadScreen
|
||||
InstallerMenuWidget: INSTALL_PANEL
|
||||
TestFile: SOUND.RS
|
||||
PackageURL: http://open-ra.org/get-dependency.php?file=d2k-complete-packages
|
||||
TestFile: DATA.R8
|
||||
PackageURL: http://open-ra.org/get-dependency.php?file=d2k-103-packages
|
||||
|
||||
ServerTraits:
|
||||
LobbyCommands
|
||||
|
||||
Reference in New Issue
Block a user