D2X-W32: Feedback needed

A forum just for you old time Descent and Descent2 players.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

D2X-W32: Feedback needed

Post by Diedel »

Hi,

I'd love to have some more feedback on joystick control, esp. turn speed. Is it still too fast? Can anybody compare it to D2-3dfx or D2-Win95? These D2 versions do not run properly on most of the machines I have access to.
User avatar
zapp
DBB Ace
DBB Ace
Posts: 174
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by zapp »

I just downloaded the version from here-http://www.brockart.de/descent/
Seems to be some difference- the joystick is still too sensitive to use unless I turn the sensitivity slide almost all the way left, but I can make it playable by doing so! The sensitivity is too much once the slider is halfway to the right, and the ship is uncontrollable and in fact, flies itself when the slider is full right.

Looks good, plays very smooth. I played for a couple hours on Kali, no connection problems.
One odd thing- I seem to have my FPS locked at 76.9 instead of 80? My monitor refresh is 85 Hz, so it is not a V-synch prob.

A suggestion- since you appear to be putting out new versions almost daily (and great work you're doing!) you should have the version displayed somewhere (a readme in the zip? On the opening screen?) so people can be sure of what version they are using to help you in debugging.
Overall, great work! I can play D2 in XP w/ a Radeon!
User avatar
Ferno
DBB Commie Anarchist Thug
DBB Commie Anarchist Thug
Posts: 15163
Joined: Fri Nov 20, 1998 3:01 am

Post by Ferno »

I have only one thing to say about D2x-w32 now.

It's ready to roll out.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

zapp,

unfortunately I cannot reproduce your joystick problem. Please try to d/l the newest version from my Descent site.

I will add a special version string to the main menu screen to distinguish it from other D2X versions and display a version number.

ferno,

so be it.
User avatar
Ferno
DBB Commie Anarchist Thug
DBB Commie Anarchist Thug
Posts: 15163
Joined: Fri Nov 20, 1998 3:01 am

Post by Ferno »

Just so you don't misunderstand Diedel.. when I say 'it's ready to roll out' I mean it's complete. everything's working correctly. 'Gone Gold'. Any one term you choose to say that the project is complete.

Great job dude. and thanks.


EDIT: how did you guys get it set up to work under kali?
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

I knew what you meant. ;)

In KALI, just add the game to your games list (dunno by heart how to do that). If you have several D2 versions, add them all to your "Descent" games list. If joining a D2 match via KALI, KALI will ask you which of the programs from the list to launch. Select d2x-w32 there.

I just had a KALI 1:1 in Neptune yesterday, worked great so far (only that I got my behind severly whooped due to being a mouser :P).

I have just uploaded a new version, showing a special version string in the main menu screen ("D2X-W32 1.0"), so that ppl know at once whether they're using D2X-W32 and what version of it when launching it. Kind of "final touch".
User avatar
zapp
DBB Ace
DBB Ace
Posts: 174
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by zapp »

I just got the version you have on your web page, and I don't see any version number in the main screen...
Also, it wouldn't let me select the pilot I had used w/ the previous version- other pilots were fine.
User avatar
Aus-RED-5
DBB Friend
DBB Friend
Posts: 1604
Joined: Fri Apr 23, 2004 7:27 am
Location: Adelaide, South Australia
Contact:

Post by Aus-RED-5 »

zapp wrote:I just got the version you have on your web page, and I don't see any version number in the main screen...
Also, it wouldn't let me select the pilot I had used w/ the previous version- other pilots were fine.
Got the new version about 3 hours ago. (March 5th Sat, Aussie time/day)
http://img120.exs.cx/my.php?loc=img120& ... 5054bo.jpg Should look like that. :)
User avatar
zapp
DBB Ace
DBB Ace
Posts: 174
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by zapp »

just downloaded it again... now the version is there. Hmmm.
User avatar
Skyalmian
DBB Admiral
DBB Admiral
Posts: 1723
Joined: Wed Aug 18, 1999 2:01 am
Location: New Jersey, USA

Post by Skyalmian »

[Mr. Burns]"Excellent."[/]

Aside from the cube rendering errors, which have always been there, the only bugs I noticed were:

- Up / Down keys ( ^ , v ) don't work the way they should. I use Up / Down primarily for Automap navigation, but they were moving at 1/4 - 1/8 the speed of what they should have been. It was the same for piloting the ship.

- Banking keys ( w , r ) were the same as above, only slightly faster.

---
Btw, any chance of allowing a 1600x1200 mode? The automap can do it. :P
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

What cube rendering errors? Screenshot?

Up/down not a problem for me, so I'm afraid I will not be able to fix that.

1600x1200 should be feasible.
User avatar
Sapphire Wolf
DBB Admiral
DBB Admiral
Posts: 1463
Joined: Mon Nov 24, 2003 3:01 am
Location: Nope.avi , gender: male
Contact:

Post by Sapphire Wolf »

Sorry for disturbing you but, I'm not joking about the slow pitch on the keyboard, Do you have a chance to fix it?
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

How slow? How many secs. approx. does it take for a full turn of 360°?

Edit: Only pitch is affected, right?

