Moving beyond Windows XP Why we are moving on
#41
Posted 06 January 2019 - 04:46 PM
I've lived in Windows, Mac OS and Linux... Windows has its Registry, with ways to use .ini files and other text-based config files Mac OS has its unique preference files on top of Unix .conf files, and Linux makes a lot of use of text-based .conf files. The common denominator to work with is some soft of text-based configuration file system. As long as the format is consistent, the extension doesn't matter so much as long as OR knows what to look for. I'd just want to stick to something that's cross platform. If JSON files are going to be used in content, then perhaps the format would be useful for configuration/settings storage and retrieval as well.
#42
Posted 13 January 2019 - 03:26 AM
Eldorado.Railroad, on 22 December 2018 - 11:07 PM, said:
32 bit will continue to be supported - but only with Windows 7 and later.
Eldorado.Railroad, on 22 December 2018 - 11:07 PM, said:
We're not working to the OS support lifecycle. Windows XP ended all public support from Microsoft in April 2014 - nearly 5 years ago - so I wouldn't call this "shortly thereafter". What is more important is its original age is showing - 2001 vs 2009 (for Windows 7). Using either of these numbers from Windows XP and applying them to Windows 7 suggests we will keep supporting Windows 7 until 2025 or 2027. :)
Eldorado.Railroad, on 25 December 2018 - 12:35 PM, said:
NETerror.gif
I will image my Win7 system BEFORE trying this out.... too bad.
From Microsoft:
Supported Operating System Windows 10 , Windows 7 Service Pack 1, Windows 8.1, Windows Server 2008 R2 SP1, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016
Supported Operating Systems:
- Windows 7 SP1 (x86 and x64)
- Windows 8.1 (x86 and x64)
- Windows 10 Anniversary Update (x86 and x64)
- Windows 10 Creators Update (x86 and x64)
- Windows Server 2008 R2 SP1 (x64)
- Windows Server 2012 (x64)
- Windows Server 2012 R2 (x64)
- Windows Server 2016 (x64)
Yes, moving to supporting Windows 7 and up will allow us to use newer .NET Framework versions which come with their own advantages - there's a few bits we've retrofitted into OR but most of the benefits I see are in the JIT/GC which we obviously can't.
#43
Posted 13 January 2019 - 04:02 AM
shadowmane, on 26 December 2018 - 01:44 PM, said:
I don't see any particular reason to tie MonoGame into any split in what is supported; this is a runtime library change, really.
If you look at the Open Rails roadmap filtered by content and editor labels you will see that the main goal of 2.x is to have new OR formats and (mostly) editors in place. We don't have infinite resources of course, so I am being pragmatic that it will take years to get some of them done, but we're starting work on them right now with the consist editor for 1.4 (and file format).
shadowmane, on 26 December 2018 - 01:44 PM, said:
Unfortunately for him, the Open Rails project is not planning on creating any MSTS-format editors at all. TSRE does run on Linux, however, so maybe things wouldn't be that bad for you with that switch.
It's not on the roadmap, but the switch to MonoGame intentionally opens up the possibility of Open Rails running natively on Linux, though.
shadowmane, on 26 December 2018 - 01:44 PM, said:
You might be right; I've seeded the roadmap with a rough one-to-one replacement of MSTS and contributed tools, but we may not need them in exactly the way they are now. We will certainly need something that can produce passenger station stop "activities" and something that can produce freight shunting "activities" and that might be the same program, or not.
Do note that the timetable editor is still a contributed app, so we will be building an integrated replacement somewhere anyway.
shadowmane, on 26 December 2018 - 01:44 PM, said:
Thanks, hopefully we'll get a clearer idea of what we need to build as we work through things on the consist editor.
#44
Posted 13 January 2019 - 04:37 AM
Genma Saotome, on 27 December 2018 - 06:31 PM, said:
That also speaks to the problem that performance can vary throughout an activity; arriving into a detailed station area can really hurt compared to the open countryside moments before.
Genma Saotome, on 27 December 2018 - 06:31 PM, said:
If we can fix some of the known issues with the "Automatically tune settings to keep performance level" option, I'd be happier that the case is covered. As it stands, I am aware that it is a problem that routes and activities have varying performance that we don't cater to brilliantly.
EricF, on 28 December 2018 - 08:04 AM, said:
We should absolutely have presets for graphical quality (like nearly every other 3D game), so I've placed them on the roadmap.
User-configurable profiles are certainly a more niche feature, which I would prefer to avoid (instead, add presets and make the auto-tuner work better).
Genma Saotome, on 28 December 2018 - 10:39 AM, said:
That would be possible (since the menu can pass settings overrides to the game) but as ever with these types of suggestion I worry about:
- The complexity and quantity of code needed
- The number of users who could use and benefit from it
EricF, on 28 December 2018 - 05:43 PM, said:
If we were to add graphical presets, it may be reasonable to associate them with individual activities and routes. I'm not sure if we'd want that in the menu or in-game though. (This wouldn't be as reasonable without presets due to the number of potential options.)
Genma Saotome, on 28 December 2018 - 07:14 PM, said:
It's also an accessibility thing: how do people know they can change more things in the file than the GUI, and how do they learn how to do that? (And is it acceptable that we make them learn all that?)
Content creators are certainly more used to editing text files and delving into the details of things, but the average user isn't.
Genma Saotome, on 28 December 2018 - 07:14 PM, said:
Indeed, I hope so too!
perpetualKid, on 31 December 2018 - 11:02 PM, said:
Open Rails has supported settings in a text file ("OpenRails.ini") since 1.0. Not sure it's documented in the manual, though.
perpetualKid, on 31 December 2018 - 11:02 PM, said:
The file-based approach to this on Windows is putting the files in the AppData directory in the user's profile, and on Linux in dot-files/dot-directories in the user's profile. We could support this as well.
EricF, on 06 January 2019 - 04:46 PM, said:
Yeah, for cross-platform some sort of text file format is needed; the existing "OpenRails.ini" should work (although the locations mentioned above would probably want to be used by default). JSON is actually pretty hard to hand-edit, so I'd prefer this to be kept in INI or TOML (similar but much better defined syntax).
#45
Posted 13 January 2019 - 08:20 AM
#46
Posted 14 January 2019 - 05:53 AM
conductorchris, on 06 January 2019 - 03:48 PM, said:
The traditional Unix/Linux programming approach is to have all user configurable items in text files. The executable containing no such data only the mechanism to read the text files. As a consequnce of this one of Linux's primary libraries libc has some really excellent text file parsing routines in it. Not all Linux software uses this approach, but a good percentage does. Even the Linux kernel uses a text file to control its startup (/etc/inittab)
Lindsay
#47
Posted 14 January 2019 - 07:11 AM
shadowmane, on 13 January 2019 - 08:20 AM, said:
That's great to hear.
However, even with a teacher experienced in C#, Open Rails is still a big beast so I would be happy to answer any questions they have. Just send me a PM.