GHT (File Format)

This page describes the .ght format, as found in Filesystem/StaffGhosts. .ght is used for staff ghost files.

File Format
This file format is identical to the inputs portion of ghost .gci files.

The stick position is the addition of two numbers, one describing the position on the y axis, and one describe the position on the x axis. A neutral input is described by a "0" on both axis, resulting in a "0" for the entire byte. In the game code, when reading the analog X position, the bytes in the file are shifted 3 bits to the right and then read by the game.

The button values are represented by an array of bits, which are combined into one byte value. A 1 in a position means that the button corresponding to that position is pressed.

Tools

 * MKDD Ghost Info by SwareJonge