Question regarding grfcodec decoding error

Discussions about the technical aspects of graphics development, including NewGRF tools and utilities.

Moderator: Graphics Moderators

Post Reply
popewiz
Engineer
Engineer
Posts: 52
Joined: 16 Nov 2009 20:08

Question regarding grfcodec decoding error

Post by popewiz »

With some help from George, I've been modifying his ECS Vectors to eliminate the closing and opening of industries for some scenarios I'm working on. I've had no issues decoding all but one of the .grf files in which grfcodec outputs the following error:

Code: Select all

Decoding:
Cannot write to sprites/power.wav: No such file or directory
I have the most recent version of grfcodec and I've tried with and without using grfwizard. I've attached the .grf as well as the partial .pcx and .nfo that result.

Anybody have any ideas?
Attachments
ECSBasicw.grf
ECS Basic Vector GRF
(584.77 KiB) Downloaded 53 times
ECSBasicw.nfo
Partial .nfo file resulting from grfcodec decoding
(8.76 KiB) Downloaded 62 times
ECSBasicw.pcx
Partial .pcx file resulting from grfcodec decoding
(1.39 KiB) Downloaded 56 times
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 988
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

Re: Question regarding grfcodec decoding error

Post by frosch »

No idea. Maybe try to create the directory "sprites" first. Maybe grfcodec only tries to create it for realsprites but not for sounds.
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Question regarding grfcodec decoding error

Post by planetmaker »

popewiz wrote:

Code: Select all

Decoding:
Cannot write to sprites/power.wav: No such file or directory
I downloaded the grf file and decoded the newgrf by means of grfcodec r2245 ("latest" is no version number!) without problems. Is your sprites dir maybe write protected? Or your working dir so that a sprites dir cannot be created?
popewiz
Engineer
Engineer
Posts: 52
Joined: 16 Nov 2009 20:08

Re: Question regarding grfcodec decoding error

Post by popewiz »

planetmaker wrote:
popewiz wrote:

Code: Select all

Decoding:
Cannot write to sprites/power.wav: No such file or directory
I downloaded the grf file and decoded the newgrf by means of grfcodec r2245 ("latest" is no version number!) without problems. Is your sprites dir maybe write protected? Or your working dir so that a sprites dir cannot be created?
Well, it must have been something related to this. I moved the grf out of the folder and up a directory level, and it came out fine. Thanks for the suggestion.
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 7 guests