GRF encoder tool: GRFMaker [under development]

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

Moderator: Graphics Moderators

User avatar
Bob_Mackenzie
Chairman
Chairman
Posts: 823
Joined: 25 Mar 2010 13:36

Re: GRF encoder tool: GRFMaker [under development]

Post by Bob_Mackenzie » 23 Mar 2011 17:24

Try a file name with 7 letters or fewer

GullLars
Engineer
Engineer
Posts: 12
Joined: 23 Mar 2011 15:38

Re: GRF encoder tool: GRFMaker [under development]

Post by GullLars » 23 Mar 2011 18:38

still get the same error with filename "ex" (example) and "test"
EDIT: it saves .lst files perfectly though.

User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Re: GRF encoder tool: GRFMaker [under development]

Post by AndersI » 23 Mar 2011 20:21

If you scroll down to the bottom of this page, and enter "invalid file name" in the search box, you will find a number of suggestions to solve this problem. For example http://www.tt-forums.net/viewtopic.php?p=895739#p895739

GullLars
Engineer
Engineer
Posts: 12
Joined: 23 Mar 2011 15:38

Re: GRF encoder tool: GRFMaker [under development]

Post by GullLars » 23 Mar 2011 20:39

Thanks guys. I usually don't go all noob, but i skimmed the instructions and did the tutorial point by point, and at no point did it mention a newgrf folder in the OTTD folder. In windows 7 that folder gets placed in "Documents\OpenTTD\content_download".

This tool is fairly intuitive to use once you get the layout. I suspect i will run into more complex problems later that i will need to read the documentation for if i move past just transport units.

I've also been wanting to make a low-preassure (<0,001bar or < 1000 pascals, aka low vacuum) railway (and possibly road). In real life the air resistance is the main thing holding you back from accelerating past 300-400km/t, but in low vacuum it would be track friction and inclination, and acceleration/decelleration time for shorter distances. The thought being trains could be way more efficient than airplanes, both in throughput and travel time once the massive cost of making the low vacuum tube around the rail is complete.
EDIT: also, cheaper 0,1 bar and 0,01 bar sub preassure tubes could be avalible at earlier dates but not allow as high speeds. The trains for such tracks would require preassure cabins for some types of cargo, and the engines themselves if manualy operated.

User avatar
krtaylor
Tycoon
Tycoon
Posts: 11773
Joined: 07 Feb 2003 01:58
Location: Washington DC, USA
Contact:

Re: GRF encoder tool: GRFMaker [under development]

Post by krtaylor » 23 Mar 2011 21:26

The TurboTrain is already in several sets, such as the US Set and the Canadian set.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there

oberhümer
Tycoon
Tycoon
Posts: 1277
Joined: 23 Oct 2009 19:35
Location: Here and there, sometime or another

Re: GRF encoder tool: GRFMaker [under development]

Post by oberhümer » 23 Mar 2011 23:01

It's a default train too, plus there's a standalone GRF on GRFCrawler somewhere.
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---

--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---

User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3054
Joined: 24 Apr 2007 09:37
Location: Straya

Re: GRF encoder tool: GRFMaker [under development]

Post by Emperor Jake » 24 Mar 2011 09:21

I overcame this problem by simply exporting the NFO and then compiling it with GRFCodec :wink:
--Stuff I made (or helped make)--
ImageImageImageImage

--My Award-Winning Screenshots and Videos--

GullLars
Engineer
Engineer
Posts: 12
Joined: 23 Mar 2011 15:38

Re: GRF encoder tool: GRFMaker [under development]

Post by GullLars » 24 Mar 2011 09:36

There was a stand alone turbo-train in grfcrawler, but only for sub-tropical.
I think i'll spend a few hours this weekend making rough first attempts at the vehicles i listed above, using random avalible sprites to be replaced later when/if i get serious about them.

User avatar
NekoMaster
Tycoon
Tycoon
Posts: 3940
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: GRF encoder tool: GRFMaker [under development]

Post by NekoMaster » 27 Mar 2011 19:26

I tried to make sense of the google translated instructions for making a articulated vehicle but it doesn't make much sense, especially when some words are translated wrong or not at all.

Im trying to make a GTEL with a fuel tender and I need to make it articulated to keep people from abusing an old system I came up with (the loco has the te and the tender has the power).

So does anyone know how to make a articulated locomotive?
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!

User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: GRF encoder tool: GRFMaker [under development]

Post by DJ Nekkid » 30 Mar 2011 09:04

Werent it you i made that Queen Rail something-train for 2-3 years ago? if so, take a look at that, as that includes articulation (iirc)
Member of the
ImageImage

User avatar
NekoMaster
Tycoon
Tycoon
Posts: 3940
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: GRF encoder tool: GRFMaker [under development]

Post by NekoMaster » 03 Apr 2011 01:40

