GRFCodec decodes and encodes GRF files for Transport Tycoon (Deluxe and Original), TTDPatch and OpenTTD. These GRFs are a collection of sprites, although for TTDPatch and OpenTTD these can be so-called pseudosprites which allow changes of behaviour of the game.