Jump to content

Welcome to FED2k Discussion
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

OpenD2k - cross platform reimplementation of Dune 2000

openra mod open source dune 2000

  • Please log in to reply
369 replies to this topic

#1
Matthias M.

Matthias M.

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 180 posts
  • LocationGermany

This is now officially part of OpenRA since playtest-20120715-2. Please report broken things at http://bugs.open-ra.org and see https://github.com/O...=D2k&state=open for known issues. Fork us at https://github.com/O...enRA/tree/bleed to contribute patches.

 

http://open-ra.org/ is a modern open source cross-platform reimplementation of the early westwood RTS games. It supports Command & Conquer: Red Alert and Tiberian Dawn as mods adding new units and rebalancing the game. There is an active community of developers and players for online matches via a nice Lobby.

I've been working the last weeks on a Dune 2000 mod for OpenRA. As the game engine is similiar, but not identical (different game files, tile sizes, frameorders ...) so progress is not so fast. I already wrote a converter for the sprites and scripted some units/buildings.

As the ratings of the original Dune 2000 are overall quite bad and this is quite some work I wonder if people will actually play the game once it is in a more polished state. Is there any interest at all?

Attached File  d2k_splash_screenshot.png   20.88KB   177 downloads

The text in the splash screen will change over time. If you have nice ideas, I will add them :)

Attached File  first try.png   301.39KB   214 downloads

Well you can see, it's more like Command & Conquer: Yellow Alert right now. Some misplaced Dune 2000 units invading the UdSSR in winter. The code is in C#, but mostly it consists of simple YAML textfiles. If you want to help you can see the code here: https://github.com/Mailaender/OpenRA/ It requires the DATA.R8 to be ripped off using a shell script at the moment. Not very user friendly, I know and you guys probably all use Windows so you need to write a batch file instead. I plan to later add an in-game GUI auto-import of the game files as exists for the other official OpenRA mods.


  • mvi, Dr.Mocha and Gogetasayen4 like this

oTbYkym.png


#2
NodFan

NodFan

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 102 posts
  • LocationDetroit Michigan
thanks man, I have been suggesting the openra team to include D2K but as usual they say that D2K is not possible to mod, other than that we now need D2K maps and a script to have them buildable on rock type terrain only. :)
  • NodFan likes this
only the Freeman are the true rulers of Arrakis

#3
djbaskan60

djbaskan60

    Sand Flea

  • Fedaykin
  • Pip
  • 15 posts
nice idea. I think so. I hope that would be really nice

#4
mvi

mvi

    Swordmaster

  • Fedaykin
  • PipPipPipPipPipPip
  • 671 posts
  • LocationD2K+
Have you had any luck with parsing Data.r8/16 yet? Parsing the tile sets was very straight forward, but the Data file seems to use a dozen different variations, although I've worked out most of them. (That may just be Data.R16 though)

If you need access to any of the D2K+ source code let me know. It's written in C# so should integrate easily.

#5
mvi

mvi

    Swordmaster

  • Fedaykin
  • PipPipPipPipPipPip
  • 671 posts
  • LocationD2K+
Posted Image

Screenshot of my resource editor handling Data.R8 although I seem to recall according to Sib Grem's editor there were a few hundred more.

Attached Files


  • Matthias M. and Dr.Mocha like this

#6
Matthias M.

Matthias M.

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 180 posts
  • LocationGermany
