Open PavelDobCZ23 opened 13 hours ago
So, this isn't actually an issue with ML itself. This would appear to be an issue with .net single file executables (which Cpp2IL is) when running on Linux, where it tries to make a directory to unpack itself next to the executable. Which is unusual, because you'd think they'd have tested that.
So, this isn't actually an issue with ML itself. This would appear to be an issue with .net single file executables (which Cpp2IL is) when running on Linux, where it tries to make a directory to unpack itself next to the executable. Which is unusual, because you'd think they'd have tested that.
I don't know much about this to guess what's going on, but I believe the extraction should happen somewhere else completely, and it's dependent on DOTNET_BUNDLE_EXTRACT_BASE_DIR
environment variable, which in my case is in .cache
folder and Cpp2IL
does actually extract something in there. It creates this dir /home/pavel/.cache/dotnet_bundle_extract/Cpp2IL/4w0CSh42PpXKsRT_O43nd2rL9zRY3QI=/
, which contains a single file libcapstone.so
. Idk if this info helps in any way, but I think it's relevant.
All of the following criteria must be met
All of the following are optional to answer
Describe the issue.
I am unable to start MelonLoader 0.6.5 with native Linux version of The Long Dark. The cause is Il2CppAssemblyGenerator attempting to create a directory with the name
Cpp2IL
in a directory where isCpp2IL
executable located and it fails. It shouldn't do that as it's impossible to have a directory and a file with the same name on Linux file systems, therefore this behavior needs to be changed. The issue can be found at the last few lines of the provided log.Log:
Did you attach your log file?
Yes, I attached my log file to the text box above.