Delete Missing Assets - THIS METHOD WORKS!

dnevans8

New member
Firstly and most importantly I would like to say that this suggestion came from JohnnyC1 in another thread so all thanks should go to him.

http://forums.auran.com/trainz/showthread.php?110153-delete-missing-assets

post #5

He has found that if you use "delete missing assets" in the session editor it works correctly.

All you have to do is select the route you want to modify, click on view sessions, followed by edit session, create one if you do not have one. Then from the menu select delete missing assets and after the warning message and a brief delay you will be prompted if you want to clone the route or unlock the route. Your answer will depend on whether you are already working on a clone from using save as in the route editor or one created in Content Manager or on the original route. Once this is completed you can save the new route using save as or just exit and save the new route when prompted
as you would do normally after making any changes.

I know this goes against the rule that most of us follow about making changes to the route in the session but since it works I am not going to argue.
 
If we are talking about build 61388 then this suggestion don't work. i tried it a couple of times, the route don't want to commit the changes at the end, or close TS with Microsoft information.
 
Last edited:
celje - yes we are using 61388, does your route allow any modifications in the first place, some routes are protected and locked.

I have used this method a number of times now with different routes using a clone of the route from Content Manager, or having used save as in the route editor, or using the clone option given in the session editor delete missing assets window and it has worked every time.

Has anybody else tried it?
 
It works, follow the steps, you must be on the session layer. Load the session, not the route. Do not do any editing prior to applying the "Delete Missing Assets."

John
 
Hello
Dnevans8
I use the route which i'm working on. It is a merge of three routes.

JohnnyC1
I opened 'View session', then 'Create new session', i'm in the session layer, route layer is locked, then 'Delete missing assets', then merge session layer in route layer and save under new route. Are this the correct steps?

When i wish to commit in CM, i get 'Trainz has enountered a problem and need to close'. Failed to commit changes due to invalid files.
The route has alot of unknown dependencies which i wish to eliminate from the route
 
Last edited:
shaneturner12

Yes i tried, 1. just unlock and save the route under the new name and 2. the next attempt by 'Replace the existng route' too.
 
There is no need to create a new session if one exists. Load that session, if you have more than one session, merge all into one session, then merge the route into the session. Save the route and session. Exit the route, reload the session and then do a 'Delete missing assets.'

John
 
Johnny

Some progress is shown . The unknown depedencies drop down from 160 to 6, but the assets, which are on DLS, are still shown in CM ( i don't want them), commit the route is still imposible too. It show that 'File mapfile.tmp is not of appropriate file type' and 'the commit changes is not possible due to invalid files'.

Any advice please
 
The .tmp error means that one of the files failed to save properly, usually a result of a system crash. You may be able to sort this by removing the .tmp file, but be aware that this may mean a loss of progress.

Shane
 
Celje - try doing it on a route you download from the dls perhaps using the black pages and download as ftp so you can guarantee missing dependencies then try the method described. It might be that using merged routes adds complications that cannot be got round. As a point of interest how does one of your own routes have missing dependencies.

In the past I have downloaded some of your excellent sessions which have included modifications to the route in the session layer eg a session you made for the ECML which when I tried modifying it I had tracks going off in all directions. Have you done this in the route you are try to correct.

So what I am saying is try it on a basic downloaded route that has missing dependencies and see if you get it to work.

I am sure we would all like to know if any body else has tried this method successfully or otherwise, please post your results.

A lot has happened since I started this post but the above might still be relevant
 
Last edited:
Dnevans

This merged route has not missing dependencies but only unknown dependencies and dependencies on DS, which i wish to eliminate, because they are old build,( 1.3, 2.0 ).
Did you try DBtogether V2 route, it has a realy hard session

Shaneturner

thank you for advice i will try tomorrow
 
Last edited:
The route will show missing depends if they are on the DLS. You need to remove them from your route or upgrade them.

John
 
This method work but has a limited function. As Johnny already said, the only time this did not work is when the dependency are on the DLS. If i don't wish to have them on the route, then it's impossible to eliminate them.( i don't know for any option to do this).
In the beginning of February i had contact with N3v. They were very kind and i sent them this working route and my remarks about a faults in 61388 build, so i presume that they work on SP2 or HF5.

regards
celje

Edit-------- Problem with 'File mapfile.tmp is not of appropriate file type' and 'The commit changes is not possible due to invalid files'. is produced when i use this method for deleting. My luck is that i was working in clone route, the original route has not this tmp
 
Last edited:
After a lot of testing i must say that this method work without problem. Only route where the problem describe above was shown is route Vosgues. No matter installing the route in build 49922 or 61388 error is shown.
But all this has not practical use if unknown dependencies are shown again after uploading.

regards
celje
 
Last edited:
Back
Top