Problem creating custom grand prix

Problem creating custom grand prix

Postby dubdub » 26 May 2014, 20:27

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!
dubdub
 
Posts: 3
Joined: 26 May 2014, 20:16

Re: Problem creating custom grand prix

Postby Arthur » 27 May 2014, 15:13

Hi, could you post your file or just copy the contents so we can have a look?
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Re: Problem creating custom grand prix

Postby dubdub » 28 May 2014, 03:16

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>
dubdub
 
Posts: 3
Joined: 26 May 2014, 20:16

Re: Problem creating custom grand prix

Postby WillemS » 28 May 2014, 10:00

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”
WillemS
 
Posts: 81
Joined: 03 Nov 2012, 17:42

Re: Problem creating custom grand prix

Postby dubdub » 29 May 2014, 01:05

Thank you so much! That's what the issue was, but now it's fixed. Thanks again!
dubdub
 
Posts: 3
Joined: 26 May 2014, 20:16

Who is online

Users browsing this forum: Bing [Bot] and 1 guest