Skip navigation.
Home

Import of MRC and ERG files have wrong times

Assigned to:Ransom
Created:Karman at Tue, 2015-09-01 15:15
Status:Resolved (Bug / Priority Normal)
Case ID:IMobileIntervals iphone application: 503-34821
Last modified:Tue, 2015-09-01 21:31

Hi,

trying to import new angels 2015 sufferfest file in erg or mrc format but in erg the times are all wrong and with mrc no times are imported. the % values are done correctley though

Thanks
Liaan

################################

[COURSE HEADER]
VERSION = 2
UNITS = ENGLISH
DESCRIPTION = SUFFERFEST - ANGELS 2015
FILE NAME = ANGELS_2015.MRC
MINUTES PERCENT
[END COURSE HEADER]
[COURSE DATA]
"0.00 56 Start"
"2.00 56
2.00 66 Warm-Up"
"3.50 66
3.50 85 Let's Move"
"4.52 85
4.52 90 A Little More"
"5.78 90
5.78 95 Ramp It Up"
"6.80 95
6.80 105 Accelerate"
"7.13 105
7.13 95 Catch your Breath"
"7.80 95
7.80 85 Calm Down"
"8.50 85
8.50 95 Under - 1/10"
"9.50 95
9.50 105 Over - 2/10"
"10.50 105
10.50 95 Under - 3/10"
"11.50 95
11.50 105 Over - 4/10"
"12.50 105
12.50 95 Under - 5/10"
"13.50 95
13.50 105 Over - 6/10"
"14.50 105
14.50 95 Under - 7/10"
"15.50 95
15.50 105 Over - 8/10"
"16.50 105
16.50 95 Under - 9/10"
"17.50 95
17.50 105 Over - 10/10"
"18.50 105
18.50 56 Relax"
"21.50 56
21.50 90 Climb 1"
"22.07 90
22.07 100 Getting Steeper"
"22.92 100
22.92 105 Stay With Them"
"23.95 105
23.95 114 Don't Let Him Get Your Wheel"
"24.73 114
24.73 95 Settle Down"
"25.32 95
25.32 100 Back Up"
"25.70 100
25.70 109 Stay With The Attack"
"26.27 109
26.27 100 Steady Power"
"27.78 100
27.78 105 Arrrrh!"
"29.23 105
29.23 124 Sprint"
"29.50 124
29.50 56 Recover"
"33.50 56
33.50 90 Climb 2"
"33.63 90
33.63 114 Attack"
"33.83 114
33.83 95 Sit In"
"34.27 95
34.27 100 Chase Him"
"36.33 100
36.33 95 Got Him"
"36.65 95
36.65 114 He's Going Again"
"36.87 114
36.87 105 Power Climb"
"38.17 105
38.17 109 Fight!"
"40.45 109
40.45 114 Crap! Attack!"
"40.65 114
40.65 109 Grovel"
"41.50 109
41.50 56 Recover"
"45.50 56
45.50 105 Climb 3"
"45.97 105
45.97 114 Attack"
"46.22 114
46.22 105 Suck It Up"
"47.18 105
47.18 109 Close That Gap"
"47.43 109
47.43 105 Nice Work"
"47.83 105
47.83 114 Boom!"
"48.07 114
48.07 105 No crying!"
"48.63 105
48.63 114 Attack"
"48.85 114
48.85 105 Settle"
"49.12 105
49.12 114 Attack"
"49.27 114
49.27 105 Settle"
"49.82 105
49.82 114 WTF!?"
"49.98 114
49.98 105 Get Control"
"50.20 105
50.20 95 You're Blocked"
"50.45 95
50.45 109 Get Back To Them"
"51.08 109
51.08 100 Pull It Together"
"51.52 100
51.52 105 Crush Them"
"52.52 105
52.52 114 The Joy Of Suffering"
"52.75 114
52.75 105 Concentrate"
"53.15 105
53.15 114 Drop Him!"
"53.50 114
53.50 56 Cool Down"
"56.90 56
56.90 109 Finish"
[END COURSE DATA]

erg file trouble

Status: Open » Resolved

I'm no expert in ERG files, but I've never seen the course data quoted before.

I've added code to strip quotes so if you try it again, it will work now.

Also, I've never seen the interval description added in the course data line, but hey that's great, and I've added code to parse that into the interval also.

These fixes are only for the server, not the direct app ERG import, of course.