Freeing Up Disk Space

dricketts

Trainz Luvr since 2004
My hard drive is partitioned into two. My OS is on one with some other things but only Trainz and my Trainz content is on the second. I only have 10 gigs left on the second and would like to free up some space. What utilities can safely I run to achieve this?
 
If you have not or not recently done yet, do this:

Set a filter with these criteria:
- Location = Local
- Build-in = False
- Obsolete = True
Delete those assets. This will easely clear up 100mb+ of space, but probably a lot more if you downloaded loads of updates over the months / years.
 
If you have not or not recently done yet, do this:

Set a filter with these criteria:
- Location = Local
- Build-in = False
- Obsolete = True
Delete those assets. This will easely clear up 100mb+ of space, but probably a lot more if you downloaded loads of updates over the months / years.

I take it these are outdated assets that have been replaced?
 
If you only have 1 drive why not get another. They're cheap enough and easy to fit. Transfer of trainz is also simple enough.
I'm assuming you have a desktop by the way.
 
If you have not or not recently done yet, do this:

Set a filter with these criteria:
- Location = Local
- Build-in = False
- Obsolete = True
Delete those assets. This will easely clear up 100mb+ of space, but probably a lot more if you downloaded loads of updates over the months / years.

But is it not true that routes still reference the obsolete kuid's? This means my collection of routes will still show missing assets...

If you only have 1 drive why not get another. They're cheap enough and easy to fit. Transfer of trainz is also simple enough.
I'm assuming you have a desktop by the way.

I have a very nice laptop. I don't think it's too hard to replace the hard drive. I'm just looking for a temporary fix until I decide what new hardware I want to move forward with.

Another question. Can I run a defrag and disk check on the partition that Trainz is installed on without causing any data problems?
 
Last edited:
Defrag away, it'll ask which drive and select the one you want. No data is deleted just reorganized for easier access.
 
Defrag away, it'll ask which drive and select the one you want. No data is deleted just reorganized for easier access.

What about chkdsk? Is it wise to run this on the drive that Trainz is installed? Doesn't chkdsk delete data it recognizes as bad?
 
Last edited:
...only Trainz and my Trainz content is on the second. I only have 10 gigs left on the second and would like to free up some space...

Do you have only TS2010 on that partition ? (If you have 2004 or 2009 on it then consider removing them).

...What utilities can safely I run to achieve this?...

Windows disk cleanup is built in and easy to run, In Vista it's "Start Menu" > "All Programs" > "Accessories" > "System Tools" > "Disk Cleanup" > Select you drive/Partition (would be as well to do both "drives"), might free up a bit of space - running it against my desktop shows a potential gain of 8.3 GB.

Defragging should do no harm and may help performance but won't make any real difference to the disc space. I can see no reason why you should bother with chkdsk if space is your only concern.

Edit: From your other thread on the subject of hard disc space...

...How much free HD space is needed after the game is installed and up and running?..

It's always wise to leave a bit of "overhead" free space on any HDD, but if you are considering a whole new system then don't rush into buying a new HDD for the "old" system. It may be worth your while checking to see if your virtual memory (Paging File) is set to run on the same partition as the OS or not, if not then move it there, which will gain you a little more space.
 
Last edited:
Do you have only TS2010 on that partition ? (If you have 2004 or 2009 on it then consider removing them).

Windows disk cleanup is built in and easy to run, In Vista it's "Start Menu" > "All Programs" > "Accessories" > "System Tools" > "Disk Cleanup" > Select you drive/Partition (would be as well to do both "drives"), might free up a bit of space - running it against my desktop shows a potential gain of 8.3 GB.

Defragging should do no harm and may help performance but won't make any real difference to the disc space. I can see no reason why you should bother with chkdsk if space is your only concern.

It's always wise to leave a bit of "overhead" free space on any HDD, but if you are considering a whole new system then don't rush into buying a new HDD for the "old" system. It may be worth your while checking to see if your virtual memory (Paging File) is set to run on the same partition as the OS or not, if not then move it there, which will gain you a little more space.

Yes I only have TS2010 on this partition.

I'll give disk clean up try after the defrag is complete.

What about deleting obsolete content that was mentioned earlier? I think I remember reading that all routes still reference the obsolete kuid's which will cause the route show missing dependiences. This could be a nightmare if one was trying to isolate the real missing content for a route.
 
Last edited:
I have no obsoletes other than built in ones and nothing is missing anything. Obsolete means just that, it's no longer used by anything in the Trainz version it's for or higher, any item that needs it will use the newer version, even if you have 10 old versions of it on your drive, which could be possible if you have never cleared them.
 
That's news to me Malcolm. I didn't think 'obsolete' meant 'unused'. I always thought it meant there was a more recent (higher kuid version) of the same object available, or that the asset's kuid has appeared in the obsolete-table of another asset (supposedly a more recent version of the same asset but maybe not from the same kuid number sequence).

Can we clear up the definitions of 'obsolete' and 'out of date' in the Trainz sense of these phrases?

I've definitely had instances where Trainz is claiming a missing asset, when in fact it is simply looking for a specific old version of a kuid and (mistakenly) ignoring a more recent version which it should be able to see. In other words, the obsoleting system is broken in recent versions of Trainz. I never had this issue in TRS2004.

Any minute now, I'm sure Sniper or HiBaller will see this topic and chime in. I'm sure they have also seen such misbehaviour in recent Trainz editions too.

.
 
Last edited:
I have no obsoletes other than built in ones and nothing is missing anything. Obsolete means just that, it's no longer used by anything in the Trainz version it's for or higher, any item that needs it will use the newer version, even if you have 10 old versions of it on your drive, which could be possible if you have never cleared them.

I remember a lengthy thread on this very subject. A warning about deleting obsolete content. I wish I could find it. The topic was about a basic bug / flaw in TS2009 thru TS2012. Any routes that use assets that have a newer updated version will still reference the old obsolete version in the dependency list. The newer version will still be used in the route but this creates a long list of false missing route dependencies. The lesson learned by the OP of the thread was don't delete obsolete assets.

Anyone else remember or heard of this issue?
 
I remember a lengthy thread on this very subject. A warning about deleting obsolete content. I wish I could find it. The topic was about a basic bug / flaw in TS2009 thru TS2012. Any routes that use assets that have a newer updated version will still reference the old obsolete version in the dependency list. The newer version will still be used in the route but this creates a long list of false missing route dependencies. The lesson learned by the OP of the thread was don't delete obsolete assets.

Anyone else remember or heard of this issue?

As I started reading this thread, I saw the filter thing, set it up, and did it. 545 assets to delete. Now that I am waiting for it to finish doing its work, I read this. Oops.

Cleared almost 2GB of space though......
 
But is it not true that routes still reference the obsolete kuid's? This means my collection of routes will still show missing assets...
It might, but those would have also been missing before you started this clean up.

I have been setting this filter at least once a month since I started using Trainz and never have I had more missing dependencies then before I did the filter.

I am happy to believe that older versions of the game might have given complains about this (in other words: have a bug), but I have had none in (the latest build of) TS12. This is simply how the game works (or in my opinion is supposed to). Routes have a relation to an asset with a minimum version but are happy to accept an updated version of the asset. Again: Dont be mislead by routes that already had missing dependencies and still have (those same) after this clean up.

I would be more then happy to read N3V's opinion about this, because I doubt this will be the last post related to this.

For the record: The other way around does not work. If a route is pointed to a newer version of an asset then the one installed on your PC, it will complain about a missing asset. I think we had this a few months ago with a 3rd party site having a more updated version then the asset on the DLS. Anyway, this is no risk / not related to the filter I mentioned.

Happy cleaning people!
 
What about chkdsk? Is it wise to run this on the drive that Trainz is installed? Doesn't chkdsk delete data it recognizes as bad?

Chkdsk partitions off bad sectors that it can't read, or if it can it repairs them. Doesn't save any space. Defrag just moves files around that belong together, like rearranging a storage room. To gain space, get a bigger drive.
 
As I started reading this thread, I saw the filter thing, set it up, and did it. 545 assets to delete. Now that I am waiting for it to finish doing its work, I read this. Oops.

Cleared almost 2GB of space though......


I'd like to hear your results slabay. Are any of your routes that use updated (revised version) assets showing missing dependencies after you deleted your obsolete content?
 
I'd like to hear your results slabay. Are any of your routes that use updated (revised version) assets showing missing dependencies after you deleted your obsolete content?

I too was a bit scared to do this at first, then after a backup of all my UserData, I did the delete local, but not built-in, obsoletes. There was no issue, and I do this all the time now after updating.
The only issue I can see is if there is a new asset that has problems while the older one worked fine.

John
 
I too was a bit scared to do this at first, then after a backup of all my UserData, I did the delete local, but not built-in, obsoletes. There was no issue, and I do this all the time now after updating.
The only issue I can see is if there is a new asset that has problems while the older one worked fine.

John

I've been doing most of my stuff in TS12 lately. I did this on my TS10 install. I keep getting stuck in "Please Wait....Applying Filter" in CMP, but that was happening beforehand, too. I'm pretty sure I just need to do an EDR, but I just haven't done it yet.
 
I've been doing most of my stuff in TS12 lately. I did this on my TS10 install. I keep getting stuck in "Please Wait....Applying Filter" in CMP, but that was happening beforehand, too. I'm pretty sure I just need to do an EDR, but I just haven't done it yet.

Instead of an EDR, try a quick repair first. This may do the trick. Remember though that the quick isn't so quick, and let it finish up. :)

John
 
What about chkdsk? Is it wise to run this on the drive that Trainz is installed? Doesn't chkdsk delete data it recognizes as bad?

Checkdisk is a utility that you use if your having hardrive issues... If the data is actually bad, then yes, Chkdsk will delete it.. chkdsk will also repair the hardrive or let you know if its dead or windows is dead (Yep, learned this lesson...) Now Defrag is different... Defrag moves out of place files to where they should be.. It will not give you any more HDD space, but it will allow the computer to run a lot smoother as windows and the computer does not have to search far and wide to find files... It can go to the place where they should be and TA-DA they are right there~
 
Last edited:
Back
Top