Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ramidzkh/essentials

An essential server-side Terraria mod
https://github.com/ramidzkh/essentials

Last synced: about 1 month ago
JSON representation

An essential server-side Terraria mod

Awesome Lists containing this project

README

        

# Essentials

An essential server-side Terraria mod

## Finding libraries

The GAC (Global Assembly Cache) is found in `%windir%/Microsoft.NET/assembly`, from where the four Xna DLLs can be
found. The other Terraria dependencies are embedded inside the Terraria client or server, and can be extracted with a
program like [ILSpy](https://github.com/icsharpcode/ILSpy). Copy the dependencies required by `Libraries/README.md`

## Client setup

If you wish to run this mod locally on the client

1. Replace `TerrariaServer.exe` with `Terraria.exe` in `Essentials/mixins.json`
2. Replace `TerrariaServer` with `Terraria` in `Essentials/Essentials.csproj` (two lines)
3. You must then copy the Terraria.exe into the `Libraries` folder.

Then follow the instructions below

## Setup

1. Install [`SharpILMixins.Processor`](https://www.nuget.org/packages/SharpILMixins.Processor/) (`dotnet tool install --global SharpILMixins.Processor`)
1. Run `dotnet build`
2. Open a command prompt in `Essentials/bin/Debug/net472`
3. Run `sharpilmixins -t . -m Essentials.dll`
4. The generated `TerrariaServer-out.exe` (or `Terraria-out.exe`) should be suitable to replace the original Terraria
client or server. Also, copy `NBrigadier.dll` into the same folder as the executable