from Hacker News

Show HN: Resurrecting a dead Dune RTS game

by wheybags on 7/13/24, 7:00 PM with 100 comments

  • by cmcaleer on 7/14/24, 9:15 AM

    This game actually holds a ton of significance for the RTS genre as a whole. A very typical view of the RTS genre is that you have peasants who harvest resources that you gave to protect, and the Dune RTS was a real progenitor in this.

    But it was only like that because of the book. Were it not like that, maybe RTS as a genre would have gone down a different path. Maybe it's inevitable that it would have eventually gone down the path that it took eventually, but there's a good chance that it would have been unrecognisable. Maybe you'd have gotten resources by just harvesting your base's resources instead so opponents would have harassed you by harassing your buildings instead. Maybe there would have been different bonuses for map control other than better access to resources.

  • by Sesse__ on 7/14/24, 10:06 AM

    Very nice post! I did something related to this a decade back, except it was for Tiberian Sun and to patch its networking code. Jumping into other people's code like this is like having a shared connection in a sense. I noticed to my horror that there was a completely separate stack for modem play; it wasn't like they just sent TCP/IP over the modem or something. Some poor soul must have spent months of their life writing all this custom code for framing and syncing and error handling (what happens if the connection goes down and you have to re-dial, etc.?). Which was irrelevant almost already when the game originally came out.
  • by inetknght on 7/14/24, 5:34 PM

    Hey this is nice! This comment stuck out to me:

    > Westwood Online (WOL) doesn't work anymore, so you can't play multiplayer except through LAN

    I loved Command & Conquer in my younger years and I know a small bit about Westwood Online from the client side.

    If I recall XWIS.net did a lot of support after WOL went offline! It might be worth the author reaching out to the niche developer community there, although I think it's truly dying out. If I recall, the work that XWIS guys did ended up getting recognition from EA and they did a lot of help to continue WOL support for C&C Renegade.

    There's also FreeRA project that is the direct ancestor of several of the recent re-releases of C&C on eg Steam. They might also be able to help get WOL working.

    I say this because WOL was pushed as its own library, and so a replacement of the library will probably be fairly easy compared to (re-)reverse-engineering the WOL stack.

    Edit:

    Oh, as I continue reading the post, it goes on to discuss how the WOL component is also fixed. Extra nice!

  • by metadat on 7/14/24, 12:08 AM

    Great article, wish I could go out for a night on the town with the author, I feel like they're pretty darn fun and intelligent.

    The cute expandable explanations are just the bee's knees, and also useful. I felt like I was playing some sort of choose your own adventure RPG just reading TFA, which was a new kind of experience.

    --

    p.s. re: > CS:GO, which was only retired in 2023

    I thought CS:GO was rebranded to CS2. Am I mistaken? (very probably, yes, pretty please enlighten me!)

  • by Log_out_ on 7/14/24, 4:28 PM

    The idea that modern add-HD riddled and pay to win shovelware gets defeated by old classics is deeply entertaining to me. Just one hacker helping.. and the audience would drive the crapware out of town on a rail. Almost like good things of the past in an eternal medium will always outcompete mediocre things of the present.
  • by Kerbiter on 7/14/24, 8:08 AM

    That's a great writeup and a great effort! Perhaps we could integrate with your efforts at CnCNet somehow. Come hang out with us on CnCNet :)
  • by herodoturtle on 7/14/24, 1:13 PM

    > It's got a 28.8 BPS modem

    Active matrix, man. A million psychedelic colors.

  • by grafelic on 7/13/24, 10:49 PM

    Very interesting and in depth article. I really appreciate the amount of detail and knowledge shared about how to go about reverse enginnering and patching abandonware like this. Thank you. Saw the game in a local thrift store, but left it be, since I only played Dune II rts. I will pick it up for sure now.
  • by chaostheory on 7/14/24, 5:00 AM

    On a related note, there is a modern Dune RTS on steam

    https://store.steampowered.com/app/1605220/Dune_Spice_Wars/

  • by le-mark on 7/14/24, 11:51 AM

    > UI design is my passion.

    So great, I really miss writing like this. Reminds me of Steve Yegge blog posts, among others.

  • by bbor on 7/13/24, 11:15 PM

    This is the most amazing things I’ve seen in ages, very exciting!! I’m very far from the technical work here, but I appreciate how approachable you made it. Can’t wait to try it when I get home!
  • by evanjrowley on 7/14/24, 5:19 AM

    I loved this game very much. Best soundtrack of any Westwood Studios game. So glad it's still playable.
  • by hyperman1 on 7/14/24, 4:41 PM

    I see this kind of note regularly in blog posts:

      This is probably a good time to mention that I am not a skilled reverse engineer. 
    
    Nope. You've walked the walk, you've earned the right to talk the talk. We're all building experience as we go.

    You're now at least a junior reverse engineer, and seeing the size of this project, you can even drop the junior as far as I'm concerned. Enjoy!

  • by renegat0x0 on 7/14/24, 7:06 AM

    There still appears to be existing a fan page

    https://dune2k.com/Duniverse/Games/Emperor

  • by a_sync on 7/18/24, 3:46 PM

    You know, it’s kinda interesting to see how RTS games have changed over the years. Like, Dune II set the stage with its mechanics, but then games like Dawn of War and Blood and Magic started doing their own thing. It’s sorta like how FPS games evolved from Doom to stuff like Half-Life and now all these battle royale games. Just shows how game design, player feedback, and tech keep changing things up. Makes you wonder what the next big thing in RTS games will be, especially with AI and procedural generation getting better. Anyway, just some thoughts.
  • by nkrisc on 7/15/24, 8:17 AM

    This is amazing. I will have to dig out my disks - I hope I still have them. This game barely ran on my computer I had at the time, so it will be nice to finally play it in its full, non-glitchy graphics glory. As I recall, the team color coded parts of everything just showed up as a glitchy rainbow texture.
  • by darksim905 on 7/15/24, 8:58 AM

    This is oddly well timed and amazing. I've been thinking about Dune and wanting to play it for a while now when I was recently looking at some old games when I had a Packerd Bell PC. Sweet, amazing work! :)
  • by skrebbel on 7/15/24, 12:21 PM

    Wow this is such an entertaining read, hats off! I love how it kept switching me between “wait the westwood people did what?” and “wait you patched it with what?”?
  • by einpoklum on 7/15/24, 12:32 PM

    But why "Emperor: Battle for Dune"? I don't remember that game being so highly-regarded or influential? I'd probably take Dune 2 over it TBH.
  • by binary132 on 7/14/24, 12:14 AM

    I am really stoked about this actually, I thought it could not happen
  • by smcin on 7/13/24, 10:35 PM

    'Emperor: Battle for Dune', a 2001 RTS game by Westwood Studios, essentially a Dune-themed 'Command & Conquer'.

    Play as one of the three main factions: House Atreides, Harkonnen, or the (non-canon) Ordos.

    https://dune.fandom.com/wiki/Emperor:_Battle_for_Dune

  • by neurocline on 7/15/24, 5:37 PM

    Small nit, but my understanding is that Herzog Zwei was the first RTS, although I agree that Dune II popularized the genre.
  • by tonfreed on 7/14/24, 1:18 AM

    The soundtrack he links to reminds me of a game from the 90s called 7th Legion. It was average at best, but the music was killer
  • by lmz on 7/13/24, 11:41 PM

    I wonder if they can use manifests / registration-free COM to avoid the registry dependency of the online component.
  • by TechDebtDevin on 7/14/24, 6:26 AM

    Damn, what if we don't have any access to a physical copy of the game?
  • by personjerry on 7/14/24, 4:02 AM

    Any chance to port this to mac? :)
  • by lowbloodsugar on 7/14/24, 12:29 AM

    Hats off. Amazing effort. Great read. I haven’t used IDA on a game in a long while and this is next level effort. Bravo.
  • by metadat on 7/14/24, 4:51 PM

    Since it's now abandonware, you can download Emperor: Battle for Dune from archive.org directly or via torrent:

    https://archive.org/details/EmperorBattleForDuneUSAEurope

    (For others who, like me, want to try this game out with the wheybags patch :)

    Just for fun, I also dug up the past pirate releases:

      releaseName                                              TYPE      releaseDate
      -------------------------------------------------------  --------  -------------------
      Emperor_Battle_for_Dune_v1_06_Update-RAZoRDOX            GAMES     2001-06-21 00:00:00
      Emperor.Battle.for.Dune.Update.v1.07.Cracked-MYTH        DOX       2001-06-30 16:16:43
      Emperor.Battle.for.Dune.All.Level.Saves-EyM              0DAY      2001-07-10 12:07:49
      Emperor.Battle.for.Dune.Update.v1.08.Cracked-MYTH        DOX       2001-08-17 08:17:39
      Emperor.Battle.For.Dune.Update.v1.09.Cracked-MYTH        DOX       2001-10-06 06:04:21
      Emperor.Battle.for.Dune.Update.v1.06.Cracked-MYTH        DOX       2003-07-11 22:33:37
      Emperor-Battle_For_Dune-NORDiC-DOX-RUSDOX                DOX       2003-07-11 22:33:45
      Emperor.Battle.For.Dune.Poradnik.POLiSH.PDF.eBook-KiOSK  BOOKWARE  2006-03-10 01:48:50
      Emperor.Battle.For.Dune.Money.Trainer-FLTDOX             DOX       2006-10-10 21:52:25
      Emperor.Battle.for.Dune.v1.06.Update-RAZoRDOX            0DAY      2006-10-10 21:52:30
      Emperor_Battle_For_Dune_Money_Trainer-FLTDOX             DOX       2006-10-10 21:52:30
      Emperor.Battle.for.Dune-DEVIANCE                         GAMES     2007-02-15 17:25:00
      OST-Emperor_-_Battle_For_Dune-CD-2001-DGN                MP3       2010-09-01 22:45:42
    
    I was surprised to see there is even an OST soundtrack! Amusing.
  • by BugsJustFindMe on 7/15/24, 7:48 AM

    @wheybags, you may want to optimize the images.

    https://wheybags.com/assets/blog_pics/emperor/first_coop.jpg is 5MB for no good reason, and takes forever to load, etc.