thesupersonic16 / HedgeModManager

A mod manager for Sonic Generations, Sonic Lost World, Sonic Forces, Sonic Colours Ultimate and other PC Hedgehog Engine games.
MIT License
267 stars 61 forks source link

[Bug] HedgeModManager won't boot (Steam Deck) #722

Closed ThatOneGitWhoPostsStuff closed 1 year ago

ThatOneGitWhoPostsStuff commented 1 year ago

Describe the issue/bug

I've been trying for what feels like weeks to get this program to boot on Steam Deck, with no guides, official or otherwise, to boot.

Today, after days of not working on it, I decide to just run "steamtinkerlaunch hmm start" into the konsole while I work on other stuff. It didn't work, as always, but I thought I'd finally share the error code it's giving me so I can hopefully finally get it to work.

$ steamtinkerlaunch hmm start
Preparing to install SteamTinkerLaunch on Steam Deck
Downloading latest SteamTinkerLaunch

Dependency 'innoextract' already installed, nothing to do.
Dependency 'cabextract' already installed, nothing to do.
Dependency 'yad' already installed, nothing to do.

Finished installing SteamTinkerLaunch ('v12.12')!
Checking latest available HedgeModManager Release version
Latest available version is '7.10-3' - Checking to see if we are up-to-date
Latest HedgeModManager is already downloaded or was downloaded previously
HedgeModManager is up-to-date
Finished installing HedgeModManager
Adding HedgeModManager to application menu and setting up link handlers
Setting up installed HedgeModManager compatible games
Running configuration for 'Puyo Puyo™ Tetris® 2'
Running configuration for 'Sonic Forces'
Running configuration for 'Sonic Origins'
Finished configuring installed HedgeModManager games
Starting HedgeModManager
wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely

Unhandled Exception:
System.Windows.Markup.XamlParseException: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception. ---> System.Xaml.XamlObjectWriterException: Provide value on 'MS.Internal.Markup.StaticExtension' threw an exception. ---> System.IO.FileNotFoundException: Could not load the file 'System.Windows.Controls.Ribbon'.
  at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) [0x0007a] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at (wrapper remoting-invoke-with-check) System.AppDomain.Load(System.Reflection.AssemblyName,System.Security.Policy.Evidence)
  at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at (wrapper remoting-invoke-with-check) System.AppDomain.Load(System.Reflection.AssemblyName)
  at System.Reflection.Assembly.Load (System.Reflection.AssemblyName assemblyRef) [0x00005] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at System.Windows.Baml2006.Baml2006SchemaContext.ResolveAssembly (System.Windows.Baml2006.Baml2006SchemaContext+BamlAssembly bamlAssembly) [0x000ed] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Baml2006.Baml2006SchemaContext.GetAssembly (System.Int16 assemblyId) [0x0000f] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Baml2006.Baml2006SchemaContext.EnsureXmlnsAssembliesLoaded (System.String xamlNamespace) [0x0004b] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType (System.String xamlNamespace, System.String name, System.Xaml.XamlType[] typeArguments) [0x00001] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Xaml.XamlSchemaContext.GetXamlType (System.Xaml.Schema.XamlTypeName xamlTypeName) [0x0012c] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.XamlContext.GetXamlType (System.Xaml.Schema.XamlTypeName typeName, System.Boolean returnUnknownTypesOnFailure, System.Boolean skipVisibilityCheck) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.XamlContext.ResolveXamlType (System.String qName, System.Boolean skipVisibilityCheck) [0x00020] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.Context.ObjectWriterContext.ServiceProvider_ResolveXamlType (System.String qName) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.Context.ObjectWriterContext.ServiceProvider_Resolve (System.String qName) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.ServiceProviderContext.System.Windows.Markup.IXamlTypeResolver.Resolve (System.String qName) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Markup.StaticExtension.ProvideValue (System.IServiceProvider serviceProvider) [0x00169] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue (System.Windows.Markup.MarkupExtension me, System.IServiceProvider serviceProvider) [0x00002] in <7b5106750b9b43b78a54b1e624c33f89>:0 
   --- End of inner exception stack trace ---
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue (System.Windows.Markup.MarkupExtension me, System.IServiceProvider serviceProvider) [0x0003d] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlObjectWriter.Logic_ProvideValue (MS.Internal.Xaml.Context.ObjectWriterContext ctx) [0x000f0] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue (MS.Internal.Xaml.Context.ObjectWriterContext ctx) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlObjectWriter.WriteEndObject () [0x00222] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlWriter.WriteNode (System.Xaml.XamlReader reader) [0x0006d] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlServices.Transform (System.Xaml.XamlReader xamlReader, System.Xaml.XamlWriter xamlWriter, System.Boolean closeWriter) [0x0008f] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlServices.Transform (System.Xaml.XamlReader xamlReader, System.Xaml.XamlWriter xamlWriter) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Windows.ResourceDictionary.EvaluateMarkupExtensionNodeList (System.Xaml.XamlReader reader, System.IServiceProvider serviceProvider) [0x0000e] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.ResourceDictionary.GetKeyValue (System.Windows.Baml2006.KeyRecord key, System.IServiceProvider serviceProvider) [0x0003f] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.ResourceDictionary.SetKeys (System.Collections.Generic.IList`1[T] keyCollection, System.IServiceProvider serviceProvider) [0x0002c] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.ResourceDictionary.SetDeferrableContent (System.Windows.DeferrableContent deferrableContent) [0x000a3] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.ResourceDictionary.set_DeferrableContent (System.Windows.DeferrableContent value) [0x00001] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Baml2006.WpfSharedBamlSchemaContext+<>c.<Create_BamlProperty_ResourceDictionary_DeferrableContent>b__297_0 (System.Object target, System.Object value) [0x00001] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue (System.Object instance, System.Object value) [0x0003b] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue (System.Xaml.XamlMember member, System.Object obj, System.Object value) [0x00007] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue (System.Object inst, System.Xaml.XamlMember property, System.Object value) [0x0000f] in <7b5106750b9b43b78a54b1e624c33f89>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Markup.XamlReader.RewrapException (System.Exception e, System.Xaml.IXamlLineInfo lineInfo, System.Uri baseUri) [0x00009] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Markup.WpfXamlLoader.Load (System.Xaml.XamlReader xamlReader, System.Xaml.IXamlObjectWriterFactory writerFactory, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.XamlObjectWriterSettings settings, System.Uri baseUri) [0x00120] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Markup.WpfXamlLoader.LoadBaml (System.Xaml.XamlReader xamlReader, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.Permissions.XamlAccessLevel accessLevel, System.Uri baseUri) [0x00017] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Markup.XamlReader.LoadBaml (System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, System.Object parent, System.Boolean closeStream) [0x0013d] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Application.LoadComponent (System.Object component, System.Uri resourceLocator) [0x00187] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at HedgeModManager.MainWindow.InitializeComponent () [0x0001c] in <1a709a34db56470099abfc2cb89aa04d>:0 
  at HedgeModManager.MainWindow..ctor () [0x0003b] in <1a709a34db56470099abfc2cb89aa04d>:0 
  at HedgeModManager.HedgeApp.Main (System.String[] args) [0x001df] in <1a709a34db56470099abfc2cb89aa04d>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.Windows.Markup.XamlParseException: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception. ---> System.Xaml.XamlObjectWriterException: Provide value on 'MS.Internal.Markup.StaticExtension' threw an exception. ---> System.IO.FileNotFoundException: Could not load the file 'System.Windows.Controls.Ribbon'.
  at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) [0x0007a] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at (wrapper remoting-invoke-with-check) System.AppDomain.Load(System.Reflection.AssemblyName,System.Security.Policy.Evidence)
  at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at (wrapper remoting-invoke-with-check) System.AppDomain.Load(System.Reflection.AssemblyName)
  at System.Reflection.Assembly.Load (System.Reflection.AssemblyName assemblyRef) [0x00005] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at System.Windows.Baml2006.Baml2006SchemaContext.ResolveAssembly (System.Windows.Baml2006.Baml2006SchemaContext+BamlAssembly bamlAssembly) [0x000ed] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Baml2006.Baml2006SchemaContext.GetAssembly (System.Int16 assemblyId) [0x0000f] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Baml2006.Baml2006SchemaContext.EnsureXmlnsAssembliesLoaded (System.String xamlNamespace) [0x0004b] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType (System.String xamlNamespace, System.String name, System.Xaml.XamlType[] typeArguments) [0x00001] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Xaml.XamlSchemaContext.GetXamlType (System.Xaml.Schema.XamlTypeName xamlTypeName) [0x0012c] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.XamlContext.GetXamlType (System.Xaml.Schema.XamlTypeName typeName, System.Boolean returnUnknownTypesOnFailure, System.Boolean skipVisibilityCheck) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.XamlContext.ResolveXamlType (System.String qName, System.Boolean skipVisibilityCheck) [0x00020] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.Context.ObjectWriterContext.ServiceProvider_ResolveXamlType (System.String qName) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.Context.ObjectWriterContext.ServiceProvider_Resolve (System.String qName) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.ServiceProviderContext.System.Windows.Markup.IXamlTypeResolver.Resolve (System.String qName) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Markup.StaticExtension.ProvideValue (System.IServiceProvider serviceProvider) [0x00169] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue (System.Windows.Markup.MarkupExtension me, System.IServiceProvider serviceProvider) [0x00002] in <7b5106750b9b43b78a54b1e624c33f89>:0 
   --- End of inner exception stack trace ---
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue (System.Windows.Markup.MarkupExtension me, System.IServiceProvider serviceProvider) [0x0003d] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlObjectWriter.Logic_ProvideValue (MS.Internal.Xaml.Context.ObjectWriterContext ctx) [0x000f0] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue (MS.Internal.Xaml.Context.ObjectWriterContext ctx) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlObjectWriter.WriteEndObject () [0x00222] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlWriter.WriteNode (System.Xaml.XamlReader reader) [0x0006d] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlServices.Transform (System.Xaml.XamlReader xamlReader, System.Xaml.XamlWriter xamlWriter, System.Boolean closeWriter) [0x0008f] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Xaml.XamlServices.Transform (System.Xaml.XamlReader xamlReader, System.Xaml.XamlWriter xamlWriter) [0x00001] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at System.Windows.ResourceDictionary.EvaluateMarkupExtensionNodeList (System.Xaml.XamlReader reader, System.IServiceProvider serviceProvider) [0x0000e] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.ResourceDictionary.GetKeyValue (System.Windows.Baml2006.KeyRecord key, System.IServiceProvider serviceProvider) [0x0003f] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.ResourceDictionary.SetKeys (System.Collections.Generic.IList`1[T] keyCollection, System.IServiceProvider serviceProvider) [0x0002c] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.ResourceDictionary.SetDeferrableContent (System.Windows.DeferrableContent deferrableContent) [0x000a3] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.ResourceDictionary.set_DeferrableContent (System.Windows.DeferrableContent value) [0x00001] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Baml2006.WpfSharedBamlSchemaContext+<>c.<Create_BamlProperty_ResourceDictionary_DeferrableContent>b__297_0 (System.Object target, System.Object value) [0x00001] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue (System.Object instance, System.Object value) [0x0003b] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue (System.Xaml.XamlMember member, System.Object obj, System.Object value) [0x00007] in <7b5106750b9b43b78a54b1e624c33f89>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue (System.Object inst, System.Xaml.XamlMember property, System.Object value) [0x0000f] in <7b5106750b9b43b78a54b1e624c33f89>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Markup.XamlReader.RewrapException (System.Exception e, System.Xaml.IXamlLineInfo lineInfo, System.Uri baseUri) [0x00009] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Markup.WpfXamlLoader.Load (System.Xaml.XamlReader xamlReader, System.Xaml.IXamlObjectWriterFactory writerFactory, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.XamlObjectWriterSettings settings, System.Uri baseUri) [0x00120] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Markup.WpfXamlLoader.LoadBaml (System.Xaml.XamlReader xamlReader, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.Permissions.XamlAccessLevel accessLevel, System.Uri baseUri) [0x00017] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Markup.XamlReader.LoadBaml (System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, System.Object parent, System.Boolean closeStream) [0x0013d] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at System.Windows.Application.LoadComponent (System.Object component, System.Uri resourceLocator) [0x00187] in <973d1f7a2e174d95b937c5a12aeb6e9f>:0 
  at HedgeModManager.MainWindow.InitializeComponent () [0x0001c] in <1a709a34db56470099abfc2cb89aa04d>:0 
  at HedgeModManager.MainWindow..ctor () [0x0003b] in <1a709a34db56470099abfc2cb89aa04d>:0

Expected Behaviour

HMM is expected to boot after putting in the command steamtinkerlaunch hmm start, allowing you to mod Sonic games from Gens to Frontiers.

Additional Context

When searching for solutions, I saw post saying that issues with HMM on Linux was to be put into #219, however when trying to, that thread is now closed so I can't report issues to it.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity. Please comment on this issue if you don't want it to automatically close in 14 days.

DeaTh-G commented 1 year ago

When searching for solutions, I saw post saying that issues with HMM on Linux was to be put into #219, however when trying to, that thread is now closed so I can't report issues to it.

Despite it being a closed issue it is still definitely possible to add new comments to it, so please direct your questions to that issue.