Anyway to get this to work on Wine?

PC/MAC : Commander the Great War is the latest release in the popular Commander series to bring the thrill, excitement and mind-breaking decision making of these difficult times to life.

Moderators: Slitherine Core, The Lordz

Post Reply
mhl67
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 19
Joined: Wed Sep 23, 2015 8:08 am

Anyway to get this to work on Wine?

Post 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?
nehi
1st Lieutenant - Grenadier
1st Lieutenant - Grenadier
Posts: 794
Joined: Sat Oct 17, 2015 1:51 pm

Re: Anyway to get this to work on Wine?

Post 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
Last edited by nehi on Mon Sep 12, 2016 1:34 am, edited 1 time in total.
mhl67
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 19
Joined: Wed Sep 23, 2015 8:08 am

Re: Anyway to get this to work on Wine?

Post 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.
nehi
1st Lieutenant - Grenadier
1st Lieutenant - Grenadier
Posts: 794
Joined: Sat Oct 17, 2015 1:51 pm

Re: Anyway to get this to work on Wine?

Post by nehi »

but im almost certain 2012 is required (its in steam folder of the game)

at least other games need exact version
mhl67
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 19
Joined: Wed Sep 23, 2015 8:08 am

Re: Anyway to get this to work on Wine?

Post 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.
Robotron
Brigadier-General - Elite Grenadier
Brigadier-General - Elite Grenadier
Posts: 2173
Joined: Tue Nov 23, 2010 3:35 pm

Re: Anyway to get this to work on Wine?

Post by Robotron »

Does the game leave a crash-log ("ctgw.log") anywhere? That might be helpful.
mhl67
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 19
Joined: Wed Sep 23, 2015 8:08 am

Re: Anyway to get this to work on Wine?

Post 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.
mhl67
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 19
Joined: Wed Sep 23, 2015 8:08 am

Re: Anyway to get this to work on Wine?

Post 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.
mhl67
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 19
Joined: Wed Sep 23, 2015 8:08 am

Re: Anyway to get this to work on Wine?

Post 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.
nehi
1st Lieutenant - Grenadier
1st Lieutenant - Grenadier
Posts: 794
Joined: Sat Oct 17, 2015 1:51 pm

Re: Anyway to get this to work on Wine?

Post 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
mhl67
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 19
Joined: Wed Sep 23, 2015 8:08 am

Re: Anyway to get this to work on Wine?

Post 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.
nehi
1st Lieutenant - Grenadier
1st Lieutenant - Grenadier
Posts: 794
Joined: Sat Oct 17, 2015 1:51 pm

Re: Anyway to get this to work on Wine?

Post 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)
mhl67
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 19
Joined: Wed Sep 23, 2015 8:08 am

Re: Anyway to get this to work on Wine?

Post 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
nehi
1st Lieutenant - Grenadier
1st Lieutenant - Grenadier
Posts: 794
Joined: Sat Oct 17, 2015 1:51 pm

Re: Anyway to get this to work on Wine?

Post 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
mhl67
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 19
Joined: Wed Sep 23, 2015 8:08 am

Re: Anyway to get this to work on Wine?

Post 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".
nehi
1st Lieutenant - Grenadier
1st Lieutenant - Grenadier
Posts: 794
Joined: Sat Oct 17, 2015 1:51 pm

Re: Anyway to get this to work on Wine?

Post 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
Attachments
vc_runtimeMinimum_x64.zip
(59.33 KiB) Downloaded 197 times
mhl67
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 19
Joined: Wed Sep 23, 2015 8:08 am

Re: Anyway to get this to work on Wine?

Post 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.
nehi
1st Lieutenant - Grenadier
1st Lieutenant - Grenadier
Posts: 794
Joined: Sat Oct 17, 2015 1:51 pm

Re: Anyway to get this to work on Wine?

Post 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
Post Reply

Return to “Commander - The Great War”