Database Excessively Rebuilding and Destroying My Route Progress

AdvancedApproach

Active member
Every time I shut down my computer and open up Trainz to continue on a database rebuild commences. Then my route will say the game didn't shut down properly and as a result damage may have occurred. So I chose to revert changes and regret it because it eliminated my progress.
 
You should wait a while before shutting down the computer after exiting Trainz or run taskmanager to make sure the Trainz process has closed.
And choosing to revert changes will revert changes, the route may still be open for edit by Trainz and choosing use changes will use the one in the open for edit folder, revert changes will go back to the last version that was properly saved.
 
As mentioned above, it may take Trainz awhile to fully save everything and close, but unfortunately it is in the background. If you are running Windows, you may want to go to Task Manager and make sure no Trainz processes are still running before shutting down. Although for that, if it is still running, I would hope Windows would warn you and give you the option of shutting it down or waiting.
 
Before I shutdown my computer I perform 2 backups - one is SVNing my WIP route to the SVN server and once that's done, I'll perform a sync backup to the server.
The SVN is my version of the .cdp file and since the server keeps track of every single change I can simply revert back to a working copy should Trainz corrupt it (it has happened when my .cdp files got corrupted without me knowing).

The sync simply keeps a copy of my content folders so easy restoration should something happen to my computer / SSD.

Cheers
 
RprSaoU.jpeg

Have you checked the settings in the Scrapbook Palette filters? (your post does not tell us what you have done)

The_Scrapbook_Filters

Also have you set anything in the normal Filters Palette that would prevent some items from being copied?
 
And what is stored in your scrapbook palette ready to be pasted or painted?

Is the layer you are pasting/painting the scrapbook into locked?
 
Ok, do some experimenting with some simple scenes - a few small scenery mesh objects, some short spline segments, etc placed on a new blank baseboard. Then use the Free Move Tool to select and copy them into the Scrapbook and try pasting and painting them elsewhere on the same baseboard. What pastes/paints and what doesn't.

Read the guide on using Scrapbook Data to make sure that you are ticking all the correct boxes. Your descriptions so far have been very vague in describing what you are doing and how you are doing it so I have to try and cover all the possibilities, including things that you may have already done correctly.
 
Quick question about TRS 22. Last night in TRS 19 I did a lot of building, saved then did another 1.5 hours work , clicked on a signal to update the signal number and the game shut down. When I reopened it I clicked "Use Changes" and it took me to the last Save point so I lost 1.5 hours work. Is there any mechanism in TRS 22 to make this less likely ? Just thought I'd ask.
 
Before I shutdown my computer I perform 2 backups - one is SVNing my WIP route to the SVN server and once that's done, I'll perform a sync backup to the server.
The SVN is my version of the .cdp file and since the server keeps track of every single change I can simply revert back to a working copy should Trainz corrupt it (it has happened when my .cdp files got corrupted without me knowing).

The sync simply keeps a copy of my content folders so easy restoration should something happen to my computer / SSD.

Cheers
SVN? What's this? Where can I find it? Thanks.
 
SVN stands for Subversion and its really handy for development and scripting as you can revert back should something unrecoverable happen (provided it was all committed before hand).

You'll need a computer to act as a server with a good amount of hard drive space (or if you have a good amount of hard drive space in your computer, then install the SVN server on your main system) as each revision committed can add up overtime. It won't be super quick as it only sends the changes over - not the actual file (exception will be first time committing where whole files are sent).

Right now after using it for about 4 years now, I have 2637 revisions and I can go anywhere between the latest (current 2637) to 100 if I wanted to, and then jump back to 2637 :D

There are a ton of SVN server programs (from the looks of it anyway) available for Linux, some NAS units support it, but for Windows it looks to be restricted to just one as I couldn't find any other.

For the client side you'll need something like TortoiseSVN so it can communicate with the server and download and send files to it. There are a several available.

For my setup, I have my own network server with VisualSVN installed (which also sees outside traffic from some friends that also uses the SVN for their game mods. Keep in mind that if you want to access the SVN server outside of the network, you'll need to port forward on your router). Community edition allows you to go up to 15 users before you must upgrade. There are other features that are locked behind the paywall but most you probably won't be touching anyway. Keep in mind that this is mainly used in business environments so prices won't be cheap should you decide to upgrade (5 user license starts at $55).

For client I use TortoiseSVN.

For the Trainz folder, I have the local folder that'd see the SVN as everything else is either built into the game or on the DLS so if something does happen, I can just download the local folder, download the DLS items, and be back to where I left off.

Cheers
 
Back
Top