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

System.TypeInitializationException: The type initializer for 'Aetherment.Native' threw an exception. #8

Closed
LosDrakakos opened this issue Dec 24, 2024 · 1 comment

Comments

@LosDrakakos
Copy link
Contributor

Hi,
after a fresh install of both my OS and FFXIV, I get this error when enabling Aetherment.

13:04:11.126 | FTL | [Aetherment] System.TypeInitializationException: The type initializer for 'Aetherment.Native' threw an exception.
		 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'handle')
		   at System.ArgumentNullException.Throw(String paramName)
		   at System.Runtime.InteropServices.NativeLibrary.GetExport(IntPtr handle, String name)
		   at Aetherment.Native..cctor()
		   --- End of inner exception stack trace ---
		   at Aetherment.Aetherment..ctor()

I'm running
Fedora Silverblue 41
Aetherment 0.1.17.0
Release branch of Dalamud (2024.12.07.0000.0000)

I tried removing/reinstalling the plugin, deleting my .xlcore folder and reinstalling everything, same result.

Am I missing a dependency or something?

@Sevii77
Copy link
Owner

Sevii77 commented Dec 24, 2024

duplicate of #4, Aetherment currently doesn't work on linux out of the box. You can try the following steps:

  • Aetherment fails to install on Linux. This is caused by a library (bcryptprimitives.dll) XIVLauncher.Core doesn't seem to include in its wineprefix. To resolve this issue:
  1. Make sure wine is installed on your system (tested with wine-9.14)
  2. Open a terminal
  3. Enter the following command wine ""; cp "$HOME/.wine/drive_c/windows/system32/bcryptprimitives.dll" "$HOME/.xlcore/wineprefix/drive_c/windows/system32/bcryptprimitives.dll"
    A better solution is being looked into.

It worked for me during testing but didn't for others so your milage may vary.

@Sevii77 Sevii77 closed this as completed Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants