LE-CODE/Distribution FAQ

From Custom Mario Kart
Jump to: navigation, search

This is a special help page for creators of custom track distributions. It explains how to edit your distribution to use the extensions provided by LE-CODE. It is an addition for the general LE-CODE Distribution Tutorial.

A Track FAQ exists too.

Common Files

LE-CODE supports private versions of different files of Common.szs. To keep all track related files together, track authors are advised to place those files into the sub-directory ./Common/ of the track's SZS. See »LE-CODE/Track« for details.

Supported since LE-CODE build 13

Supported since LE-CODE build 15

Extracting the Common files

The game loads the common files before it loads the track's SZS. So it is mandatory, to store the common files outside of the track files. The distribution creators have to extract them to into the distribution directory ./files/Race/Common/%N/, where »%N« is the slot number formatted as 3 hex digits (lower case).

Example for slot 77 (=0x04d): ./files/Race/Common/04d/ObjFlow.bin

As of v2.02a of Wiimms SZS Tools, a simple command can extract all Common sub-folders to the correct place in only one step:

wszst xcommon ./files/Race/Course/*.szs -qiod ./files/Race/Common/%N/