NFORenum Warnings/Errors - the only error left on OpenGFX

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
User avatar
Ammler
President
President
Posts: 953
Joined: 18 Jun 2006 18:18
Location: Switzerland
Contact:

NFORenum Warnings/Errors - the only error left on OpenGFX

Post by Ammler »

Hello

While we try to silence all error messages on renum, there is one we can't get rid of:

Code: Select all

//!!Error (129): Offset 5: Only 0 random bits are available.
  242 * 39	 02 
	05 // Canals
	10 // ID
	80 // Random:  Use 80 to randomize the object (vehicle, station, building, industry) based on its own triggers and bits.
	00 // Trigger: 
	01 // Randbit: 16 sets needs 4 bits?
	10 // 16 Sets
	00 00 01 00 02 00 03 00 04 00 05 00 06 00 07 00 08 00 09 00 0A 00 0B 00 0C 00 0D 00 0E 00 0F 00
The whole nfo is here:
http://dev.openttdcoop.org/projects/ope ... pnfo#L3947

Is it possible to silence that error or need we to life with?

Greets
Ammler
Last edited by Ammler on 01 Aug 2009 22:53, edited 1 time in total.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Randomized Action 2 - the only error left on OpenGFX

Post by DaleStan »

I'm not sure how that one escaped my notice, but it should be fixed in r2166.
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
Ammler
President
President
Posts: 953
Joined: 18 Jun 2006 18:18
Location: Switzerland
Contact:

Re: Randomized Action 2 - the only error left on OpenGFX

Post by Ammler »

Another little glitch:

OpenTTD GUI has 0x96 sprites, not the expected 0x91:

Code: Select all

 1586 * 21     0C "OpenTTD GUI graphics" 
//!!Warning (60): Expected 145 (0x91) sprites for this type.
 1587 * 3     05 15 96
 1588 sprites/pcx/gui04.pcx 690 504 09 31 64 -31 7
OpenTTD Source: http://vcs.openttd.org/svn/browser/extr ... ttdgui.nfo
Edit: just checked the specs, there are 150, too.

Greets and thanks
Ammler
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: NFORenum Warnings/Errors - the only error left on OpenGFX

Post by DaleStan »

Ditto, except the magic number is 2168 this time. I also fixed type 0D.
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 11 guests