• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Donvale

Major
11 Badges
Apr 30, 2018
743
0
  • Crusader Kings II
  • Cities: Skylines
  • Pillars of Eternity
  • BATTLETECH
  • Age of Wonders III
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • BATTLETECH: Flashpoint
  • BATTLETECH: Season pass
  • BATTLETECH: Heavy Metal
Just in case anybody else is trying to get BTML & ModTek working on macOS, you can do so using a Windows machine to run the BattleTechModLoaderInjector.exe and modify the Assembly-CSharp.dll

I suspect it might need to be done after every update though...

Here is how I made it work on macOS, using a Windows machine to modify Assembly-CSharp.dll
For thos unfamiliar with macoS ~ is your user home directory and Library is a hidden directory inside it.
Copy ~/Library/Application Support/Steam/steamapps/common/BATTLETECH/BattleTech.app/Contents/Resources/Data/Managed to a FAT32 USB (you have to take the whole folder)
Place BTML files in the new Managed folder.
On a Windows machine navigate to the folder in the command line and run the BattleTechModLoaderInjector.exe
Copy modified Assembly-CSharp.dll 0Harmony.dll and BattleTechModLoader.dll back into the original installation under macOS.

To add ModTek support
Create ~/Library/Application Support/Steam/steamapps/common/BATTLETECH/BattleTech.app/Contents/Resources/Mods
Copy ModTek.dll into this Mods directory.
This is also where you put any ModTek compatible mods you want to run.
 
Okay so ModTek is kind of working and it's successfully loading json files most of the time (although it doesn't like constants files much it seems). But successfully added weapon, shops, milestones etc...
But .dll based mods (presumably BTML) generally don't seem to work so well.

Useful for modifying balance etc, less useful for adding whole new features, like the drop tonnage mod I desperately want to try!
I am wondering if the issue is the fact the dlls are from Windows users in some way.