Jump to content

OpenD2K — a native rebuild of Dune 2000 for macOS, Windows, Linux, Android and iOS (with optional modern graphics and 3D)


Recommended Posts

Posted (edited)

Hi everyone,

I'd like to share a project I've been working on: **OpenD2K**, a native, open-source rebuild of the original Dune 2000 (1998). It is not OpenRA and not an emulator: the game logic was reverse-engineered from the original and rebuilt in C++ on SDL3, so it runs natively on macOS (Apple Silicon and Intel), Windows, Linux, Android and iOS.

It uses your own game files — the free Gruntmods Edition works out of the box (you can even point it at the installer .exe and it unpacks it itself).

**What's in 0.0.1**
- The original campaigns, skirmish, AI and rules, aiming to play exactly like the 1998 game. Original bugs are fixed, everything else stays faithful.
- Three looks, switchable at any time:
  - **Original** — pixel-exact 1998 graphics and sidebar.
  - **Enhanced** — redesigned terrain, modern effects, soft shroud, a day/night cycle with lights on units and buildings, sun-following shadows, HDR.
  - **3D** — a 2.5D battlefield with 3D models of every unit and building, sun shadows and a free camera.
- A redesigned art pack (all houses: units, buildings, 3D models), downloadable from inside the game (CC BY-SA).
- Community campaigns (Summers' Solstice, Coalition of Nobles, War of the Landsraad and more), including the extended mission events.
- Cutscenes (Gruntmods cutscene installers or a PS1 disc image), several languages incl. Russian.
- Optional quality-of-life features (modern controls, health bars, extended queues, rally points...) — all off in the original setup.

**Download:** https://github.com/OpenD2K/opend2k/releases/latest
The builds are not signed yet, so macOS / Windows / Android will warn on first launch (instructions in the release notes). iOS: a sideload .ipa (AltStore / SideStore / Sideloadly / TrollStore) or build it with Xcode.

It's an early version — known issues are listed in the release notes (some models are still rough, building fire gets redone in 0.0.2, no multiplayer yet). Bug reports are very welcome on GitHub Issues, ideas in Discussions.

Most of the code and the 3D model scripts were written with Claude Code (AI), directed and tested by me.

Big thanks to Westwood for the original game, to the Gruntmods team for the Gruntmods Edition, to FunkyFr3sh and the CnCNet patch authors whose work was an invaluable reference, and to jkoncick for D2kEditor.

Dune 2000 © Westwood Studios / Electronic Arts. OpenD2K is a fan project, not affiliated with EA, and contains no game data.

original-vs-enhanced.png

3d.png

3d-dusk.png

enhanced-night.png

Edited by Alexpop2
Posted

**OpenD2K 0.0.2 is out!** → https://github.com/OpenD2K/opend2k/releases/latest

- **Closer to the original**: the move circle and the grey blink of attacked units/buildings like in 1998, ordering units via the radar, right click always deselects, enemy turrets firing at your carryall/ornithopter become visible, only destroyed buildings shake the screen. New options for the original's limits (64 units per order, 1000 objects per side) — Original keeps them, Enhanced/3D lift them.
- **Graphics**: real building fire, working animations on the new buildings (factory welding, repair sparks, Death Hand launch, starport landing lights), buildings rising out of rocks like in the original, tanks that squat/roll/recoil and fire from the real barrel, shadows that follow the sun, hundreds of headlights at night in 3D, brightness/contrast/gamma settings, control-group numbers on units.
- **Much smoother**: no more micro-freezes, and 3D is 2–3× faster.

Full list in the release notes. If you already have 0.0.1: download the new build for your platform — your settings, saves and the art pack stay; the game offers the art pack update in Options → Art pack.

Trailer: https://www.youtube.com/watch?v=pWEZdnSceE8

Posted

Hi everyone,

OpenD2K 0.0.3 is out!

Trailer: 

This one is mostly about 3D. The new look, 3D (Reimagined), has:
- taller sculpted sandstone cliffs, a low warm sun with long soft shadows, and terrain made from photo scans
- the landscape continuing past the map edge, under the fog of war
- spice fields with relief, track marks and dust trails, and boulders, rubble and scrub on the ground
- burning vehicle wrecks, crashing aircraft, lit smoke and craters that follow the slopes
- the first redesigned 3D buildings: wind traps for all three houses, the Atreides refinery and construction yard (with a working crane), and a bigger harvester
- vivid colours by default, or an optional more realistic colour grade

The graphics presets are now Original / Enhanced / 3D (Reimagined) / 3D Classic (the original 1998 tiles on the 3D battlefield). The 3D extras download from inside the game: Options > Art pack > Get all for 3D.

For every look:
- smoother units at lower game speeds and an optional smooth camera
- optional Modern unit movement and attack-move (hold A and click)
- hotkeys work with any keyboard layout
- optional Russian AI voices (unofficial fan work, about 4 MB)

The original game is still there exactly as it was: Original graphics, original controls and the original rules.

Builds for macOS, Windows, Linux, Android and iPad/iPhone. Your settings and saves carry over from 0.0.2. You still need your own game data: the free Gruntmods Edition installer from gruntmods.com.

Bug reports and ideas are very welcome, here or on GitHub.

Posted
12 hours ago, X3M said:

If it works better than C&C3D, I will give it a try.
C&C3D bugs too much. It works on a N64 engine apparently?

It's a new engine, written from scratch in C++ with SDL3. It isn't based on OpenRA or any other existing engine. The game logic was rebuilt by reverse engineering the original PC version of Dune 2000, so units, AI, economy and missions behave like the original. The code is all new and contains no original code or game files. It reads your own original game files (the free Gruntmods Edition) for graphics, sound and maps.

So unlike what you describe for C&C3D, there's no N64 or other console engine and no emulation: it's a native PC rebuild.

If you have your own copy of the PlayStation version, OpenD2K can optionally read some content from the disc: its cutscenes, and its 3D building and vehicle models for the 3D mode. That's content only, not the PS1 engine.

On top of that there are optional extras: Enhanced 2D graphics, smoother movement and modern controls. There's also a 3D mode, which is our own renderer. The original had no 3D, so it's a new way to view the same game: the battle underneath is exactly the same simulation as in 2D. The Original preset keeps everything as it was in 1998, and even there you can switch on small optional tweaks if you want them: a longer build queue, factory rally points, attack-move (units fight whatever they meet on the way) and health bars. All of them are off-switchable, so the pure original is always one click away.

It runs natively on Windows, macOS, Linux, Android and iPad/iPhone. It's still early (0.0.3), so I'd be glad to hear about any bugs you find.
 

Posted

Well, downloaded it. Did some testing. So far, looks very cool.

I wonder about getting the full 3D experience though. 3D re-inmagined.
What settings should I pick? 

Posted
19 hours ago, X3M said:

Found it!!

Will observe tomorrow.

Glad you like it, thanks for trying it!

For other players who want the full 3D experience: Options → Graphics → 3D (Reimagined), then Options → Art pack → Get all for 3D (redesigned models, photo terrain and ground clutter). Feedback and bug reports are very welcome!
 

  • Alexpop2 changed the title to OpenD2K — a native rebuild of Dune 2000 for macOS, Windows, Linux, Android and iOS (with optional modern graphics and 3D)
Posted

I just realized, once this 3D works well. You could add the EbfD units as well at a certain point...
But that is future work.

This 3D mod is now on my todo list for games that I want to stream. It is really awesome. And seeing as how Barkhan isn't going to be seeing the light, like, ever. This is the best we got. And a job well done so far!

As for feedback:
- I would love to zoom in more, really experience the 3D. Like in that one video you showed. For some reason, I cannot find this option (yet)?
- As for full screen, for some reason, I cannot find this either?
- And as for the colours, I should take a good look at what looks best. The problem here is that if you go into the menu for doing settings. The game in the background gets darkened. Thus, I adjust something, then have to exit the menu to see the effects. Then go back in again....What if you do not do that, darkening the background? So players can actually see what they are adjusting.

Posted
14 hours ago, TAK02 said:

Westwood's and Cryo's Dune games are underrated.

Emperor: Battle for Dune when?

Couldn't agree more! Emperor: Battle for Dune is another classic that deserves a second life. Hopefully, OpenD2K will inspire someone to take on that project too! For now, my focus is on Dune 2000.

Posted
14 hours ago, X3M said:

I just realized, once this 3D works well. You could add the EbfD units as well at a certain point...
But that is future work.

This 3D mod is now on my todo list for games that I want to stream. It is really awesome. And seeing as how Barkhan isn't going to be seeing the light, like, ever. This is the best we got. And a job well done so far!

As for feedback:
- I would love to zoom in more, really experience the 3D. Like in that one video you showed. For some reason, I cannot find this option (yet)?
- As for full screen, for some reason, I cannot find this either?
- And as for the colours, I should take a good look at what looks best. The problem here is that if you go into the menu for doing settings. The game in the background gets darkened. Thus, I adjust something, then have to exit the menu to see the effects. Then go back in again....What if you do not do that, darkening the background? So players can actually see what they are adjusting.

Thank you so much! I'd love to see OpenD2K on your stream! 

Regarding your feedback:

- Zoom: You can zoom in using the mouse wheel, but the current limit doesn't allow you to get as close as in the video. I'll increase the maximum zoom level.
- Fullscreen: It's available under Options → Graphics → Display. I'll also add an Alt+Enter keyboard shortcut.
- Graphics settings: That's a really good point! I'm planning to introduce a live adjustment mode that temporarily hides the settings menu and shows a compact toolbar at the bottom of the screen, so you can see the battlefield without dimming and preview colour adjustments in real time.

Adding Emperor: Battle for Dune units is an interesting idea, but for now my main focus is on Dune 2000 itself.

Thanks again for taking the time to share such detailed feedback! It's really helpful!

Posted

Someone beated me to it. But....a big guy like this, 100 times bigger than me, will spread the word also 100 times faster. So, best for you.

Posted

Hey!

Just found this piece browsing YouTube and immediately got my attention!

A few things I am interested about:

1. Only Gruntmods? I had the other installer for D2k Online (also has the original D2k CD but currently has no CD\DVD drive), would that work to to install this?

2. Is this works on Win7 64bit?

3. After have a look on the videos I wonder: Could you resize the infantry units? Purely aesthetic thing but they looks like clanner elementals compared with the vehicles. Not much rescale, about 75-80% of their current size?

4. You mentioned it's use the original engine's routines. The AI still handle the walls as impassable&indestructibe obstacles or willing to attack them if those block it's units?

Posted
21 hours ago, X3M said:

Someone beated me to it. But....a big guy like this, 100 times bigger than me, will spread the word also 100 times faster. So, best for you.

There's always room for another video! I'd still love to see your stream, regardless of how big your audience is. Every bit of support means a lot to me!

The next update is getting closer, and you'll have even more interesting things to show!

Posted
10 hours ago, Duke Falcon said:

Hey!

Just found this piece browsing YouTube and immediately got my attention!

A few things I am interested about:

1. Only Gruntmods? I had the other installer for D2k Online (also has the original D2k CD but currently has no CD\DVD drive), would that work to to install this?

2. Is this works on Win7 64bit?

3. After have a look on the videos I wonder: Could you resize the infantry units? Purely aesthetic thing but they looks like clanner elementals compared with the vehicles. Not much rescale, about 75-80% of their current size?

4. You mentioned it's use the original engine's routines. The AI still handle the walls as impassable&indestructibe obstacles or willing to attack them if those block it's units?

Hey! Thanks for your interest in OpenD2K! 

  1. Gruntmods is not a requirement. Other Dune 2000 installers should work too, although I've only tested the Gruntmods Edition so far. You can install D2k Online and select its installation folder on the OpenD2K game data page. Since you own the original CD, the next release (0.0.4) will also support importing game data directly from the original CD or a disc image (.iso or .bin/.cue) via the "Original CD / ISO…" option.

  2. Windows 10 is the official minimum requirement. However, another player has confirmed that OpenD2K works perfectly on Windows 8.1. Windows 7 hasn't been tested yet, so I'd be interested to hear your results if you give it a try!

  3. You're not the first person to suggest this! I've already implemented an optional infantry size setting for 0.0.4. You'll be able to choose between 0.8x, Original, 1.25x and 1.5x. This is purely visual and doesn't affect gameplay.

  4. The current AI preserves the original game's behaviour. I'm also considering introducing an optional Modern AI with improved behaviour in the future.

Thanks for the great questions!

Posted

o/

 

It installed to my Win7 and the enchanted version works. So, officially, the enchanced (and tested the classic to!) version do works on Win7!

But I cannot download the 3d datapack because I always told a certain directory could not be created (users\me\appdata\roaming...) BUT I checked and the directory DID created but empty...

Could you make the 3d pack available to direct download via the ModDB? Then one could just unpack the files in the empty directory? I used my admin rights but cannot circumvent the strange download\install failure of the 3d assets...

Posted

Update:
Found the full screen option. Alas, it crashes the game.
The only positive thing I can say is that the screen does look brighter at full screen. Not dark red when windowed.

Right now, I use a 4k screen resolution with a 300% zoom on my desktop.
300% and 250% crashes the game.
200% increases the looks AND crashes the game.
100% increases the looks even more AND crashes the game.

I have no suggestions here. I don't even know what goes wrong exactly.

Posted
37 minutes ago, Duke Falcon said:

o/

 

It installed to my Win7 and the enchanted version works. So, officially, the enchanced (and tested the classic to!) version do works on Win7!

But I cannot download the 3d datapack because I always told a certain directory could not be created (users\me\appdata\roaming...) BUT I checked and the directory DID created but empty...

Could you make the 3d pack available to direct download via the ModDB? Then one could just unpack the files in the empty directory? I used my admin rights but cannot circumvent the strange download\install failure of the 3d assets...

That's great news! Thank you so much for testing! I'm really happy to hear that both Classic and Enhanced modes work on Windows 7. I'll update the documentation to mention community-confirmed Windows 7 compatibility.

Regarding the art pack download, it looks like Windows 7 reports an error even though the directory was successfully created. I've implemented a potential fix for the next release (0.0.4).

In the meantime, you can download the art packs directly from the Assets section of the GitHub release page:

https://github.com/OpenD2K/opend2k/releases

Extract the packs into:

%APPDATA%\OpenD2K\Dune 2000\artpacks\

Make sure each pack has its own folder inside the artpacks directory, then restart the game.

Thanks again for helping improve compatibility with older versions of Windows!

Posted
23 minutes ago, X3M said:

Update:
Found the full screen option. Alas, it crashes the game.
The only positive thing I can say is that the screen does look brighter at full screen. Not dark red when windowed.

Right now, I use a 4k screen resolution with a 300% zoom on my desktop.
300% and 250% crashes the game.
200% increases the looks AND crashes the game.
100% increases the looks even more AND crashes the game.

I have no suggestions here. I don't even know what goes wrong exactly.

Thanks for testing and sharing these details! 

The fullscreen crash appears to be related to a known issue in 0.0.3 that has already been addressed in the upcoming 0.0.4 release.

The dark red colours in windowed mode are most likely related to HDR handling, which has also been improved. The next version will only enable HDR when it's enabled in Windows itself.

Version 0.0.4 will also introduce:

- Fullscreen render resolution scaling (75%, 67% and 50%), which should be particularly useful for 4K screens.
- A safe startup mechanism to recover from problematic graphics settings.
- Automatic diagnostic logging to make investigating crashes much easier.

For now, I'd recommend playing in windowed mode. Hopefully, the next update will resolve both issues for you!

Thanks again for your patience and for helping me improve the game!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.