Wing Commander 4 screen weirdness

-danr-

Vice Admiral
Sorry, I was expressing gratitude to HCl, our in house technical wizard. You'll get the quote once you've got WC4 working and flown with Catscratch :)
 

HCl

WC EXE archaeologist
Let's see if we can get this working for you :)

There are a number of tweaks that i think *might* help... but since I can't reproduce the issue here, we won't know until you try it. Wish there was a better way.

For now, i tried adjusting the viewport a bit more. Try unzipping these files into your WC4 folder, run the game and take a screenshot. (some of the black background might turn blue, this is normal, just so i have an idea which part of the window OpenGL is clearing).

Also, if you can, please try taking a screenshot of the game at a different resolution (eg. 1600x1200) for comparison as well.
 

Attachments

F

Fredde

Guest
I unzipped the new stuff in the WC4 folder and ran the game, but there was no difference at all from before. It still looks like the most recent screenshot I put up, the top half of the view is viewable just as far as before, the rest is covered in black (no blue). At a higher resolution it looks the same, only now the picture doesn't fit inside the borders of the screen.
 

AD

Finder of things, Doer of stuff
I unzipped the new stuff in the WC4 folder and ran the game, but there was no difference at all from before. It still looks like the most recent screenshot I put up, the top half of the view is viewable just as far as before, the rest is covered in black (no blue). At a higher resolution it looks the same, only now the picture doesn't fit inside the borders of the screen.
I'm definitely not as technically skilled at this as HCl and didn't notice off-hand in the reports you posted, but is your PC by any chance running some kind of crossfire or SLI setup?
 
F

Fredde

Guest
I'm very good at tech either, but I don't think my computer's got those things, no. As far as I can tell, that's a bit too advanced for my hunk 'o junk.
 
F

Fredde

Guest
Oh hey, after minimizing and then maximizing the WC4 application, the screen looked like this now:

 

HCl

WC EXE archaeologist
Thanks for the feedback. Results were not quite what I was expecting... but not to worry, i'm working on an alternative (a couple of them actually). I'll try to post more soon!
 
F

Fredde

Guest
One other bit of weirdness that might have to do with this weirdness is the fact that I can't seem to run the game in standard XP-mode. When I try to uncheck the compatibility-box, it seems to automatically revert to Win98 compatibility no matter what. The same happens if I try to put it in Win95 compatibility, but not when I choose either Win2000 or NT. So I haven't actually been able to see if the game runs in regular Windows XP, the actual operating system on my computer.
 

HCl

WC EXE archaeologist
Compatibility seeming to "stick" to Win98 happened to me once. Not sure about the cause, but i suspect it may have something to do with GOG's installer. I wouldn't worry about that... although if you want to try other compatibility modes, you may want to try renaming the wc4dvd exe.

Regarding the screen weirdness: since the problem, as far as I can tell, seems to be related to your OpenGL drivers, i quickly put together a couple new rendering modes which don't make use of OpenGL:

- ddraw, which uses Direct Draw for rendering. Does not support a good deal of features provided by OpenGL mode (pillarboxing and video adjusting for widescreen mode, etc), although it should still fix the palette issue in Win7 (which is not really an issue for you anyway, since you use XP).

- legacy, which forwards the game's DirectX calls to real DirectX, bypassing our DirectX wrapper completely.

Give these two modes a try and see how it goes (ddraw mode is currently set on this zip). These modes were not as thoroughly tested as opengl, so there may be a few issues to fix. However, i'd be interested to know if they improve your situation.

(note: you can choose your renderer by placing "opengl", "ddraw" or "legacy" in renderer.cfg)
 

Attachments

F

Fredde

Guest
Hooray! Now I can see the whole screen perfectly, the videos still run smoothly and the gameplay as well. I flew the first mission without problem and could see the video after it, and can walk around the base, save and load the game, etc. without any apparent trouble. The only thing I noticed was a slightly longer loadtime before the intro movie began when I started a new game, but that might just be my imagination. Thanks a lot!

