Genma Saotome, on 08 June 2014 - 04:59 PM, said:
Sounds like a real kludge but if it works, I'm gonna use it.
[...]
It would be great to have some sort of cofirmation by a ORTS coder, if "Open Rails" really is the right name for the subdirectory - as I said, I know it´s possible, but I have never used it.
cr-stagg, on 08 June 2014 - 07:01 PM, said:
[...]
What is the object of this endeavor? Are you trying to save HD space by not replicating common data? That couldn't be . Most (or maybe some) of us can remember when HDs cost $6.00/MB ($240 to $250 for a 40MB HD. I saw an add today for a 4TB HD for less than $200. That less than $0.00005/MB. Kind of like the reverse of remembering paying 27 cents a gallon for gasoline for my first car. HD space is cheap! My 240GB SSD I have for my MSTS/OR installation cost less than $100. So saving HD space cannot be the answer.
[...]
Forget about saving HDD space with it. Assume every ENG file takes around 50KB of space, on average. Stripping out brakes, couplers, controls, physics etc. to external files would probably reduce the ENG file to, say 10KB, but you would have a bunch of extra files, common to one folder of ENGs (takes the most space) or a whole class of locos (less space). In any event, for any give TRAINSET folder with a reasonable (IE, non-collector like, so that you might give each item a spin at least once in your simming time) count of assets, you might maybe save 5 GB of space. OK, that´s more than most of my USB sticks have available as useable storage, but really, how "expensive" are they? ;)
Genma Saotome, on 08 June 2014 - 04:59 PM, said:
[...]
There are, IMO, still issues about naming & best practices that need to be worked out.
cr-stagg, on 08 June 2014 - 07:01 PM, said:
Just take a look at the "bag of worms" we already have with the "Include like" Sound and CabView alias statements. Every vendor has their own "common" Sound/Cabview folders. Some are subfolders of Trainset folder. Others are subfolders (or multiple subfolders) of the Trainset/common.SND or cab folders. And freeware creators and repainters are just as inconsistent as the payware vendors.
[...]
These are two very good points, IMHO.
Personally, I think, we´d really need a predefined include convention that has to be stuck to, no matter what, by anybody, in order to keep things manageable. The Include statement seems to be a good step into the right direction, thought it still allows for creating a "mess". Personally, I´d only see it as an intermediate stage that allows for experimentation to find out what works best.
In the end, however, I guess it would be more practical to go along the lines of MSTS' CabView and Sound statements: Couplers should go into one (or more) general, type-specific ".cop" files, brakes to ".brk" etc. and would not be referenced with "Include" in the ENG file, but with "CouplerFront", "CouplerBack", "Brakes", etc. This way, everybody will have to work with a common structure used by everyone and known and understood commonly. It will be easier to find help, as not only the original creator knows about the file structure, and it will also be easier to identify bugs. All in all, it comes down to a fixed structure of different classes of files reference in the ENG file with a specifically named include command (instead of general "Include") being more manageable and maintainable.
In order to find this structure, however, the general "Include" statement probably is the way to go, since it´s more flexible. This flexibility, however, is what would make it a heck to work with if everybody can have their own include system, which is why this flexible approach, IMHO, is not suitable for general public use. Simply too much of a hassle.
Cheers, Markus