Mass conversion of scenarios?

Help and support forum for Mike Simpson's RW Tools

Moderator: mikesimpson

Mass conversion of scenarios?

Unread postby _o_OOOO_oo-Kanawha » Sat Oct 18, 2014 9:32 am

Is it possible to mass convert all scenarios for a route from career to standard or from workshop to standard in one go, instead of one by one?
Edwin "Kanawha"
Image
The Chessie, the train that never was ... (6000 hp Baldwin-Westinghouse steam turbine electric)
User avatar
_o_OOOO_oo-Kanawha
 
Posts: 3231
Joined: Mon Nov 14, 2011 2:12 pm

Re: Mass conversion of scenarios?

Unread postby Chacal » Sat Oct 18, 2014 12:22 pm

probably, using the search and replace function in RW-Tools.
Otherwise you'd have to program a script. VBscript is good because it has built-in functions for treating XML.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6492
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Mass conversion of scenarios?

Unread postby mikesimpson » Sat Oct 18, 2014 5:56 pm

I can't think of an easy way to do this in RW_Tools. However, if you have a decent file utility like Directory Opus, you can display a list of all your Scenario Properties.xml files at once, then use a text editor like UltraEdit which has a 'Replace in all selected files' option to replace 'eCareerScenarioClass' with 'eStandardScenarioClass' in all files.

Similar for Workshop.

Mike
mikesimpson
 
Posts: 364
Joined: Sun Feb 15, 2009 4:49 pm


Return to RW Tools

Who is online

Users browsing this forum: No registered users and 1 guest