Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Is anyone able to play the game with wine/proton?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Shadow Empire >> Is anyone able to play the game with wine/proton? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Is anyone able to play the game with wine/proton? - 6/13/2020 8:45:24 PM   
brunoqc

 

Posts: 10
Joined: 6/13/2020
Status: offline
Just to be clear I'm not asking the devs to spend any time on Linux or mac support.

I'm just wondering if anyone was able to use wine or proton yet.

Thanks
Post #: 1
RE: Is anyone able to play the game with wine/proton? - 6/13/2020 9:49:29 PM   
Jdane


Posts: 456
Joined: 6/5/2020
Status: offline
I didn't personally, but I know of one person who managed it, although they were experiencing issues with the font display being distorted and the responsiveness of the UI being bad, and also of one other person who didn't manage to get the game running at all.

(in reply to brunoqc)
Post #: 2
RE: Is anyone able to play the game with wine/proton? - 6/15/2020 7:31:11 AM   
brunoqc

 

Posts: 10
Joined: 6/13/2020
Status: offline
I got another crash for now but gdiplus (with winetricks) seems to fix the font problem.

(in reply to Jdane)
Post #: 3
RE: Is anyone able to play the game with wine/proton? - 6/15/2020 4:41:30 PM   
brunoqc

 

Posts: 10
Joined: 6/13/2020
Status: offline
I can "play" the game if I install it with wine without installing any runtimes. Then I install dotnet 4.72 with winetricks. The game is "playable" but has the font problem and is laggy.

If I install gdiplus with winetricks, the font problem is gone and the menu feels less laggy but I get an error "System.InvalidOperationException: SetPixel is not supported for images with indexed pixel formats." before being able to play the game.

(in reply to brunoqc)
Post #: 4
RE: Is anyone able to play the game with wine/proton? - 6/15/2020 4:49:50 PM   
Jdane


Posts: 456
Joined: 6/5/2020
Status: offline
This might be going without saying, but did you try and install winetricks' equivalent of the VC++ redistributables?

Unfortunately, I've been under the impression VR's coding does not go along well with a Unix environment, and maybe never will. It was already the case with Advanced Tactics for example.

< Message edited by Jdane -- 6/15/2020 4:50:23 PM >

(in reply to brunoqc)
Post #: 5
RE: Is anyone able to play the game with wine/proton? - 6/15/2020 8:18:09 PM   
brunoqc

 

Posts: 10
Joined: 6/13/2020
Status: offline
I think I figured it out with a lot of help.

Fonts are OK and doesn't seem laggy.

EDIT: I will post later when I have a tiny bit of time.

(in reply to Jdane)
Post #: 6
RE: Is anyone able to play the game with wine/proton? - 6/15/2020 8:37:50 PM   
brunoqc

 

Posts: 10
Joined: 6/13/2020
Status: offline
the appdb page is waiting for a review.

I didn't install any runtimes at the end of the installation.

With winetricks I installed:
- gdiplus
- dotnet 4.7.2

Finally, ~/.wine/drive_c/ShadowEmpire/graphics/shadowmodgraphics/defaultcounterbig.png has to be converted to workaround a setpixel error. In gimp menu's: Image -> Mode -> RGB. export as png and overwrite.

This is the setpixel error:

System.InvalidOperationException: SetPixel is not supported for images with indexed pixel formats.
at System.Drawing.Bitmap.SetPixel(Int32 x, Int32 y, Color color)
at WindowsApplication1.RegimeClass.DoTempCounterAnySize(Int32 sizey) in G:\VR\VRDevelopment\WindowsApplication1\Game\DataClass\RegimeClass.vb:line 1301
at WindowsApplication1.RegimeClass.DoTempCounterBig() in G:\VR\VRDevelopment\WindowsApplication1\Game\DataClass\RegimeClass.vb:line 1170
at WindowsApplication1.CustomBitmapClass.DrawUnitBig(Int32 nr, Boolean forcehighlight, Graphics toG, Int32 tx, Int32 ty, Boolean ShowAttacker, Int32 OverruleHis, Int32 OverrulePower, Int32 OverruleRegime, Boolean FullRecon, Boolean mostlyHidden) in G:\VR\VRDevelopment\WindowsApplication1\GUI\GraphicsAndSounds\Se1_CustomBitmapClass.vb:line 5568
at WindowsApplication1.CustomBitmapClass.DrawHex(Int32 cx, Int32 cy, Int32 cmap, Boolean InfoMode, Boolean NoShader, Boolean ispredrawing, Graphics tempg, Int32 tx, Int32 ty, Int32 counteralpha, Int32 Zoom, Boolean UseRegimeColoring, Boolean neverusehistory, Boolean combatSetup, Bitmap& gBitmap) in G:\VR\VRDevelopment\WindowsApplication1\GUI\GraphicsAndSounds\Se1_CustomBitmapClass.vb:line 11668
at WindowsApplication1.MapPartClass.Paint() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Subparts\OldSubparts\MapPartClass.vb:line 503
at WindowsApplication1.MapWindowClass2..ctor(GameClass& tGame, Int32 tminheight, Int32 tminwidth, Int32 tZoomLevel) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_MapWindowClass2.vb:line 26
at WindowsApplication1.PlayScreenClass2..ctor(GameClass& tgame, Form1 tformref) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\NewScreens\PlayScreenClass2.vb:line 76
at WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 2128
at WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 2166
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I used strace to figure out which file caused a problem.