I tried the two different modes you suggested, and there seems to be no difference between them, they seem to work equally well. As I noted before, I'm not a very "techy" person, so I'm wondering which one of the two you would recommend that I use? Does one use up more computer resources than the other? Are there graphical differences?

Again, thanks a lot for taking the time to fix my problem, I really appreciate it! Hopefully the patch you cooked up might help someone else in the future.
 

HCl

WC EXE archaeologist
Great! :) Very glad to know this solved the problem for you!

Between the ddraw and legacy renderer modes, I would suggest using ddraw, as it solves a few issues with the original game (no more palette errors on Win7, doesn't switch the display to 256 color mode, etc). Legacy mode is intended mostly as a safety net, in case some system has problems handling both ddraw and opengl modes.
 
F

Fredde

Guest
Right-o, then I'll use that. I'll report back here if I run into anymore trouble. Thanks again!
 
A

Adam

Guest
This helped running WC4 on my 64bit Win7 too. Thanks very much for making this patch!
 
F

Fredde

Guest
Just wanted to pop by again and say that I've now managed to play through the whole game without any notable trouble, in case you were wondering. I know I've thanked you before, but again, thanks!
 

AD

Finder of things, Doer of stuff
Were you new to the game or were you revisiting the game? If you were new to it I'd be interested in your impressions. Eitherway, that's awesome that you got through it without any more troubles.
 

Fredde

1st Lieutenant
(Might as well register since I'm hanging around here a lot)

This was the first time I've played WC4, though I have played WC1, 2 and 3 (I can't bear the thought of playing a game in a series without having played the previous games first, thank god for GOG!). I found WC4 to be entertaining, and the cinematics felt much more interesting when there were actual physical props, unlike WC3. I did miss the cockpit pictures from the earlier games, though. Just having a HUD made the game feel a tiny bit less immersive. Other than that, it felt pretty much like the same game as WC3, only with slightly snazzier graphics and a somewhat more complex story. And a whole lot more of The Maniac, which is always a plus!
 

HCl

WC EXE archaeologist
Fredde: Glad to know you managed to play through the game without problems! Thanks for reporting back and letting us know. :)

Adam: Glad to know it helped you out as well. Out of curiosity, could you let us know what kind of video card you have? Thanks!
 

Mincemeat

Doomsday's Neighbour
For some reason only legacy mode is working correctly on my computer.
Windows XP 32-bit SP3
nVidia GeForce 9600GT (latest driver 296.10)
If I try to use opengl or ddraw modes I get the following debug file:

---- Maniac Team Ejection Log ----

"I'm popping the top, Colonel! Good luck!" -- The Maniac



Context:

Context Flags: 0001003f

Dr0: 00000000

Dr1: 00000000

Dr2: 00000000

Dr3: 00000000

Dr6: 00000000

Dr7: 00000000

EAX: e6636621

EBX: 000001e0

ECX: 0062b4d8

EDX: 00000007

ESI: 88857f7f

EDI: 00000050

EBP: 00000400

ESP: 0013f8b4

EFLAGS: 00210286

EIP: 004e1540

Exception Address: 004e1540

Exception Code: c0000005

Exception Flags: 00000000



Modules:

C:\GAMES\WC4\WC4DVD.EXE: 00400000 - 004d9000 (entry = 004a2e90)

C:\WINDOWS\system32\ntdll.dll: 7c900000 - 7c9b2000 (entry = 7c9120f8)

C:\WINDOWS\system32\kernel32.dll: 7c800000 - 7c8f6000 (entry = 7c80b64e)

C:\GAMES\WC4\mpeg2.dll: 10000000 - 1000c000 (entry = 10001ba0)

C:\GAMES\WC4\DXMCI.dll: 00340000 - 00362000 (entry = 003446e7)

