Build Instructions

Welcome to the build instructions of the project. Follow along and you'll be able to start contributing. Make sure to fulfill all of the prerequisites before moving past it.

Prerequisites

Visual Studio

EMTK uses Detours which requires the following

Setup Select Desktop development with C++ and click Install

Steps

Download the repository and go into it.

git clone git@codeberg.org:ExanimaModding/Toolkit.git --recurse-submodules cd Toolkit

EMF

The following commands will launch Exanima if the path in src/main.rs is correct.

# Change path in src/main.rs # to the Exanima.exe # before running cargo make cargo make && cargo make run

Repacker

The following command will execute the converter executable with argument --help.

cargo run -p repacker --bin converter -- --help

Hint: replace --help with something like --src "C:\Exanima" --dest "C:\Exanima\.unpacked". Replace "C:\Exanima" with your full path to the game's directory.

Building

The converter can be built with cargo. The executable that gets built can then be placed in the Exanima game directory where it can be executed without providing any arguments.

The following commands is equivalent to the cargo run command from the previous section.

cargo build -p repacker --bin converter cd target\debug .\converter.exe --help