FreeFalcon / freefalcon-central

A campaign based, multiplayer, open source flight simulator.
http://freefalcon.org/
BSD 2-Clause "Simplified" License
159 stars 99 forks source link

Windows 8 resolution bug #20

Open vinnydiehl opened 11 years ago

vinnydiehl commented 11 years ago

When trying to run the code in Windows 8, I get the following warning:

Requested unavailable resolution 1024x768x16

The warning is coming from this bit of code.

Peter is also getting this issue on a Win8 install. It looks like it's whining about having to load 16-bit colours. This warning can't be ignored to continue to the UI- the sim crashes upon continuation.

FF6 does boot on this computer as I have it installed, but it doesn't run when compiled in debug mode on VS2010, so I'm adding this to the migration milestone.

PeterMeyer commented 11 years ago

I think you can solve this if you use just an other default initialization value. 1024x768x16 should be fine on every PC since 2004 i think. Windows 8 needs allways this settings so we should think about it making it default.

vinnydiehl commented 11 years ago

How can we do this? This appears to be a DirectX thing.

ghost commented 10 years ago

This can be closed. The build manual contains instructions about fixing this issue.

vinnydiehl commented 10 years ago

Eh, wouldn't consider setting compatibility a fix, more of a band-aid. Know of any settings in MSVS to build a compatible EXE in the mean time?

ghost commented 10 years ago

No, and there is very little info online about it. I'll try to force the code to run with 32 bit color depth.