MSTS Registry - where is it?
#1
Posted 07 July 2015 - 06:02 AM
I just clean-installed it on my new PC and want to back-up the registry data, so in the future, I could just do with a "copy-n-paste" (REG-script, actually, but similarly easy).
Also, does MSTS BIN installation alter anything in the registry?
Cheers, Markus
#2
Posted 07 July 2015 - 08:04 AM
Update: try this..
http://www.trainsim....=registry+entry
#3
Posted 07 July 2015 - 08:08 AM
I might have misunderstood the question but I think that you might use the same file that I do . There's a zip file I think that I got from OTTO's MSTS downloads . It's called MSTS-REGISTRY-REPAIRER.zip . You can put in your own destination or It shows some probable entries and all you do to change it is change the location in the file itself , run the file and register MSTS to where ever you choose . I've used it for years and had no troubles . I change it frequently because I have a few different installs on different drives .You will find a lot of info about the same problem at " Steam4me " by Yuri . If you can't find it let me know . OK ?
#4
Posted 07 July 2015 - 10:33 AM
On more question, as asked above: Does MSTS Bin alter any MSTS registry values?
Cheers, Markus
#5
Posted 07 July 2015 - 11:13 AM
markus_GE, on 07 July 2015 - 10:33 AM, said:
Cheers, Markus
Do not know for sure, but I have not been able to locate an entry if it did change the registry. Also, several of .dll's used by .BIN are a copy and paste replacement made after installation. Raildriver for instance. The word 'translated' suggests to me that after .BIN installs and does whatever it does, the names and locations of the orginal MSTS installed components are not changed in location.
#6
Posted 07 July 2015 - 11:58 AM
ckawahara, on 07 July 2015 - 11:13 AM, said:
I can´t follow you there - could you please explain what translation (as from English to Spanish has to do with registry settings being added / removed / changed?
Cheers, Markus
#7
Posted 07 July 2015 - 12:08 PM
Cheers, Markus
#8
Posted 07 July 2015 - 01:11 PM
#9
Posted 07 July 2015 - 01:19 PM
Let me see if i can make some sense here. When BIN is installs, it appears to me that it modifies, changes, the contents of a few .dll files. These modified files appear to be the same as those that MSTS installed originally. This is just a guess on my part. By modifying only, the registry does not get changed.
I installed BIN in only the original MSTS installation. From the original, I have created many, many, mini-routes, and as far as I can tell, BIN is being used in all of them. I would think that this would not be possible if BIN required a registry entry. Familiar with Conbuilder? The Conbuilder Explorer does alter the registry entry for MSTS when CB is used to create/modify consists in other locations other than the original MSTS install. Since BIN appears to be running regardless of which Mini I am using, and regardless of where the registry entry for MSTS is stating it is, I guess that BIN has no registry requirement.
Hope this makes sense. Again, all conjecture on my part.
#10
Posted 07 July 2015 - 02:15 PM
@ Craig: :) , that is enough for me (I suspected mostly the same things as you described above, but wasn´t sure). :)
Cheers, Markus
PS: After all, if I mess it up, I can simply re-install MSTS, then install BIN, and then do the rest. (Re-installing MSTS is no longer such a pain for me - I created ISO files from the disks, which can be mounted as virtual CD drives and thus be run much faster - a complete install only takes 5 minutes, opposed to half an hour when installing from the physical CDs)
#11
Posted 07 July 2015 - 02:54 PM
Do a registry backup before you play around then restore the good registry if things get screwed up .
I don't know if this is helping you or not . I'm trying !
#12
Posted 07 July 2015 - 08:22 PM
markus_GE, on 07 July 2015 - 06:02 AM, said:
The correct answer depends on the version of windows you are using as well as whether you set up a custom profile from train.exe in your graphics card control panel.
Use the find function in regedit. If it turns up multiple locations (I had three for a while) you'll need to play around with something like the window size of RE for the purpose of making each registry hive unique. Then run RE and see which variant appears. That one is then the correct answer to your question.
#13
Posted 08 July 2015 - 10:40 AM
Hobo, on 07 July 2015 - 02:54 PM, said:
Do a registry backup before you play around then restore the good registry if things get screwed up .
I don't know if this is helping you or not . I'm trying !
Yep, that´s helping - it shows to me, that BIN can be copied and does not need to be installed to each and every MSTS install completely - replacing the files in a clean install with BINned ones is fine, then :pleasantry:
Genma Saotome, on 07 July 2015 - 08:22 PM, said:
Use the find function in regedit. If it turns up multiple locations (I had three for a while) you'll need to play around with something like the window size of RE for the purpose of making each registry hive unique. Then run RE and see which variant appears. That one is then the correct answer to your question.
I already found it (in Win7, according to the instructions in one of the links to TS.com posted above).
The multiple location thingy is something I´ll have to look into, but as you said, search should be fine.
Then, it´s all an export-to-reg-script and save-to-secure-location question - after all, all I want is to have backups of ALL my MSTS / ORTS data - and REG settings are data :bigboss:
Cheers, Markus
PS: Don´t wonder if I don´t reply for two weeks now - I´m going on vacation, and my time to stop by here will be VERY limited.
#14
Posted 08 July 2015 - 07:35 PM
I have a base MSTS directory that is installed from the CDs (used for some commercial routes that DO look at the registry for the MSTS location, plus a few odds n ends that don't fit other schemes well), then several other "mini" routes for key areas or subjects (L&PS, which I use generically for traction lines so BCER is there too), PRR-ER (big enough to be by itself), ATSF (Transcon and and freeware Surfliner routes), UPSP (pretty much what it says), and Rockies (Tennesee Pass, Rollins Pass, Joint Line, etc.). None of the "minis" actually "install" MSTS - they're just created using the L&PS or PRRER installers (which copy the necessary parts of MSTS from the base directory found using the registry) or Route-Riter. Each set of routes is entered using a standard shortcut to the trains.exe file in the appropriate spot. It all works fine, which tells me the registry isn't really needed in normal operation. And ORTS very nicely recognizes each of the minis when told where to look (but only finds the base directory by itself because that's where the registry points).
Also, when re-installing to set up a new or cleaned-up base MSTS, I've found that I can do the basic MSTS install and MS updates, then simply copy over a fully-patched train.exe from a backup (along with any other things like routes etc. needed in the base install), works fine. So there's no registry fix needed, really, for BIN or backed-up routes/trains unless you want to have their uninstall option available. With adequate backups, do you?
When uninstalling MSTS, it apparently uses the registry to find whatever it dumped into your system folders and yank that too, except for things like DirectX that can stay (and you let it install DX8? Why?). There aren't very many such things.
So, overall, my read is that MSTS really doesn't use the registry at all, except to set things up for eventual uninstallation. IOW, don't worry about it, set up your shortcut(s) to train.exe as described in the Instructions here and elsewhere, and enjoy.
Cheers? :bigboss:
-M
#15
Posted 09 July 2015 - 07:18 AM
Mike B, on 08 July 2015 - 07:35 PM, said:
If it's there, MSTS uses the registry every time you start it, and the main install registry also serves for any mini install.
If you have no registry entries, settings that you have made in Options (Realism, Driving Aids, Keyboard, Sound, Display, Advances Display, etc.) will not have been recorded anywhere, and you must fix them up every time you fire the sim up...
regards,
charlie