James Ross, on 16 October 2014 - 02:13 PM, said:
So,
my understanding of what the Open Rails project was planning to do is to:
- Be able to play MSTS file formats.
- Be able to play and edit OR file formats.
- Be able to convert some/most MSTS file formats to their OR equivalents (as a one-time conversion process).
Highlights above are mine. What is quoted above was my understanding too, tho I was aware I might have misremembered. Anyway... the difference between
play (as James says) MSTS files but
play and edit OR files is what I thought would create "The Big Fork". Converting
some/most MSTS files to their OR equivalent will minimize the issue but at this time we don't know which will be converted and which won't. If *.haz are not... probably no big deal. If .w are not, it's a real big deal.
Quote
This lack of editing of MSTS files is one of my motivations for thinking about and proposing various things regarding the new structures and possible file formats; if we're not going to edit MSTS files, we need OR files before OR editors.
Yes. And the original prinicple, perhaps now voided in some circumstances, was to not to mess with the contents of any MSTS file, at least not in any way that would cause a problem for that file if used in a MSTS environment. Considering what editors do that principle could force OR editors to write only to OR equivalent files. The alternative option is to toss the principle and don't worry if the files cause AE and RE to abort 'cuz hey, they're old and funky anyway. But, IMO, it has to be a team design decision rather than bumbling into something because one person felt like doing it.
Quote
It is clear here and now that people are actually thinking about editing MSTS files, or at least having editors that can load MSTS files. I think we need to be careful here. Doing an editor, for anything, is a big, complex task, and if you have to support not just loading and saving two different file formats, but exposing all the features and limitations of those formats, you're going to come unstuck IMHO.
What may work, however, is to start with loading just a small number of MSTS file formats and providing basic editing functions and the bare minimum of saving to MSTS formats, purely as a testbed. The purpose of this would be to get a handle on how we want editing to work, with the understanding that the final version will only load and save OR file formats. I believe it has been suggested before that simply being able to move/rotate scenery in world files would be a good choice here; I tend to agree, if we go this route. In that case, the editor would load and display terrain and scenery, allow moving and rotating scenery, and saving of just world files with the altered position/rotation. (Since I can see that being useful for MSTS content fixes too, we can keep the testbed version around after we've got the full OR version.)
See post #17 in this thread for one such suggestion. I agree fully with the caution James gives... dig too deep into doing a MSTS replacement RE and you open up a big can of worms. Does anybody want to take the time to train all those worms to behave properly? Much safer to keep it very limited... a testbed.
James has added another thought there -- "we can keep the testbed version around after we've got the full OR version". The implication is there is a fork... it might not be a big code fork but it could be very significant for routes because on one side are whatever MSTS files migrate over to being edited by OR programs after this fork and on the other is everything that remains MSTS ONLY... which, if we're talking about the consequences of new editors,
might be all MSTS created routes... or, if there is good fortune looking down on us all, only those routes that, for whatever reason a few folks, working on their own, have chosen to continue to edit as pure MSTS routes, running in OR as is.
Quote
Amusingly, to me anyway, we don't actually need new file formats for higher resolution terrain (or smaller tiles), as they have all the information to support that as parameters in the files themselves IIRC.
I would disagree with the principal here though, since apart from audio and texture files, everything from MSTS that OR loads is a Simis (STF/SBR) file - while the structure looks quite well-defined (blocks with strings, numbers, units, etc.), parsing both versions (text and binary) is a bit of a pain. We still have a number of actual bugs parsing these formats. I would hate to have this format make its way (in either form) in to an OR structure and OR-specific content. I would consider that a failure on our part.
IIRC this topic has been kicked around many times... I believe the consensus of opinion at those times was let the programmers make technical decisions for technical reasons, allow users text editor access to the new formats when MSTS allowed it, even if the norm is for an OR program to edit them, and make a sincere but not herculean effort to migrate old data to the new files.