PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Duke3D Windows Version Released

A while back there were a few (ha!) posts about the Duke source being released. There were comments saying that it couldn't be ported to PPC until it was ported to Windows. Well guess what? It HAS been ported to windows.

I can tell you right now that a PocketDuke would be so awesome and I think everyone here agrees with me.

Duke3D for Windows: http://jonof.edgenetwork.org/winbuild/duke3d/

It's still in a very early version though.
It stil has a lot of x86 asm, though. Until a fully C/C++ windows version is released, it's hopeless. That's what we meant.
Oh I see... too bad.
http://forums.3drealms.com/ubb/ultimate ... 5;t=000110
Ok, two known bugs left (Duke shakes in end of level screens and the intro movie does not appear). Other than that the game should be fully playable using no x86 assembly.


Obtain the source from here.
I emailed the developer of the windows port, he said it contains assembler still, and getting rid of it is a low priortiy.

That site says " Assembly code is being replaced with portable C. This is being worked on, but is not complete." so eh..

Plus it'll have to be ported from Linux again, I believe.
Hmm...well one of the developers has indicated in the thread I posted that all x86 assembly has been replaced by C and all that remains is a few bugs. And some guy in the same thread has said that he's done a C only complile of his port which uses a DirectX renderer.
Wait, your talking about a different port than the one mentioned in the topic thread right? I've got a killer headache today so you'll have to bear with me.
sponge wrote:
Wait, your talking about a different port than the one mentioned in the topic thread right? I've got a killer headache today so you'll have to bear with me.

Sorry if I'm confusing you.

I'm talking about the Icculus Duke 3D port, not JonoF's Duke 3D port. All the assembly to C conversions are available in their CVS. And some guy called rpeter has used the Icculus code and the Direct X renderer in JonoF's port to compile a C only port. I don't think he has released his port though.
techmage strikes again...


Hehe. One of these days, I will probably port something cool, and no one will download it because they will think it's a hoax. :)
Thomas wrote:
I'm talking about the Icculus Duke 3D port, not JonoF's Duke 3D port. All the assembly to C conversions are available in their CVS. And some guy called rpeter has used the Icculus code and the Direct X renderer in JonoF's port to compile a C only port. I don't think he has released his port though.


Yes... once a non-DirectX version is made of the combination of those two ports, portability would be pretty much possible.
Well a DC port was just released, that's gotta count for something...

[url="http://games.slashdot.org/games/03/05/24/2234224.shtml?tid=127&tid;=186&tid;=204"]Slashdot article[/url]

http://sdl-dc.sourceforge.net/#duke - Project page
No, it really doesn't count for much, SDL has been ported to the DC.
Yes, but that means it's asm-free, which proves that a C-only port exists.
And thus it can be ported. :D
So instead of one problem, it's another, instead of x86 ASM, it's now SDL. I haven't seen one SDL app ported to PPC yet (though it could be ported to the various Linux platforms for the iPaq, and hopefully in the future, Axim)
Oh, that's what you meant.

sponge wrote:
No, it really doesn't count for much, SDL has been ported to the DC.

You confused me with that post...
That's why there's Duke3D could be ported to the DreamCast (ie the assembler is most definitely gone now, and there's also an SDL port. That and I love the DreamCast and have to rub in it's superioirity as much as possible :P)
Word to that! I'm looking at my Dreamcast right now! *hugs it* I love you Dreamcast!

I find it quite ironic that the Dreamcast uses the same OS as my PPC. Hell... there's proof in itself that Duke3d can be ported... the DC version runs off of a WindowsCE system (aka Dreamcast)
No it doesn't! Games can CHOOSE to use WinCE, ie the Sega Smash Packs (I think) use WinCE, but most games do not. You can tell if a game uses WinCE by looking for a file on the CD, I forget what though.
Duke3D for PPC... "Coming Soon"
http://membres.lycos.fr/ppcsoft/

It's also on the front page of PocketGamer.
Yeah! See? It can be done!

