Cross-City Line : Scenario Help Needed !

General discussion about Train Simulator, your thoughts, questions, news and views!

Moderator: Moderators

Post Reply
shinymac
Very Active Forum Member
Posts: 1187
Joined: Tue Jan 01, 2002 12:00 am

Cross-City Line : Scenario Help Needed !

Post 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
User avatar
ahunter1984
Getting the hang of things now
Posts: 37
Joined: Thu Dec 29, 2016 8:50 am

Re: Cross-City Line : Scenario Help Needed !

Post by ahunter1984 »

You need to extract the ScenarioProperties.xml before they'll show up.
shinymac
Very Active Forum Member
Posts: 1187
Joined: Tue Jan 01, 2002 12:00 am

Re: Cross-City Line : Scenario Help Needed !

Post 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
User avatar
749006
Very Active Forum Member
Posts: 9862
Joined: Fri Mar 30, 2012 11:17 am
Location: England
Contact:

Re: Cross-City Line : Scenario Help Needed !

Post 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
http://peter749.piwigo.com/
My Railway Pictures
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Cross-City Line : Scenario Help Needed !

Post 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?
User avatar
ahunter1984
Getting the hang of things now
Posts: 37
Joined: Thu Dec 29, 2016 8:50 am

Re: Cross-City Line : Scenario Help Needed !

Post 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.
User avatar
ashgray
Wafflus Maximus
Posts: 12235
Joined: Sun Jan 09, 2005 3:25 pm
Location: GWR, Nailsea, Somerset

Re: Cross-City Line : Scenario Help Needed !

Post 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
Ashley Gray

Intel Core i7-7700K @ 4.2Ghz Quad Core, Gigabyte Gaming Motherboard, 2 x 512Gb SSDs + 1TB SATA drives,
16 Gb DDR-4 Corsair RAM, Nvidia GeForce GTX1060 6Gb RAM, ASUS Xonar D2X/XDT Soundcard, Windows 10 64 bit
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Cross-City Line : Scenario Help Needed !

Post 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>
shinymac
Very Active Forum Member
Posts: 1187
Joined: Tue Jan 01, 2002 12:00 am

Re: Cross-City Line : Scenario Help Needed !

Post 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
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Cross-City Line : Scenario Help Needed !

Post 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?
Post Reply

Return to “[TS] General Discussion”