http://bugs.winehq.org/show_bug.cgi?id=9337
Summary: direct 3d errors while running vietcong.exe Product: Wine Version: 0.9.43. Platform: PC URL: http://appdb.winehq.org/appview.php?iVersionId=8864 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P1 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: docmccoy80@freenet.de
When vietcong.exe is running by wine, I get always the same errors repeatedly: fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present options (nil)/0x33fcb8 fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present options (nil)/0x33fa80 fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present options (nil)/0x33fd0c fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present options (nil)/0x33df88 fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present options (nil)/0x33df68 fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present options (nil)/0x33df7c fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present options (nil)/0x33dfa0
When I start a game in Vietcong, it is loading, but then it crashs. If I want to select the multiplayer character, it also crashs. I think wine has problems to emulate the direct3d eninge of Vietcong.
Unfortunately I can't give a better bug report, because I don't know much about wine/d3d/....
Perhaps I just need a dll?!
http://bugs.winehq.org/show_bug.cgi?id=9337
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Difficulty|Hours |--- Priority|P1 |P2 Summary|direct 3d errors while |Vietcong game crashes after |running vietcong.exe |start
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-16 07:43:01 --- Is that the full terminal output (in not, attach full as a file do not paste)? I don't see a crash there. What video card/drivers do you have? Also is there a demo of this game and does it have the same problem?
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #2 from Doc_McCoy docmccoy80@freenet.de 2007-08-16 16:46:01 --- About my OS and my PC: Ubuntu Feisty Fawn 9.04 32bit + Wine 9.43 + compiled NVIDIA driver 100.14.11. Nvidia 7900GT 256Mb, Athlon 4400+ X2, 2GB Ram.
TerminalInput: "wine vietcong.exe" TerminalOutput: Look at the errors I posted above.
Here you can find a demo: http://www.4players.de/4players.php/download_start/Allgemein/Download/4804.h...
The demo runs!!
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #3 from Doc_McCoy docmccoy80@freenet.de 2007-08-16 16:58:05 --- The demos runs, but just the Video of a Campaign. When it comes to the first person shooter part of the game, it crashs like the fullversion.
http://bugs.winehq.org/show_bug.cgi?id=9337
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #4 from Austin English austinenglish@gmail.com 2007-08-18 20:05:41 --- Hmm, the demo refuses to launch for me in wine 0.9.43/kubuntu gusty/nvidia 5200. Can anyone else get it to run?
http://bugs.winehq.org/show_bug.cgi?id=9337
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #5 from joaopa jeremielapuree@yahoo.fr 2007-08-19 03:03:34 --- Austin, with the sound enabled, the demo crashes. But with sound disabled, the demo starts and crashes after the intro movie.
Mandriva 2007.1 spring, nvidia 7600g0, core-duo
Joaopa
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #6 from Doc_McCoy docmccoy80@freenet.de 2007-08-19 15:38:15 --- Oh, you support me. Thx Tomorrow I will try to start Vietcong with some direct3d traces/parameters. http://wiki.jswindle.com/index.php/Debugging_Wine#Video
http://bugs.winehq.org/show_bug.cgi?id=9337
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #7 from Austin English austinenglish@gmail.com 2007-08-26 14:03:38 --- Confirmed in wine 0.9.44. To have the demo run, disable sounds in game on the first configuration window. Game will run until right after the helicopter crash, after which it will crash itself (no pun intended). With sound enabled, refuses to launch.
http://bugs.winehq.org/show_bug.cgi?id=9337
Maarten Lankhorst M.B.Lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |M.B.Lankhorst@gmail.com
--- Comment #8 from Maarten Lankhorst M.B.Lankhorst@gmail.com 2007-08-29 09:49:37 --- Can you make a +dsound,+seh log? I'm suspecting it is the same as bug 9498.
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #9 from Doc_McCoy docmccoy80@freenet.de 2008-03-20 14:31:40 --- Created an attachment (id=11517) --> (http://bugs.winehq.org/attachment.cgi?id=11517) CoInitializeEx error(ole32.dll)
terminal output by testing vietcong
http://bugs.winehq.org/show_bug.cgi?id=9337
Doc_McCoy docmccoy80@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |docmccoy80@freenet.de
--- Comment #10 from Doc_McCoy docmccoy80@freenet.de 2008-03-20 14:40:53 --- I attached the terminal output, perhaps it will help us. The error comes up when vietcong crashes(watching the playermodel or playing).
I looked up the internet and found out that the CoInitialize error has to do with ole32.dll, but I don't know to fix this problem. Therefore I tried to override ole32 in winecfg as native, however Vietcong crashes at startup.
My current winevers.: 0.9.57
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #11 from Austin English austinenglish@gmail.com 2008-11-29 02:03:14 --- Created an attachment (id=17530) --> (http://bugs.winehq.org/attachment.cgi?id=17530) +dsound,+seh
Still present in git. Maarten, here's the log you requested, sorry I missed that request earlier.
With sound disabled, still crashes after the helicopter crash.
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #12 from joaopa jeremielapuree@yahoo.fr 2008-11-29 19:48:44 --- Created an attachment (id=17550) --> (http://bugs.winehq.org/attachment.cgi?id=17550) Patch for the sound bug
Austin, could you check that this patch fix the sound bug for you? (It fixes it for me)
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #13 from Austin English austinenglish@gmail.com 2008-11-29 21:20:55 --- (In reply to comment #12)
Created an attachment (id=17550)
--> (http://bugs.winehq.org/attachment.cgi?id=17550) [details]
Patch for the sound bug
Austin, could you check that this patch fix the sound bug for you? (It fixes it for me)
Works fine here as well.
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #14 from joaopa jeremielapuree@yahoo.fr 2008-11-30 02:00:49 --- great....
The last crash is in the logs.dll. Following http://baboon.rce.free.fr/index.php?post/2008/06/13/15-vietcong-securom-v5-t...
it is a copy-protection dll on the top of securom. Maybe a cracked game bypasses this crash.
Joaopa
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #15 from Austin English austinenglish@gmail.com 2008-11-30 12:31:02 --- (In reply to comment #14)
great....
The last crash is in the logs.dll. Following http://baboon.rce.free.fr/index.php?post/2008/06/13/15-vietcong-securom-v5-t...
it is a copy-protection dll on the top of securom. Maybe a cracked game bypasses this crash.
Joaopa
Damn copy protection...
Go ahead and send your fix for the sound though. A testcase would help if you can write one.
http://bugs.winehq.org/show_bug.cgi?id=9337
Plague 4plague@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |4plague@gmail.com
--- Comment #16 from Plague 4plague@gmail.com 2009-01-04 13:52:09 --- Tried the cracked version, does the same as described above.
http://bugs.winehq.org/show_bug.cgi?id=9337
Eugene faus.infodom@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |faus.infodom@gmail.com
--- Comment #17 from Eugene faus.infodom@gmail.com 2009-02-15 14:20:51 --- So boys, i can`s udertand.
1. I patch the sound source, (for now I have sound). In newest versions of wine (1.10-1.15) after start Vietcong - back screen, I listen only music, 100% CPU loading.
2. In oldest version (the same 0.4.43) - working sound, I see normal main screen. But after start mission Vietcong crashes with the same errors. So I visit
http://baboon.rce.free.fr/index.php?post/2008/06/13/15-vietcong-securom-v5-t...
But I can`t understand how to compile this assembler source in archives, how use... (I use cracked Vietcong v1.01)
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #18 from joaopa jeremielapuree@yahoo.fr 2009-02-15 17:07:09 --- There is nothing to understand. Vietcong uses a copy protection that is not suported by Wine. So, the game crashes. I hoped that a cracked game would by-pass the crash. But you said that it is not the case. So, there is nothing to do, except write to the editor of the game to remove the copy protection.
http://bugs.winehq.org/show_bug.cgi?id=9337
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gumanzoy@gmail.com
--- Comment #19 from Ken Sharp kennybobs@o2.co.uk 2009-06-22 16:25:08 --- *** Bug 19035 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9337
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
--- Comment #20 from Xavier Vachon xvachon@gmail.com 2010-08-17 08:25:03 --- (In reply to comment #18)
There is nothing to understand. Vietcong uses a copy protection that is not suported by Wine. So, the game crashes. I hoped that a cracked game would by-pass the crash. But you said that it is not the case. So, there is nothing to do, except write to the editor of the game to remove the copy protection.
Should this be marked as WONTFIX then?
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #21 from Ivan Ponomarev gumanzoy@gmail.com 2010-08-17 12:10:20 --- This is not copy protection problem. Vietcong Fist Alpha MP Demo same crash.
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #22 from joaopa jeremielapuree@yahoo.fr 2010-08-22 02:40:29 ---
This is not copy protection problem. Vietcong Fist Alpha MP Demo same crash
Some demos have also copy-protection system like this one :(
http://bugs.winehq.org/show_bug.cgi?id=9337
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #23 from Anastasius Focht focht@gmx.net 2010-08-22 05:55:38 --- Hello,
--- quote ---
This is not copy protection problem. Vietcong Fist Alpha MP Demo same crash
Some demos have also copy-protection system like this one :( --- quote ---
I downloaded the demo here: http://www.filefront.com/1897147/Vietcong-Fist-Alpha---MP-Demo/
--- snip --- $ ls -l vietcong_fistalpha_mpdemo.exe -rw-rw-r--. 1 focht focht 183281152 2010-08-22 12:44 vietcong_fistalpha_mpdemo.exe
$ sha1sum vietcong_fistalpha_mpdemo.exe b5d18e2f9273757c4bde09318cbbf3a820746f09 vietcong_fistalpha_mpdemo.exe --- snip ---
Starts fine here. There is absolutely no evidence of copy protection - I used several copy prot id/scanners on the executable/dlls. Where did you get that info? Provide a download link if a copy protected demo version exists.
Please attach a relay log of the crash from the copy protected game (not the sound bug!):
WINEDEBUG=+tid,+seh,+relay wine ./foo.exe >>log.txt 2>&1
Regards
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #24 from Ivan Ponomarev gumanzoy@gmail.com 2010-08-22 13:47:19 --- Created an attachment (id=30314) --> (http://bugs.winehq.org/attachment.cgi?id=30314) Vietcong Fist Alpha MP demo WINEDEBUG=+tid,+seh,+relay wine vietcong.exe
log.txt 2>&1
http://bugs.winehq.org/show_bug.cgi?id=9337
Ivan Ponomarev gumanzoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #30314|Vietcong Fist Alpha MP demo |vietcong_fistalpha_mpdemo_c description|WINEDEBUG=+tid,+seh,+relay |rash_log.gz |wine vietcong.exe >>log.txt | |2>&1 | Attachment #30314|text/plain |application/octet-stream mime type| |
--- Comment #25 from Ivan Ponomarev gumanzoy@gmail.com 2010-08-22 13:49:06 --- (From update of attachment 30314) Vietcong Fist Alpha MP demo WINEDEBUG=+tid,+seh,+relay wine vietcong.exe
log.txt 2>&1
http://bugs.winehq.org/show_bug.cgi?id=9337
Ivan Ponomarev gumanzoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #30314|application/octet-stream |application/gzip-compressed mime type| |
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #26 from Anastasius Focht focht@gmx.net 2010-08-22 14:51:23 --- Hello,
well this not copy protection stuff in any way. More like d3d/whatever bug... You can also use +snoop to provide better diag because that logs.dll exports lots of helper functions for the game engine, giving some insight.
--- snip --- ... 0009:CALL logs.?BES_CalculateBSphere@@YAXPAUI3D_CreateObjectProp@@KPAVc_Vector3@@PAMPAVc_Bbox@@@Z() ret=054bb75f 0009:RET logs.?BES_CalculateBSphere@@YAXPAUI3D_CreateObjectProp@@KPAVc_Vector3@@PAMPAVc_Bbox@@@Z() retval=0b6b242c ret=054bb75f 0009:Call ntdll.RtlAllocateHeap(00110000,00000000,00000338) ret=1006acda 0009:Ret ntdll.RtlAllocateHeap() retval=0b6b8ae8 ret=1006acda 0009:Call ntdll.RtlFreeHeap(00110000,00000000,0b6aa1f8) ret=1006ad16 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=1006ad16 ... 0009:warn:d3d:IWineD3DDeviceImpl_GetDeviceCaps (0x1610e0) : stub, calling idirect3d for now 0009:Call wined3d.wined3d_mutex_unlock() ret=728f1c84 0009:Ret wined3d.wined3d_mutex_unlock() retval=00000000 ret=728f1c84 0009:Call ntdll.RtlFreeHeap(00110000,00000000,0b698f68) ret=728f1e63 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=728f1e63 0009:Call ntdll.RtlAllocateHeap(00110000,00000000,00000020) ret=101067b3 0009:Ret ntdll.RtlAllocateHeap() retval=0b6aa3d0 ret=101067b3 0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x1008ec8b ip=1008ec8b tid=0009 0009:trace:seh:raise_exception info[0]=00000000 0009:trace:seh:raise_exception info[1]=0000000c 0009:trace:seh:raise_exception eax=00000000 ebx=05836020 ecx=0b4be98c edx=0b6aa3e4 esi=0b6aa3d4 edi=0b6aa3d2 0009:trace:seh:raise_exception ebp=0032d33c esp=0032d068 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210212 --- snip ---
The crash location looks more like an internal helper which does some transformation/floating point operations on 3D vectors. At least one of the arguments (pointer to object instance) is 0, hence the crash. Could be anything ...
Regards
http://bugs.winehq.org/show_bug.cgi?id=9337
Ivan Ponomarev gumanzoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #30314|0 |1 is obsolete| |
--- Comment #27 from Ivan Ponomarev gumanzoy@gmail.com 2010-08-24 07:53:42 --- Created an attachment (id=30356) --> (http://bugs.winehq.org/attachment.cgi?id=30356) vietcong_fistalpha_mpdemo+snoop_crash_log.gz
WINEDEBUG=+tid,+seh,+relay,+snoop wine vietcong.exe >> vietcong_fistalpha_mpdemo+snoop_crash_log.txt 2>&1
http://bugs.winehq.org/show_bug.cgi?id=9337
Ivan Ponomarev gumanzoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #30356|vietcong_fistalpha_mpdemo+s |vietcong_fistalpha_mpdemo+s description|noop_crash_log.gz |noop_crash_log.bz2
http://bugs.winehq.org/show_bug.cgi?id=9337
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #28 from GyB gyebro69@gmail.com 2012-01-18 09:25:35 CST --- Is this still a problem with wine-1.3.37-108-g4cd49d3 or newer?
I ask because Vietcong Fist Alpha demo crashes here with every Wine version I tried, including Wine-1.3.37, but it starts fine with the latest git version (wine-1.3.37-108-g4cd49d3). I tested with the demo, download link located in comment #23.
The fix came in the form of the following commit: http://source.winehq.org/git/wine.git/commit/3ec0b056d58109bd732f887d05adcce...
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #29 from joaopa jeremielapuree@yahoo.fr 2012-01-19 04:53:04 CST --- For me, the demo crashes after the video of introduction. I can not enter in the game.
http://bugs.winehq.org/show_bug.cgi?id=9337
sworddragon2@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sworddragon2@aol.com
--- Comment #30 from sworddragon2@aol.com 2013-03-29 14:50:17 CDT --- *** Bug 33293 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #31 from sworddragon2@aol.com 2013-03-29 14:51:08 CDT --- *** Bug 33294 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #32 from joaopa jeremielapuree@yahoo.fr 2013-04-14 00:58:40 CDT --- Bug still there with wine 1.5.28
http://bugs.winehq.org/show_bug.cgi?id=9337
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #33 from Jarkko K jarkko_korpi@hotmail.com --- Created attachment 48004 --> http://bugs.winehq.org/attachment.cgi?id=48004 1.7.16 crash log
The game works at 1920x1080 resolution, which is nice. I can only see the starting video (which seems to be unskipable).
Then crash...
http://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #34 from Jarkko K jarkko_korpi@hotmail.com --- I made a debug WINEDEBUG=+tid,+seh,+relay,
BUT the debug is 9.2 gigabytes, even compressed size is 179,3megabytes.
Fps is under 5 hole time when it does that debug.
http://bugs.winehq.org/show_bug.cgi?id=9337
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #35 from hanska2@luukku.com --- It still crashes.
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d:swapchain_gl_present WINED3D_SWAP_EFFECT_FLIP not implemented. fixme:d3d:state_swvp Software vertex processing not implemented.
it spams that last line before crashing.
wine 1.7.22
Does anyone have idea what's causing this issue?
https://bugs.winehq.org/show_bug.cgi?id=9337
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #36 from Teras teras@luukku.com --- wine 1.7.36 the same
https://bugs.winehq.org/show_bug.cgi?id=9337
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #37 from super_man@post.com --- Still crashes wine-1.7.51-225-g3966aff and wine-staging 1.7.51
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #38 from super_man@post.com --- I am not sure if this went a bit further than last time tried. I could see a loading bar after the video clip and then crash.
wine 1.9
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #39 from joaopa jeremielapuree@yahoo.fr --- Still crashing at the loading bar
https://bugs.winehq.org/show_bug.cgi?id=9337
Jan Havran havran.jan@email.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |havran.jan@email.cz
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #40 from Jan Havran havran.jan@email.cz --- Fixed by newest VCStarter (1.7 BETA). I also created topic on vietcong.info page: http://www.vietcong.info/portal/forum/viewthread.php?thread_id=982
Will ask creator of VCStarter for details (it has something to do with fixing bad lighting of player IMHO, since it everytime crashed on Character model)...
https://bugs.winehq.org/show_bug.cgi?id=9337
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #41 from winetest@luukku.com --- (In reply to Jan Havran from comment #40)
Fixed by newest VCStarter (1.7 BETA). I also created topic on vietcong.info page: http://www.vietcong.info/portal/forum/viewthread.php?thread_id=982
Will ask creator of VCStarter for details (it has something to do with fixing bad lighting of player IMHO, since it everytime crashed on Character model)...
Are you still working on this? Since its fixed in game newer version could it be that it was game bug? On the other hand if it worked on windows same time it was wine bug?
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #42 from Jan Havran havran.jan@email.cz --- (In reply to winetest from comment #41)
(In reply to Jan Havran from comment #40)
Fixed by newest VCStarter (1.7 BETA). I also created topic on vietcong.info page: http://www.vietcong.info/portal/forum/viewthread.php?thread_id=982
Will ask creator of VCStarter for details (it has something to do with fixing bad lighting of player IMHO, since it everytime crashed on Character model)...
Are you still working on this? Since its fixed in game newer version could it be that it was game bug? On the other hand if it worked on windows same time it was wine bug?
I asked the creator of VCStarter on the forum, but I have still no response since then. I am not working on this right now - waiting for his respond. In case that he will not help me with that, I will try continue my work on the fix myself. But I believe (and hope) that he will response soon.
VCStarter is just community util to run Vietcong game on modern Windows operating systems, so it is probably not game bug (since this crash is not happening on Windows). Or maybe is Vietcong doing something wrong, whose "wrong" behaviour is not simulated properly in Wine?
This util doesnt fixed this issue until version v1.7 BETA. Here is changelog: - May greatly improve performance (check with console command "showfps 1" with fps limiter disabled) - Fixed: Bad lighting of players - Fixed: Screenshots not working with "fix menu flickering" option - Fixed: Visual glitches in cutscenes with "correct aspect ratio" option - Fixed: Error message when fitting textures in video memory - Fixed: FPS limiter ineffective after loading screen or maximizing
My personal tip is that it has something to do with "Fixed: Bad lighting of players"
There is also possibility that VCStarter does not fix this kind of bug at all but just do some workaround.
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #43 from winetest@luukku.com --- Crashes wine
wine-2.5-151-g61a1a26 and staging 2.4
Same point, when a new loading bar shows up it wont go 100%.
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #44 from Jan Havran havran.jan@email.cz --- Created attachment 58948 --> https://bugs.winehq.org/attachment.cgi?id=58948 Rendering bug after changing MaxVertexBlendMatrixIndex value.
After some talks with Brchi (creator of VCStarter) and Stefan Dösinger (on Devel mailing list: https://www.winehq.org/pipermail/wine-devel/2017-August/118619.html) I have made little progress.
The application checks (in sub_1008F8D0 procedure at offset 0x1975) MaxVertexBlendMatrixIndex (offset 0xAC) of struct D3DCAPS8 and in depend on that value will run one (MaxVertexBlendMatrixIndex >= 127) or another branch (MaxVertexBlendMatrixIndex < 127) for certain soldier figures. The problem is that MaxVertexBlendMatrixIndex for Software Vertex Processing is set to 0 in Wine, while in Windows it is 255.
When I change value of MaxVertexBlendMatrixIndex in dlls/d3d8/device.c to 255, the game is no longer crashing, but instead of that there are graphical problems with soldiers (see attached image).
Here is list of MaxVertexBlendMatrixIndex values for different configurations: Vietcong (Windows) with SW Vertex: 255 Vietcong (Windows) with HW Vertex: 126 Vietcong (Wine) with SW Vertex: 0 Vietcong (Wine) with HW Vertex: 126
The application expects MaxVertexBlendMatrixIndex of value 255, so the branch for MaxVertexBlendMatrixIndex < 127 was probably not properly tested. That is the reason why the game was crashing (and fixed in VCStarter by Brchi) with enabled HW Vertex Processing on Windows and with both SW/HW Vertex Processing on Wine.
https://bugs.winehq.org/show_bug.cgi?id=9337
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #45 from Paul Gofman gofmanp@gmail.com --- This patch from bug #39057 should probably be fixing the issue: https://bugs.winehq.org/attachment.cgi?id=57893
If this is the case, this bug should depend on 39057.
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #46 from Jan Havran havran.jan@email.cz --- (In reply to Paul Gofman from comment #45)
This patch from bug #39057 should probably be fixing the issue: https://bugs.winehq.org/attachment.cgi?id=57893
If this is the case, this bug should depend on 39057.
Yes, this patch fixes this bug!
https://bugs.winehq.org/show_bug.cgi?id=9337
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #47 from Jan Havran havran.jan@email.cz --- This bug is fixed in Wine staging 2.16, while it is still issue in Wine testing 2.16.
Also, I have to correct HW Vertex values I wrote in previous comments - these values are not returned by D3D implementation, but it is set by VCStarter. But the values for SW Vertexes are correct.
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #48 from Jan Havran havran.jan@email.cz --- Still an issue with Wine 4.0 rc2 while it is fixed in Wine staging (but since staging 3.9 there are some rendering issues, see bug #45278).
For those interested in testing the game with Wine testing (no staging), here is a list of missions playable without Wine-staging or VC-Starter:
Vietcong campaign missions: -Swamped -Briefing for Twisty Track Drive -Twisty Track Drive -Briefing for Po Tlong Karai -Flight to the Po Tlong Karai -Briefing for Under siege
Vietcong Fist Alpha campaign missions: -NuiPek after attack
Quick fight is working for VC side only.
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #49 from winetest@luukku.com --- (In reply to Jan Havran from comment #46)
(In reply to Paul Gofman from comment #45)
This patch from bug #39057 should probably be fixing the issue: https://bugs.winehq.org/attachment.cgi?id=57893
If this is the case, this bug should depend on 39057.
Yes, this patch fixes this bug!
sounds more like duplicate.
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #50 from joaopa jeremielapuree@yahoo.fr --- Can an a administrator close this bug as DUPLICATE of bug 39057?
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #51 from Jan Havran havran.jan@email.cz --- (In reply to joaopa from comment #50)
Can an a administrator close this bug as DUPLICATE of bug 39057?
Rather than closing it, it should depend on it (if anything)
https://bugs.winehq.org/show_bug.cgi?id=9337
--- Comment #52 from joaopa jeremielapuree@yahoo.fr --- Patch in bug 39057 fixes the crash. That's clearly a duplicate.
https://bugs.winehq.org/show_bug.cgi?id=9337
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #53 from Anastasius Focht focht@gmx.net --- Hello folks,
resolving as duplicate of bug 39057 as indicated by multiple comments.
Regards
*** This bug has been marked as a duplicate of bug 39057 ***
https://bugs.winehq.org/show_bug.cgi?id=9337
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #54 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate.