Any way to remove built-in content?

Approach_Medium

Trainz Addict
RE: TS2009_SP2

Hi;
I have disabled most of the built-in routes, and would really like to remove the built-in content in CM2 to reduce the size of the database.
I have been disabling the content that I don't want to use, but there does not appear to be a way to remove it.

FW
 
Not possible as far as I know. More and more I am starting to wonder if returning to TC3 would be a better option. The number of times TS2009 is crashing while I save a route ( without ANY faulty content ) is becoming aggravatingly many and also you get rid of the unwanted legacy content.
 
I've read several post on this topic and all say it's not possible to remove the built in content i'm afraid. As far as I know the built in content is not stored in the same way as the other (downloaded) content but is stored in the .ja files that came with the installlation. Removing these directly would almost certainly cause the demise of your Trainz installation!

Sorry!
 
IIRC in TRS06 it is possible to delete built-in content by first opening it for edit, then manually deleting it from the 'Edit' folder. Not sure if it is possible in TRS09.

AFAIK 'disabled' content is not loaded unless required by a route so might be better to just disable anyway....

Andy
 
Thanks guys;
I'll just continue disabling the content I don't want to deal with in Surveyor.
I find that even with the picklist, I have to spend too much time searching through all the junk I have no use for.

Never had TC3. I went from 06 to 09.

FW
 
I have been disabling the content that I don't want to use, but there does not appear to be a way to remove it.

FW
There is a way to do it in TS2009 but it is long, convoluted, tiresome, and not without risk. I am also pretty sure that Auran do not want you to do this.

You can't remove only specific items but you can remove everything and then add back what you want.

Important note: Bear in mind that if you do this and you then download something that uses a built-in asset that you didn't keep before you will have to go through a large part of this process again to get that.

This should only be attempted if you've already backed up all your TS2009 folders, have a lot of time on your hands, and are confident with doing it.


I have been spending all of today doing something similar to this so I'm fairly confident in it working. But, if you mess up your install it isn't my fault. OK ;)


OK, deep breath and here we go........

1. Identify the built-in assets you want in CM2 and open them for edit,
2. Copy the files from the 'Editing' folder to somewhere else you can find them again (outside of the TS2009 folders),
3. Select everything in 'Open for Edit' and revert them

If you don't want to do everything in one go then repeat steps 1 through 3 with sets of content. (Opening, copying, and reverting as you go.)

(If you have a particular route you want the dependencies for then locate the route, select it, view dependencies, view in main window, pick those built-in assets. Bear in mind that some of the dependencies of that route which are not built-ins may have dependencies which may also have dependencies, which may be built-ins. You see where it get's long-winded and tiresome now?)

Note: you cannot open everything for edit, the locked stuff you will have to do without.

4. Close CM2
5. MOVE the .ja files located in the builtin folder somewhere safe, outside of the TS2009 folders. (ONLY move THESE .ja files)
6. Open CM2
7. Do an 'Extended database repair' (you'll have a very thin listing)
6. Add the content you copied out of the editing folder and commit it (this will take a long time)
7. Check to see what you missed (and you probably will have) by looking on the missing dependencies' tab and viewing dependencies for everything with something missing

If the missing dependencies that you want are built-ins that you didn't get before, and aren't locked, then you'll need to make a list of their KUID numbers and ......

8. Close CM2
9. Move the .ja files back into the built-in folder
10. Open CM2
11. Do an 'Extended database repair' (it will take quite a while)
12. repeat steps 1 through 3 to get the missing assets.
13. go back to step 4 and start again from there.

That should keep you busy for a few days.

If it all goes horribly wrong nuke the entire TS2009 folder and copy back the set you saved before you started.

I just want to say again that this is to be done only if

You are confident in doing ALL of the steps,
You accept the risks,
You've got a good backup of all your TS2009 folders before you start,
You don't mind that Auran do not want you to do it,
You won't blame me if it screws up.


(There is an even more 'dodgy' method of extracting, editing, and then re-packing the .ja files, but I won't go into that one.)

Mike.
 
Last edited:
Back
Top