All the merit goes to Alib234 and OnMars on the Lutris's discord for telling me how to use wine in 2020, and correctly.
EDIT: OnMars was also the one to point out the stackoverflow question that said that the setpixel was likely a problem with "indexed color".

Merry Christmas.

< Message edited by brunoqc -- 6/16/2020 1:44:09 PM >

(in reply to brunoqc)
Post #: 7
RE: Is anyone able to play the game with wine/proton? - 6/16/2020 12:35:28 PM   
Jdane


Posts: 456
Joined: 6/5/2020
Status: offline
And merry Christmas to you too!

You three people are already being heroes in the eyes of the two people I mentioned before, and more are sure to follow.
I myself am glad to know I could run Shadow Empire in a Linux environment.

(in reply to brunoqc)
Post #: 8
Linux - 6/17/2020 8:06:56 AM   
Tchey


Posts: 82
Joined: 6/17/2020
Status: offline

quote:

Linux via Proton


Thanks you very much !

I have no issue playing the game on my PC now (running Linux Manjaro), and so far nothing bad to report (save, load, erase, replace, update...).


(in reply to brunoqc)
Post #: 9
RE: Linux - 12/3/2020 2:55:32 PM   
Tchey


Posts: 82
Joined: 6/17/2020
Status: offline
Hello,

Now it’s on Steam, who is skilled enough to share a step by step to run the game via Proton ?
Currently there is some issues running on Manjaro and a French computer :

- at launch, error message, could not load the corret language. Clicking OK just goes to the launcher, seems harmless ?
- the font is too big, ie the menu text is out of the button
- crash making a new game, when screen says "loading gfx"

Thanks

_____________________________

* Jeux1d100 ? Le blog Jeux1d100.net sur les jeux indécents et Linux, et la chaîne YouTube *

(in reply to Tchey)
Post #: 10
RE: Linux - 12/3/2020 3:06:23 PM   
brunoqc

 

Posts: 10
Joined: 6/13/2020
Status: offline
I'll take a look.

I have problems running steam games on Linux recently but I'll try with a vm.

(in reply to Tchey)
Post #: 11
RE: Linux - 12/4/2020 7:28:56 AM   
Tchey


Posts: 82
Joined: 6/17/2020
Status: offline
I tried to do the winetricks but with protontricks, and now i can start a new game.

- protontricks 1154840 -q dotnet472 gdiplus (it takes ages to proceed)
- go to the game folder ~/home/USERNAME/.local/share/Steam/steamapps/common/Shadow Empire/graphics/shadowmodgraphics/
- the file defaultcounterbig.png has to be converted to workaround a setpixel error. In gimp menu's : Image -> Mode -> RGB. export as png and overwrite

However, i have the big font issue, and i cannot remember how i fixed it the previous time i played (several months ago). So, it’s "almost" playable, but not quite yet.

_____________________________

* Jeux1d100 ? Le blog Jeux1d100.net sur les jeux indécents et Linux, et la chaîne YouTube *

(in reply to brunoqc)
Post #: 12
RE: Linux - 12/4/2020 2:24:54 PM   
brunoqc

 

Posts: 10
Joined: 6/13/2020
Status: offline
I'm not 100% sure but I think gdiplus was the thing needed to fix the font issue.

Did you use a 32 bit wineprefix or did you have a lot of warnings about 32 vs 64 bit?

(in reply to Tchey)
Post #: 13
RE: Linux - 12/4/2020 2:53:06 PM   
Tchey


Posts: 82
Joined: 6/17/2020
Status: offline
I only did : open a terminal, write protontricks 1154840 -q dotnet472 gdiplus, wait sveral minutes for the process, launch Steam and hit Play.

_____________________________

* Jeux1d100 ? Le blog Jeux1d100.net sur les jeux indécents et Linux, et la chaîne YouTube *

(in reply to brunoqc)
Post #: 14
RE: Linux - 12/4/2020 3:21:42 PM   
brunoqc

 

Posts: 10
Joined: 6/13/2020
Status: offline
search for "reddit steam_playguide_create_custom_32bit_prefix_to"

(in reply to Tchey)
Post #: 15
RE: Linux - 12/4/2020 3:30:18 PM   
brunoqc

 

Posts: 10
Joined: 6/13/2020
Status: offline
I might be wrong. I don't remember if I had to use a 32 bit prefix before. I'll search more.

(in reply to brunoqc)
Post #: 16
RE: Linux - 12/4/2020 10:15:12 PM   
Frustalupi

 

Posts: 5
Joined: 12/4/2020
Status: offline
I solved fonts problem (that are bigger that buttons) with GDIPLUS (and PROTON 5.1.3), but then even if game seems work fine for some turns, when I click on a character panel (like the advisor), the game become really slow and quite unplayable. After many attempts I had to surrender and install it into my Windows 10 partition.

(in reply to Tchey)
Post #: 17
RE: Linux - 1/5/2021 2:40:46 PM   
brunoqc

 

Posts: 10
Joined: 6/13/2020
Status: offline
quote:

when I click on a character panel (like the advisor), the game become really slow and quite unplayable.


Could you report the problem on github? repo: ValveSoftware/Proton issues #4434

Sorry I can't post links

(in reply to Frustalupi)
Post #: 18
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Shadow Empire >> Is anyone able to play the game with wine/proton? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.641