Jump to content

Stardew Valley - Cannot Install SMAPI on GamePass version


ChemBoy1
Go to solution Solved by Pickysaurus,

Recommended Posts

I am not able to install SMAPI for the Xbox GamePass version of Stardew Valley. I get the error below. I have enabled the Experimental option for Xbox GamePass support.

I also saw some similar errors when attempting to start managing the game. I know from my Vortex extensions that getting the Xbox app to let you read files in the game folder can be a challenge. Launching the game once and closing the Xbox app allowed NMA to start managing the game. 

The game is installed at this path: C:\XboxGames\Stardew Valley\Content

Using latest 0.8.3 build of NMA.

The PLAY button is also greyed out. Is this because SMAPI is not installed? It was not clearly indicated why I couldn't launch the game from NMA.

```
System.AggregateException: One or more errors occurred. (No way to get game files for: Xbox Game Pass)
 ---> System.NotSupportedException: No way to get game files for: Xbox Game Pass
   at NexusMods.Games.FileHashes.FileHashesService.GetGameFiles(LocatorIdsWithGameStore locatorIdsWithGameStore)+MoveNext() in /_/src/NexusMods.Games.FileHashes/FileHashesService.cs:line 283
   at System.Linq.Enumerable.IEnumerableWhereIterator`1.MoveNext()
   at NexusMods.Extensions.BCL.EnumerableExtensions.TryGetFirst[T](IEnumerable`1 enumerable, T& value) in /_/src/Extensions/NexusMods.Extensions.BCL/EnumerableExtensions.cs:line 38
   at NexusMods.Games.StardewValley.Installers.SMAPIInstaller.ExecuteAsync(ReadOnly libraryArchive, New loadoutGroup, ITransaction transaction, ReadOnly loadout, CancellationToken cancellationToken) in /_/src/Games/NexusMods.Games.StardewValley/Installers/SMAPIInstaller.cs:line 163
   at NexusMods.Library.InstallLoadoutItemJob.ExecuteInstallersAsync(ILibraryItemInstaller[] installers, ReadOnly loadout, IJobContext`1 context) in /_/src/NexusMods.Library/InstallLoadoutItemJob.cs:line 108
   at NexusMods.Library.InstallLoadoutItemJob.StartAsync(IJobContext`1 context) in /_/src/NexusMods.Library/InstallLoadoutItemJob.cs:line 55
   at NexusMods.Jobs.JobContext`2.Start() in /_/src/NexusMods.Jobs/JobContext.cs:line 42
   at NexusMods.App.UI.Pages.LibraryPage.LibraryViewModel.InstallLibraryItem(ReadOnly libraryItem, ReadOnly loadout, CancellationToken cancellationToken, Boolean useAdvancedInstaller) in /_/src/NexusMods.App.UI/Pages/LibraryPage/LibraryViewModel.cs:line 311
   at NexusMods.App.UI.Pages.LibraryPage.LibraryViewModel.<.ctor>b__47_13(OneOf`2 message, CancellationToken cancellationToken) in /_/src/NexusMods.App.UI/Pages/LibraryPage/LibraryViewModel.cs:line 180
   at R3.AwaitOperationParallelObserver`1.StartAsync(T value)
   --- End of inner exception stack trace ---
``` 

 

Link to comment
Share on other sites

I also get this error when trying to install any mod to the game. Spefically, this is from the Content Patcher mod. 

 

System.UnauthorizedAccessException: Access to the path 'C:\XboxGames\Stardew Valley\Content\createdump.exe' is denied.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at NexusMods.Paths.FileSystem.InternalOpenFile(AbsolutePath path, FileMode mode, FileAccess access, FileShare share)
   at NexusMods.Paths.BaseFileSystem.ReadFile(AbsolutePath path)
   at NexusMods.Abstractions.Hashes.MultiHasher.MinimalHash(AbsolutePath path, CancellationToken token) in /_/src/Abstractions/NexusMods.Abstractions.Hashes/MultiHasher.cs:line 99
   at NexusMods.Abstractions.Loadouts.Synchronizers.ALoadoutSynchronizer.MaybeHashFile(IDb hashDb, GamePath gamePath, AbsolutePath file, IFileEntry fileInfo, CancellationToken token) in /_/src/Abstractions/NexusMods.Abstractions.Loadouts.Synchronizers/ALoadoutSynchronizer.cs:line 1271
   at NexusMods.Abstractions.Loadouts.Synchronizers.ALoadoutSynchronizer.<>c__DisplayClass44_0.<<ReindexState>b__1>d.MoveNext() in /_/src/Abstractions/NexusMods.Abstractions.Loadouts.Synchronizers/ALoadoutSynchronizer.cs:line 1223
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__53`1.<<ForEachAsync>b__53_0>d.MoveNext()
--- End of stack trace from previous location ---
   at NexusMods.Abstractions.Loadouts.Synchronizers.ALoadoutSynchronizer.ReindexState(GameInstallation installation, IConnection connection, ITransaction tx) in /_/src/Abstractions/NexusMods.Abstractions.Loadouts.Synchronizers/ALoadoutSynchronizer.cs:line 1192
   at NexusMods.Abstractions.Loadouts.Synchronizers.ALoadoutSynchronizer.ReindexState(GameInstallation installation, IConnection connection) in /_/src/Abstractions/NexusMods.Abstractions.Loadouts.Synchronizers/ALoadoutSynchronizer.cs:line 1157
   at NexusMods.Abstractions.Loadouts.Synchronizers.ALoadoutSynchronizer.BuildSyncTree(ReadOnly loadout) in /_/src/Abstractions/NexusMods.Abstractions.Loadouts.Synchronizers/ALoadoutSynchronizer.cs:line 361
   at NexusMods.Games.FileHashes.Emitters.UndeployableLoadoutDueToMissingGameFiles.Diagnose(ReadOnly loadout, CancellationToken cancellationToken)+MoveNext() in /_/src/NexusMods.Games.FileHashes/Emitters/UndeployableLoadoutDueToMissingGameFiles.cs:line 17
   at NexusMods.DataModel.Diagnostics.DiagnosticManager.<>c__DisplayClass8_0.<<GetLoadoutDiagnostics>b__0>d.MoveNext() in /_/src/NexusMods.DataModel/Diagnostics/DiagnosticManager.cs:line 92
--- End of stack trace from previous location ---
   at NexusMods.DataModel.Diagnostics.DiagnosticManager.<>c__DisplayClass8_0.<<GetLoadoutDiagnostics>b__0>d.MoveNext() in /_/src/NexusMods.DataModel/Diagnostics/DiagnosticManager.cs:line 92


 

Link to comment
Share on other sites

  • Community Manager
  • Solution

The Game Pass version is currently not supported (which is why it is disabled by default). Unfortunately, the way we install SMAPI is incompatible with the DRM used by the Xbox launcher. 

Supporting Game Pass is on the roadmap, but I've also made a ticket here: https://github.com/Nexus-Mods/NexusMods.App/issues/2961

I will suggest disabling the option entirely until it works. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...