Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Latest commit

 

History

History
23 lines (18 loc) · 1.48 KB

README.md

File metadata and controls

23 lines (18 loc) · 1.48 KB

TerraTouchBar

A tModLoader Terraria mod to add Touch Bar functionality to Terraria for supported MacBook Pros, with the app written in Swift and the mod written in C#.

Installation

  1. Purchase and install Terraria and tModLoader.
  2. Download and extract TerraTouchBar.zip from the releases page.
  3. Copy the extracted application to your desired location (e.g: /Applications).
  4. Either download TerraTouchBar from tModLoader's Mod Browser, or download TerraTouchBar.tmod from the releases page and copy it to ~/Library/Application Support/Terraria/ModLoader/Mods.

Usage

Simply launch Terraria and the TerraTouchBar application. The mod and the application will communicate automatically.

Notes

There are currently a few major issues with the project, the main one being that there are vast memory leaks when receiving updates to the inventory. I've taken the liberty of adding a Preview button to the ContentView, so that "mockup" updates can be sent. This allows anyone to debug these memory leaks, regardless of whether they own Terraria.

To create the memory leaks (for debugging):

  1. Launch the Xcode project
  2. Build and run
  3. Click the Preview button
  4. Leave the application for a few minutes.

Mockup

Mockup