Is anyone able to play the game with wine/proton? (Full Version)

All Forums >> [New Releases from Matrix Games] >> Shadow Empire



Message


brunoqc -> Is anyone able to play the game with wine/proton? (6/13/2020 8:45:24 PM)

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




Jdane -> RE: Is anyone able to play the game with wine/proton? (6/13/2020 9:49:29 PM)

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.




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

I got another crash for now but gdiplus (with winetricks) seems to fix the font problem.




brunoqc -> RE: Is anyone able to play the game with wine/proton? (6/15/2020 4:41:30 PM)

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.




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

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.




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

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.




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

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.




Jdane -> RE: Is anyone able to play the game with wine/proton? (6/16/2020 12:35:28 PM)

And merry Christmas to you too! [:D]

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.




Tchey -> Linux (6/17/2020 8:06:56 AM)


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...).





Tchey -> RE: Linux (12/3/2020 2:55:32 PM)

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




brunoqc -> RE: Linux (12/3/2020 3:06:23 PM)

I'll take a look.

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




Tchey -> RE: Linux (12/4/2020 7:28:56 AM)

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.




brunoqc -> RE: Linux (12/4/2020 2:24:54 PM)

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?




Tchey -> RE: Linux (12/4/2020 2:53:06 PM)

I only did : open a terminal, write protontricks 1154840 -q dotnet472 gdiplus, wait sveral minutes for the process, launch Steam and hit Play.




brunoqc -> RE: Linux (12/4/2020 3:21:42 PM)

search for "reddit steam_playguide_create_custom_32bit_prefix_to"




brunoqc -> RE: Linux (12/4/2020 3:30:18 PM)

I might be wrong. I don't remember if I had to use a 32 bit prefix before. I'll search more.




Frustalupi -> RE: Linux (12/4/2020 10:15:12 PM)

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.




brunoqc -> RE: Linux (1/5/2021 2:40:46 PM)

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




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.625