C:\WINDOWS\system32\USER32.dll: 7e410000 - 7e4a1000 (entry = 7e41b217)

C:\WINDOWS\system32\GDI32.dll: 77f10000 - 77f59000 (entry = 77f16587)

C:\WINDOWS\system32\COMDLG32.dll: 763b0000 - 763f9000 (entry = 763b1619)

C:\WINDOWS\system32\ADVAPI32.dll: 77dd0000 - 77e6b000 (entry = 77dd710b)

C:\WINDOWS\system32\RPCRT4.dll: 77e70000 - 77f03000 (entry = 77e7628f)

C:\WINDOWS\system32\Secur32.dll: 77fe0000 - 77ff1000 (entry = 77fe2146)

C:\WINDOWS\system32\COMCTL32.dll: 5d090000 - 5d12a000 (entry = 5d0934ba)

C:\WINDOWS\system32\SHELL32.dll: 7c9c0000 - 7d1d7000 (entry = 7c9e7496)

C:\WINDOWS\system32\msvcrt.dll: 77c10000 - 77c68000 (entry = 77c1f2a1)

C:\WINDOWS\system32\SHLWAPI.dll: 77f60000 - 77fd6000 (entry = 77f6520b)

C:\WINDOWS\system32\ole32.dll: 774e0000 - 7761e000 (entry = 774fd071)

C:\GAMES\WC4\XanLib.dll: 00380000 - 0038e000 (entry = 00384a60)

C:\WINDOWS\system32\WINMM.dll: 76b40000 - 76b6d000 (entry = 76b42b61)

C:\GAMES\WC4\dwrap.dll: 004e0000 - 00e37000 (entry = 004e5880)

C:\WINDOWS\system32\OPENGL32.dll: 5ed00000 - 5edcc000 (entry = 5ed0a322)

C:\WINDOWS\system32\GLU32.dll: 68b20000 - 68b40000 (entry = 68b215d5)

C:\WINDOWS\system32\DDRAW.dll: 73760000 - 737ab000 (entry = 73761431)

C:\WINDOWS\system32\DCIMAN32.dll: 73bc0000 - 73bc6000 (entry = 73bc1089)

C:\WINDOWS\system32\PSAPI.DLL: 76bf0000 - 76bfb000 (entry = 76bf10f1)

C:\WINDOWS\system32\IMM32.DLL: 76390000 - 763ad000 (entry = 763912c0)

C:\WINDOWS\system32\LPK.DLL: 629c0000 - 629c9000 (entry = 629c2ead)

C:\WINDOWS\system32\USP10.dll: 74d90000 - 74dfb000 (entry = 74dae439)

C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll: 773d0000 - 774d3000 (entry = 773d4256)

C:\WINDOWS\system32\bassmididrv\bassmididrv.dll: 017d0000 - 017e6000 (entry = 017d451e)

C:\WINDOWS\system32\MSCTF.dll: 74720000 - 7476c000 (entry = 747213a5)

C:\WINDOWS\system32\apphelp.dll: 77b40000 - 77b62000 (entry = 77b41c09)

C:\WINDOWS\system32\msctfime.ime: 755c0000 - 755ee000 (entry = 755d9fe1)

C:\WINDOWS\system32\dsound.dll: 73f10000 - 73f6c000 (entry = 73f11788)

C:\WINDOWS\system32\VERSION.dll: 77c00000 - 77c08000 (entry = 77c01135)

C:\WINDOWS\system32\WINTRUST.dll: 76c30000 - 76c5e000 (entry = 76c31531)

C:\WINDOWS\system32\CRYPT32.dll: 77a80000 - 77b15000 (entry = 77a81632)

C:\WINDOWS\system32\MSASN1.dll: 77b20000 - 77b32000 (entry = 77b233a1)

C:\WINDOWS\system32\IMAGEHLP.dll: 76c90000 - 76cb8000 (entry = 76c91281)

