https://github.com/OpenTTD/grfcodec
