MelonLoader

MelonLoader

554 Downloads

[Bug]: Linux Wine-icu.dll error

olivertzeng opened this issue ยท 11 comments

commented

All of the following criteria must be met

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

All of the following are optional to answer

  • Tried reinstalling the Game.
  • Tried reinstalling MelonLoader.
  • 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

commented

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

commented

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

commented

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

commented

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
commented

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"

commented

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

commented

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

commented

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?

commented

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!

commented

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.

commented

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