Edit 2: Pitch/bank speed should be fixed now, plus 1600x1200 added, version available already.
User avatar
Ferno
DBB Commie Anarchist Thug
DBB Commie Anarchist Thug
Posts: 15163
Joined: Fri Nov 20, 1998 3:01 am

Post by Ferno »

hm.. on my end, when I fire up D2x-w32 from inside Kali, it hangs at the pilot select submenu for some reason. I tried to work around it by adding the '-player' switch in my d2x.ini file, but that only got me so far as to the main screen logo.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Did you try to delete your player profile and create a new one?
User avatar
Ferno
DBB Commie Anarchist Thug
DBB Commie Anarchist Thug
Posts: 15163
Joined: Fri Nov 20, 1998 3:01 am

Post by Ferno »

Tried that. still hangs at the main screen before any menus come up when launched under kali. though when I deselect the 'Needs winsock support' option under game options it works correctly.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

So you can play with D2X-W32 over KALI now?
User avatar
Tyranny
DBB Defender
DBB Defender
Posts: 3399
Joined: Sun Nov 10, 2002 3:01 am
Location: Phoenix, Arizona

Post by Tyranny »

Probably not as D2 needs winsock support in Kali...
Teddy
DBB Captain
DBB Captain
Posts: 592
Joined: Thu Dec 23, 1999 3:01 am
Location: cinncinnati.ohio,USA
Contact:

Post by Teddy »

wow, this has to be the best playing version of d2x ever.... the only problem im seeing so far is that once the game is started, i cant get back to the menus, the game hangs if i hit f2 or escape to go back to change any settings....
User avatar
Ferno
DBB Commie Anarchist Thug
DBB Commie Anarchist Thug
Posts: 15163
Joined: Fri Nov 20, 1998 3:01 am

Post by Ferno »

Without winsock support D2x-w32 tells me that IPX is not active even when I launch it under kali. which means I won't be able to see any D2 games.
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Post by Sirius »

Are you using Kali 1.68 by any chance Ferno? Virtually no-one does any more, but it does cause the problem you're talking about... to run Windows games over Kali in WinXP, Kali 2 seems to be a necessity.
User avatar
Tyranny
DBB Defender
DBB Defender
Posts: 3399
Joined: Sun Nov 10, 2002 3:01 am
Location: Phoenix, Arizona

Post by Tyranny »

1.68 isn't supported anymore last I heard. Meaning you can no longer connect to any servers and use the tracker while running it. I may be mistaken though.
User avatar
Ferno
DBB Commie Anarchist Thug
DBB Commie Anarchist Thug
Posts: 15163
Joined: Fri Nov 20, 1998 3:01 am

Post by Ferno »

I'm using the latest version of Kali.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Ferno,

I really don't know what to do about this, I can connect to KALI w/o problems and chose a player.

I can btw. also fire up the menu from within a KALI D2 game.

Crap. I'd really need to debug on the machines where the problems occur. Never have problems on any of those I can access (currently 3 with WinXP pro, WinXP home, Win2K pro, all patched to latest service packs).

The weird thing about this is that it happens with one release of d2x-w32, but not with a build just a day or two older, and I haven't changed anything in the player file handling recently.

Ferno & Teddy,


I will prepare a special debug version of d2x-w32, logging everything happening around player file and menu management to some log file and will ask you to fire up a KALI game with it and post the log file contents here, or e-mail it to me.

Update:

Find the debug version here:

http://www.brockart.de/descent/resource ... 32-dbg.exe

It's a self-extracting archive.

The program will create a file named c:\d2x_log.txt. Please post the contents of that file here.
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Post by Sirius »

Tyranny wrote:1.68 isn't supported anymore last I heard. Meaning you can no longer connect to any servers and use the tracker while running it. I may be mistaken though.
I've done it, even the Descent server. (It gives you endless 'strong warnings' about it though.)

Curiously, the more recent 2.508 - which supports D2X-W32 and still retains actually useful proxy services - doesn't connect to the Descent server - probably because it was designed not to when obsolete. It also does give the tracker error; regardless I can still connect to Rangers with it...
User avatar
Tyranny
DBB Defender
DBB Defender
Posts: 3399
Joined: Sun Nov 10, 2002 3:01 am
Location: Phoenix, Arizona

Post by Tyranny »

If I check "Disable Visual Themes" on the .exe in the properties/compatibility tab (current build 1.0.5) it will run in kali. Haven't tried playing a game with it though. Looks pretty stable so far.

I wish screenshots worked how they should though. You don't need an outside application to take them. D2x originally captured screenshots as .png files using PrtScrn into the root directory of the game. However this feature isn't working how it should. I have fraps, but I shouldn't need to run that while running D2 just to take a screenshot.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

I am not sure whether I can make in-game screenshots to work again in d2x-w32, because all rendering is done to some OpenGL buffers, and I'd need to find out how to access them and how to convert them to some regular image file format.

I wonder why it is so important to make screenshots anyway. The only application I can think of is for having screenshots of a level you built, and why not use FRAPS for that?
User avatar
Skyalmian
DBB Admiral
DBB Admiral
Posts: 1723
Joined: Wed Aug 18, 1999 2:01 am
Location: New Jersey, USA

