PocketMatrix forums

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

Descent

I don't think I've ever even heard of the original, but judging from the title, I can understand that it's just a decent game, not a blockbuster; maybe thats why I haven't heard of it.  Now, if someone could port Indecent, that would be nice.

Or did you mean Descent? :D
Heh im sorry heh i ment descent, heh :). Where was my brain at?
RwGast · 08 Sep 2001, 01:20 UTC — Descent
Has anyone thought of porting decent 1 or 2 they have both had the source coode released. I would like to this but i dont think i know enough about gapi and stuff to figure it out.
Moose or Chuck · 08 Sep 2001, 09:37 UTC
We already discussed it, but I forget where we got. I had the source for Descent 1 on my computer somewhere, at sometime.
I forget, is Descent closer to Quake or Doom (refering to the method of 3D used). I remember that being a point of interest.
Moose or Chuck · 08 Sep 2001, 09:47 UTC
Yup, I've got the source for the original Descent and the drop in files for WinDescent. Someone should really ask me for it so they could get started coding it.
if you check the old thread on porting games people submitted source code urls and stuff. its all there.

hmm, i think it was closer to quake in that you could look around you (its that 6 degrees of freedom thing isnt it?). i dont know much about the engine though.
Hi,

They used a simple portal engine. Descent levels are build of convex polyhedra (simply put, simple shapes like cubes) that are connected via 'transparent polygons', called portals. The rendering starts in the polyhedron that the camera is in (wich can be easily determined with a brute force approach for the first frame, and a neighbour check for subsequent frames); the polygons of this polyhedron are drawn and when a portal is encountered, the 2D view frustum is replaced by the 2D outline of the portal polygon and rendering is recursively continued in the polyhedron behind the portal.

The algorithm should require little floating point math, and it is quite a bit simpler than the Quake PVS. I saw a 4Kb PC demo once that had the entire first level of Descent in it. Textures where generated by the demo itself, and it ran really smooth. Quite an achievement. :)

Problem will be controlling the craft, as usual. It should be pretty cool though. If someone could mail me the sources at Jacco.Bikker@Davilex.nl, I would certainly like to have a look.

- Jacco.
That gives your signature an entire new definition! Woooohoooo!!!
:) :) :)
Ehm, yes, that sig originated from my 3D coding days. I used to say to the artists 'give me some good data and I will give you the world' - But they refused. :)

Anyway, the PocketPC doesn't have 3D accelerators yet, so I might give 3D coding a shot again once The Nutcracker is on the shelves.

About descent: I just want to have a look at it, I can't promise a port. If it's not too much work I'll consider it.

- Jacco.
I would really love to port it my self i just dont really know how, Is the concept to go through there code and like leave all the functions names the same but like for instance take there blitting function leave the name and params the same and rewrite the acuall function using gapi instead of there code?
If you're lucky, that's indeed what you do. Descent looks like a mode 13h game to me, so that's simply 320x200 / 256 color mode, wich is of course very easy to emulate on the PocketPC. So you need to replace their palette code, their mode13h stuff needs to replaced by EasyCE :), you need to fix the controls, rewrite the sound stuff and then you're basically done. :) If it's too slow at that stage, you rip out the floating point stuff and replace it by fixed point stuff.

If you're not lucky, the platform specific stuff (palette, sound, controls) are all over the program instead of nicely isolated, wich means that you need to do an unrealistic amount of work to get the game going.
Didn't Descent use a bit of asm in its core?
Good point. I'll need to look at the source to be sure. But I expect the asm to be limited to matrix calculus and rasterization. I'm not afraid of rasterization, I can tell you. :)
Jacco,
Has anyone sent you the source? if not, moose fork it over;)
bah, i already said all the links are on another thread in here.

*2 minutes later*

