Anyone care to port Duke now?
Evidently the Duke 3D source code has finally been released...I don't think it's an April fools joke either.
http://www.fileshack.com/file.x?fid=2585
..?
I'm downloading it now..
[edit]Well holy crap, this is real. Still will be pretty useless to port until a Windows port comes along[/edit]
Well, an uber-l337 programmer might try to port Freespace 2 to the PPC...
http://www.freespace-2.com/ddn/sources/freespace2/
sweet!
Dan - to the porting mobile!
Dadadadadadadada Danman!
OMFG, now this is news!
I hope a windows version pops up so Dan or some other 1337 PPC programmer can get to work. I've been waiting for this one a long time.
I even sent an email to 3drealms more than a year ago asking for the source, but as expected my request was denied

Which one? FS2, or Duke... or both?
I've downloaded the source, but don't have time to work on this. I'll probably do a quick evaluation to get an idea of how much work would be required.
Dan East
It looks like there is a fair amount of x86 asm that would have to be converted to C. In some cases they used inline assembly defines which are then used in the actual code. So those could be replaced with C equivalents easily without having to dig through the code to much. In other cases there are asm source files of substantial size (A.ASM is 2,400 lines, and contains the rasterizers). I haven't checked to see if C versions of those routines are available, as is the case in Quake. It doesn't look like it offhand.
I would say that this would be fairly hard to port - harder than Quake. It certainly would not be a project for inexperienced coders. So to nip things in the bud, I wouldn't get too excited about people working on this that haven't produced software in the past (IE like all those Wolf3D ports that never saw the light of day). It is a Doom / Wolf3D era game, and software at that time used a lot of ASM, and actually contained more source code than more modern, advanced titles, because of the lack of source code reuse and general purpose coding.
Dan East
Anonymous wrote:
Dan - to the porting mobile!
Dadadadadadadada Danman!

Did someone say ASM? That looks like a job for ROBin!

Not sure if the code would be compatible, but they did port Duke 3D to Mac OS...they ported a LOT of DOS games to the mac, and they were a big improvment over their DOS versions.
duke multiplayer is really fun, and it would be great on a PPC.
Hell yeah Duke Multiplayer was the first Internet based Multiplayer I ever played!. I remeber having to actually setup the console to dial to my friends house and he would have his console pick up the call, and BAM, Fragfest out the yin yang. And oh God was the "Stadium" level just kick ass for a massive onslaught.
I liked the level that was a ship, that was really good.
The amount of resources a Mac porting company, and a single developer doing stuff in his spare time differ greatly.
The amount of resources a Mac porting company, and a single developer doing stuff in his spare time differ greatly.
The amount of passion and dedication a single developer doing stuff in his spare time, and a Mac porting company differ greatly. Hopefully.

Well passion and dedication don't make more hours in a day :P
Pessimist.

What about porting the original dukes too (duke 1 episode 1, 2 and 3) or is that not possible?
hey, good idea, those were pretty fun.
Sym wrote:
What about porting the original dukes too (duke 1 episode 1, 2 and 3) or is that not possible?
Not possible, as there is no source.
By the way, a Linux port of Duke3D was recently released... anyone know if it uses less x86 assembly than the original Duke3D?
Nope, was more of a cross-compile thing than anything. Same amount of ASM.
why would they release the source to Duke 3D before the older 2d ones.
Because they felt like it, that and no one cares about the old ones.
Actually, the old ones rocked. Of course I'm a little biased since they were the first games I ever played on a computer. The Duke trilogy, Commander Keen 4e, and Captain Comic. *sighs*
I lost interests in the originals quickly.
Now Commander Keen. CLASS.
Yeah, that was an awesome series.
Screw porting... I still have DOS.
You know an easier way to port duke would be to take one of the several Windows ports that have been released and port that.
No, they still use ASM.
I could take the x86 asm and convert it into the asm used in PPC processors, but that's just crazy.
Converting the x86 ASM to C would be a much better path.
Actually, it may be slightly easier to convert to ARM ASM.
However, I think the best path is to just wait until a full C port comes out. It's bound to... other people have motives too for making Duke3D cross-compatible.