Advertisement
kendugu

Terraria + tModLoader v0.11.1 install on macOS 10.14.5

Jul 8th, 2019
3,617
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.71 KB | None | 0 0
  1. # Step 1: Ensure the Terraria is removed
  2.  
  3. ## backup and remove any previous Terraria data folders
  4. ## uninstalling from Steam does not remove these folders
  5. ## use `/Library` instead of `~/Library` if your install is global
  6. rm -rf ~/Library/Application\ Support/Terraria
  7. rm -rf ~/Library/Saved\ Application\ State/org.Terraria.savedState
  8. rm -rf ~/Library/Application\ Support/Steam/steamapps/common/Terraria
  9.  
  10. # Step 2: Install Terraria from Steam
  11.  
  12. # Step 3: Test that vanilla Terraria runs:
  13.  
  14. ~/Library/Application\ Support/Steam/steamapps/common/Terraria/Terraria.app/Contents/MacOS/Terraria
  15.  
  16. # Step 4: Install the Java JDK if you don't have it
  17.  
  18. ## https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html
  19.  
  20. # Step 5: Install tModLoader using the Jar
  21.  
  22. ## the manual install (copying/pasting files) does not work
  23. ## there are missing files (*.dylib) in the `osx` directory
  24.  
  25. ## change to proper directory
  26. cd ~/Downloads/tModLoader.Mac.v0.11.1/
  27.  
  28. ## execute jar
  29. java -jar ./tModLoaderInstaller.jar
  30.  
  31. # Step 6: Adjust permissions of the executable
  32. sudo chmod 755 ~/Library/Application\ Support/Steam/steamapps/common/Terraria/Terraria.app/Contents/MacOS/Terraria
  33.  
  34. ## at this point, you should be able to run Terraria via CLI or Steam:
  35. ~/Library/Application\ Support/Steam/steamapps/common/Terraria/Terraria.app/Contents/MacOS/Terraria
  36.  
  37. # (Optional) Step 7:
  38.  
  39. ## if you are still getting crashes, check the crash log:
  40.  
  41. more ~/Library/Application\ Support/Steam/steamapps/common/Terraria/Terraria.app/Contents/MacOS/client-crashlog.txt
  42.  
  43. ## there may be permissions issues for other files, such as logs:
  44.  
  45. sudo chmod 755 ~/Library/Application\ Support/Terraria/ModLoader/Logs/client.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement