Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

lrzo01/tModLoaderARM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tModLoader for Apple Silicon (arm64)

Warning

tModLoader has added support for SDL2 ARM64 as of this point in time. I recommend only using this repository if you wish to use SDL3, or if it is not in the next stable update yet.

A native patch for tModLoader on Apple Silicon (M1/M2/M3/M4) Macs. This patch enables direct Metal graphics support via SDL2-compat, removing the need for Vulkan or OpenGL, and bundles all required ARM64 native libraries and binaries.

Launch Options

Extra launch flags allow you change runtime architecture and SDL version selection through steam launch options:

Architecture Selection

  • --arch=arm64 - Run natively on Apple Silicon
  • --arch=x86_64 - Run under Rosetta translation (compatibility mode)

SDL Version Selection

  • --sdl2 - Uses SDL2
  • --sdl3 - Default: Uses SDL3 (directly use Metal)

Acknowledgements


Known Issues & Workarounds

  • Accent Selector pops up when moving:

    • Issue: The macOS accent selector may appear when holding movement keys.
    • Solution: Run the following command in your terminal, then log out and back in:
      defaults write -g ApplePressAndHoldEnabled -bool false
  • Magic Storage slope movement bug (ARM64 SDL3 only):

    • Issue: Movement on slopes may require jumping instead of walking when using the Magic Storage mod. This issue only occurs when running with --arch=arm64 --sdl3.
    • Workaround: Use --arch=arm64 --sdl2 instead for optimal compatibility.
    • Status: No known fix for SDL3. Remove the mod if it bothers you or switch to SDL2.

Installation

  1. Download this repository or use the latest release
  2. Open a terminal in the project folder
  3. Run the patch script:
    sudo ./patch.sh

About

Run tModLoader natively on Apple Silicon

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages