Open Stew-rt opened 3 years ago
Hello @Stew-rt, from the log this looks fatal:
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.VisualBasic.Conversion.Str (System.Object Number) [0x0028c] in <4dcb7d1ddab44fa4bafe41122e645da4>:0
at WindowsApplication1.EventRelatedClass.GetVarValue (System.Int32 enr, System.Int32 linenr, System.Int32 itemnr, System.Int32 dataplus) [0x001a6] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at WindowsApplication1.EventRelatedClass.GetItemValue2 (System.Int32 enr, System.Int32 linenr, System.Int32 itemnr) [0x00118] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at WindowsApplication1.EventRelatedClass.GetItemValue (System.Int32 enr, System.Int32 linenr, System.Int32 itemnr) [0x00038] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at WindowsApplication1.EventRelatedClass.DoCheckSpecificEvent (System.Int32 enr, System.Int32 tv0, System.Int32 tv1, System.Int32 tv2, System.Int32 tv3, System.Int32 tv9, System.Int32 tv7, System.Int32 tv8, System.Int32 tv10, System.Boolean skipSettingTempVars) [0x00aaa] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at WindowsApplication1.EventRelatedClass.DoCheckEvents (System.Int32 checkMode) [0x001aa] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at WindowsApplication1.LoadClass.Go () [0x01209] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <7713cb95b33244ed9608bf0b23fbdce9>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.VisualBasic.Conversion.Str (System.Object Number) [0x0028c] in <4dcb7d1ddab44fa4bafe41122e645da4>:0
at WindowsApplication1.EventRelatedClass.GetVarValue (System.Int32 enr, System.Int32 linenr, System.Int32 itemnr, System.Int32 dataplus) [0x001a6] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at WindowsApplication1.EventRelatedClass.GetItemValue2 (System.Int32 enr, System.Int32 linenr, System.Int32 itemnr) [0x00118] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at WindowsApplication1.EventRelatedClass.GetItemValue (System.Int32 enr, System.Int32 linenr, System.Int32 itemnr) [0x00038] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at WindowsApplication1.EventRelatedClass.DoCheckSpecificEvent (System.Int32 enr, System.Int32 tv0, System.Int32 tv1, System.Int32 tv2, System.Int32 tv3, System.Int32 tv9, System.Int32 tv7, System.Int32 tv8, System.Int32 tv10, System.Boolean skipSettingTempVars) [0x00aaa] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at WindowsApplication1.EventRelatedClass.DoCheckEvents (System.Int32 checkMode) [0x001aa] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at WindowsApplication1.LoadClass.Go () [0x01209] in <d24d311a75df46e5a7375faacfe7cdaf>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <7713cb95b33244ed9608bf0b23fbdce9>:0 (1)
```
Argument ' Expression' cannot be converted to type 'System.Int32'
See the end of this message for details on invoking \njust-in-time (JIT) debugging instead of this dialog box.\n\n************** Exception Text **************\nSystem.ArgumentException: Argument 'Expression' cannot be converted to type 'System.Int32'.
at Microsoft.VisualBasic.Conversion.Val (System.Object Expression) [0x000b3] in <4dcb7d1ddab44fa4bafe41122e645da4>:0
at WindowsApplication1.Form1.Form1_Keydown (System.Object sender, System.Windows.Forms.KeyEventArgs e) [0x0005e] in
@Stew-rt did you manage to install dotnet4.7.2? I didn't yet. It failed and when I updated winetricks it said that:
------------------------------------------------------
Executing load_dotnet472
------------------------------------------------------
warning: This package (dotnet472) is broken in wine-5.13-634-gd6646652a2f. Broken since 5.12. Upgrade to >=5.18. See https://bugs.winehq.org/show_bug.cgi?id=49532 for more info. Use --force to try anyway.
btw I'm the one who posted the report on protondb and winehq.
The png fix is for the "System.InvalidOperationException: SetPixel is not supported for images with indexed pixel formats." error that we had when the game was first release. (I found the problematic file with strace).
gdiplus was to fix the lag and the font size I think.
I haven't even got it to the stage where it doesn't crash, I'm also getting the same failure trying to proton/winetricks dotnet4.7.2 - currently trying to figure out a cleaner way to create a 32 bit prefix to see if that removes the dotnet failure.
I tried with a 32 bit prefix. but I think the game is 64 bit. That would cause problems right?
Right now I'm trying to install dotnet with protontricks <id> --force
. EDIT: it failed.
I was unable to get the game working with Proton 5.13, but it works great with Proton 5.0. I suspect the primary issue is that installing dotnet 4.7.2 does not work with Proton 5.13 as mentioned earlier in the thread.
PROTON_VERSION="Proton 5.0" protontricks 1154840 gdiplus
PROTON_VERSION="Proton 5.0" protontricks 1154840 dotnet472
Installing gdiplus and donet472 works for me. But after some time playing (normally after finish a turn) everything gets laggy. Each click takes a second, to process a turn takes minutes, even saving the game takes longer. CPU/memory/io all idle.
I have this same issue with wine. Funny, restart the game didn't help. But logout/login fixes the issue.
Installing dotnet472 and gdiplus using protontricks took quite some effort. Installing .net 4.6.2. crashed a lot and that blocked borh dotnet472 and gdiplus Is was easier to set WINEPREFIX to the correct prefix and use winetricks several times. The game runs quite fine, but slow with Proton-5.0-10b.
export WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/1154840
Shadow Empire DLC Oceania not downloading
Issue transferred from https://github.com/ValveSoftware/Proton/issues/6969. @Vokda posted on 2023-07-26T20:03:37:
The DLC is not downloaded and not installed.
Hello @Vokda, that reads like #3111. Like that issue report, can you go to Steam
-> Settings
-> Compatibility
and enable the Enable Steam Play for all other titles
checkbox, then test if that makes the DLC show up?
Hi @kisak-valve, that option is already enabled for me. I tried disable it and enable it again then restarting steam, unfortunately it did nothing.
Maybe check if the DLC is listed and enabled in the per-game properties?
Something like Library
-> Right click on the game on the list of games -> Properties
-> DLC
and see if what you're looking for is listed, but not checked. Alternatively, select the game in Library
, then scroll down until you see a Manage My # DLC
button on the right side.
I have already done that. It is checked. I have tried to uncheck and check again but without results. Is it possible to manually download and install the DLC?
@Vokda This is silly, but have you launched the game to see if the Oceania planets are there? I tested on Windows to see what the behavior looked like, and I didn't see any new download when I added the Oceania DLC, but suddenly when I started a new game, I had the Oceania planet options. Maybe they ship the DLC with the game and just turn it on and off or something?
@alasky17 Not silly at all! All suggestions are welcome. :) Though I have tested that too and no oceania planets there, only the original planets under the core and additional tab.
I did however notice now that in the main menu at the bottom it says: v 1.21 d Shadow Empire: Planetary Conquest + D2D disabled (steam) Should the D2D be enabled?
Compatibility Report
System Information
I confirm:
steam-1154840.log
Symptoms
Game Launcher Loads - allows "Launch" button to be pressed (with minor exception popup showing about being unable to load locale from config file) Game Launches - Intro runs (with audio fine) Game main menu loads, buttons work When launch game, loading screen appears to run After loading screen, display drops to desktop, and window disappears, but audio continues to play, and process stays open.
Reproduction
Install Game Start game via Steam Try to start new game
Additional Info
I have read reports of users otherwise getting the game running in wine/proton with a workaround, but i've been able to get it right as-of-yet https://www.protondb.com/app/1154840
Workarounds suggest installing dotnet4.7.2 and gdiplus via winetricks - and modifying an erroneous png file