here it is you fools... http://www.descent2.com/ddn/sources/descent1/
Moose or Chuck · 09 Sep 2001, 16:09 UTC
I already sent Jacco the source, for the original descent and the windows port by a third party. That's why he knows so much. But he never emailed me back that he got em... so I don't know it if went through or not.
I looked at the source code. Good news: It's ASM-free, and even better, the math is 100% fixed point. The guy that did the Windows port (he ported it from Linux/MAC since these versions of course didn't contain any asm) is complaining about performance, but he tested on a 486/DX66, so I would expect decent performance from a 200Mhz iPaq. It looks like all I have to do is replace the display code by EasyCE stuff. All other things should work out of the box. I'll give it a try as soon as I have some spare time to spent. :)
Oh yeah, the dude mentioned random crashes while running his port on a 486, so once the port is done, it will fit in very good in my current reportoire. :)
Woohoo, this is f ucking great!!!
Yeah, OK, but I have a huge amount of pet projects at the moment, so I'm really not sure how quick I can port this stuff.
awwwwwwwwwwww...!
what kind of pet projects?
Moose or Chuck · 10 Sep 2001, 19:03 UTC
I also just sent him the source to Abuse. If any of you all remember that game, it will be awesome on the Casio! Eazy frosheezy fo sure.
H to the Izzo I know it would be cool. I looked at the source but i'm too lazy to try to port it. :) Too much DirectX Graphics and Sound function conversions to do for my boat.
yeah i've got abuse. the map editor is built into the main program so we should be able to make maps on the ppc...
I'm not going to do abuse for a while. No time. Sorry. :)
how do you even get started on this stuff? c is meant to be really portable right, so is it just the display code that you change or is there a lot more work?
That depends. You have to change at least the display code, indeed, but usually also sound and input code, and if you're really unlucky, x86 asm. Besides that, the code might use Microsoft extensions to C++, like some string functions and timer stuff.

If the game uses lots of floating point calculations, you'll encounter performance problems, but the game should work without changing that.

Some projects are really easy to port (typically, Windows games), and some are a nightmare.
madness. you should get your tag changed, you know. 'phantom' would do, eh?
Better? :)
no no no, get matt to change the TAG to phantom, like mine says monkey, just leave your name as 'Jacco'
I'll ask him. :)

PocketDescent, woooa

I think there will be lot of happy people if you get Descent on our pocket PCs
:)
That's a long name Pedro.
Descent now runs in a window on my laptop (PII/233) at a very decent frame rate. Looks like it will be quite playable on my iPaq. The laptop has to do some nasty framebuffer conversions: EasyCE expects a 240x320 buffer, so I rotate the descent buffer by 90 degrees, wich is in turn rotated back by EasyCE - These steps are not neccessary on the iPaq, so it should perform about as good as the PII in this case.

It will take a while before it's perfect though, I have palette problems right now, and of course the keyboard and file stuff. Anyway, as soon as I have something running on the iPaq I'll post an alpha release.
Moose or Chuck · 12 Sep 2001, 07:04 UTC
We don't want an iCrap release. We want a Casio release! ;D
dont forget the little guy!
Moose or Chuck · 12 Sep 2001, 08:23 UTC
So Paul, I've been wondering. Why is your signature a picture? I can understand the smily thing, but the text?
The initial release will support Casio and SH3 as well, since it's using EasyCE. :) HOWEVER - On the iPaq I can exploit the already rotated hardware framebuffer to get a higher frame rate. I expect very good speed from the iPaq. Anyway, you guys can optimize it for Casio yourself - Every release will include source code.
Oh yeah, UPDATE: Descent now compiles with the Embedded Visual Tools. I need to add some stuff for location independency (see my latest tutorial), and then I can give it a try. There are some nasty huge data files though. I'll see if I can zip those.
Wow this is neat. I was just thinking how descent might suck on an ipaq with the button problem. Does a kb or a stinger fix the button problem? Becuase descent kicks ass but if you cant fly and shoot than it may suck. tThanks for working on this jacco i think this will make alot of people happy.
Please move this to the Phantom forum. I created a nice Descent development thread.
you arent a mod of this forum? that stinks.
5 days ago you didn't want me to have a forum, and now I should be a mod? :) THAT stinks.
i never said that!
You're right. I checked and it was someone else who said 'If Phantom can have a forum, can I have one too?' - I took that as 'if EVEN phantom can have a forum'.

Anyway, sorry for the error.
*jacco voice* sorry? no-one says sorry to me and gets away with it!
Moose or Chuck · 13 Sep 2001, 15:20 UTC
If Phantom gets a forum, can I have one too?
bung!
whoops, I was going to give ya mod, but then forgot. Well anyways, poof.
Diego Cueva · 13 Sep 2001, 18:18 UTC
Ah, uhmm, I wanna a forum too. But with a password, so only I can access it.
lol, for the title we will just insert the "new" picture. No matter how many times you read it, it wont go away.
Diego Cueva · 15 Sep 2001, 15:26 UTC
;D
ROTFLMAO
Diego Cueva · 15 Sep 2001, 15:31 UTC
blah, blah blah...