Hi, I've installed the patch for WC4 GOG DVD version, BUT the joystick doesn't work anymore, like the input isn't recognized or something like that. Was working perfectly fine before. If I open the calibration window through the game options (alt+o), it seems to respond.
Any ideas? Thanks.
 
@belowtrieste:
Just to clarify, when you hit calibrate in the Alt+O menu you're seeing something like this right?
Controller Setup Wc4.png

Be aware in the latest version Space and regular GUI controls are separate. So you need to setup your joystick under both the Space and GUI tabs.
 
@Mash yes, and, as mentioned, here my joystick seems to respond.

1783256182785.png


But here I think I'm missing something: what are these GUI controls? Because, when I go into the carrier's control panel, these are the available options and there's no choice of input (keyboard/mouse/joystick), although there's the calibration tool here as well.

1783256314441.png
 
I was a bit worried the Controller Setup window might have gotten a bit complicated for the average user. I might look at simplifying things a bit in a future release.
The original joystick setup has been replaced in this patch. The Controller Setup window will pop-up at both locations the Alt+O menu and under Control Parameters. It can also be activated by pressing Alt+J at any time. If you would prefer to use the original joystick you can set ENABLE_CONTROLLER_ENHANCEMENTS=0 in the wc4w_en.ini configuration file.

Otherwise you're joystick axes and buttons need to be configured for the joystick to work in game.
Open the Controller Setup window and select the Space tab if it's not selected already.
Starting with Axes, move your joystick left or right to focus that axis. This will usually be "Axis 0" and select Yaw from the drop-down control marked "As:"
Controller Setup Wc4 set yaw.png


Moving left and right at this point and you should see the cross moving left and right in the Testing area to the right.

Go through the same process for the pitch axis. Move you're joystick forward or back to focus the pitch axis usually "Axis 1" then select Pitch from the "As:" drop-down control.
Buttons work a similar way. Press the button you want to setup, eg. the trigger button. Which is usually "Button 0" and then in the "Action:" drop-down select "B1 Trigger" or any other action you want that button to perform.

To use you're joystick on the carrier you need to do the same as above with the GUI tab selected. There is also a tab "NAV" to setup controls for the navigation screen. You can ignore the "Remap" tabs for now.

When done click "OK" to save your settings.
 
@Mash @Destro

​

hello , for wing commander 3 (i use GOG version),i have issue when i start wc3w (fatal error "0xc0000142" ( the error come from ddraw.dll )) , i run windows 10 pro 22H2 FR 64bit updated (geforce 3080 ti, ryzen 9 5900x , 32GB)
procedure for patch i used:
i used the patch in the folder "wingloader/wing commander III"

wc3w_en_v0.14.1 (Wing Commander III Enhancement Patch)​

https://github.com/mattwells77/Wing_Commander_III_Enhancement_Patch/​

​

then the​

libvlc_min_pack_3.0.21​

​

https://github.com/mattwells77/Wing...ent_Patch/releases/tag/libvlc_min_pack_3.0.21​

​

then i added the video from https://www.wcnews.com/wcpedia/Wing_Commander_3_HD_Video_Pack​

then i add the "DATA.dat" from gog wc3 installation​

then i start the wingloader(0.92) patch (result ok)​

​

then i start the game wc3w.exe , then i get a popup fatal error with "0xc0000142" ( the error come from ddraw.dll​

what mistake i did ?thanks by advance for help :)​

my regard​

(and thanks for all the dedicated work to make wing commander updated!)​

​

(i can provide a dump if needed)​

when i look at windows event observer app , i get the following​

​


​

Détecteur d'erreurs , type 0
Nom d’événement : APPCRASH
Réponse : Non disponible
ID de CAB : 0

Signature du problème :
P1 : WC3W.EXE
P2 : 1.0.0.2
P3 : 32418764
P4 : DDRAW.dll
P5 : 0.14.1.0
P6 : 6a276167
P7 : c0000005
P8 : 0001aa11
P9 :
P10 :



--------------------------------------------------

Détecteur d'erreurs , type 0
Nom d’événement : LiveKernelEvent
Réponse : Non disponible
ID de CAB : 0

Signature du problème :
P1 : 117
P2 : ffff808de4dcd010
P3 : fffff806043f0a10
P4 : 0
P5 : 438
P6 : 10_0_19045
P7 : 0_0
P8 : 256_1
P9 :
P10 :


---------------------------------------