OpenRA tried to mod Dune 2000, but the gamefiles format is really so lame and in contrast to the CnC game Dune 2000 is not officially Freeware, so they abandoned it. The DATA.R8 reader was hidden in the source code history (and broken). I just had to fix it (well took quite long and it's not really production quality).

Attached File  arrakis.png   479.43KB   94 downloads

They actually have support for the 32x32 tileset, there is even a tileset editor to slice the (custom made) Arrakis bitmap and the map editor already works. However I am currently stuck with in-game crashes whenever I load an Arrakis map combined with strange and not very helpful error messages. Defining on which tiles you are allowed to build is easy once this is fixed.

Many people already complained about the annoying concrete plates. Maybe I will just leave them out. What do you think?

oTbYkym.png


#7
Matthias M.

Matthias M.

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 180 posts
  • LocationGermany

Posted Image

Screenshot of my resource editor handling Data.R8 although I seem to recall according to Sib Grem's editor there were a few hundred more.


I already got inspired by portions of http://code.google.c...Editor/Form1.cs to fix the DATA.R8 reader (please tell me how to credit you appropiately) and got help to understand the offset variables at http://www.sleipnirs...p=282006#282006

The http://d2kplus.com/tileset.php looks interesting. Can I use portions from that one to enhance the OpenRA.Utility.exe to rip the BLOX*.R8 files via commandline options? Are you interested in helping me?
  • Dr.Mocha likes this

oTbYkym.png


#8
mvi

mvi

    Swordmaster

  • Fedaykin
  • PipPipPipPipPipPip
  • 671 posts
  • LocationD2K+
Easier to respond on here since IRC is dying.

The tile set editor is on the trunk as tile set converter. I'm fine with you using any of the source code on there as long as I get a credit somewhere (as mvi) although a plug for d2kplus.com would also be welcome if you can work it in ;-)

If I recall correctly I worked out the entry count should be something like 5600, sib gremlin's editor is interesting to compare to, but I've found that his editors do have a few mistaken assumptions in a few places, I think his R8 editor while awesome has a couple of mistakes too, would need to look into it properly but realistically I'm so busy at work that isn't going to happen in the foreseeable future.

I would love to actively develop for OpenRA but as I said on IRC with the amount of work I have on at the moment I don't have time for my main hobby projects let alone D2K (which is probably about 5th on my coding priority list these days).

The mission files are now very well documented, so it could be cool to include support for the original missions conditions and events. I don't know if you're planning a mission system, but the D2K one seems to work reasonably well and is quite simple. Could be an idea to add a few more conditions and events of your own to make things more interesting? For example an event for giving the player money, so that a mission could be created on another planet (a bit like in EBFD) where harvesting spice isn't a requirement. Just a thought.


Seems like you're making great progress, if you have any queries please ask on here or shoot me an email at barnabysmith@gmail.com :-)

#9
Matthias M.

Matthias M.

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 180 posts
  • LocationGermany

The mission files are now very well documented, so it could be cool to include support for the original missions conditions and events. I don't know if you're planning a mission system, but the D2K one seems to work reasonably well and is quite simple. Could be an idea to add a few more conditions and events of your own to make things more interesting? For example an event for giving the player money, so that a mission could be created on another planet (a bit like in EBFD) where harvesting spice isn't a requirement. Just a thought.


OpenRA has preliminary support for missions with scripted AI, but I think it uses a different format and it is still in the making. Maybe you can write a converter into the map editor which already imports legacy maps. It also has capturable oil rigs that generate money over time so this gameplay element is possible, too.

oTbYkym.png


#10
Matthias M.

Matthias M.

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 180 posts
  • LocationGermany
Scripting the units and buildings is not so hard. I am making good progress. Fixed some rendering bugs and added some units and structures. However notice that the OpenRA engine does not support the Dune 2000 overlays yet leaving some buildings without door and the Arrakis tileset still crashes. I could need a helping hand there.

Attached File  progress.png   492.44KB   106 downloads
  • Dr.Mocha likes this

oTbYkym.png


#11
FedaYkin

FedaYkin

    Dune2k Mapping BOSS

  • Fedaykin
  • PipPipPipPipPipPipPip
  • 1,307 posts
  • LocationD2K+

Scripting the units and buildings is not so hard. I am making good progress. Fixed some rendering bugs and added some units and structures. However notice that the OpenRA engine does not support the Dune 2000 overlays yet leaving some buildings without door and the Arrakis tileset still crashes. I could need a helping hand there.

Attached File  progress.png   492.44KB   106 downloads


Would be nice to have more tilesets, like in EBFD, not only the Arrakis one.

New Atreides Campaign
New Mercenary Campaign

New Ixian Campaign <<<< NEW
Mercenary Mission
Practice/Multiplayer Allied Mod + 8 player patch

D2K_Hammerfest (modded mission) <<<<<<<<<< NEW
YouTube Channel   <<<< Many modding-related videos + different goodies.

Second You-Tube channel 
D2K+ Toolkit Video Tutorials
a2c0g0.png

---------------------------Administrator on d2kplus.com------------------------------


#12
NodFan

NodFan

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 102 posts
  • LocationDetroit Michigan

Scripting the units and buildings is not so hard. I am making good progress. Fixed some rendering bugs and added some units and structures. However notice that the OpenRA engine does not support the Dune 2000 overlays yet leaving some buildings without door and the Arrakis tileset still crashes. I could need a helping hand there.

Attached File  progress.png   492.44KB   106 downloads


lol you should test the D2K buildings on C&C95 Desert maps to use those as D2K Placeholder maps, no offense that D2K Buildings on Grass is a no no :P.
Other than that, good job so far with the mod that I hope one day you can get the real D2K maps in OpenRA (with campagins too of course).
  • NodFan likes this
only the Freeman are the true rulers of Arrakis

#13
Matthias M.

Matthias M.

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 180 posts
  • LocationGermany
I fixed a lot in the last days: The 32x32 Arrakis tileset is working and all the buildings render properly (except the turret). The Atreides are already complete and I added the music and some sounds.

Attached File  welcome-back-to-arrakis-commander.png   413.85KB   108 downloads

The shot looks kinda boring as I don't have very many tiles and the TilesetBuilder is currently broken. Animations (like windtraps, radar dish, infantry) are missing, but this is already playable as I fallback on Red Alert stuff whenever something is not yet implemented.
  • mvi and Dr.Mocha like this

oTbYkym.png


#14
NodFan

NodFan

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 102 posts
  • LocationDetroit Michigan
awsome man, then I cant wait for the Harkonnen and Ordos to be done.
  • NodFan likes this
only the Freeman are the true rulers of Arrakis

#15
Matthias M.

Matthias M.

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 180 posts
  • LocationGermany
I added the Harkonnen:

Attached File  harkonnen.png   392.56KB   92 downloads
  • Dr.Mocha likes this

oTbYkym.png


#16
FedaYkin

FedaYkin

    Dune2k Mapping BOSS

  • Fedaykin
  • PipPipPipPipPipPipPip
  • 1,307 posts
  • LocationD2K+
A question: is there a posibility to add more game types? Such as coop ? From what I've seen in text.uib it was kinda intended by Westwood, but was never released.

New Atreides Campaign
New Mercenary Campaign

New Ixian Campaign <<<< NEW
Mercenary Mission
Practice/Multiplayer Allied Mod + 8 player patch

D2K_Hammerfest (modded mission) <<<<<<<<<< NEW
YouTube Channel   <<<< Many modding-related videos + different goodies.

Second You-Tube channel 
D2K+ Toolkit Video Tutorials
a2c0g0.png

---------------------------Administrator on d2kplus.com------------------------------


#17
Matthias M.

Matthias M.

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 180 posts
  • LocationGermany

A question: is there a posibility to add more game types? Such as coop ? From what I've seen in text.uib it was kinda intended by Westwood, but was never released.

Playing together against the AI is already possible. OpenRA has two AIs. One that is similar to the skirmish AI and a scripted AI for singleplayer campaigns. The skirmish AI works well. It can't handle island maps because it only builds ground vehicles, but that is already enough for Dune.

oTbYkym.png


#18
mvi

mvi

    Swordmaster

  • Fedaykin
  • PipPipPipPipPipPip
  • 671 posts
  • LocationD2K+
You're making fantastic progress, is this all on the Git repo?

#19
Matthias M.

Matthias M.

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 180 posts
  • LocationGermany

You're making fantastic progress, is this all on the Git repo?


Thanks. I created a new branch https://github.com/M...penRA/tree/dune which I update once I tested if everything works correctly. If you want to help here is my https://github.com/M...e/mods/d2k/TODO list.

oTbYkym.png


#20
Matthias M.

Matthias M.

    Desert Warrior

  • Fedaykin
  • PipPipPipPip
  • 180 posts
  • LocationGermany
The source code for http://d2kplus.com/soundeffecttool.php would be helpful.

oTbYkym.png




Also tagged with one or more of these keywords: openra, mod, open source, dune 2000