I can't read NFO, and I can't really do much with it. I wish someone would explain how to make an articulated vehicle in Grf Maker (3.04 or 4.01).

Also, how do I make a steam engine with a tender in GrfMaker, as I would like to make a company coloured canadian train set with steam engines
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!

User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13188
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Re: GRF encoder tool: GRFMaker [under development]

Post by Hyronymus » 03 Apr 2011 07:53

Please don't post your requests in multiple topics. It's very difficult for those willing to help to see similar requests all over the place.

User avatar
Foster Oil Tanker
Engineer
Engineer
Posts: 18
Joined: 18 Mar 2011 11:26

Re: GRF encoder tool: GRFMaker [under development]

Post by Foster Oil Tanker » 05 Apr 2011 10:53

Give download :bow: :D
Transport Tycoon Russia GO




If you boast additions that do not sit and let the entire file!!!!!!!!!




I'm always looking for new additions

User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Re: GRF encoder tool: GRFMaker [under development]

Post by AndersI » 05 Apr 2011 11:35

Foster Oil Tanker wrote:Give download
To what? GRFmaker?

The current Open Source version can be found here - http://users.tt-forums.net/grfmaker/ but it's getting rather old, and is not actively updated by anyone. A slightly updated version (articulated road vehicles) could be found on some czech(?) TT-pages (it is linked somewhere in this thread, just search backwards), but that one is not Open Source AFAIK - at least none of the modifications have been sent back to the community in source form (unfortunately).

Please note that GRFMaker is not a substitute for understanding NFO code, it is just a tool that takes some of the drudgery out of the work of generating a GRF.

User avatar
Bob_Mackenzie
Chairman
Chairman
Posts: 823
Joined: 25 Mar 2010 13:36

Re: GRF encoder tool: GRFMaker [under development]

Post by Bob_Mackenzie » 15 Apr 2011 18:02

NekoMaster wrote:I can't read NFO, and I can't really do much with it. I wish someone would explain how to make an articulated vehicle in Grf Maker (3.04 or 4.01).

Also, how do I make a steam engine with a tender in GrfMaker, as I would like to make a company coloured canadian train set with steam engines
You may be able to make some sense of this (I can send the sprites if you want them too). Just bung your sprites in instead of mine

(no I don't really understand how it works but it does work)

You'll need to take the .grf off the end of the file name as the board doesn't like lst files
Attachments
articulated-rv.lst.grf
(162.29 KiB) Downloaded 142 times

Eddi
Tycoon
Tycoon
Posts: 7395
Joined: 17 Jan 2007 00:14

Re: GRF encoder tool: GRFMaker [under development]

Post by Eddi » 15 Apr 2011 19:48

Bob_Mackenzie wrote:the board doesn't like lst files
name it .txt or put it into a .zip/.rar
You might not exactly be interested in Ferion, but if you are, have fun :)

User avatar
Bob_Mackenzie
Chairman
Chairman
Posts: 823
Joined: 25 Mar 2010 13:36

Re: GRF encoder tool: GRFMaker [under development]

Post by Bob_Mackenzie » 19 Apr 2011 18:17

I'm trying to use GRF maker to make articulated vehicles. The section below works

However when I change the vehicle ID from 01 to 04 its stops working properly, the trailer graphic becomes the same as the tractor graphic

I change both the ID(01) line and the G(0F) -> ID(01)

There must be another reference to 01 in the code somewhere but I can't find it!

Anyone have any bright ideas please?

Cheers

Bob
artic.png
artic.png (18.48 KiB) Viewed 5253 times

User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Re: GRF encoder tool: GRFMaker [under development]

Post by AndersI » 19 Apr 2011 19:50

I don't have that version of GRFMaker, the one I have can only make articulated trains - this is how it looks in my train set for a steam engine with tender. I would assume it would look more or less the same for road vehicles. I don't see any big difference compared to (the visible parts of) your code:
Attachments
Ex25.png
Ex25.png (12.5 KiB) Viewed 5241 times
Ex26.png
Ex26.png (18.83 KiB) Viewed 5237 times
Ex27.png
Ex27.png (18.23 KiB) Viewed 5237 times

User avatar
Bob_Mackenzie
Chairman
Chairman
Posts: 823
Joined: 25 Mar 2010 13:36

Re: GRF encoder tool: GRFMaker [under development]

Post by Bob_Mackenzie » 20 Apr 2011 07:28

Thanks Anders

I copied your code slavishly and unfortunately it didn't work :(

I'm starting to wonder if the version of GRF maker I have has a bug?

User avatar
Bob_Mackenzie
Chairman
Chairman
Posts: 823
Joined: 25 Mar 2010 13:36

Re: GRF encoder tool: GRFMaker [under development]

Post by Bob_Mackenzie » 25 Apr 2011 16:01

I now have it working :)

I'd like to say I'm getting the hang of it but I'm still not 100% what's going on :(

Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 1 guest