Permitted size of custom workout files

Doing hard intervals you want to turn ERG off … you need this much text to do one interval with screen text:

	<FreeRide Duration="10" FlatRoad="1">
	<textevent timeoffset="0" message="ERG should turn off automatically"/>
	<textevent timeoffset="5" message="Start winding up ......"/>
            </FreeRide>
	<FreeRide Duration="30" FlatRoad="1">
            <textevent timeoffset="0" message="SPRINT !!!"/>
	</FreeRide>
	<FreeRide Duration="10" FlatRoad="1">
	<textevent timeoffset="0" message="Recovery, ERG will re-engage shortly"/>
	<SteadyState Duration="250" Power="0.65">
	</SteadyState>

You can’t next that code in a repeat / interval instruction, so you have to paste it as many times as you want to do intervals.

That makes the workout (.zwo) file too large to load. It took about a week of emails with Zwift support to conclude that file size was the problem (not a syntax bug).

I made the text as follows, repeated six times. That reduced the file size so that it uploaded.

	<FreeRide Duration="50" FlatRoad="1">
            <textevent timeoffset="10" message="SPRINT !!!"/>
	</FreeRide>
	<SteadyState Duration="250" Power="0.65">
	</SteadyState>

Not sure of the exact limit on file size but it looks like if Windows has it as 2k then it’s fine, if Windows has it as 4k then it isn’t.

Zwift support suggested I post on here to get support for increasing the permitted file size.

Changing the control to a total of 50k of workout files per user would seem a logical fix.

Rob Barrett - R. FloatAero (Cryo-Gen … ) Zwift I.D.