Difference between revisions of "GraphicsErrors"

From TTWiki
Jump to navigationJump to search
m (2 revisions)
(Reformat and update)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
Because of a limitation in the amounts of graphics TTD can load you might get error messages. Troubleshooting deals with problems concerning the installation of grf-files. There shouldn't be problems after successfully installing new graphics from an executable.
   
'''''Troubleshooting and Error Messages'''''
+
==Troubleshooting==
 
* Always make sure you have TTDPatch switches enabled (see [[NewVehicleGraphics| New Vehicle Graphics]])
 
=Graphics Errors=
 
 
Because of a limitation in the amounts of graphics TTD can load you might get error messages. Troubleshooting deals with problems concerning the installation of grf-files. There shouldn't be problems after succesfully installing new graphics from an executable.
 
 
-=Troubleshooting=-
 
* Always make sure you have TTDPatch switches enabled (see [[NewVehicleGraphics|New Vehicle Graphics]])
 
 
* Check if you downloaded the correct version. Remember that DOS graphics don't work with the Windows version and v.v.
 
* Check if you downloaded the correct version. Remember that DOS graphics don't work with the Windows version and v.v.
 
* When using new grf-files, check if the configuration file is named correctly and if there are no spelling errors ''in'' the file.
 
* When using new grf-files, check if the configuration file is named correctly and if there are no spelling errors ''in'' the file.
 
* Check if the new grf-file appears in the proper directory
 
* Check if the new grf-file appears in the proper directory
   
-=Error Messages=-
+
==Error Messages==
   
Each error message describes the file that caused the error, and the place within the file where the error occured (the so-called "sprite number"). These are all possible error messages you can get:
+
Each error message describes the file that caused the error, and the place within the file where the error occured (the so-called "sprite number"). These are all possible error messages you can get:
*Out of memory: TTDPatch ran out memory when trying to load more sprites. Make more memory available to it, or remove some entries from -+newgrf(w).cfg+-.
+
*Out of memory: TTDPatch ran out memory when trying to load more sprites. Make more memory available to it, or remove some entries from <tt>newgrf(w).cfg</tt>.
 
*Wrong .grf version: This grf-file is for a different version of TTDPatch. Download the correct version of either the graphics, or the patch.
 
*Wrong .grf version: This grf-file is for a different version of TTDPatch. Download the correct version of either the graphics, or the patch.
*Cannot load more sprites: The total number of sprites that TTD can handle is limited at 11484 active sprites. &nbsp;You must deactivate or remove some entries from &nbsp;-+newgrf(w).cfg+- to get below that limit.
+
*Cannot load more sprites: The total number of sprites that TTD can handle is limited at 11484 active sprites. You must deactivate or remove some entries from <tt>newgrf(w).cfg</tt> to get below that limit.
*File not found: The specified file does not exist. &nbsp;Check to make sure that it is installed in the -+newgrf+- folder, and that you haven't made a typo when entering it in -+newgrf(w).cfg+-.
+
*File not found: The specified file does not exist. Check to make sure that it is installed in the <tt>newgrf</tt> folder, and that you haven't made a typo when entering it in <tt>newgrf(w).cfg</tt>.
*More sprites than specified: This is an error caused by a corrupt .grf file. &nbsp;It has to be fixed by the author of the graphics file. It means the first entry in the graphics file's info file is wrong.
+
*More sprites than specified: This is an error caused by a corrupt .grf file. It has to be fixed by the author of the graphics file. It means the first entry in the graphics file's info file is wrong.
*File has invalid sprite: This is an error caused by a corrupt .grf file, or by an invalid parameter in -+newgrf(w).cfg+-. &nbsp;If you have one or more numbers after the filename in -+newgrf(w).cfg+-, remove all numbers and try again. &nbsp;If the error still occurs, it's a problem in the graphics file, and needs to be fixed by the author.
+
*File has invalid sprite: This is an error caused by a corrupt .grf file, or by an invalid parameter in <tt>newgrf(w).cfg</tt>. If you have one or more numbers after the filename in <tt>newgrf(w).cfg</tt>, remove all numbers and try again. If the error still occurs, it's a problem in the graphics file, and needs to be fixed by the author.
   
Still having trouble? Visit the [http://www.tt-forums.net/|TT-forums] and look for an answer there.
+
Still having trouble? Visit the [http://www.tt-forums.net/ TT-forums] and look for an answer there.
  +
[[Category:Additional Reading]][[Category:NewGraphics]][[Category:TTDPatch]][[Category:TTDPatch Manual]]

Latest revision as of 15:42, 18 June 2011

Because of a limitation in the amounts of graphics TTD can load you might get error messages. Troubleshooting deals with problems concerning the installation of grf-files. There shouldn't be problems after successfully installing new graphics from an executable.

Troubleshooting

  • Always make sure you have TTDPatch switches enabled (see New Vehicle Graphics)
  • Check if you downloaded the correct version. Remember that DOS graphics don't work with the Windows version and v.v.
  • When using new grf-files, check if the configuration file is named correctly and if there are no spelling errors in the file.
  • Check if the new grf-file appears in the proper directory

Error Messages

Each error message describes the file that caused the error, and the place within the file where the error occured (the so-called "sprite number"). These are all possible error messages you can get:

  • Out of memory: TTDPatch ran out memory when trying to load more sprites. Make more memory available to it, or remove some entries from newgrf(w).cfg.
  • Wrong .grf version: This grf-file is for a different version of TTDPatch. Download the correct version of either the graphics, or the patch.
  • Cannot load more sprites: The total number of sprites that TTD can handle is limited at 11484 active sprites. You must deactivate or remove some entries from newgrf(w).cfg to get below that limit.
  • File not found: The specified file does not exist. Check to make sure that it is installed in the newgrf folder, and that you haven't made a typo when entering it in newgrf(w).cfg.
  • More sprites than specified: This is an error caused by a corrupt .grf file. It has to be fixed by the author of the graphics file. It means the first entry in the graphics file's info file is wrong.
  • File has invalid sprite: This is an error caused by a corrupt .grf file, or by an invalid parameter in newgrf(w).cfg. If you have one or more numbers after the filename in newgrf(w).cfg, remove all numbers and try again. If the error still occurs, it's a problem in the graphics file, and needs to be fixed by the author.

Still having trouble? Visit the TT-forums and look for an answer there.