C:\WINDOWS\system32\wdmaud.drv: 72d20000 - 72d29000 (entry = 72d243cd)

C:\WINDOWS\system32\msacm32.drv: 72d10000 - 72d18000 (entry = 72d12575)

C:\WINDOWS\system32\MSACM32.dll: 77be0000 - 77bf5000 (entry = 77be1292)

C:\WINDOWS\system32\midimap.dll: 77bd0000 - 77bd7000 (entry = 77bd33bd)

C:\WINDOWS\system32\KsUser.dll: 73ee0000 - 73ee4000 (entry = 73ee1021)

C:\WINDOWS\system32\DINPUT.DLL: 72280000 - 722aa000 (entry = 7228b06f)

C:\WINDOWS\system32\HID.DLL: 688f0000 - 688f9000 (entry = 688f1105)

C:\WINDOWS\system32\SETUPAPI.DLL: 77920000 - 77a13000 (entry = 7792159a)

C:\WINDOWS\system32\NTMARTA.DLL: 77690000 - 776b1000 (entry = 77691430)

C:\WINDOWS\system32\SAMLIB.dll: 71bf0000 - 71c03000 (entry = 71bf118d)

C:\WINDOWS\system32\WLDAP32.dll: 76f60000 - 76f8c000 (entry = 76f61130)

C:\WINDOWS\system32\nvoglnt.dll: 69500000 - 6a6e6000 (entry = 69f214ad)

cbNeeded = 200



Stack Trace:

+000: 51830dc6

+004: 00000400

+008: 000001e0

+012: 7c85ad4c

+016: e6636621

+020: 0062b4d8

+024: 004e17ea

+028: 51830dc6

+032: 0013fc98

+036: 000001e0

+040: 0301b6c4

+044: 00000002

+048: 00000400

+052: 00000200

+056: 03039ad8

+060: 03039abc

+064: 0013f970

+068: 0048d8e4

+072: 03039ad8

+076: 0301c3fb

+080: 00000000

+084: 00000000

+088: 00000280

+092: 00000023

+096: 00000006

+100: 0301cb6c

+104: 00000000

+108: 00000000

+112: 00000000

+116: 00000280

+120: 01870000

+124: 000001df

+128: 0000027f

+132: 00000000

+136: 00000000

+140: 0301c3fb

+144: fffffffa

+148: 0000001f

+152: 0000001e

+156: 00000005

+160: 00000000

+164: 00000014

+168: 0000000a

+172: 00000000

+176: 00000000

+180: 0013fc98

+184: 0042b509

+188: 004e2f8a

+192: 004e2f9c

+196: 00477bb4

+200: 018024f0

+204: 51830dc6

+208: 0301b6c4

+212: 0013fc98

+216: 00000000

+220: 000001e0

+224: 0049c9be

+228: 01870000

+232: 00000000

+236: 000001e0

+240: 00401c27

+244: 00000000

+248: 004c20ec

+252: 00000001

+256: 004cd750

+260: 02fddd9c

+264: 0049cdd5

+268: 004cd750

+272: 00000000

+276: 004cd750

+280: 02fddd9c

+284: 00000000

+288: 0300a6c0

+292: 0049ce1d

+296: 004cd750

+300: 00000000

+304: 00000000

+308: 03038108

+312: 0013fc98

+316: 00000001

+320: 0049db51

+324: 004cd750

+328: 0049db58

+332: 004c20ec

+336: 00454499

+340: 00000001

+344: 00000001

+348: 00000000

+352: 2e5c2e2e

+356: 61645c2e

+360: 675c6174

+364: 66656d61

+368: 5c776f6c

+372: 50414853

+376: 2e315345

+380: 004b4150

+384: 0013fee8

+388: 00000000

+392: 00000020

+396: ec4dfe6a

+400: 01cd1bae

+404: c6a0a240

+408: 01cd380e

+412: ec4dfe6a

