This post aswell as its two follow-ups (2. The Virtual File system and 3. Packing) serves as a tutorial to get started with TrackMasters's modding.
In this section, we will outline what kind of tools and setup you will need to create a mod.
The game loads modpacks from the Documents\My Games\LouveSystems' TrackMasters\Mods directory. Throughout these pages, this directory will be referred to as the "Mods Directory".
Each time the game starts, it looks for .PAK files (modpacks) and load them in alphabetical (filenames) order. Invalid or corrupt modpacks are skipped, which triggers a warning in the log file (see below).
Depending on the kind of data these PAK contains, the capacity to play races with other players might be affected. Simply put, you cannot play with someone if their game is unaware of the track elements that you're using, for example. Some modifications however, like replacing sounds or adding localization files, do not impact gameplay and therefore will not affect your capacity to host or join games.
- A simple text editor or IDE like Notepad++ is necessary to edit some game files or create information files about your mod
- TrackMasters' ModPacker (PAK.EXE) is necessary, as it turns your mod into a readable package for the game. It is normally already included in your Mods Directory and updated by TrackMasters automatically on each launch.
- A modpack being nothing but a packed folder, you need to create a directory where you will put the files for your mod. You should name this folder after the mod you want to make (for example, "My super mod"), but for the rest of this documentation we will refer to it as the Source Directory.
You can check for errors in the loading of your modpacks or modded assets in the log file, namely TrackMasters.log.
This file is located in the game's root directory, in a folder named "logs" and contains important information about the game session.
Check out for 'Error while loading PAK' in the log if something goes wrong or if your modpack is not detected.
Continue to 2. The Virtual File system...