Is there a reason why GRF Wizard won't decode the db set or any of the other custom .grf files available out there? Are they protected from decoding?
The reason I want to decode them is to have a working example of how to code my own sprites & pseudo sprites (maybe someone could give me a working set?).
Also, was wondering why the .nfo files for the default ttd .grf files don't show any vehicle pseudo-sprites?
Finally, I tried to encode my own .nfo file and .pcx file but there was no way to enter them into the GRF Wizard. What's up with that? Do I have to put my own vehicles & code into the trg1r.nfo and trg1r.pcx?
@ttd player: i never use graph wizard, so i can not help you with that :-(
in game grf files do not have pseudo sprites, the properties of the vehicles are hardcoded in the exe file
with grfcodec decoding of any grf is no problem, sometimes you only have to give an additional -p parameter
edit: you can of course build your own vehicles in own grf files, but i am still learning how :-/
@ others
now my question: in cargosetw there are
action zero entries with no data at all... they are not documented in sprites.txt as far as i know. What do they do? The code snippet should define a 4 sprite set and i would understand dummy 1x1 pixel regular sprites.
are they just NOPs to save space ?
nilsi wrote:@ttd player: i never use graph wizard, so i can not help you with that
in game grf files do not have pseudo sprites, the properties of the vehicles are hardcoded in the exe file
with grfcodec decoding of any grf is no problem, sometimes you only have to give an additional -p parameter
edit: you can of course build your own vehicles in own grf files, but i am still learning how :-/
@ others
now my question: in cargosetw there are
action zero entries with no data at all... they are not documented in sprites.txt as far as i know. What do they do? The code snippet should define a 4 sprite set and i would understand dummy 1x1 pixel regular sprites.
are they just NOPs to save space ?
It doesn't have to be. It's just that the patch assumes it to be a regular sprite.
However, this sprite is never used, so it doesn't matter what it is. A pseudo-sprite is the smallest amount of bytes, so using a pseudo-sprite for this means that you save some bytes.
This set of four sprites is used to display a vehicle in the purchase list, where only one orientation will ever be needed. The first and the last two will never be shown, so it doesn't matter what they contain.
[Note: I renamed this thread, because the old thread is still in the old forum and so far down the list that no-one could be confused now.]
Why do you have another action 1 in line 15? It doesn't have any real sprites following it, so it must be a mistake. You probably forgot to add the eight lines of sprites there that you'll be using for the passenger and mail wagons.
i'm having problems with my NFO editor, it keeps saying that my version of MSFlexGrid is outdated, I know that Andres said that it isn't completely compatible with WIN98SE, but he didn't say that it definatly wouldn't work, does anyone else here use WIN98SE and the NFO Editor? If you do, can you please tell me how to fix this problem....ARRGHHHHHHH!!!!