Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: ViRGE on June 28, 2003, 07:56:43 pm
-
Hey all, I'm having an issue with trying to run FS2_Open in D3D8 mode, most likely due to something the launcher is doing. When I try to set up D3D8 mode in the Launcher, it shows my adapter alright, but it fails to give me any options for the resolution, and lists a single AA mode: none. This seems to be resulting in FS2_Open generating a "Failed to create device" error, which prevents launching the game. Taking a look at the registry settings created by the launcher, I'm seeing a couple of things:
D3D8_Mode: it's set to -1 in the launcher, but RegEdit shows it as 2^32. When I set it to 0, the game launches fine, but this is in conflict with what the revised readme says, and I'm not particularly sure that it is even running in D3D8 mode in this case. When I do try the values from the readme, they result in the error message.
D3D8_Adaptor: This is set to 0; the readme says it should be the hardware ID of my video card, which would imply is should be something other than 0.
VideoApi: This is reading Direct3D8
VideoCard: This reads "Direct 3D - Primary Display Driver (32 bit) (1024x768)".
So I suppose I have two questions:
1. How do I set FS2_Open manually(without the lancher) to use D3D8?
2. How can I tell if it's running in D3D8 mode?
Thanks ahead of time.
-
if it isn't running in glide (does that even work anymore) or OGL, then it's in DX8, the 5.1 DX code was replaced rather than added to, wich I would have rather we not done, but I'd rather have the new DX code than the origonal (but an option on wich to use would have been better).
no idea on the reg settings I haven't touched my fs reg in... ever, though I did use that thing for TBP that altered a few settings
-
I've just gotten meself on of those GeForce FX cards - so I'm proposing a DX9 update ;7
-
Originally posted by diamondgeezer
I've just gotten meself on of those GeForce FX cards - so I'm proposing a DX9 update ;7
You can be the lunatic to tell RT then :p
-
Well, I'm sure it isn't in OpenGL mode, and it's a GF4 Ti4200(so no GLide), so it must be in DX8 if the DX5 code isn't even there. Thanks for the info.
-
One more question actually if I may ask: videos? FS2_Open doesn't seem to play them, even when you force it with the dshowvid switch. Did Volition not include the code nessisary to decode the videos?
-
you got it, if someone were to make some commonly useable version of them there wouldn't be a problem but that has yet to happen and we can't do anything for legality reasons
-
Well, if that's the case, then I might have some good news for you. An enterprising fellow managed to basically reverse engineer the MVE codec(http://www.pcisys.net/~melanson/codecs/interplay-mve.txt), and then has turned around and implemented a decoder in to Xine(http://sourceforge.net/project/shownotes.php?release_id=130965). While I don't have a Linux box to check this with, might this be the magic ticket you'd need to convert them over to a more standard format?
-
Originally posted by Bri_Dog
You can be the lunatic to tell RT then :p
Wouldnt be that difficult, the difference between D3D8 and D3D9 seem small. The thing is it being in D3D9 makes no difference, even if you do have a nice FX card, theres nothing in the code to take advantage of it.
The problem is that DX9 is not supported in win95.
ViRGE, sorry to hear about your problems, if you are willing I would really like to know why your card which is so similar to mine doesnt work. Give me an e-mail if you are willing to help me out on this.
However, the best solution for you is using OGL really.
-
well like I said there are legality issues meaning we are not allowed to touch MVE stuff with a twenty seven and 12/13ths meter long poll.
and I beleve we have been made aware of that already
-
I got 4200 myself and I use PhReaK's .exe
What you do is go to the "Nvidia Media Center" and you disable antialising from there.
Then you are Homefree. Launcher aligns itself with what it sees from the "Nvidia Media Center" and you are good to go.
If that is what you did then it is DX8 you are seeing. (Do press the * for the 3rd person mode-It's fantastic!)
;7
-
Edit: Never mind
-
As for resolution, you have to have it chosen by the normal .exe
Only choices are 640*480 and 1024*768. Opensource (and PhReaK's) .exe just goes with that. From the answer I assume you solved your problems. As things stand right now, what you get with that .exe is just DX8!