How can I fix obselete containers?

SandyEggo

New member
I'm editing this asset titled "Selferecting Tower Crane" so it can function in TRS19.
However I've run into an issue:

EHElOPi.png


And here is the config txt. itself:

t758OLe.png


I'd like to know how I can fix the obsolete containers (and the empty sound container) to bring it up to date with my version of 19. Any advice would be most appreciated!
 
Last edited:
It would be best if the author fixed it. I can give you a quick and easy solution.
You have to remove all the notices in red in the config.tex
Delete the following lines in the config.tex:
Code:
type                     "Cranes"
category-region-0        "AU"
category-region-1        "US"
category-region-2        "UK"
category-era-0           "1980s"
category-era-1           "1990s"
category-era-2           "2000S"
region                   "Custom"
Check if there is a sound file in the root folder called: secrane.wav
If it doesn't exist, delete in config.tex:
Code:
soundscript
{
 dayloop
 {
 repeat-delay              0,0
 distance                 20,60


 sound
 {
  secrane.wav
 }
}
}

Close and confirm the changes and validate.
 
It's actually a packaged Payware asset in TANE and TRS19 and a TS12 Builtin from ECML Kings Cross - Newcastle and is working OK here in TRS19, looks more like a revert to original issue, v3 is not on the DLS only packaged. Packaged stuff has it's errors and warning suppressed (never figured out how they do that) so messing with them is bad idea.

The sound file exists in TS12 and TRS19 here.

Deleting the obsoletes will cause errors for missing Category-region and Category-era and category-class is also missing

so those need adding to the config.txt

Code:
Category-region      "AU;US;UK"
Category-era          "1980s;1990s;2000s"
category-class        "BI"
 
Last edited:
Me thinks;

privileges
{
is-payware-content 1
}

I would pick a different asset to play with, it might be easier
 
Last edited:
Here are the correct 'new' catagory tags for config.txt files;

Code:
category-region                         "00"
category-era                            "1970s;1980s;1990s;2000s;2010s;2020s;"

Remove all the rest IMO
 
In my first answer I had not realized that it is an internal and packaged payment object in Trainz 2019.
<kuid2:60238:27106:3> Selferecting Tower Crane
Forget the repair tips I've given you
You shouldn't handle internal objects, they become bad, return it to its original state and you won't get any errors.
 
In my first answer I had not realized that it is an internal and packaged payment object in Trainz 2019.

The asset isn't payware, I downloaded it off the DLS.
JQti1is.png


Also, what should I do if I have the .wav file in the folder?

EDIT: Nevermind, I had a brainfart and missed some important info. I'll try reverting to original first
 
Last edited:
EDIT: Nevermind, I had a brainfart and missed some important info. I'll try reverting to original first

Okay, it didn't work. It's still faulty and I can't revert it back further. I'm gonna try editing the config again with Christopher's fix.
Also, My question about the .wav still stands. What should I do?
 
Last edited:
From what I see in your timeline you have TRS2019 Platinum, the object in question is internal to Platinum and is a dependency of the route <kuid2:154322:101483:23> ECML Kings Cross - Edinburgh, you must not have installed the route since that object goes with it and has no errors.
The kuid version 3 that you show in your images does not exist in the DLS, there is only 0,1 and 2.
I have downloaded version2: <kuid2:60238:27106:2> installed and checked and it does not have any errors in 2019.
I don't understand what is happening, maybe your asset is corrupt, reinstall it or download version 2.
 
Unless the edits don't work when I submit, I'm fine with the version I have right now. I just need to know what to do with the sound tag since I do have the wav file.
 
I don't know how to fix something that I don't have broken, my version of that kuid 2 and 3 work for me without problems. As I have said before, download version 2 and manually change to version 3 and replace the one with errors.
 
How do I "manually" change 2 to 3 though? It can't be as simple as just retyping the kuid with the current number surely.
 
How to change a kuid2 version 2 to another version 3.

If you are not familiar with handling files and folders with windows it is better not to touch anything.
Avoid having assets in open edition and especially the one that we are going to manipulate.

1-Download and install the kuid: <kuid2:60238:27106:2> Selferecting Tower Crane
2-Find it in the content organizer / select / Open / Show in explorer
3-In the explorer window that has opened, copy all the content to a new folder in a different place, for example the desktop.
4-In that new folder that you have created, look in the config.tex for the line that says:
kuid <kuid2:60238:27106:2>
and change it to:
kuid <kuid2:60238:27106:3>
Close and validate.
5-Import or drag that new folder to your content organizer.
6- <kuid2:60238:27106:3> will appear in open edition, select it and submit Edits

If you have followed all the steps correctly you will have the <kuid2:60238:27106:3> without errors and you will be able to enjoy it.
 
I followed this step by step and it did indeed show up. I think I'll try this method for any asset with a similar problem- Thank you so much!
jFwGVaA.png
 
Last edited:
Back
Top