Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SonicColorsUltimate] Microsoft.NET folder duplication upon saving mods, cannot play game with mod loader - Steam Deck #921

Open
RRR-94 opened this issue Sep 23, 2024 · 4 comments
Labels

Comments

@RRR-94
Copy link

RRR-94 commented Sep 23, 2024

Every time I press "Save" on the mod manager, I receive this error. For some reason, the Microsoft.NET folder gets replaced with a linked directory and a duplicate of this folder gets created as Microsoft.NET.bak. I suspect this is what is stopping me from saving mods for Colors Ultimate.

Should also note I am using this on Steam Deck, so I'm not sure if this is Steam Deck exclusive.

HMM_Snapshot_00092024170839.txt

HMM Info:

    Version: 7.12-9
    Args: 
    StartDir: Z:\home\deck\.local\share\Steam\steamapps\common\SonicColorsUltimate\exec
    Process Level: Administrator
    Game: Sonic Colors: Ultimate
    GameInstall: Sonic Colors: Ultimate
    Update Status: Up To Date

Exception:

    Type: IOException
    Message: Cannot create 'Z:\home\deck\.steam\steam\steamapps\compatdata\2055290\pfx\drive_c\windows\Microsoft.NET.bak' because a file or directory with the same name already exists.
    Source: mscorlib
    Function: Void Move(System.String, System.String)
    StackTrace: 
      at System.IO.Directory.Move (System.String sourceDirName, System.String destDirName) [0x000d8] in <de4d51d88e3b4eea89a8d6a3a9854818>:0 
      at HedgeModManager.Linux.LinkRuntimeToProtonPrefix (HedgeModManager.Game game) [0x000b9] in <4d6308b30a3b49dd800b94b1060b82d3>:0 
      at HedgeModManager.MainWindow.SaveConfig (System.Boolean startGame) [0x000c2] in <4d6308b30a3b49dd800b94b1060b82d3>:0 
@RRR-94 RRR-94 changed the title [SonicColorsUltimate] [SonicColorsUltimate] Microsoft.NET folder duplication upon saving mods, cannot play game with mod loader - Steam Deck Sep 23, 2024
@thesupersonic16
Copy link
Owner

I believe this issue has been reported before. HMM is not detecting .NET Framework and is trying to link it's own framework which appears to be Mono.
HMM normally would not even start up on Mono, so I am not exactly sure what is happening since it's meant to install dotnet48.

Does SCU still work including its mods if you launched the game using the Steam client? if so, I may not need to check for Mono.

@RRR-94
Copy link
Author

RRR-94 commented Sep 23, 2024

I believe this issue has been reported before. HMM is not detecting .NET Framework and is trying to link it's own framework which appears to be Mono. HMM normally would not even start up on Mono, so I am not exactly sure what is happening since it's meant to install dotnet48.

Does SCU still work including its mods if you launched the game using the Steam client? if so, I may not need to check for Mono.

No. The game crashes as soon as I play the game from Steam client and sends me back. I can't play the game with the mod loader installed as it is.

As far as the dotnet48 goes, I should already have this installed in Bottles. Is there a way to skip this step seeing as I shouldn't need it?

@thesupersonic16
Copy link
Owner

The modloader needs dotnet48. I will need to check this issue out next time I use the deck. For now you can try the method below. I will be marking this issue as a bug.

  • Manually installing libraries from another system.
    • Download windows.7z.
    • Locate the game's prefix. Usually located in ~/.local/share/Steam/steamapps/compatdata/<GAMEID>/pfx
    • Enter the drive_c directory of the game prefix then windows and delete or rename the Microsoft.NET directory
    • Extract archive contents into the game's drive_c directory

@RRR-94
Copy link
Author

RRR-94 commented Sep 23, 2024

The modloader needs dotnet48. I will need to check this issue out next time I use the deck. For now you can try the method below. I will be marking this issue as a bug.

  • Manually installing libraries from another system.

    • Download windows.7z.
    • Locate the game's prefix. Usually located in ~/.local/share/Steam/steamapps/compatdata/<GAMEID>/pfx
    • Enter the drive_c directory of the game prefix then windows and delete or rename the Microsoft.NET directory
    • Extract archive contents into the game's drive_c directory

Thank you! I can play the game with Re-Rainbow now :) have a good evening!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants