Nexus-Mods / NexusMods.App

Home of the development of the Nexus Mods App
https://nexus-mods.github.io/NexusMods.App/
GNU General Public License v3.0
1.1k stars 52 forks source link

Stardew Valley - Xbox Game Pass support is using the wrong path #1474

Closed Pickysaurus closed 6 months ago

Pickysaurus commented 6 months ago

Bug Report

Summary

Using the app to manage SDV on GamePass selects the wrong folder.

Steps to reproduce

  1. Install SDV on Game Pass
  2. Manage with the app
  3. Use "View Mod Files" or "Preview Changes" to see the path being managed.
  4. ..\Stardew Valley\Content\Content is being used (duplicate Content folder!)

What is the expected behaviour?

..\Stardew Valley\Content\ is the correct path

Other information

image

Log files can be found in these locations:

Please attach both nexusmods.app.main and nexusmods.app.slim log files with the most recent dates.

erri120 commented 6 months ago

Which folder contains the appxmanifest.xml file?

Pickysaurus commented 6 months ago

C:\Games\Xbox\Stardew Valley\Content

Pickysaurus commented 6 months ago

Seems to be this line adding the extra content folder? https://github.com/Nexus-Mods/NexusMods.App/blob/16f7484f75eeb86881f87cdca4c73ea63f68fddd/src/Games/NexusMods.Games.StardewValley/StardewValley.cs#L80C17-L80C120

erri120 commented 6 months ago

That appears to be what's causing the issue. I don't know why that's there but removing it will probably fix the issue.

Pickysaurus commented 6 months ago

Removing that seems to have fixed it, but the app can't manage the game (probably due to DRM on the EXE file)

Pickysaurus commented 6 months ago

nexusmods.app.main.current.log