Post by Skyalmian »

Diedel wrote:I wonder why it is so important to make screenshots anyway. The only application I can think of is for having screenshots of a level you built, and why not use FRAPS for that?
I have 421MB of screenshots in 728 files. I like them because they capture cool moments or simply the beauty of the game it was taken in.

---
Taking a screenshot in D2x works (latest version), but it's not in one step. Hit Printscreen, minimize the game, paste into a picture application, tweak if need be, and save.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

PrintScreen doesn't work in D2X-W32 for some odd reason.

Taking screen shots from the game doesn't work either.

Funny enough, if I set a breakpoint before the current frame buffer is copied, I get a screen shot of my IDE. If however the game is running while taking a screen shot, I get a totally garbled image. I really cannot tell why. The calls used are

Code: Select all

	buf = d_malloc(grd_curscreen->sc_w*grd_curscreen->sc_h*3);
	glReadBuffer(GL_FRONT);
	glReadPixels(0,0,grd_curscreen->sc_w,grd_curscreen->sc_h,GL_RGB,GL_UNSIGNED_BYTE,buf);
	write_bmp(savename,grd_curscreen->sc_w,grd_curscreen->sc_h,buf);
and a TGA file is created from the contents of buf, but it looks like the game doesn't render to OpenGL's front buffer (no back buffer used), or whatever. I don't know enough about D2X and OpenGL to find out whats wrong here.
User avatar
Skyalmian
DBB Admiral
DBB Admiral
Posts: 1723
Joined: Wed Aug 18, 1999 2:01 am
Location: New Jersey, USA

Post by Skyalmian »

Diedel wrote:PrintScreen doesn't work in D2X-W32 for some odd reason.
It works for me. :P Taken 30 seconds ago.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

That's of no help whatsoever for me, because I still cannot have D2X-W32 take its own screen shots.

I have temporarily built Alt+F9 into D2X-W32 as screenshot key, so I can call up its screenshot routine.

I need some OpenGL guy to tell me whats wrong, or tell me how to dump the canvas buffer D2X is rendering to to a TGA or BMP file.
User avatar
Skyalmian
DBB Admiral
DBB Admiral
Posts: 1723
Joined: Wed Aug 18, 1999 2:01 am
Location: New Jersey, USA

Post by Skyalmian »

Diedel wrote:That's of no help whatsoever for me, because I still cannot have D2X-W32 take its own screen shots.
I know.
Not sure if this will help, but here.
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post by fliptw »

snoop around the quake2 source code. it should have it.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

No way. I don't get paid for this.

The strange thing is that if I call the glReadPixels function while my desktop is visible, it works.

If I call it while d2x-w32 is visible, it doesn't work.

http://www.brockart.de/descent/images/scrn0015.tga
Garak
DBB Ace
DBB Ace
Posts: 128
Joined: Wed Aug 27, 2003 2:01 am
Location: Alabama
Contact:

Post by Garak »

Turned to gamedev I see. Hope they can help ya, it'll only make d2x that much better :)
User avatar
Ferno
DBB Commie Anarchist Thug
DBB Commie Anarchist Thug
Posts: 15163
Joined: Fri Nov 20, 1998 3:01 am

Post by Ferno »

well looks like whatever you did Diedel, it fixed the problem. I can now select my pilot and browse IPX games. Can't wait to play Tyranny in D2 again. :)

I'm not sure how it happens, but when I am in game and I want to access the options screen, it resets the custom gamma and brightness that I have set in my driver properties (latest official catalyst build from ATi). It kinda sucks seeing the game suddenly get darker after I press F2.

You can get around to this if you want, but do you think you can throw in some pixel shader or vertex shader tricks? like colored lighting? It would be cool to see green lasers light up the tunnel with a nice emerald green. :) If the engine can't support it, or if you don't have the time, then no worries. I can live without.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

I'd like to.

Anybody around who can explain me how to implement pixel and vertex shaders in OpenGL? :D
User avatar
Ferno
DBB Commie Anarchist Thug
DBB Commie Anarchist Thug
Posts: 15163
Joined: Fri Nov 20, 1998 3:01 am

Post by Ferno »

User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Post by Sirius »

...

...*shudders*

That's a pretty hefty project there. The time would be better spent fixing the bugs and adding gameplay features - once that's done and we have people masochistic enough to do it, then we can go do the graphics engine overhaul.

At least that's how I see it. :) I assume Diedel has other things to do...
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

I'd love to have the Fusion have a distortion effect light the big ray guns of HL2's striders ... :roll:

On the other side, pixel shader programming is not that easy, and I am absolutely no 3D math or programming expert. Heck, I can't even figure why reading D2X's render buffer with glReadPixels() doesn't work the way I think it should.

I can however look into D2X's code and find out where the lighting effect for lasers etc. is done (they do light up their environment), and maybe I can simply add some color to it.

Doing colored lights is a different story, as all lights and light effects are precomputed in the level building program (i.e. DMB2, DEVIL, DLE-XP), and thus are static. There is no information available about the light source in D2X's rendering engine, or at least it is not used.
Post Reply