+416: 01cd1bae

+420: 00000000

+424: 000013cc

+428: 0300b74c

+432: 2e5c2e2e

+436: 61645c2e

+440: 675c6174

+444: 66656d61

+448: 5c776f6c

+452: 64616f6c

+456: 656d6167

+460: 4646492e

+464: 0013fa00

+468: 00000023

+472: 0300b730

+476: 0048ab15

+480: 0300b7ac

+484: 0300b730

+488: 0300b7ac

+492: 0300b730

+496: 0048ace2

+500: 0300b7ac

+504: 0300b730

+508: 00000000

+512: 2e5c2e2e

+516: 41445c2e

+520: 475c4154

+524: 46454d41

+528: 5c574f4c

+532: 50414853

+536: 2e315345

+540: 004b4150

+544: 00000000

+548: 00000000

+552: 00000000

+556: 00000000

+560: 00000000

+564: 00000000

+568: 00000000

+572: 00000000

+576: 00000000

+580: 00000000

+584: 00000000

+588: 00000000

+592: 03038714

+596: 03038714

+600: 01cf6ce4

+604: 00008000

+608: 002d0b33

+612: 007e6ff4

+616: 00000001

+620: 00000001

+624: 000002f0

+628: ffffff81

+632: 0013fb34

+636: 0048a5d0

+640: 00000000

+644: 00000000

+648: 0000011b

+652: 0000001d

+656: 00000726

+660: 002d0409

+664: 00000001

+668: 00000b25

+672: 0300a750

+676: 2e5c2e2e

+680: 41445c2e

+684: 475c4154

+688: 46454d41

+692: 5c574f4c

+696: 44414f4c

+700: 454d4147

+704: 4646492e

+708: 00000000

+712: 00000000

+716: 00000000

+720: 00000000

+724: 50414853

+728: 00315345

+732: 00000000

+736: 00000000

+740: 00000000

+744: 00000000

+748: 00000000

+752: 00000000

+756: 00000000

+760: 00000000

+764: 00000000

+768: 00000000

+772: 00000830

+776: 00000830

+780: 00000001

+784: 00000000

+788: 7c91005d

+792: 7c911401

+796: 004cd740

+800: 0048bc60

+804: 2e5c2e2e

+808: 41445c2e

+812: 475c4154

+816: 46454d41

+820: 5c574f4c

+824: 44414f4c

+828: 454d4147

+832: 4646492e

+836: 00000000

+840: 00000000

+844: 00000000

+848: 00000000

+852: 00000000

+856: 00000000

+860: 00000000

+864: 00000000

+868: 00000000

+872: 00000000

+876: 00000000

+880: 00000000

+884: 00000000

+888: 00000000

+892: 00000000

+896: 00000000

+900: 000007f0

+904: 00000830

+908: 00000001

+912: 00000001

+916: 00150000

+920: 000000c1

+924: 0013fc58

+928: 00489f80

+932: 00000000

+936: 00000000

+940: 0300ac50

+944: 4d524f46

+948: 00000190

+952: 00000658

+956: 56544341

+960: 0013fc64

+964: 0013fc70

+968: 64616f6c

+972: 656d6167

+976: 0013ff00

+980: 04bb0001

+984: 0300abcc

+988: 0300b7a0

+992: 0000000b

+996: 00000000

+1000: 00470848

+1004: 03039ef8

+1008: 00152372

+1012: 00000000

+1016: 7e418f9c

+1020: 00000000
Is there any thing I could try? Many thanks :)
 

HCl

WC EXE archaeologist
I went through your log, but i cannot see an obvious cause for what is going on. I'll probably post a new DLL tomorrow with a few extra messages, so we can get some more information. Could you attach your dxdiag info file? It could provide some important clues as well.

In the meantime, you could try changing the desktop color depth to 16-bit. Also, if you have any external monitor / TV connected, try disconnecting it to see if it helps.
 
Top