Détecteur d'erreurs 2265353119160014180, type 1
Nom d’événement : APPCRASH
Réponse : Non disponible
ID de CAB : 0

Signature du problème :
P1 : WC3W.EXE
P2 : 1.0.0.2
P3 : 32418764
P4 : DDRAW.dll
P5 : 0.14.1.0
P6 : 6a276167
P7 : c0000005
P8 : 0001aa11
P9 :
P10 :
 
Last edited:
@Migow:
It's hard to say what's going on there.
You could try installing the latest MS Visual C++ Redistributable package.
It might be worth checking/repairing your system files with the Windows System File Checker (SFC) tool. Type "cmd" in the Windows search bar. Right click on "Command Prompt" and choose "Run As Administrator". Then type "sfc /scannow".
 
@Migow:
It's hard to say what's going on there.
You could try installing the latest MS Visual C++ Redistributable package.
It might be worth checking/repairing your system files with the Windows System File Checker (SFC) tool. Type "cmd" in the Windows search bar. Right click on "Command Prompt" and choose "Run As Administrator". Then type "sfc /scannow".
i did SFC /scannow , still not working for WC3

but for WC4 with patch and video hd , it does work out the box!

i repaired vc14 32 bit redistribuable , maybe i will desinstall and reinstall

i guess i will have to compile the patch and try debug to see where problem is hidden(someone else reported the same issue this topic a few page ago)

they are all (wc3 / wc 4 )compiled with visual studio 2017 ( vc 14 redistribuable 32bit)?

thanks for answer :)
 
That's strange, the wc3/4 patches are compiled the same way so should have the same dependencies. I'm using VS 2022 C++ 17, 32bit.
The only other thing I can think of is to re-download the patch in case it was corrupted somehow.
Could you list the contents of your wing commander 3 folder? Maybe something is amiss there.
 
@Mash @Destro

​

hello , for wing commander 3 (i use GOG version),i have issue when i start wc3w (fatal error "0xc0000142" ( the error come from ddraw.dll )) , i run windows 10 pro 22H2 FR 64bit updated (geforce 3080 ti, ryzen 9 5900x , 32GB)
procedure for patch i used:
i used the patch in the folder "wingloader/wing commander III"

wc3w_en_v0.14.1 (Wing Commander III Enhancement Patch)​

https://github.com/mattwells77/Wing_Commander_III_Enhancement_Patch/​

​

then the​

libvlc_min_pack_3.0.21​

​

https://github.com/mattwells77/Wing...ent_Patch/releases/tag/libvlc_min_pack_3.0.21​

​

then i added the video from https://www.wcnews.com/wcpedia/Wing_Commander_3_HD_Video_Pack​

then i add the "DATA.dat" from gog wc3 installation​

then i start the wingloader(0.92) patch (result ok)​

​

then i start the game wc3w.exe , then i get a popup fatal error with "0xc0000142" ( the error come from ddraw.dll​

what mistake i did ?thanks by advance for help :)​

my regard​

(and thanks for all the dedicated work to make wing commander updated!)​

​

(i can provide a dump if needed)​

when i look at windows event observer app , i get the following​

​


​

Détecteur d'erreurs , type 0
Nom d’événement : APPCRASH
Réponse : Non disponible
ID de CAB : 0

Signature du problème :
P1 : WC3W.EXE
P2 : 1.0.0.2
P3 : 32418764
P4 : DDRAW.dll
P5 : 0.14.1.0
P6 : 6a276167
P7 : c0000005
P8 : 0001aa11
P9 :
P10 :



--------------------------------------------------

Détecteur d'erreurs , type 0
Nom d’événement : LiveKernelEvent
Réponse : Non disponible
ID de CAB : 0

Signature du problème :
P1 : 117
P2 : ffff808de4dcd010
P3 : fffff806043f0a10
P4 : 0
P5 : 438
P6 : 10_0_19045
P7 : 0_0
P8 : 256_1
P9 :
P10 :


---------------------------------------

Détecteur d'erreurs 2265353119160014180, type 1
Nom d’événement : APPCRASH
Réponse : Non disponible
ID de CAB : 0

Signature du problème :
P1 : WC3W.EXE
P2 : 1.0.0.2
P3 : 32418764
P4 : DDRAW.dll
P5 : 0.14.1.0
P6 : 6a276167
P7 : c0000005
P8 : 0001aa11
P9 :
P10 :
What I might suggest is fully uninstall WC3 and reinstall the game making sure to delete the game folder and patch with WingLoader first before using the enhancement patch. Confirm that the game works first then apply Mash's patch. My patch add's missing files and extracts the Data.dat file if using the GOG/EA version. Perhaps my patching is causing an issue?
 
@Migow

then i add the "DATA.dat" from gog wc3 installation


One thing is still not 100% clear to me. Did you extract the files from the DATA.DAT or did you just copied the file to your new directory?

The DATA.DAT is just an archive that contains all files from the original CD's. GOG is mounting the file as CD-ROM drive in DOSBOX. You need the files inside that archive.


Let's start fresh with a blank slate here.

  1. open the DATA.DAT from GOG with 7zip or WinRAR.
  2. extract and copy all files from the DATA.DAT to an empty folder. C:\games\wc3win for example.
  3. extract and copy all files from the Wing Commander III folder
    inside of the "Wingloader\Wing Commander III GOG Upgrade KS.zip" to C:\games\wc3win
  4. extract and copy all files and folders from wc3w_en_0.14.1.zip to C:\games\wc3win
  5. extract and copy all files and folders from libvlc_min_pack_3.0.21.zip to C:\games\wc3win
  6. copy the HD-video files into C:\games\wc3win\movies
  7. Start WC3W.EXE
 
Last edited:
for WC3 if i use wingloader it does extract the data.dat then patch it. if i do manually i extract myself the data in data.dat then patch it with ks archive, , i reinstalled the game multiple time with patch in different order, i always get the error, now i also tried instead to use cnc-ddraw as alternative, i endup with a "bad free ptr" error. ( ptr as pointer likely so an error when he is about to free the error) the problem is likely from ddraw.dll provided by matt in some config parameter , to all of you what is your config OS exact version ex : win 10 pro 22hH2 and hardware CG especially?

if i try to run with only disto patch without (vlc ,matt patch , movies hd) i get bad free ptr error )
WC4 with patch work perfect

i need to try to compile with debug symbol , again i can provide a memory dump with the error
(i did reinstall again with clean folder) i still get the same error)

i will try to run in on linux with proton
file hierarchy :
1783464688114.png
 
Last edited:
@Migow

to all of you what is your config OS exact version ex : win 10 pro 22hH2 and hardware CG especially?

Windows 10 Pro 22H2 (64bit) - Systembuild 19045.7417
Intel Core i7 3770 3,40GHz
nVidia Geforce GTX970 (PNY) - Driver version 582.66
16GB RAM
SSD1 Samsung SSD 870 EVO 500GB
SSD2 Verbatim Vi550 S3,
HDD1 3.64 TB HDD WDC WD40EZRZ-00GXCB0
 
@Migow

I am no expert but I am trying to poke in the dark here. Is your Windows Defender (or some other anti virus tool) somehow blocking the ddraw.dll? That happens to me occasionally when I install a new version of the enhancement patch. As I said, this doesn't happen very often to me but sometimes it happens to the WC3 version, sometimes to the WC4 version of the ddraw.dll.
 
@Migow

I am no expert but I am trying to poke in the dark here. Is your Windows Defender (or some other anti virus tool) somehow blocking the ddraw.dll? That happens to me occasionally when I install a new version of the enhancement patch. As I said, this doesn't happen very often to me but sometimes it happens to the WC3 version, sometimes to the WC4 version of the ddraw.dll.
i didn't get report from anti virus of blocking something , i even tried turning off the AV , the game is still not working
 
@Marco Wanke @Mash did you use the last version of wc3 GOG ?

i use the english version ( i heard some bug on the german version with the patch)

so i am stuck with the dos version that work(dos staging) :(
 
Last edited:
@Marco Wanke @Mash @Destro i compiled on VS2019 matt patch and i used debug build of ddraw with debug symbol and vs debugger,
i endup with a access violation on reading in modifications_joystick function when he compare the addr

1783562056746.png
1783562093703.png



it seems my gog build with KS patch((wc3w come from KS patch/wingloader not even GOG) doesn't have the same address as expected as matt patch how is that possible?(i don't understand)
 
@Mash @Marco Wanke @Destro i solved the issue it is the windows exploit protection(address randomisation etc..) that prevent the hack to work you need to tell to turn off all protection for wc3w.exe , tell in the documentation to put a special rule in the windows exploit protection to remove all protection , also turn off the 3rd party antivirus or put rule for exploit
 
Last edited: