GRF Maker "Invalid filename" 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
bsamu
Engineer
Engineer
Posts: 4
Joined: 01 May 2015 09:39

GRF Maker "Invalid filename" error

Post by bsamu »

Hi!
I started using GRF maker, but when I'm trying to save a project, I get an "Invalid filename" error. I looked for a solutions here, and other forums as well, but couldn't solve it. However, they're old posts, and I'm using the latest version of OpenTTD, and 4.01 version of GRF maker.
Not only my projects can't be saved, but when I load another .lst file and try to save it again, I can't do it either.
So if anyone could help me, I'd be grateful.
User avatar
kamnet
Moderator
Moderator
Posts: 8548
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: GRF Maker "Invalid filename" error

Post by kamnet »

As posted just a month ago: http://www.tt-forums.net/viewtopic.php? ... 2#p1146482
railroader123 wrote:I've done evrything that guide has told me to but I keep getting an 'Invalid Filename' error whenever I try to turn it into a grf file. I'm using the lastest version. I've cleared it out, reinstalled it and redone it word for word and it still continues to fail!!!! Can someone please help?
See here: http://www.tt-forums.net/viewtopic.php?p=895739#p895739

Keep in mind: GRFMaker is dead. The project was actually abandoned by its original authors several years ago, and nobody has submitted any code fixes for the open source branch in five years. It is not up-to-date with modern OpenTTD. It is likely a better use of your time to learn meta-languages like NML and M4NFO, or just the raw NFO.
bsamu
Engineer
Engineer
Posts: 4
Joined: 01 May 2015 09:39

Re: GRF Maker "Invalid filename" error

Post by bsamu »

Thank you, I didn't know about it being dead. I couldn't even make it to work with "newgrf" folders. Seems like I have to look for other methods, as you said.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: GRF Maker "Invalid filename" error

Post by planetmaker »

The recommended way to write NewGRFs is to use one of the two languages:
* NML, a higher-level programming language for NewGRFs
* NFO, the primary NewGRF language, similar to assembler programming

NML supports all features except support for NewGRF bridges and stations.

See http://newgrf-specs.tt-wiki.net/wiki/NML:Main and http://newgrf-specs.tt-wiki.net/wiki/Main_Page
There's also a lot of tutorials, and see also this forum's NewGRF development section
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: GRF Maker "Invalid filename" error

Post by wallyweb »

planetmaker wrote:The recommended way to write NewGRFs is to use one of the two languages:
* NML, a higher-level programming language for NewGRFs
* NFO, the primary NewGRF language, similar to assembler programming

NML supports all features except support for NewGRF bridges and stations.

See http://newgrf-specs.tt-wiki.net/wiki/NML:Main and http://newgrf-specs.tt-wiki.net/wiki/Main_Page
There's also a lot of tutorials, and see also this forum's NewGRF development section
m4nfo does both bridges and stations.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: GRF Maker "Invalid filename" error

Post by planetmaker »

wallyweb wrote:
planetmaker wrote:The recommended way to write NewGRFs is to use one of the two languages:
* NML, a higher-level programming language for NewGRFs
* NFO, the primary NewGRF language, similar to assembler programming

NML supports all features except support for NewGRF bridges and stations.

See http://newgrf-specs.tt-wiki.net/wiki/NML:Main and http://newgrf-specs.tt-wiki.net/wiki/Main_Page
There's also a lot of tutorials, and see also this forum's NewGRF development section
m4nfo does both bridges and stations.
Except that it doesn't quite fit the list of compilers as it's a collection of macros which in turn generate plain NFO. Thus you need additional to the NFO-compiler even more boilerplate in form of the macro processor.
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: GRF Maker "Invalid filename" error

Post by wallyweb »

planetmaker wrote:Except that it doesn't quite fit the list of compilers as it's a collection of macros which in turn generate plain NFO. Thus you need additional to the NFO-compiler even more boilerplate in form of the macro processor.
Nevertheless m4nfo is still a valid tool that can assist the NewGRF coder and should be included if only out of common courtesy.
User avatar
flogeza
Transport Coordinator
Transport Coordinator
Posts: 329
Joined: 06 Jan 2014 19:14
Location: Budapest, Hungary

Re: GRF Maker "Invalid filename" error

Post by flogeza »

bsamu wrote:Hi!
I started using GRF maker, but when I'm trying to save a project, I get an "Invalid filename" error. I looked for a solutions here, and other forums as well, but couldn't solve it. However, they're old posts, and I'm using the latest version of OpenTTD, and 4.01 version of GRF maker.
Not only my projects can't be saved, but when I load another .lst file and try to save it again, I can't do it either.
So if anyone could help me, I'd be grateful.
Try to create a data and a newgrf folder in your openttd game folder, don't use accented characters ,check your setting and the colors/palette. Ups, and the grf maker needs projects and newgrf folder in himself" .
Attachments
sw.PNG
sw.PNG (3.26 KiB) Viewed 2439 times
User avatar
flogeza
Transport Coordinator
Transport Coordinator
Posts: 329
Joined: 06 Jan 2014 19:14
Location: Budapest, Hungary

Re: GRF Maker "Invalid filename" error

Post by flogeza »

kamnet wrote:As posted just a month ago: http://www.tt-forums.net/viewtopic.php? ... 2#p1146482
railroader123 wrote:I've done evrything that guide has told me to but I keep getting an 'Invalid Filename' error whenever I try to turn it into a grf file. I'm using the lastest version. I've cleared it out, reinstalled it and redone it word for word and it still continues to fail!!!! Can someone please help?
See here: http://www.tt-forums.net/viewtopic.php?p=895739#p895739

Keep in mind: GRFMaker is dead. The project was actually abandoned by its original authors several years ago, and nobody has submitted any code fixes for the open source branch in five years. It is not up-to-date with modern OpenTTD. It is likely a better use of your time to learn meta-languages like NML and M4NFO, or just the raw NFO.
and the last version is 4.09C2 or something :) and up to date :)
User avatar
kamnet
Moderator
Moderator
Posts: 8548
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: GRF Maker "Invalid filename" error

Post by kamnet »

Again, no, it's NOT up-to-date. GRFMaker's use should be discouraged as much as possible in favor of better and more frequently updated tools.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 16 guests