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

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#.

License

Notifications You must be signed in to change notification settings

jacobcxdev/TerraTouchBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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#.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published