Difference between revisions of "Nothing.grf"
From #openttdcoop wiki
(New page: This GRF is just a playing ground and to show some problems in OTTD. ==nothing.grf== Download: [http://openttdcoop.ppcis.org/ammler/nothing.grf nothing.grf] ID: 4D470101 md5: 220ae740479...) |
m (→OTTD Problem: paramtest) |
||
Line 45: | Line 45: | ||
===OTTD Problem=== | ===OTTD Problem=== | ||
The NewGRF Code allowes to make some pretests, in example to test if an other GRF is loaded or not and specially before or after, there I have a problem with some NewGRFs. If you load the other GRF (in this example nothing.grf), the error is shown everytime, with a little difference, if you have it after, the error is shown correctly and the GRF (in this example nothing2.grf) isn't acitvated (blue). | The NewGRF Code allowes to make some pretests, in example to test if an other GRF is loaded or not and specially before or after, there I have a problem with some NewGRFs. If you load the other GRF (in this example nothing.grf), the error is shown everytime, with a little difference, if you have it after, the error is shown correctly and the GRF (in this example nothing2.grf) isn't acitvated (blue). | ||
− | But if you change the order and place nothing.grf before, the error is still shown, thats certainly wrong, but the difference is, nothing2.grf will be loaded anyway (green). So sprite 4 won't be skipped, but 5 will. Thats a little confusing. | + | But if you change the order and place nothing.grf before, the error is still shown, thats certainly wrong, but the difference is, nothing2.grf will be loaded anyway (green). So sprite 4 won't be skipped, but 5 will. Thats a little confusing. All fallowing tests (like parameters) are useless and won't be shown. |
{| | {| | ||
|- | |- |
Revision as of 12:04, 13 September 2007
This GRF is just a playing ground and to show some problems in OTTD.
nothing.grf
Download: nothing.grf ID: 4D470101 md5: 220ae740479416beb3de2da448ad75d7
Source
// Automatically generated by GRFCODEC. Do not modify! // (Info version 7) // Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel 0 * 4 01 00 00 00 1 * 71 08 06 "MG" 01 01 "Nothing" 00 "This NewGRF does just " "what the name says." 0D ";-)" 0D 0D "by Ammler" 00
nothing2.grf
Download: nothing2.grf ID: 4D470102 md5: fbf4b7b5fb1be0587663d350225f8391
Source
// Automatically generated by GRFCODEC. Do not modify! // (Info version 7) // Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel 0 * 4 0C 00 00 00 1 * 113 0C "This is Version 2 of the famous " "GRF nothing, this GRF is used to " "test some Actions, but doesn't affect " "anything." 2 * 9 07 88 04 \7gg "MG" 01 01 "S" 3 * 9 07 88 04 \7G "MG" 01 01 "S" 4 * 32 0B 02 7F 05 "nothing.grf (v1.0:4D470101)" 00 5 * 6 07 9A 01 \71 00 00 6 * 6 10 "Start" 7 * 75 08 07 "MG" 01 02 "Nothing 2.0" 00 "This NewGRF does " "just what the name says." 0D ";-)" 0D 0D "by " "Ammler" 00 8 * 42 0C "The parameter needs to be set, " "else error" 9 * 6 07 00 01 \71 00 "P" 10 * 7 0B 02 7F 03 "1" 00 00 11 * 13 10 "Parameter OK" 12 * 35 0C 0B 01 7F FF "Nothing is loaded successful." 00
OTTD Problem
The NewGRF Code allowes to make some pretests, in example to test if an other GRF is loaded or not and specially before or after, there I have a problem with some NewGRFs. If you load the other GRF (in this example nothing.grf), the error is shown everytime, with a little difference, if you have it after, the error is shown correctly and the GRF (in this example nothing2.grf) isn't acitvated (blue). But if you change the order and place nothing.grf before, the error is still shown, thats certainly wrong, but the difference is, nothing2.grf will be loaded anyway (green). So sprite 4 won't be skipped, but 5 will. Thats a little confusing. All fallowing tests (like parameters) are useless and won't be shown.
Please use the Talk:Nothing.grf.
(The GRF works in TTDPatch as it should.)