Oh and WOO! His site says for MIPS devices too!
It's only for MIPS right now, ARM soon. Check out the PocketGamer.org headlines.
Yeah Michael W already told us :wink:
:? um posting problem
Maybe there will be a posting problem that stops you from posting all together.
Yeah, "problem"...
LOL! I actually laughed :D
Like I said on Pocketgamer, I don't believe a damnt hing until I see it.
If you line all those screenshots up in a row horizontally, things look pretty suspicious. Note that the HUD moves up and down a couple pixels from one image to another. In one of the images, the pattern underneath the HUD overlaps the HUD, covering up several rows of pixels. Looks like a paint program job to me (and a poor one at that).

Dan East
Man.. you are REALLY looking out for hoaxes huh?
Dan you should be working on varium not looking at crappy screen shot!
James Sonne wrote:
LOL! I actually laughed :D


At what?
It's not like lining up pictures takes more than a couple of minutes to do...
It's not like I loaded them up in a paint program or anything. Just make your browser window really wide and you can see them.

Dan East
8)
I don't understand...I opened them all up in paint and they are all 320x240 resolution... :?:
That's not the point... the HUD and viewscreen don't seem to line up.
What is wrong with PocketMatrix? Whenever I post it says page not found!
Damian wrote:
That's not the point... the HUD and viewscreen don't seem to line up.


Eh lets give the guy a chance...maybe it's a simple mistake. You know that darn Visual C++ and its aligning business...
Maledorito wrote:
What is wrong with PocketMatrix? Whenever I post it says page not found!


Just ignore it when it says that and hit the back button until you are in the thread again.
Maledorito wrote:
Eh lets give the guy a chance...maybe it's a simple mistake. You know that darn Visual C++ and its aligning business...


Huh? What does VC++ have to do with aligning an image?
If you have ever programmed in Visual C++, you know that making an interface is extremely easy, as easy as dragging some buttons around, etc. He could have misaligned it somehow. Don't ask. I'm not an experienced coder.
I have no idea how programming for a PDA works, but I think that it might be a bit different than that. Besides... that hud is constantly there when you play the game, so it should always be in the same spot. It's not like bringing up a new form and re-adjusting the position.
Maledorito wrote:
If you have ever programmed in Visual C++, you know that making an interface is extremely easy, as easy as dragging some buttons around, etc. He could have misaligned it somehow. Don't ask. I'm not an experienced coder.


That's the resource editor, for editing resources. Dialog boxes can be made as resources and then loaded along with all the buttons, controls, captions, whatever, to prevent having to make a window using the normal CreateWindow[Ex]() function and having to create each child window.

Basically, if it isn't a dialog box, you don't use the resource editor.
Damian wrote:
Basically, if it isn't a dialog box, you don't use the resource editor.


Ah I see...

I really gotta try again with that Visual C++ business...it all just seems like Greek too me (the funny thing is, IAMGreek!).

But for now, I'll stick with my 1981 era Qbasic games with no graphics. :(
Er... Visual C++ is only a compiler and set of IDEs. It's not a language. It shouldn't take too long to figure out.

If you want to start, then get a good C book (like the O'Reilley Practical C Programming one), a good C++ book, and a good Win32 API book. Or learn from 'net tutorials, but those tend to not be too good.
Damian wrote:
Or learn from 'net tutorials, but those tend to not be too good.


Tell me about it!

One problem I have noticed with programming. I think I should start out with a PC console compiler before directly programming for the PPC. Embedded visual tools completely throws me off sometimes.

I feel like making a Qbasic quest tonight...probably like choose your own adventure...
Damian wrote:
Er... Visual C++ is only a compiler and set of IDEs. It's not a language. It shouldn't take too long to figure out.

If you want to start, then get a good C book (like the O'Reilley Practical C Programming one), a good C++ book, and a good Win32 API book. Or learn from 'net tutorials, but those tend to not be too good.


Thanks for the info...btw think it's possible to use a Qbasic compiler with PocketDOS? That would be really neat...
Yeah, it is. I've used it on an 8088 or two before, and I do think I remember trying it in PocketDOS.

I think I should start out with a PC console compiler before directly programming for the PPC.

The same compiler is used for console and non-console. But yes, you should start out making console programs.
I took a six month long course in c++ which was supposed to work its way from console to windows, but it was the teacher's first time teaching c++ and we never got out of the console. We had a final where I made the mastermind game. Looking back on it now, the game was so badly programmed that I'm surprised it even worked.