grfcodec oddities
Posted: 23 Aug 2009 09:14
So I finally got bored of having all but Temperate corrupted by my ancient grf hacks, not to mention OTTD complaining about my grf files being wrong.
So I downloaded the grfcodec utilities and the original grf files. I ran grfdiff originals\trg1r.grf legacy\trg1r.grf (legacy being the folder with my grfs in) and the same for c and t (h and i were unchanged), and ended up with three .grd files... but the thing is, they are 13MB (1), 9MB (c) and 17MB (t), which surely can't be right.
When I used grd2grf, it went painfully slow on 1, and on c, it got stuck at 97%, so I tried to use grfcodec -d trg1r.grf, and it gave an error saying "Not enough input data for decompression".
What am I doing wrong? It's been absolutely ages since I last edited the original grf files so I'm not sure if I'm using the commands right. If anyone else wants to try obtaining newgrfs from my differences, the three changed files are at http://var.projectnanako.com/junk/legacy/ (please don't edit the resultant files, I know there is a lot of corruption in them but I'd rather sort that out myself).
I'd be thankful if someone could help me get the utilities to work or convert the grfs for me.
So I downloaded the grfcodec utilities and the original grf files. I ran grfdiff originals\trg1r.grf legacy\trg1r.grf (legacy being the folder with my grfs in) and the same for c and t (h and i were unchanged), and ended up with three .grd files... but the thing is, they are 13MB (1), 9MB (c) and 17MB (t), which surely can't be right.
When I used grd2grf, it went painfully slow on 1, and on c, it got stuck at 97%, so I tried to use grfcodec -d trg1r.grf, and it gave an error saying "Not enough input data for decompression".
What am I doing wrong? It's been absolutely ages since I last edited the original grf files so I'm not sure if I'm using the commands right. If anyone else wants to try obtaining newgrfs from my differences, the three changed files are at http://var.projectnanako.com/junk/legacy/ (please don't edit the resultant files, I know there is a lot of corruption in them but I'd rather sort that out myself).
I'd be thankful if someone could help me get the utilities to work or convert the grfs for me.