GRFCodec "cannot contain spaces" error.

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

Post Reply
Solomon555
Engineer
Engineer
Posts: 27
Joined: 23 Oct 2006 17:15

Post by Solomon555 »

Thanks for the reply. I couldn't get grfcodec to work for some reason. I'll have a look at it again.

On second look, it appears that I have to have TTDX and the patch to use grfcodec. I get an error box that says something about the path cannot contain spaces. I'm using OpenTTD, so I guess that eliminates using grfcodec. How is everyone else editing these?
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Everyone else is just putting grfcodec somewhere else.

Not that I'm familiar with that error message; would you please report it properly, and in the correct thread?
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Solomon555
Engineer
Engineer
Posts: 27
Joined: 23 Oct 2006 17:15

Post by Solomon555 »

DaleStan wrote:Everyone else is just putting grfcodec somewhere else.

Not that I'm familiar with that error message; would you please report it properly, and in the correct thread?
Tried moving it everywhere I could. No effect.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Properly means "The full, complete, and exact error message, with no paraphrasing, trimming, shortening, or anything else that could possibly remove information. If in doubt about your ability to copy and paste, post a screenshot."

In the correct thread means "Not here." This thread is for PlaneSet development, discussion, and bug-reporting. "I can't get grfcodec to work" is none of those.

And there is no way you could have put it everywhere possible in the time since you last posted. Even with a 255-character path limit, there are well over 10^300 different possible locations, even on an OS with case-insensitive filenames.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

I've split this off for now.

Anyway, sounds like he's trying to use GRF Wizard. That complains of space errors, and requires TTDPatch to be installed.
Image
User avatar
Samwise
Tycoon
Tycoon
Posts: 2459
Joined: 09 Apr 2006 18:50
Location: Oss, Netherlands, At home
Contact:

Post by Samwise »

Does you path to your OpenTTD folder contain any spaces? (E.G: E:\ Program Files\OpenTTD) If so, you should change it to something else I guess, because of the space between Program and Files. :wink:
Image
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Post by Lakie »

Simply put the path to the file and source in brackets.

Code: Select all

For Example,

grfcodec.exe -d -p 2 "\Games\Transport Tycoon\trg1r.grf" \Editting\Grfs
If you are using Grfwizard you might not want to, it is very outdated.

~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

But anything andrexified is a completely different kettle of fish. Which is why most of us won't use such ... whatever-it-is.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 26 guests