Page 1 of 1

Anyway to get this to work on Wine?

Posted: Sun Sep 11, 2016 8:15 am
by mhl67
I've tried just about everything I know how to do to get this to run on wine, but I still can't get it to work for some reason. I really don't know why, I've never had a program this stubbornly refusing to work before, especially since this isn't something with super demanding graphics. Can anyone help with this?

Re: Anyway to get this to work on Wine?

Posted: Sun Sep 11, 2016 2:24 pm
by nehi
are u able to install vcredist_x86/x64.exe (2012 version)?

under windows its almost only one prerequisity... i didnt care about wine for many last years, how its about directx support there? that was usually the problem in the past

Re: Anyway to get this to work on Wine?

Posted: Sun Sep 11, 2016 10:41 pm
by mhl67
nehi wrote:are u able to install vcredist_x64.exe (2012 version)?

under windows its almost only one prerequisity... i didnt care about wine for many last years, how its about directx support there? that was usually the problem in the past
I have the 2010 c++ libraries installed. 2012 isn't available as a winetrick and it doesn't work when you try to manually install it. Directx is fine I believe. The launcher works fine, what happens is the screen goes to a normal game resolution, but completely white, then shrinks down and shifts to the top left like it's trying to adjust the resolution, then it just disappears without even a crash message. I'm really at a loss for why it doesn't work cause I've gotten literally everything else I've tried to work.

Re: Anyway to get this to work on Wine?

Posted: Mon Sep 12, 2016 12:10 am
by nehi
but im almost certain 2012 is required (its in steam folder of the game)

at least other games need exact version

Re: Anyway to get this to work on Wine?

Posted: Mon Sep 12, 2016 2:18 am
by mhl67
nehi wrote:but im almost certain 2012 is required (its in steam folder of the game)

at least other games need exact version
I have the steam version. How exactly can I unpack that in wine though? The 2012 C++ libraries aren't in winetricks and the manual install doesn't work.

Re: Anyway to get this to work on Wine?

Posted: Wed Sep 14, 2016 7:35 pm
by Robotron
Does the game leave a crash-log ("ctgw.log") anywhere? That might be helpful.

Re: Anyway to get this to work on Wine?

Posted: Thu Sep 15, 2016 5:33 am
by mhl67
Robotron wrote:Does the game leave a crash-log ("ctgw.log") anywhere? That might be helpful.
Here is what it says:

[17:34:23][170]Running Steam build
[17:34:25][170]Renderer: NVIDIA GeForce GT 650M OpenGL Engine version: 2.1 NVIDIA-10.10.10 310.42.25f01
[17:34:25][170]Commander: The Great War(v 1.6.6)
[17:34:26][170]Audio device used: OpenAL Soft
[17:34:26][170]Loading main script
[17:34:27][170]Loading app script
[17:34:27][170]App version:1.6.6
[17:34:27][170]Today is: 11.9.2016
[17:34:27][170][C]:-1(field __init) std::exception: 'lucon.ttf'
[17:34:29][170]lua runtime error

I'm not sure exactly what that error means.

Re: Anyway to get this to work on Wine?

Posted: Thu Sep 15, 2016 6:20 am
by mhl67
Well I updated my fonts and so that particular error is no longer present and now at least it displays an error message when it crashes, but now there aren't any errors in ctgw.log. It says that mscvr110.dll is missing. I have vcrun2012 installed already, so I guess I'll try to install it manually.

Re: Anyway to get this to work on Wine?

Posted: Thu Sep 15, 2016 6:56 am
by mhl67
Well it's pretty apparent that the problem is being unable to get vcredist_x64 to run correctly. _x86 runs correctly, but I can't find anyway to get the MS Visual Redistribution 2012 to install on wine. It's not included in winetricks, and it won't let you install it manually since it will detect that you aren't using windows. So I'm not really sure what to do.

Re: Anyway to get this to work on Wine?

Posted: Thu Sep 15, 2016 7:32 am
by nehi
if, IF, its just problem of that dll, u can try to download it somewhere and put it in folder with ctgw_steam.exe

