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