GHT (File Format)

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

File Format
Then, there is a series of inputs in order. Each input is 0x2 bytes, with the first byte describing the stick position and the second byte describing the buttons pressed.

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.

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