Re: Anyway to get this to work on Wine?

Posted: Thu Sep 15, 2016 10:22 am
by mhl67
nehi wrote:if, IF, its just problem of that dll, u can try to download it somewhere and put it in folder with ctgw_steam.exe
If someone can find a way to pm me the files from vcredist_x64 then I can theoretically just put it into wine. I've already tried looking for the extracted version of it, but I can't find it.

Re: Anyway to get this to work on Wine?

Posted: Thu Sep 15, 2016 4:27 pm
by nehi
i used this hint

http://www.applepie.se/extract-msi-from ... tributable

i got this out of it, its not named as it should be, but its some preinstall... so just rename that library and try if its it, size looks fine (828 872 B)

https://ulozto.cz/!2VfCLDLK1/cab1-zip

(i have amd cpu)

Re: Anyway to get this to work on Wine?

Posted: Fri Sep 16, 2016 2:55 am
by mhl67
nehi wrote:i used this hint

http://www.applepie.se/extract-msi-from ... tributable

i got this out of it, its not named as it should be, but its some preinstall... so just rename that library and try if its it, size looks fine (828 872 B)

https://ulozto.cz/!2VfCLDLK1/cab1-zip

(i have amd cpu)
I have no idea what i'm supposed to do with those files

Re: Anyway to get this to work on Wine?

Posted: Fri Sep 16, 2016 1:54 pm
by nehi
rename F_CENTRAL_msvcr110_x64 to msvcr110.dll

put it in folder with ctgw_steam.exe

if its just about that dll, it will work

rest of the files are part of vcredist preinstall 2012 too, if they are next missing dlls it will tell u their right names as msvcr110.dll

programs usually look in same folder as its executable for dlls, then in windows system folder like C:\Windows\System32 or C:\Windows\SysWOW64 then specified in theirs code somewhere

i have no clue how to install it in wine

Re: Anyway to get this to work on Wine?

Posted: Sat Sep 17, 2016 2:38 am
by mhl67
nehi wrote:rename F_CENTRAL_msvcr110_x64 to msvcr110.dll

put it in folder with ctgw_steam.exe

if its just about that dll, it will work

rest of the files are part of vcredist preinstall 2012 too, if they are next missing dlls it will tell u their right names as msvcr110.dll

programs usually look in same folder as its executable for dlls, then in windows system folder like C:\Windows\System32 or C:\Windows\SysWOW64 then specified in theirs code somewhere

i have no clue how to install it in wine
Well I renamed the file and put it both in the CTGW steam folder and in the system32 folder, and it's still telling me that mscvcr110.dll is an "unimplemented function".

Re: Anyway to get this to work on Wine?

Posted: Sat Sep 17, 2016 3:12 am
by nehi
then im out of any more ideas...

it was always showing as "unimplemented function"? never seen that before, just that its "missing"

ive added .msi file, if it can help u to full install that vcredist package...

originally it was in same folder as cab1 folder, u said u found how to install 2010

Re: Anyway to get this to work on Wine?

Posted: Sat Sep 17, 2016 4:43 am
by mhl67
nehi wrote:then im out of any more ideas...

it was always showing as "unimplemented function"? never seen that before, just that its "missing"

ive added .msi file, if it can help u to full install that vcredist package...

originally it was in same folder as cab1 folder, u said u found how to install 2010
None of the vcredist are in winetricks, so they can't be installed internally. They can't be installed externally since the installer detects that it's not running on windows.

I'm kinda confused in the first place why vcredist is even essential to this program, since I've encountered it in no other program before.

Re: Anyway to get this to work on Wine?

Posted: Sat Sep 17, 2016 10:57 am
by nehi
but many games really need it... and different versions, ive installed from 2010 to 2015 at least to make all running

its essential, when its programming is based on that dlls i guess, wierd is they cant be or they just arent integrated directly in the game...

ive installed at least from 2010 to 2015 to make all running