Page 1 of 1

GRF version questions

Posted: 06 Nov 2017 04:27
by WWTBAM
Does GRFCodec 6.0.1 still support generating GRF Container version 1 GRFs and possibly the old NFO version before v32? As per a question over in the TTDPatch section about there being no DOS version of the latest TTDPBASE.GRF, I was going to start looking at remedying that issue but remembered TTDPatch won't GRFs built using either GRF v2 or NFO v32 and I can't remember which format upgrade broke TTDPatch. I couldn't find an up to date GRFCodec manual online without downloading the tool.

Re: GRF version questions

Posted: 08 Nov 2017 21:03
by frosch
GrfCodec has a "-g" parameter to select the container format. It actually defaults to container 1. To encode container 2 you have to explicitly pass "-g 2".

Also you can choose container format and nfo format independently.
* nfo7 -> container 1: fine
* nfo7 -> container 2: fine
* nfo32 -> container 1: fine, it will silently drop sprites for additional zoom levels and color depths
* nfo32 -> container 2: fine