BattletechModders / BattletechModders/ModTek

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

Open
#221 3 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
C#
Stars
137
Forks
40
Avg merge
14h 41m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported M1 ARM Mac path with mono ModTekInjector.exe and inspect the injector output around ModTek.Injection.LoadModTek at BattleTech.Main.Start. Compare the resulting Assembly-CSharp.dll with the original and check why the loader reports "ERROR No existing mods found." Done means ModTek decorates the main menu and loads an installed mod.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.