Slashdot Mirror


Duke3d in Linux

Obiwan Kenobi writes "So it took four days, but Duke3d now runs in Linux, courtesy of Icculus.org. Ironically, a win32 port has yet to be released. Features include full sound support, hi-res video modes (aka VESA modes for those familiar with DOS), saved games, full screen or windowed viewing, and even the BUILD editor works (to a degree). No mouse, demos, or networking just yet, but the basic gameplay is there and now that the BUILD engine has been ported a win32 version is soon on the horizon."

59 of 393 comments (clear)

  1. Yea... by st0rmcold · · Score: 5, Funny


    Time to kick ass and chew bubble gum!

    --
    Posting useless rant since 2003.
    1. Re:Yea... by mikecarrmikecarr · · Score: 2, Funny

      Time to kick ass and chew bubble gum!

      ...and I'm all out of gum!

      Sorry, I had to :)

      --

      ID-10-T is a way of life

    2. Re:Yea... by Doug+Neal · · Score: 4, Funny

      ...and I'm all outta ass!

  2. Jumping the gun guys.... by mahdi13 · · Score: 5, Informative

    Basic gameplay is there, but the fun stuff doesn't work...

    What doesn't work/known bugs:
    * Windows port doesn't exist yet, but is probably just a matter of getting it to compile (the engine itself is already ported).
    * Networking/modem/multiplayer at all.
    * Resampling of audio is broken, so sometimes duke sounds weird.
    * Mouse/joystick input isn't working yet.
    * Demos are broken (they are broken in the initial source release, too).
    * Probably other stuff. Do NOT consider this stable and complete yet!

    --
    "Some things have to be believed to be seen." - Ralph Hodgson
    1. Re:Jumping the gun guys.... by insanecarbonbasedlif · · Score: 3, Funny

      * Networking/modem/multiplayer at all.

      Actually, I understand that they got networking operational, but they have turned it off for now until they can put in support for the new "evil bit" standard...

      They're going to use it to identify the people that changed the source code to cheat...

      --
      Just because I doubt myself does not mean I find your position compelling.
    2. Re:Jumping the gun guys.... by b_pretender · · Score: 2, Informative
      Good point. Does anyone know of a time table for these features, if they are to be released at all?
      I don't know. You might want to contact the creators of this patch and ask them for a time table. I think I saw an email address somewhere below the following portion of their webpage:
      IF YOU HAVE PROBLEMS:
      Tough luck. Do NOT contact us with bug reports at this time. Do NOT contact us if you can't get it to build. Do NOT contact us for copies of the game. In fact, if you aren't sending us code, don't contact us at all.

    3. Re:Jumping the gun guys.... by insanecarbonbasedlif · · Score: 2, Funny

      I think it's because, like Heinlen said, "we laugh because it hurts...". Cheers. :)

      --
      Just because I doubt myself does not mean I find your position compelling.
    4. Re:Jumping the gun guys.... by Robotech_Master · · Score: 4, Interesting

      The state of Linux gaming is kind of sad, maybe, but... ...I mean, come on! This is Duke Nukem we're talking about here! Though Quake and Unreal might be more advanced, and Half-Life has an awesome story and neat FX, I have to say that Duke 3D rates as one of the most flat-out fun first person shooters I've ever played. Especially with all the sly in-jokey references to other FPSes of the day, or the utterly hilarious "secret areas." (Duke on the bridge of the Enterprise-D: "Looks like I have the conn.")

      I think that DN3D in Linux is a GOOD thing, and more than worthy of a Slashdot report. Finally, I can use that Atomic Edition CDROM for something other than listening to the "Grab Bag" CD audio track.

      --
      Editor Emeritus and Senior Writer, TeleRead.org
  3. icculus guys rule by defile · · Score: 5, Interesting

    Having two computers on-hand rules too. Now if I could just find the game files...

    Interesting case for buying games instead of warez'ing them. In 5 years when the game source is GPL'd, the box with all of the game data will be sitting on your shelf.

    1. Re:icculus guys rule by coupland · · Score: 2, Insightful

      Uhhhh... And if you warez it the data files will be sitting right there on your HD or a burned CD. I can think of much better reasons for buying games than simply having the data handy when it goes GPL. How about: if you don't buy the games you play, eventually there won't be anything to be GPLed...

  4. Software Support by Anonymous Coward · · Score: 2, Funny

    IF YOU HAVE PROBLEMS:

    Tough luck. Do NOT contact us with bug reports at this time. Do NOT contact us if you can't get it to build. Do NOT contact us for copies of the game.


    Don't you love the support you get with Linux software?

    1. Re:Software Support by reinard · · Score: 5, Insightful

      These guys are usually actually willing to give great support with odd problems. In general I have received MUCH better support from the OSS community, then what i get for paying $150/hr to a brain-less M$ support tech. Why would they provide support for a product that they know isn't done or even beta ready, has tons of known problems and after all, has been in development for 4 days? I think this is very reasonable. And when was the last time YOU talked to the actual coder of a piece of software at M$ or other commercial software company? In the OSS community, if you really have a bug or weirdness, they are usually more then willing to exchange emails with you directly. AND this is FREE. What are you complaining about?

      --
      Reinard
    2. Re:Software Support by Lumpy · · Score: 5, Funny

      Don't you love the support you get with Linux software?


      Yes I do, how dare they! I paid good money for that game and I expect it to work perfectly! Dammit they should be at my beck and call!

      Sheesh, 4 days with the source and it should already use the Geforce4 features and look better than Ut2003! what are these aresholes doing? I demand they support me now! I demand they do what I want!

      Hmmm, I am SURE that microsoft will gladly give me free support on all their products.

      This sarcasim brought to you by the letter O.

      --
      Do not look at laser with remaining good eye.
    3. Re:Software Support by cbreaker · · Score: 3, Informative

      Hey, I *was* a so-called "brainless" MS Support Tech. And let me tell you. We had some of the brightest people I've ever worked with at that place. It was the best group of people I ever worked with. Any problems with NT or Exchange you could POSSIBLY have and we'd be able to fix them.

      And it's not $150/hr. It's $250/incident. Unlimited callbacks and time about the incident. It's not bad considering the caliber of support people we had over there.

      It could be different now, I don't know. But it couldn't be too different. Maybe you got unlucky with a new tech.

      Not defending MS here, and I agree that I can find solutions to most problems with OSS/GNU/Free software quick online. But don't just throw out this kind of junk because it's popular opinion.

      --
      - It's not the Macs I hate. It's Digg users. -
    4. Re:Software Support by fstanchina · · Score: 2, Interesting

      The key is at this time. Come on, anything done in just 4 days is bound to be a very very experimental hack.

    5. Re:Software Support by matthoover · · Score: 2, Funny

      Yep. They could have at least told us to Read the book! It's a wonderful, powerful, magical book! Read it!

    6. Re:Software Support by ElGuapoGolf · · Score: 3, Insightful


      I won't dispute the anti-MS tone here.

      However, you seemed to be at the other end of the spectrum. Singing the praises of MSFT support will likely get you snorts and giggles from most MSFT developers.

      The fact is, anybody who pushes the limits of the system (as we did) is going to run into trouble. And as you said in an earlier post, you guys (MSFT support) don't have access to the source. You basically have what the developers have. In that case, which I have to imagine happens quite a bit, support is useless, no matter how "bright" the people reading the scripts are.

      And ya know what, I will sing some praises here. I find bugs in Resin that I can't track down, and I post a message to the developers, and it's fixed. You just don't get that kind of interaction with MSFT. And maybe I've gone off on a tangent here (okay, I have), but that's what's really lacking with MSFT. A pipeline to the developers.

  5. Hail to the King baby! by Pxtl · · Score: 5, Funny

    Right, now lets start getting this ported to every system on earth. Duke3d for Dreamcast, PalmOS, and JavaVM everyone!

    1. Re:Hail to the King baby! by anotherone · · Score: 2, Informative

      I fucking wish. the build engine is written in x86 assembly, though... I imagine that will probably dissuade dreamcast ports. :o/

      --
      Username taken, please choose another one.
  6. I hate to ask... by loquacious+d · · Score: 5, Interesting

    ...but is a Mac OS X port feasible? I know Duke3D used to run on OS9, so whatever mac-specific code it needs is extant. Was that released along with all the x86 stuff?

    1. Re:I hate to ask... by GiMP · · Score: 2, Insightful

      The MacOS port was done by a 3rd company (like a Loki for MacOS). That source is not provided.

      I'm sure the x86 asm will eventually be removed and thus run on other architectures, but that will be a bit tedious. Build took icculus.org ~4 months to port to x86 Linux and I don't believe it runs under PowerPC at all yet.

      Duke3d is based on Build and thus why the Duke3d port to linux was so quick. Some functions used in Duke3d were also ripped out of the linux ROTT port.

      Essentially, it might have taken a bit longer for the Duke3d port if BUILD and to a lesser extent, ROTT where not released. Infact, Duke3D may never have been released if it was not for the sucess of the ROTT release!

    2. Re:I hate to ask... by Phroggy · · Score: 2, Interesting

      I was wondering about this. The Mac version was ported by MacSoft. Others have said the original DOS version was written largely in x86 assembly, so MacSoft would have had to rewrite all of that. The Mac port was released for both m68040 and PowerPC, so presumably they didn't port the whole thing to both 68040 assembly and PowerPC assembly - they used some higher-level language and compiled it for both (that's just a guess on my part, of course).

      Anyway, I was thinking, if the Mac version was rewritten in C, would it be easier to port the Mac version to Linux or Win32 than to port the DOS version?

      Of course, MacSoft hasn't released the Mac version as GPL, and I can't say I expect them to. I'd think it would be interesting to see their code though...

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
    3. Re:I hate to ask... by TotallyUseless · · Score: 2, Insightful

      Macsoft doesn't own the code to the Mac version of Duke Nukem 3d. They simply found a porting team and published the game. 3D Realms owns the Mac code. It's a shame they didn't decide to release it as well.

      Anyway, in every case I've ever heard of, the people that do the ports for Mac games do not own the finished code. They will own the rights to any tools and libraries they develop to make the porting job easier, but that's it. Another example is Quake. When the sourcecode for x86 was released, the Mac code was kept private. As a result, it took quite a while for a useable Mac port of the GPL Quake code to appear, in comparison with other platforms.

      --

      Time for some tasty Shiner Bock!
  7. Anybody have a working binary? by DeadSea · · Score: 4, Informative
    To compile it you must have:
    1. CVS to check out the code.
    2. SDL Libraries for graphics and sound.
    3. An original Duke Nukem CD to get the configuration files and game data
    4. A DOS box or DOS emulator to install said CD
    5. Make and other compile tools to put it all together
    I'm missing items 3 and 4. Anybody have a working binary they can put up for download?
    1. Re:Anybody have a working binary? by athakur999 · · Score: 5, Informative

      The game engine is GPLed, but the game data isn't. If you want #3, you'll have to beg/borrow/buy/steal it yourself.

      --
      "People that quote themselves in their signatures bother me" - athakur999
    2. Re:Anybody have a working binary? by bazmonkey · · Score: 2, Funny

      3. An original Duke Nukem CD to get the configuration files and game data...

      Anybody have a working binary they can put up for download?


      Not that it's illegal or anything. While I'm at it, here's some child porn, all of my SNES ROM's, and some manilla folder with "CLASSIFIED" stamped on it.

  8. Before you get too excited... by XaXXon · · Score: 5, Informative

    Unless you have a copy of the CDROM Duke Nuken: Atomic Edition, you can't use this. The shareware version doesn't work.

    This leaves me pretty much out in the cold.. :(

    1. Re:Before you get too excited... by RealityMogul · · Score: 3, Interesting

      If you have the source code - couldn't you "make" the shareware version work?

  9. win32 ? by bigmouth_strikes · · Score: 5, Insightful

    "Ironically, a win32 port has yet to be released."

    Ironically, Duke3d has been running on win32 operative systems since the beginning. The tweaks to get the it working has been around about as long.

    --
    Oh, I can't help quoting you because everything that you said rings true
  10. I've been waiting so long ... by SuperDuG · · Score: 5, Funny
    ... one might save I've been waiting for Duke Nuke Um FOREVER ...


    hehehehe double reference jokes are funny.

    --
    Ignore the "p2p is theft" trolls, they're just uninformed
  11. Understandable to have sound problems by grimsweep · · Score: 2, Informative
    If I recall properly, the sound files are all VOC encoded at slightly abnormal sampling rates (i.e. 8000, 9000). They're a pain in the a^H^H to playback properly. It'd probably be easier converting them to reasonable WAV files. I imaigne a scipt couples with a GRP file reader would work, but I don't know how difficult that would actually be to pull off.

    Most of the conversion I tried back then (VOC to WAV) were rarely done properly, though. The programs I tried seemed to presume my original sampling rate was a multiple of 11025. :/

  12. Win32 users by MagPulse · · Score: 5, Funny

    Ironically, a win32 port has yet to be released.

    They're probably too busy playing games released this decade.

  13. General Kenobi, by w1r3sp33d · · Score: 5, Funny

    General Kenobi, years ago you served my father in the Browser Wars. Now he begs you to help him in his struggle against the Duke of Nukem. I regret that I am unable to present my father's request to you in person, but my isp connection has fallen under attack and I'm afraid my mission to bring Duke to Linux has failed. I have placed information vital to the survival of the code into the memory systems of this x86 unit. My father will know how to retrieve it. You must see this boxen safely delivered to the free people running free software. This is our most desperate hour. Help me, ObiWan Kenobi, you're my only hope.

    1. Re:General Kenobi, by Obiwan+Kenobi · · Score: 3, Funny

      There is only so much I can do. The DRM is thick in this sector, and my powers can only get me so far. The Palladium soldiers have taken the space docks, and Emperor Gates should be arriving shortly.

      But I will take up the challenge, and find a vehicle that will take me to the planet of Linux, past the city of Red Hat and Space Port Debian, into the desert of Gentoo so that this code can remain free.

      May the force be with you.

    2. Re:General Kenobi, by shadowbearer · · Score: 2, Funny

      *He* is here.

      Duke 'O Nukem? What makes you think so?

      A tremor in Slashdot. The last time I felt it, it was in the presence of my old master, DOS.

      Surely he must be dead, by now.

      Never underestimate the Source-Hippies.

      --
      It's old. The more humans I meet, the more I like my cats. At least they are honest.
  14. Golly by grimsweep · · Score: 2, Informative
    Golly. You're right. I guess all of those newsgroups, message boards, and e-mailing lists are useless.

    Now, if you'll excuse me, I have to call Microsoft to help me find out why their software isn't functioning right. I'm sure the pricing plans are reasonable.

  15. Nice! by curtisk · · Score: 2, Funny
    That didn't take long at all....yeah, its not 100% but I don't think the rest will take too long

    Duke was fun as hell, anyone else remember "Cases' Ladder" an early online gaming rank ladder? and Kali?? LOL I feel old!

    And please.....resist the burning urge to insert some obligatory "Tux" or "Linus" hidden room or some shit in it! Please!

    --

    Sehr geehrter Toilettenbenutzer!

  16. Win32 version is out, ignore the article's troll by anotherone · · Score: 5, Informative

    a Win32 port HAS been released. Check this thread on the 3drealms forum. It supports all versions of duke (except the shareware), and you don't need to install it, you just need the .grp file and the .cons that were released with the source.

    --
    Username taken, please choose another one.
  17. Re:FP! by Fallen+Kell · · Score: 2, Funny

    Dear:

    [ ] Clueless n00b
    [X] Lamer
    [ ] Ricer
    [ ] Kid with no clue
    [X] Flamebait
    [ ] Jackass
    [ ] Lazy person
    [ ] Me too'er
    [ ] Spammer
    [X] Idiot
    [ ] Asterik-laden adjective
    [X] Pointless Thread Starter

    You Are Being Flamed Because:

    [ ] You continued a long, stupid thread
    [ ] You said "me too" to something or "Send ______"
    [ ] You asked for w@rez
    [ ] You don't know what you're talking about
    [X] You suck
    [ ] You posted one of the reposts from hell.
    [ ] Your post title has nothing to do with the content
    [ ] You complained about something you got for free/low cost
    [ ] You are not the grammer police
    [ ] You hate the U.S. or its policies yet will not leave
    [ ] You started a flamewar thread
    [ ] You are b!tching about something you have no right to b!tch about
    [ ] You asked for medical help on a computer forum
    [ ] You asked an incredibly stupid question
    [ ] You like ricers
    [ ] You are a ricer
    [ ] You asked how to mod a honda
    [ ] Your sig/alias sucks
    [ ] You did not listen to a smarter member or ignored advice
    [ ] You need use the damn search button
    [ ] You said any version of "repost" This is allowed sometimes but not this time
    [X] You posted something totally uninteresting
    [X] You posted a topic/message all written in CAPS
    [ ] You posted spam
    [ ] Your stupidity is astounding
    [ ] You used the words 'suxors' and/or 'roxors'
    [X] You posted "FIRST POST!"
    [ ] You are quitting the website for good...again
    [ ] You complained about the Mods

    To Repent, You Must:
    [ ] Give up your AOL/Euronet/MSN/Planet Internet account
    [ ] Bust up your modem with a hammer and eat it
    [ ] Jump into a bathtub while holding your monitor
    [X] Actually post something relevant
    [ ] Listen to Moonbeam for 3 hours
    [ ] Become friends with Red Dawn
    [X] Pry the Caps Lock and Shift keys from your keyboard
    [ ] Read the damned FAQ
    [ ] Cut off both your hands with your own hands
    [ ] Post some damn pics
    [ ] Go hug your parents right now
    [ ] Remove the Slashdot forum from your list
    [ ] Read the manual / instructions
    [ ] Remove your genitalia so you do not breed
    [ ] Repenting is not possible, you are banned.
    [ ] Use the damned search function
    [ ] Post in the right damned forum
    [ ] Put your car into a crusher
    [X] Apologize to everybody on this website
    [ ] Actually leave the website for good

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
  18. The strippers work... by BHearsum · · Score: 5, Funny

    ...right?

  19. Re:Neat! by GiMP · · Score: 2, Interesting

    3drealms (late apogee) released the source and has a very large mention of this linux port on their frontpage.

  20. Re:Why theres no windows port by anotherone · · Score: 3, Interesting

    The win32 port here was released several hours before the linux port.

    --
    Username taken, please choose another one.
  21. Mirrors by Anonymous Coward · · Score: 2, Informative
  22. cranky coders by syle · · Score: 5, Funny
    IF YOU HAVE PROBLEMS:

    Tough luck. Do NOT contact us with bug reports at this time. Do NOT contact us if you can't get it to build. Do NOT contact us for copies of the game. In fact, if you aren't sending us code, don't contact us at all.

    At least they're honest!
    --

    /syle

    1. Re:cranky coders by sogoodsofarsowhat · · Score: 2, Funny

      Sounds like to me they are taking a page from M$. Except they are not charging you for it. They will learn. Give them time.

      --
      . I love the sound of burning women and screaming rubber....
  23. I got Duke3D free! by motardo · · Score: 2, Interesting

    It was with a PC Gamer mag some time last year I think, the only reason I picked up the mag, didn't even read it.

  24. Re:Atomic Edition? by AlternateSyndicate · · Score: 2, Insightful
    You can patch up your old versions, using DOSBox or something.

    1.3 support will most likely be in CVS soon anyway.

  25. VESA is not a local bus architecture either by stratjakt · · Score: 2, Informative

    VESA is a standards orginization.

    The VESA local bus was one (short lived) standard, as are the VESA 1.0, 2.0, 3.0 compliant display modes.

    "VESA display modes" is absolutely correct. Try using google next time you want to sound like a techno whiz kid.

    --
    I don't need no instructions to know how to rock!!!!
  26. Which is probably why... by phorm · · Score: 5, Insightful

    IF YOU HAVE PROBLEMS:

    Tough luck. Do NOT contact us with bug reports at this time. Do NOT contact us if you can't get it to build. Do NOT contact us for copies of the game.


    People are already grousing about this and saying it's a fault of open source. But the thing is, they probably have a list of their own planned updates/fixes, and accepting a slew of bug-reports from every linux-newbie who wants to run duke3d would just be distracting from (the above) more important things. I expect they'll accept feedback once we're past the current beta-type stage of coding.

    I wonder about some of the original duke3d bugs too. Nothing worse than just about fragging somebody in deathmatch only to get munched by a closing door...

    1. Re:Which is probably why... by Electrum · · Score: 2, Funny

      I wonder about some of the original duke3d bugs too. Nothing worse than just about fragging somebody in deathmatch only to get munched by a closing door...

      Hmm, I always considered that a feature.

  27. Re:Isn't this the problem with Linux? by Anonymous Coward · · Score: 4, Insightful

    let me be the first to say "huh?"

    Notice that icculus weren't the ones that posted this to slashdot (or any other major news site). They finished the first stage of the port, got the DOS game to run on Linux using SDL (which the game was not written in) and then were cool enough to allow us to try it out.

    Isn't the whole point of releasing the source so that people can dabble with it? It's not like they're releasing Duke3d Retail, they took four days to make a port of it to linux (and they're even trying to port it to windows too if you read their page).

    I'm pretty much 100% certain that a Duke3d linux port that they took four days to work on which isn't perfect yet won't turn people off to the linux desktop.

    Maybe you should be happy that someone with the talent to port it to linux (and windows) is working on it at all.

  28. Re:Compile.. by radoni · · Score: 4, Informative

    remove -Werror... you know that if you quit complaining and hack a little, it goes a long way.

    remember the authors' notes that there is no support for this game *unless you contribute code*

    --
    SIGERR: laziness exceeds quota
  29. Re:Isn't this the problem with Linux? by koh · · Score: 2, Interesting

    In the current trend of free software, "release early, release often" is actually the thing to do. They don't force anyone to use their code, they just released it.

    Plus, one needs some overkill hacker spirit to perform such a feat, it's been only four days since source code was released after all. The kind of people that do such things go for score first, and perfection second, because that's what it takes to endure the lack of sleep ;)

    So let's say, good job, wait and see ?

    --
    Karma cannot be described by words alone.
  30. Sorry, I just hadda do it by shadowbearer · · Score: 2, Funny
    In a stunning turn of events, Lord Stallman is hired by Microsoft.

    Ballmer: Palladium is now the ultimate power in the cyberuniverse. I suggest we use it.

    Stallman: Don't be too proud of this technological terror you've constructed, Mr. Gates. The ability to dominate the planet is insignificant, next to the power of Open Source.

    Ballmer: Don't try to frighten us with your Hippy ways, Lord Stallman. Your sad devotion to that ancient religion hasn't given you the power to conjure up the stolen code, nor helped us find the rebels hidden serv- *urk* *gaak*

    Stallman: I find your lack of faith disturbing.

    Gates: Enough of this! Stallman, release his server!

    Stallman:As you wish. *virtual thud*

    Gates: This bickering is pointless. Lord Stallman will provide us with the IP of the rebels hidden server by time Palladium is operational. We will then crush the rebellion with one swift lawsuit.

    --
    It's old. The more humans I meet, the more I like my cats. At least they are honest.
  31. VESA is a set of resoulutions by Anonymous Coward · · Score: 2, Informative

    While it was used for video cards, that has nothing to do with the posible video resolution.

    Sorry, you're wrong. One of the VESA standards certainly does define some standard video modes. Vesa 1.0, 2.0 & 3.0 defines a set of video modes and the Vesa BIOS Extension (VBE) which provides a standard way to access and use them. VESA modes are are one level up from standard VGA/XGA modes, but offer no accelerated drawing functions (E.g. all you get is a framebuffer, and the VBE which lets you configure that framebuffer).

    As another poster pointed out, try using Google next time.

  32. OpenGL by rf0 · · Score: 2, Insightful

    Now if someone would like to port this to OpenGL with the Nvidia XFree86 Drivers now that would be cool. I would never have to boot back into windows to satsify my gaming twitch

    rus

  33. cheet codes by slyguy420 · · Score: 2, Interesting

    I wunder if the good old nukem 3d cheet codes still werk. Funny thing is i still remember em! :) God Mode = dncornholio All Items = dnitems All guns = dnstuff

    --


    C:\earth\humans\del *.m0ronz
  34. Re:Redneck Rampage? by Anonymous Coward · · Score: 2, Informative

    Actually, it was done with the BUILD engine, which is at http://www.icculus.org/BUILD/ . Looks like they have several of them working, including both Redneck Rampage and Redneck Rampage Rides Again.

  35. zaurus! :) by stmpynode · · Score: 2

    anyone working on a zaurus port yet?

    --

    Blah.