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

ModTek succeeds but doesn't decorate main menu or appear to be loaded #221

Open
rtshanks opened this issue Apr 13, 2023 · 3 comments
Open
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@rtshanks
Copy link

Running BT 1.9.1 latest on M1 ARM Mac.

(base) robo@robombpro ModTek % mono ModTekInjector.exe
ModTek Injector
---------------

ModTek already injected. Would you like to re-inject: Assembly-CSharp.dll.orig restored to Assembly-CSharp.dll
Injecting Assembly-CSharp.dll with ModTek.Injection.LoadModTek at BattleTech.Main.Start
Writing back to Assembly-CSharp.dll...
Injection complete!

Injector appears to work but no decoration and unable to load mods. It appears to be a vanilla mod loader and errors with ERROR No existing mods found.

Checked shasum on dll and it does appear different than the original. I've tried modtek 0.7, 2.0 but have yet to try newer versions.

@CptMoore
Copy link
Member

Only ModTek v4 is supported (latest)
It does not use any injector exe anymore
UnityDoorstop as a mechanism is used, that works by forcing OSX to load a library that then loads a preloader that injects ModTek into BT during runtime
UnityDoorstop has some documenation about Mac support
https://github.com/BattletechModders/ModTek/blob/master/INSTALL.md contains all the information gathered for installation support
I dont know of any unsuccessful or successful cases regarding M1, but i know someone was successful with macos and steam at some point in time with unitydoorstop + modtek/bt

@CptMoore CptMoore added bug Something isn't working help wanted Extra attention is needed labels Apr 13, 2023
@rtshanks
Copy link
Author

rtshanks commented Apr 13, 2023

I tried using ModTek 4.0 latest stable release (not the unstable 4.0) and yielded the same results. Is there some log files I should be running? I did follow the INSTALL.md. There are messages to the console when I execute run.sh and some might be concerning, but I am not sure what I'm looking for.

Mostly relating to this:

Fallback handler could not load library /Users/robo/Library/Application Support/Steam/steamapps/common/BATTLETECH/BattleTech.app/Contents/Frameworks/MonoEmbedRuntime/osx/libdl.so.2
...(repeated)...

They're all mono related.
I'm running:

Mono JIT compiler version 6.12.0.182 (2020-02/6051b710727 Tue Jun 14 15:01:21 EDT 2022)

@CptMoore
Copy link
Member

The logs you get in the console are already exhaustive enough i think...

Visit the Bepinex discord where you can search or ask around. Maybe someone posted something about m1 that works for you...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants