Page 1 of 1
Problem creating custom grand prix

Posted:
26 May 2014, 20:27
by dubdub
I saw some of the information on here about how to create a custom grand prix, and I followed those steps exactly but it's not working for me. The new one I tried to create doesn't appear in the game, and if I try to edit one of the existing ones, it disappears from within the game. Also, when I opened it up from the exec file, in terminal it says...
"[error ] GrandPrixData: Error while trying to read grandprix file 'grandprix/5_alltracks.grandprix' : Root node has an unexpected name
[error ] GrandPrixManager: Ignoring GP grandprix/5_alltracks.grandprix ( File contents are incomplete or corrupt ) "
If someone could help me, that'd be great!
Re: Problem creating custom grand prix

Posted:
27 May 2014, 15:13
by Arthur
Hi, could you post your file or just copy the contents so we can have a look?
Re: Problem creating custom grand prix

Posted:
28 May 2014, 03:16
by dubdub
Yep, here it is.
<supertuxkart_grand_prix name=“All Tracks”>
<track id=“city” laps=“2” reverse="false" />
<track id=“farm” laps="3" reverse="false" />
<track id="fortmagma" laps="3" reverse="false" />
<track id=“greenvalley” laps="3" reverse="false" />
<track id=“hacienda” laps=“3” reverse="false" />
<track id=“islandtrack” laps=“3” reverse="false" />
<track id=“jungle” laps=“2” reverse="false" />
<track id="lighthouse" laps="4" reverse="false" />
<track id=“mansion” laps=“3” reverse="false" />
<track id=“mines” laps=“3” reverse="false" />
<track id=“minigolf” laps=“3” reverse="false" />
<track id=“olivermath” laps=“4” reverse="false" />
<track id=“sandtrack” laps=“3” reverse="false" />
<track id=“scotland” laps=“3” reverse="false" />
<track id=“snowmountain” laps=“3” reverse="false" />
<track id=“snowtuxpeak” laps=“3” reverse="false" />
<track id=“startrack” laps=“3” reverse="false" />
<track id=“subsea” laps=“2” reverse="false" />
<track id=“xr591” laps=“3” reverse="false" />
<track id=“zengarden” laps=“3” reverse="false" />
</supertuxkart_grand_prix>
Re: Problem creating custom grand prix

Posted:
28 May 2014, 10:00
by WillemS
It seems like the quotes are replaced by "smart quotes". I guess that causes STK to not read the file correctly.
Normal quotes: "text"
Smart quotes: “text”
Re: Problem creating custom grand prix

Posted:
29 May 2014, 01:05
by dubdub
Thank you so much! That's what the issue was, but now it's fixed. Thanks again!