Page 1 of 1

Cross-City Line : Scenario Help Needed !

Posted: Thu Apr 01, 2021 12:09 am
by shinymac
Hi All

Can anyone tell me why the default career scenarios that come with this route, all show up in an RW Tools "check of the route". But when I go to the "Edit Scenarios" tab, none of them show up ? I am wanting to move them from "Career" to "Standard Scenarios".

Thanks

Derek

Re: Cross-City Line : Scenario Help Needed !

Posted: Thu Apr 01, 2021 4:51 am
by ahunter1984
You need to extract the ScenarioProperties.xml before they'll show up.

Re: Cross-City Line : Scenario Help Needed !

Posted: Thu Apr 01, 2021 10:44 am
by shinymac
Hi ahunter

Thanks for the reply. However, whilst I have occasionally had to manually extract any "ap" files with certain add ons in the past...I have NEVER in the whole history of owning TS, had to extract an "xml" file ??? How do I do this, and why should it have to be done in this particular route and never ever with any other TS route I have owned in the past ?

Thanks

Derek

Re: Cross-City Line : Scenario Help Needed !

Posted: Thu Apr 01, 2021 11:24 am
by 749006
I think what Shunter was trying to say is the xml needed extracting from the *.ap file
The file itself does not need amending

Are you running RW Tools or the newer TS Tools?
They are similar but not identical as TS Tools needs the Route Building Tools > Index Route Properties running otherwise you don't see the Scenarios
Also Scenarios need to be cloned in the Route Building Tools section - not in Scenarios

Peter

Re: Cross-City Line : Scenario Help Needed !

Posted: Thu Apr 01, 2021 12:33 pm
by gptech
shinymac wrote: Thu Apr 01, 2021 10:44 am I have NEVER in the whole history of owning TS, had to extract an "xml"file
Ever edited a Career Scenario before?

Re: Cross-City Line : Scenario Help Needed !

Posted: Thu Apr 01, 2021 1:14 pm
by ahunter1984
shinymac wrote: Thu Apr 01, 2021 10:44 am Hi ahunter

Thanks for the reply. However, whilst I have occasionally had to manually extract any "ap" files with certain add ons in the past...I have NEVER in the whole history of owning TS, had to extract an "xml" file ??? How do I do this, and why should it have to be done in this particular route and never ever with any other TS route I have owned in the past ?

Thanks

Derek
"Why should it have to?"

Because this is how TSTools works. It cannot see what's inside the .ap archives, and therefore you need to extract the Scenario properties for them to be listed. Open TSTools, then click on Scenarios then click on Extract ScenarioProperties.xml and all will be well.

Re: Cross-City Line : Scenario Help Needed !

Posted: Thu Apr 01, 2021 1:56 pm
by ashgray
Derek

The means of cloning a career scenario into a standard one is in the TS-Tools "Route Building Tools"/ "Check Routes or Scenarios" menu, not in "Edit Scenarios". As has been said above, you can only do this once you have extracted the relevant RouteProperties.xml from a route where this is contained within an ap archive.

Ash

Re: Cross-City Line : Scenario Help Needed !

Posted: Thu Apr 01, 2021 2:52 pm
by gptech
Or just clone it with the game's editor, which deals with the extraction of the files and then convert using RW Tools.

You could even do it manually in the ScenarioProperties.xml file by changing

Code: Select all

<ScenarioClass d:type="cDeltaString">eCareerScenarioClass</ScenarioClass>
to

Code: Select all

<ScenarioClass d:type="cDeltaString">eStandardScenarioClass</ScenarioClass>
using your .xml editor of choice---RW Tools, Notepad (and any derivatives) or a dedicated .xml editor.

A manual edit would also allow you to change the scenario marker from Career to Standard, and slim down the file by removing the Career rules section, replacing

Code: Select all

<CareerRules>
             <cCareerRules d:id="1391739800">
                  <Parent>
          
loads of lines right down to:

</CareerRules>
with

Code: Select all

<CareerRules>
     <d:nil/>
</CareerRules>

Re: Cross-City Line : Scenario Help Needed !

Posted: Thu Apr 01, 2021 7:52 pm
by shinymac
Hi Again Guys

Please wait whilst I hide under my kitchen table and go bright red with embarrassment.....I think I was looking at the wrong route in RW Tools !!!

The route that I was looking at that didnt display any career scenarios in,was in my inventory called "(DPS) Birmingham Cross City". But tonight I realised that there was a route further down my list called "Birmingham Cross City". Now..for the sharp eyed....try spotting the difference ?

QUITE ! So when I clicked on "Birmingham Cross City" to edit the scenarios...up all the career ones popped ! So I simply clicked on
"Make selected Career Scenarios Standard", and the colour of the writing immediately changed from Red to Black.I have now checked and they are all there in standard. (So I dont have to spend the entire journey focused rigidly on the speedo and ensuring I dont go more than 1 mph above the speed limit and "lose points").

I did think it was odd, as I was sure I had changed other career scenarios to standard in other routes in the past, and all I had to do was to click on the "Make Selected Career Scenarios Standard" button, and not carry out this "xml" process that many of you had suggested I need to do.

So, even though I will cringe with embarrassment now, I will give all you helpers a "nil points" for not spotting my howling mistake...lol lol lol.

Thank You

Derek

Re: Cross-City Line : Scenario Help Needed !

Posted: Thu Apr 01, 2021 8:31 pm
by gptech
shinymac wrote: Thu Apr 01, 2021 7:52 pm this "xml" process
It's not a special "xml" process Derek, the files that need to be extracted from a .ap archive have the extension .xml so it's different to extracting a .bin file.

RW Tools needs a route's RouteProperties.xml extracting before it can display the route, and likewise a scenario's ScenarioProperties.xml needs to be extracted for that scenario to be "seen" by RW Tools.
Have you been extracting the entire contents of .ap archives previously?