D2X-W32: Screenshots working

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

D2X-W32: Screenshots working

Post by Diedel »

Just found out that on (older) NVidia hardware (GF2 MX400, GF 5200) screenshots are properly taken. D'oh.

On my X800 XT PE with Catalyst 5.2 glReadPixels() doesn't work.

Heck. I was searching for bloody ages for a bug in my code.

ATI and OpenGL. :x

Currently the screenshot hotkey is Alt+F9.
User avatar
Tyranny
DBB Defender
DBB Defender
Posts: 3399
Joined: Sun Nov 10, 2002 3:01 am
Location: Phoenix, Arizona

Post by Tyranny »

Awesome job man. There is a slight problem. Screenshots can't be captured while in demo playback. Not even if you pause the demo to try and take a shot. This isn't right because you could take screenshots while watching a demo in D2.

Perhaps demo playback code has a seperate section where the screen capture was designated and you just need to add the changes into that?
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

I will look into this. Can't be much of a problem. I guess that the demo playback code simply doesn't react to Alt+F9, because if you can take screenies there in D2 classic, there must be code for intercepting a key and dumping the screen to a file.
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Post by Sirius »

Might just test it on my Radeon 7500...

Edit: No problems, screenshots work fine. Go figure.

Yes, the drivers are (relatively) recent... mid-February I think.
Post Reply