MelonLoader icon indicating copy to clipboard operation
MelonLoader copied to clipboard

[Bug]: Linux Wine-icu.dll error

Open olivertzeng opened this issue 7 months ago • 10 comments

All of the following criteria must be met

  • [x] All Requirements must be installed.
  • [x] Changed the title so that it doesn't just says "[Bug]: "
  • [x] I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

  • [x] Tried reinstalling the Game.
  • [x] Tried reinstalling MelonLoader.
  • [x] Tried restarting PC.
  • [ ] Was able to see the Start Screen.

Describe the issue.

Running the Windows installer and/or running the modded game with both the latest 7.0.0 beta release and the master nightly branch shows this error:

gamemodeauto: 
fsync: up and running.
0094:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth": c0000135
0130:err:module:find_forwarded_export module not found for forward 'icuuc68.u_charsToUChars_68' used by L"C:\\windows\\system32\\icu.dll"
Cannot get symbol u_charsToUChars from libicuuc
Error: 127
gamemodeauto: 

The whole bottles.yml aka wine config looks like this: https://telegra.ph/bottlesyml-04-27 The log file is empty

Did you attach your log file?

No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

olivertzeng avatar Apr 27 '25 16:04 olivertzeng

P.S. the log file exists but it is completely blank

olivertzeng avatar Apr 27 '25 16:04 olivertzeng

simply use the linux installer. the windows one wont work on wine

KibblesTheKitten avatar Apr 27 '25 16:04 KibblesTheKitten

Using the linux installer shows me an error as well so i've used the manual installation method to install melonloader

System.InvalidOperationException: Could not create glyphTypeface. Font family: $Default (key: ). Style: Normal. Weight: Normal. Stretch: Normal
   at Avalonia.Media.Typeface.get_GlyphTypeface()
   at Avalonia.Rendering.Composition.Compositor.get_DiagnosticTextRenderer()
   at Avalonia.Rendering.Composition.Compositor.CreateCompositionTarget(Func`1)
   at Avalonia.Rendering.Composition.CompositingRenderer..ctor(IRenderRoot, Compositor, Func`1)
   at Avalonia.Controls.TopLevel..ctor(ITopLevelImpl, IAvaloniaDependencyResolver )
   at Avalonia.Controls.WindowBase..ctor(IWindowBaseImpl, IAvaloniaDependencyResolver )
   at Avalonia.Controls.WindowBase..ctor(IWindowBaseImpl)
   at Avalonia.Controls.Window..ctor(IWindowImpl)
   at Avalonia.Controls.Window..ctor()
   at MelonLoader.Installer.Views.MainWindow..ctor() in /home/runner/work/MelonLoader.Installer/MelonLoader.Installer/MelonLoader.Installer/Views/MainWindow.axaml.cs:line 12
   at MelonLoader.Installer.App.OnFrameworkInitializationCompleted() in /home/runner/work/MelonLoader.Installer/MelonLoader.Installer/MelonLoader.Installer/App.axaml.cs:line 28
   at Avalonia.AppBuilder.SetupUnsafe()
   at Avalonia.AppBuilder.Setup()
   at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime)
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder, String[], Action`1 )
   at MelonLoader.Installer.Program.Main(String[]) in /home/runner/work/MelonLoader.Installer/MelonLoader.Installer/MelonLoader.Installer/Program.cs:line 55

olivertzeng avatar Apr 27 '25 16:04 olivertzeng

Update: version later than 6 has this problem Version 5.x opens the mod manager, but shows a big error "Failed to Invoke Start Method"

olivertzeng avatar Apr 28 '25 13:04 olivertzeng

Image this is the error it shows me when i run the windows version with wine from version 5.7.0 beta

olivertzeng avatar May 09 '25 12:05 olivertzeng

ok this is actually really easy but risky to solve, you just rename icu.dll to something else and i think things work ill still leave this issue open in case if things still happen

olivertzeng avatar May 09 '25 13:05 olivertzeng

it seems that most of the features are fine with the mod loader and everything seems to be working however it constantly shows an error in the log [22:12:57.596] [Il2CppInterop] During invoking native->managed trampoline System.ArgumentNullException: Value cannot be null. (Parameter 'dictionary') at System.Collections.Generic.CollectionExtensions.GetValueOrDefault[TKey,TValue](IReadOnlyDictionary`2 dictionary, TKey key, TValue defaultValue) at CustomAlbums.Patches.DifficultyGradeIconPatch.Postfix(MusicInfo musicInfo, PnlStage __instance) at DMD<Il2CppAssets.Scripts.UI.Panels.PnlStage::RefreshDiffUI>(PnlStage this, MusicInfo musicInfo) at (il2cpp -> managed) RefreshDiffUI(IntPtr , IntPtr , Il2CppMethodInfo* ) what does this mean?

olivertzeng avatar May 09 '25 14:05 olivertzeng

ok this is actually really easy but risky to solve, you just rename icu.dll to something else and i think things work ill still leave this issue open in case if things still happen

@olivertzeng Hey man, I am coming on a whole another different project (fps unlocker tool for some anime game ;p) I was having similar issue, I even asked my friend to send their real windows pc's icu.dll files, and replaced on my setup, and it had different error. By deleting those two files, my app just started to work! Thanks man!

renhiyama avatar May 20 '25 19:05 renhiyama

I likewise encountered this error on an entirely different program and appreciate the workaround, but would like to point out that rather than deleting files, one can disable the icu library in winecfg, which is easy to reverse and local to a given WINEPREFIX.

Melvar avatar May 20 '25 20:05 Melvar

I likewise encountered this error on an entirely different program and appreciate the workaround, but would like to point out that rather than deleting files, one can disable the icu library in winecfg, which is easy to reverse and local to a given WINEPREFIX.

icu.dll=d thanks bro should've thought of that

olivertzeng avatar May 21 '25 14:05 olivertzeng

I'm getting this error while trying to use ILSpy, and that just crashes ILSpy. https://github.com/icsharpcode/ILSpy/issues/3520 Has anyone figured out how to make icu.dll work?

sylv256 avatar Jul 20 '25 01:07 sylv256