Skip to content

Latest commit

 

History

History
112 lines (60 loc) · 1.65 KB

format.rst

File metadata and controls

112 lines (60 loc) · 1.65 KB

Guitar Pro File Format

Basic Guitar Pro 3—5 types

Byte

Values of type byte are stored in 1 byte.

Signed byte

Values of type signed-byte are stored in 1 byte.

Bool

Values of type bool are stored in 1 byte.

Short

Values of type short are stored in 2 little-endian bytes.

Int

Values of type int are stored in 4 little-endian bytes.

Float

Values of type float are stored in 4 little-endian bytes.

Double

Values of type double are stored in 8 little-endian bytes.

ByteSizeString

Values of type byte-size-string are represented by length of the string (1 byte) followed by characters encoded in an 8-bit charset.

IntSizeString

Values of type int-size-string are represented by length of the string (1 int) followed by characters encoded in an 8-bit charset.

IntByteSizeString

Values of type int-byte-size-string are represented by an int holding length of the string increased by 1, a byte holding length of the string and finally followed by characters encoded in an 8-bit charset.

Guitar Pro 3 format

guitarpro.gp3

Guitar Pro 4 format

guitarpro.gp4

Guitar Pro 5 format

guitarpro.gp5