Posted: 21 Mar 2007 06:37
Screw it. I can't be arsed to post here any more when people only want to shout at me.
The place to talk about Transport Tycoon
https://www.tt-forums.net/
Agreed,jonty-comp wrote:That's a real pity, as I for one was looking forward to your work, and it appears it has been ruined somewhat by some steadfast complainers.
I think you're trying to get me to shut up without actually having one of us concede the point. If I don't have a point, challenge. If I do, concede. I (and, I expect, most other people here) will interpret your silence as the latter.iNVERTED wrote:I can't be arsed to post here any more when people only want to shout at me.
I still don't see why GNU indent is not an option for the coding style problem. As for re-inventing the bicycle, Bob still hasn't specified whether XDA is supposed to replace the GRF container or the NFO language, so I can't say much about the likelihood of his bicycle being better than the current one.Mr. X wrote:even if he wants to reinvent the bycicle, it doesn't matter, maybe it will be a better bycicle maybe not. Just let him do his work and stop the jabbering about coding styles/formating.
i'm still with the idea that your purpose is nice, and if i remember well, they said nothing for the OTTD challenge spinoff which changes a big part of the gameiNVERTED wrote:Screw it. I can't be arsed to post here any more when people only want to shout at me.
XDA will be used not only for GRF files (i.e. BOTH the GRF container AND the NFO language), but also in the future for savegames, scenarios, etc.Bob still hasn't specified whether XDA is supposed to replace the GRF container or the NFO language
Instead of throwing a hissy fit, why don't you just act mature and say "I've already decided I'm doing it this way for coding practice/fun/whatever reason. Thanks for the input, but it's not needed"iNVERTED wrote:Screw it. I can't be arsed to post here any more when people only want to shout at me.
How do you intend to implement this?iNVERTED wrote:XDA will be used not only for GRF files (i.e. BOTH the GRF container AND the NFO language)
Sure he is. No really...DaleStan wrote:Are you planning to write your own program that is a text editor, an image editor, an audio editor, &c.?
Given that Inverted already has XDA working for adding his own sprites, he's obviously miles ahead of anything else mentioned. That he's done it without learning the intricacies of grfs and nfos is something to be applauded, not put down.Other stuff...
Given that the 32bpp team already has tar working for adding their own sprites, they're obviously miles ahead of ... Waitaminute. That's not true at all, is it?dev|ant wrote:Given that Inverted already has XDA working for adding his own sprites, he's obviously miles ahead of anything else mentioned.
The XDA files do not contain the images themselves. The images are stored, as I said earlier, in BMP format, to be changed to PNG format, in a file with the same name as the XDA file (minus extension of course). The XDA file contains the equivalent of NFO instructions. XDA is one-to-one convertable with XML, so if you want to edit your XDA file, you convert it to XML which is human-readable, edit, convert back - practically the same as using grfcodec to encode an NFO. Alternatively, you can use a generic XDA editor, allowing you to edit the XDA file directly in a GUI.DaleStan wrote:GRF contains both sprites, which can only sanely be edited with a image processing program, and arbitrary "things". These "things" are, according to the NFO spec, either byte-coded instructions, which can only be edited with a text editor, or embedded binary data[0], which can only sanely edited the program that generated them. If XDA instructions do not exist, XDA becomes a very poor replacement for NFO, and if the XDA container does not actually contain the sprites and binary data, it isn't a container at all.
Yes, which is what Fusion is. tech notes on FusionAre you planning to write your own program that is a text editor, an image editor, an audio editor, &c.?
Inverted wrote:The XDA files do not contain the images themselves.
DaleStan wrote:if the XDA "container" does not actually contain the sprites and binary data, it isn't a container at all.
And you have some graceful way of dying when the corresponding image file is missing/can't be opened, or when the XDA meta-data calls for a sprite that's outside the bounds of the image, right? Audio snippets will, I assume go into a .wav, .ogg, or .mp3 file of the same name, but where will you pack the arbitrary binary data?Inverted wrote:The images are stored, as I said earlier, in BMP format, to be changed to PNG format, in a file with the same name as the XDA file (minus extension of course).
Inverted wrote:The XDA file contains the equivalent of NFO instructions. XDA is one-to-one convertable with XML,
Code: Select all
<peter1138> there is a reason it's not in xml
<peter1138> anyone who takes the time to fully understand the system so they can write an xml structure realises it's not worth it
I agree that XML is not the holy grail of metadata formatting, but dismissing it out of hand is just as stupid as praising it to the heavens.DaleStan wrote:Code: Select all
<peter1138> there is a reason it's not in xml <peter1138> anyone who takes the time to fully understand the system so they can write an xml structure realises it's not worth it