Hard Light Productions Forums

General FreeSpace => FreeSpace Discussion => Topic started by: Zero Serenity on October 29, 2012, 08:58:21 pm

Title: Windows 8 and FSO
Post by: Zero Serenity on October 29, 2012, 08:58:21 pm
Greetings. I've been a fan of Freespace since Darkness Rising (No really, I was first introduced to the game by the demo) and have somewhat followed the game to the enjoyment of countless hours of shooting stuff. I've now moved up to Windows 8 and cannot play the game, I'm guessing from an OpenGL issue somewhere. I am a software developer by trade but my experience is with C#, so I cannot quite fix this problem without probably causing irreparable damage somewhere. I offer my services as much as possible to work through this issue so the next generation of fans can enjoy one of my favorite games.

The error after I force the game to kick on it with Visual Studio 2010 Ultimate says: Unable to get proper pixel format for OpenGL W32.

I could probably do more with the source if you could prime me on getting it. Otherwise, ask me anything.
Title: Re: Windows 8 and FSO
Post by: Zero Serenity on October 29, 2012, 08:59:17 pm
And this should have been in support...
Title: Re: Windows 8 and FSO
Post by: niffiwan on October 29, 2012, 09:01:07 pm
Here's some info on starting with the code. 

http://www.hard-light.net/forums/index.php?topic=82688.0

edit: also, posting a log would be useful, see my sig for details
Title: Re: Windows 8 and FSO
Post by: General Battuta on October 29, 2012, 09:03:39 pm
Yeah, a debug log will help a lot with this.
Title: Re: Windows 8 and FSO
Post by: Zero Serenity on October 29, 2012, 09:11:46 pm
Splat!
Code: [Select]
==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
FreeSpace 2 Open version: 3.6.13.9276
Passed cmdline options:
  -spec_exp 8.2
  -spec_static 3.5
  -spec_point 8.6
  -spec_tube 1.0
  -ambient_factor 70
  -env
  -mipmap
  -missile_lighting
  -glow
  -spec
  -3dshockwave
  -soft_particles
  -post_process
  -targetinfo
  -snd_preload
  -mod FOW_Chapter1,mediavps
  -window
