Issue No mod with assets loads (linux, KDE Neon Ubuntu 20.04.2)

comrade_bee

Newcomer
Mods like skip intro work, however when I attempted to load content patcher and a mod dependent on it, no visible changes occurred.

When I attempted to run StardewModdingAPI.exe outside of steam, this message was displayed:

Code:
cant resolve internal call to "System.ComponentModel.Win32Exception::W32ErrorMessage" (tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: /home/enbee/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Stardew Valley/System.dll

When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
cant resolve internal call to "System.ComponentModel.Win32Exception::W32ErrorMessage" (tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: /home/enbee/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Stardew Valley/System.dll

When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
cant resolve internal call to "System.Diagnostics.PerformanceCounter::GetImpl(string,string,string,string,System.Diagnostics.PerformanceCounterType&,bool&)" (tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: /home/enbee/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Stardew Valley/System.dll

When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
cant resolve internal call to "System.Diagnostics.PerformanceCounter::GetImpl(string,string,string,string,System.Diagnostics.PerformanceCounterType&,bool&)" (tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: /home/enbee/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Stardew Valley/System.dll

When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
SMAPI failed to initialize: System.TypeInitializationException: The type initializer for 'System.Runtime.Caching.MemoryMonitor' threw an exception. ---> System.MissingMethodException:  assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) System.Diagnostics.PerformanceCounter.GetImpl(string,string,string,string,System.Diagnostics.PerformanceCounterType&,bool&)
  at System.Diagnostics.PerformanceCounter.UpdateInfo () [0x0001b] in <4060ce79c1104ef2b7adf5c19d399ad4>:0
  at System.Diagnostics.PerformanceCounter.get_RawValue () [0x0000b] in <4060ce79c1104ef2b7adf5c19d399ad4>:0
  at (wrapper remoting-invoke-with-check) System.Diagnostics.PerformanceCounter.get_RawValue()
  at System.Runtime.Caching.MemoryMonitor..cctor () [0x0000f] in <ffccbda3387647f39426d91da8845d9e>:0
   --- End of inner exception stack trace ---
  at System.Runtime.Caching.PhysicalMemoryMonitor..ctor (System.Int32 physicalMemoryLimitPercentage) [0x00000] in <ffccbda3387647f39426d91da8845d9e>:0
  at System.Runtime.Caching.MemoryCacheStatistics..ctor (System.Runtime.Caching.MemoryCache memoryCache, System.Collections.Specialized.NameValueCollection config) [0x0003d] in <ffccbda3387647f39426d91da8845d9e>:0
  at System.Runtime.Caching.MemoryCache.InitDisposableMembers (System.Collections.Specialized.NameValueCollection config) [0x00042] in <ffccbda3387647f39426d91da8845d9e>:0
  at System.Runtime.Caching.MemoryCache.Init (System.Collections.Specialized.NameValueCollection config) [0x0007f] in <ffccbda3387647f39426d91da8845d9e>:0
  at System.Runtime.Caching.MemoryCache..ctor (System.String name, System.Collections.Specialized.NameValueCollection config) [0x0005d] in <ffccbda3387647f39426d91da8845d9e>:0
  at StardewModdingAPI.Framework.Reflection.Reflector..ctor () [0x00010] in <eb412ccfd87d4d1abba47eb50b88ec52>:0
  at StardewModdingAPI.Framework.SCore..ctor (System.String modsPath, System.Boolean writeToConsole) [0x0000b] in <eb412ccfd87d4d1abba47eb50b88ec52>:0
  at StardewModdingAPI.Program.Start (System.String[] args) [0x0006e] in <eb412ccfd87d4d1abba47eb50b88ec52>:0
  at StardewModdingAPI.Program.Main (System.String[] args) [0x00066] in <eb412ccfd87d4d1abba47eb50b88ec52>:0
Game has ended. Press any key to exit.
Reinstalling mono-complete did not work. I cannot think of anything else that could be done.
 
I wouldn't recommend running the modded game that way.
If you installed SMAPI correctly; it should have updated the scripts inside the game folder. And you can just run the game's linux script.

Mono is recommended, but only really necessary for the automatic SMAPI installer.
I've always done the manual install on Linux (Ubuntu Mate 18.04); without Mono installed. Instructions for that are in the "README.txt" file included in the SMAPI installer zip.
It's been a while, but I think you may also need to set the executable bit on the script you rename. But, it's otherwise a simple: extract, replace, rename.

So you may want to do a clean reinstall of SDV, and try a manual install of SMAPI. Then re-add your mods & test it all out.
 

comrade_bee

Newcomer
Thank you for responding :junicheer:
I was able to install it manually, A N D it works when run directly via the console, but content patcher/the logs still fail when run with steam?
So I think I just need to find a way of opening the terminal with it when run with steam and everything should perhaps function.
 
Thank you for responding :junicheer:
I was able to install it manually, A N D it works when run directly via the console, but content patcher/the logs still fail when run with steam?
So I think I just need to find a way of opening the terminal with it when run with steam and everything should perhaps function.
No prob!
And, glad to hear it works now when running it directly from console.

With regards to Steam; is SDV clear of any launch options?
There shouldn't be any launch options set; at least not for launching SMAPI natively.
 

comrade_bee

Newcomer
Oh sorry for the delay, I was not checking the forums yesterday.
I did not modify the launch options. When I run the game directly, I have to right click and select run in konsole for xterm to open.
 
Oh sorry for the delay, I was not checking the forums yesterday.
I did not modify the launch options. When I run the game directly, I have to right click and select run in konsole for xterm to open.
Honestly, I'm not too sure why you're having such a hard time through Steam.

I did notice, that your original log seems to show you using the Flatpaked version of Steam. I've always used the native .deb for my Steam install; so I'm not too familiar with any oddities that may arise from that.
And when running directly, I use my default; mate-terminal, which also ends up launching xterm.

Perhaps, going back to the basics & rechecking permissions & paths for your setup would help; especially if there's any extra sandboxing or something I'm not taking into account.
 

Wingheart

Sodbuster
Do you have a log for what happens when you run it via Steam? Also, have you tried adding SMAPI as a non-steam game? "Fails to load specifically PathosChild's mods when launched via the Stardew Valley shortcut in Steam" sounds suspiciously like the nonsense I've gotten with the unofficial Windows 64-bit Stardew and it'd be great to have a second data point on that.
 
Top