Description:
6.03.00057 Quicker course loading
Modified the format of the saved course file for quicker
loading (I imply actually quicker, programs with 60,000
waypoints now load in just a few seconds, saving is slightly slower
however must be considerably quicker).
This model can load the previous format information however at all times
saves the course utilizing the brand new format (new format information
have model=”2″ within the first line).
You should use the console command cpUgradeAllCourses to
improve all saved programs to the brand new, quicker format.
Run it proper after the savegame is loaded and make
certain you make a backup of your programs earlier than!
This new format will break any exterior device which
depends on loading/saving the course XML information.
The brand new format:
Use a single XML node for all waypoints
Every waypoint is separated by a ‘|’ and a brand new line,
latter for visibility solely
Waypoint attributes are separated by ‘;’
See the Course.serializeWaypoints() operate in
Waypoint.lua for the main points.
Credit:
pvaiko