Building file index...
Found root pack 'C:\Games\FreeSpace2\FOW_Chapter1\FOW_Chapter1.vp' with a checksum of 0xcffae8fa
Found root pack 'C:\Games\FreeSpace2\FOW_Chapter1\FOW_Chapter1_Models.vp' with a checksum of 0xd0248b6b
Found root pack 'C:\Games\FreeSpace2\mediavps\3610_Patch.vp' with a checksum of 0x07e72699
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Advanced.vp' with a checksum of 0x4b8b0f5a
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_AnimGlows.vp' with a checksum of 0x6a554026
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Assets.3612.vp' with a checksum of 0x59649c21
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Assets.vp' with a checksum of 0x529cc70f
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Core.vp' with a checksum of 0x0dc7bb8f
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Effects.3612.vp' with a checksum of 0x9c510aa0
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Effects.vp' with a checksum of 0xb9a9a485
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Music.vp' with a checksum of 0xb3e21469
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_RadarIcons.vp' with a checksum of 0x31dd7781
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Root.3612.vp' with a checksum of 0x7c9d7e74
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Root.vp' with a checksum of 0x6ffd5c78
Found root pack 'C:\Games\FreeSpace2\multi-mission-pack.vp' with a checksum of 0x377695e0
Found root pack 'C:\Games\FreeSpace2\multi-voice-pack.vp' with a checksum of 0xd50e7442
Found root pack 'C:\Games\FreeSpace2\Root_fs2.vp' with a checksum of 0x747372cc
Found root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' with a checksum of 0xddeb3b1e
Found root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' with a checksum of 0x164fe65a
Found root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' with a checksum of 0xa11d56f1
Found root pack 'C:\Games\FreeSpace2\stu_fs2.vp' with a checksum of 0xd77da83a
Found root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' with a checksum of 0x4c25221e
Found root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' with a checksum of 0x86920b82
Found root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' with a checksum of 0x705e8d71
Found root pack 'C:\Games\FreeSpace2\warble_fs2.vp' with a checksum of 0xd85c305d
Searching root 'C:\Games\FreeSpace2\FOW_Chapter1\' ... 11 files
Searching root pack 'C:\Games\FreeSpace2\FOW_Chapter1\FOW_Chapter1.vp' ... 33 files
Searching root pack 'C:\Games\FreeSpace2\FOW_Chapter1\FOW_Chapter1_Models.vp' ... 89 files
Searching root 'C:\Games\FreeSpace2\mediavps\' ... 0 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\3610_Patch.vp' ... 86 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Advanced.vp' ... 1283 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_AnimGlows.vp' ... 1641 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Assets.3612.vp' ... 315 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Assets.vp' ... 1527 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Core.vp' ... 146 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Effects.3612.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Effects.vp' ... 1876 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Music.vp' ... 32 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_RadarIcons.vp' ... 24 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Root.3612.vp' ... 13 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Root.vp' ... 94 files
Searching root 'C:\Games\FreeSpace2\' ... 15 files
Searching root pack 'C:\Games\FreeSpace2\multi-mission-pack.vp' ... 110 files
Searching root pack 'C:\Games\FreeSpace2\multi-voice-pack.vp' ... 307 files
Searching root pack 'C:\Games\FreeSpace2\Root_fs2.vp' ... 157 files
Searching root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' ... 3027 files
Searching root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' ... 1337 files
Searching root pack 'C:\Games\FreeSpace2\stu_fs2.vp' ... 2355 files
Searching root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' ... 32 files
Searching root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' ... 15 files
Searching root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\warble_fs2.vp' ... 52 files
Found 28 roots and 14607 files.
AutoLang: Language auto-detection successful...
Setting language to English
TBM  =>  Starting parse of 'mv_core-lcl.tbm' ...
TBM  =>  Starting parse of 'mv_strings-lcl.tbm' ...
Initializing OpenAL...
  OpenAL Vendor     : Creative Labs Inc.
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

  Found extension "ALC_EXT_EFX".

  Sample rate: 44100 (44100)
  EFX version: 1.0
  Max auxiliary sends: 1
  Playback device: Generic Software on Speakers (2- High Definition Audio Device)
  Capture device: Microphone (Logitech USB Microp
... OpenAL successfully initialized!
Initializing OpenGL graphics device at 640x480 with 16-bit color...
  Initializing WGL...
ASSERTION: "bpp == 32" at gropengl.cpp:1573
Title: Re: Windows 8 and FSO
Post by: General Battuta on October 29, 2012, 09:16:00 pm
Okay, couple problems -

First up, you've got your 3.6.10 and 3.6.12 MediaVPs...mingled together somehow, it looks like. These files must be kept separate and the default folder names must be preserved. I would delete all your MediaVPs and do a total clean install on them.

Second, can you try cranking up the resolution and color depth? You're at 640x480 16 bit, will it work with 32 bit at something closer to your desktop res?
Title: Re: Windows 8 and FSO
Post by: Zero Serenity on October 29, 2012, 09:35:50 pm
Splat!
Code: [Select]
==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
FreeSpace 2 Open version: 3.6.13.9276
Passed cmdline options:
  -spec_exp 8.2
  -spec_static 3.5
  -spec_point 8.6
  -spec_tube 1.0
  -ambient_factor 70
  -env
  -mipmap
  -missile_lighting
  -glow
  -spec
  -3dshockwave
  -soft_particles
  -post_process
  -targetinfo
  -snd_preload
  -mod FOW_Chapter1,mediavps
  -window
Building file index...
Found root pack 'C:\Games\FreeSpace2\FOW_Chapter1\FOW_Chapter1.vp' with a checksum of 0xcffae8fa
Found root pack 'C:\Games\FreeSpace2\FOW_Chapter1\FOW_Chapter1_Models.vp' with a checksum of 0xd0248b6b
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Advanced.vp' with a checksum of 0x4b8b0f5a
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_AnimGlows.vp' with a checksum of 0x6a554026
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Assets.3612.vp' with a checksum of 0x59649c21
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Assets.vp' with a checksum of 0x529cc70f
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Effects.3612.vp' with a checksum of 0x9c510aa0
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Effects.vp' with a checksum of 0xb9a9a485
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Music.vp' with a checksum of 0xb3e21469
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_RadarIcons.vp' with a checksum of 0x31dd7781
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Root.3612.vp' with a checksum of 0x7c9d7e74
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Root.vp' with a checksum of 0x6ffd5c78
Found root pack 'C:\Games\FreeSpace2\multi-mission-pack.vp' with a checksum of 0x377695e0
Found root pack 'C:\Games\FreeSpace2\multi-voice-pack.vp' with a checksum of 0xd50e7442
Found root pack 'C:\Games\FreeSpace2\Root_fs2.vp' with a checksum of 0x747372cc
Found root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' with a checksum of 0xddeb3b1e
Found root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' with a checksum of 0x164fe65a
Found root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' with a checksum of 0xa11d56f1
Found root pack 'C:\Games\FreeSpace2\stu_fs2.vp' with a checksum of 0xd77da83a
Found root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' with a checksum of 0x4c25221e
Found root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' with a checksum of 0x86920b82
Found root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' with a checksum of 0x705e8d71
Found root pack 'C:\Games\FreeSpace2\warble_fs2.vp' with a checksum of 0xd85c305d
Searching root 'C:\Games\FreeSpace2\FOW_Chapter1\' ... 11 files
Searching root pack 'C:\Games\FreeSpace2\FOW_Chapter1\FOW_Chapter1.vp' ... 33 files
Searching root pack 'C:\Games\FreeSpace2\FOW_Chapter1\FOW_Chapter1_Models.vp' ... 89 files
Searching root 'C:\Games\FreeSpace2\mediavps\' ... 0 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Advanced.vp' ... 1283 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_AnimGlows.vp' ... 1641 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Assets.3612.vp' ... 315 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Assets.vp' ... 1527 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Effects.3612.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Effects.vp' ... 1876 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Music.vp' ... 32 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_RadarIcons.vp' ... 24 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Root.3612.vp' ... 13 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Root.vp' ... 94 files
Searching root 'C:\Games\FreeSpace2\' ... 15 files
Searching root pack 'C:\Games\FreeSpace2\multi-mission-pack.vp' ... 110 files
Searching root pack 'C:\Games\FreeSpace2\multi-voice-pack.vp' ... 307 files
Searching root pack 'C:\Games\FreeSpace2\Root_fs2.vp' ... 157 files
Searching root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' ... 3027 files
Searching root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' ... 1337 files
Searching root pack 'C:\Games\FreeSpace2\stu_fs2.vp' ... 2355 files
Searching root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' ... 32 files
Searching root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' ... 15 files
Searching root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\warble_fs2.vp' ... 52 files
Found 26 roots and 14375 files.
AutoLang: Language auto-detection successful...
Setting language to English
TBM  =>  Starting parse of 'mv_core-lcl.tbm' ...
Initializing OpenAL...
  OpenAL Vendor     : Creative Labs Inc.
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

  Found extension "ALC_EXT_EFX".

  Sample rate: 44100 (44100)
  EFX version: 1.0
  Max auxiliary sends: 1
  Playback device: Generic Software on Speakers (2- High Definition Audio Device)
  Capture device: Microphone (Logitech USB Microp
... OpenAL successfully initialized!
Initializing OpenGL graphics device at 1280x1024 with 32-bit color...
  Initializing WGL...
ERROR: Unable to initialize display device!

File: gropengl.cpp
Line: 1861

I took out the old 3.6.10 MediaVPs files (as the only two files made before the 24th of October) so it should match now. I just downloaded the code using AnkhSVN so I'm awaiting your next tip.
Title: Re: Windows 8 and FSO
Post by: LHN91 on October 29, 2012, 09:45:25 pm
I hate to be "that guy"..... but are you running the latest drivers for your card, from the manufacturer (not Windows defaults)? I just finished testing out FSO on my Windows 8 system and had zero issues, and I also seem to remember that "Unable to get proper pixel format for OpenGL W32" shows up regularly on Windows default drivers as they are only set up for DirectX, and don't include OpenGL support.
Title: Re: Windows 8 and FSO
Post by: The E on October 30, 2012, 12:46:39 am
Yep, faulty drivers are pretty much the only reason this error appears. Check that you have the latest version installed.

FSO should work normally on Windows 8, I have seen no issues with it so far (using win 8 myself).
Title: Re: Windows 8 and FSO
Post by: Zero Serenity on October 30, 2012, 07:03:10 am
I forced a Win7 driver in using Have Disk (which still defaults to A: for some reason). It kicks on now. Some of the campaign mods I have aren't functioning (Flames of War, for example), but I can deal with it.
Title: Re: Windows 8 and FSO
Post by: The E on October 30, 2012, 07:30:50 am
What do you mean by "aren't functioning"?
Title: Re: Windows 8 and FSO
Post by: LHN91 on October 30, 2012, 09:27:13 am
You can generally force Windows 7 drivers to install just by setting compatibility mode settings to Windows 7 on the installer. Did that on my Radeon 4870, and everything worked swimmingly, Catalyst Control Panel and everything. Shouldn't need to go as far as "Have Disk..."
Title: Re: Windows 8 and FSO
Post by: Zero Serenity on October 30, 2012, 05:03:13 pm
Splats errors when using the debug. I think I might need a new copy of the mod folder.
Title: Re: Windows 8 and FSO
Post by: z64555 on October 30, 2012, 06:20:49 pm
I'd say just try nuking the entire FreeSpace2 directory and do a clean install of the retail assets. Double check that retail works (it should since they use DirectX) before moving onto a 3.6.14 build (there's a handful of 3.6.13 builds that won't play nice with anything lower than OpenGL 1.5)

If you don't mind, could you give us your system specs? (CPU, Graphics card, RAM, etc.)
Title: Re: Windows 8 and FSO
Post by: Dragon on October 31, 2012, 07:20:55 pm
Splats errors when using the debug. I think I might need a new copy of the mod folder.
FOW modpack isn't very well designed, and the latest builds pick those deficiencies up. You can try reinstalling, but if it doesn't help, try playing it despite the debug warnings. It should work.
Title: Re: Windows 8 and FSO
Post by: chief1983 on October 31, 2012, 11:36:43 pm
Or, for just playing it, use the release build.  You only really need the debug build if you're trying to report a bug or developing for a mod.