Page 1 of 1

Timing Gates Deleting

Posted: Sat Jul 02, 2022 8:08 pm
by supercrosspig
When making tracks I constantly have all my timing gates randomly get deleted. I make sure to only have the timing gate file or MX Sim open one at a time and they still will do it. Really tired of having to redo my timing gates 5 times on every track.

Re: Timing Gates Deleting

Posted: Sun Jul 03, 2022 1:11 am
by jlv
Why don't you make a backup copy of the timing gates file?

Re: Timing Gates Deleting

Posted: Sun Jul 03, 2022 1:42 am
by supercrosspig
I can't figure out why but if I copy and paste the same gates it still doesn't work. I can have all the timing gates listed in the file but when I load in game they aren't there. I can't find anything that gets changed with the file, no changes to the format, all numbers have 6 decimals, brackets are same. It's like it just corrupts those set of numbers. Only solution is to put a new timing gate file in with different timing gate locations and redo.

Re: Timing Gates Deleting

Posted: Mon Jul 04, 2022 1:19 am
by jlv
Are you using the "%localappdata%\MX Simulator" folder? The game saves in that folder and files in that folder take precedence over the install folder. So if you have your track files in "C:\Program Files\MX Simulator" the game will ignore any changes in that folder once you've saved the track in the game.

Re: Timing Gates Deleting

Posted: Mon Jul 04, 2022 5:21 am
by supercrosspig
I am. I know my way around the track editor and the files associated with it pretty well and am pretty sure I'm not looking something over on my end. I've grabbed timing gate files from other tracks and they work, but when i copy paste my gates into the file they don't appear. My only solution right now is to place the timing gates, take a picture of where I put them, set up the firstlap and normallap, go back and replace the gates, and then save and exit editor without ever hitting save or opening the file again.

Re: Timing Gates Deleting

Posted: Tue Jul 05, 2022 1:30 am
by jlv
What does the timing gate file look like after it's been corrupted?

Re: Timing Gates Deleting

Posted: Tue Jul 05, 2022 2:25 am
by supercrosspig
Like a normal timing gate file. The starting gates still work. Just no timing gates in game even though they are formatted correctly. Like these timing gates aren't showing in game:

Image

Re: Timing Gates Deleting

Posted: Wed Jul 06, 2022 1:21 am
by jlv
Why not post the entire file? Just copy and paste it.

Re: Timing Gates Deleting

Posted: Wed Jul 06, 2022 8:29 pm
by supercrosspig

Re: Timing Gates Deleting

Posted: Wed Jul 06, 2022 8:36 pm
by supercrosspig
The only thing I could think of is maybe theres something wrong with the version of notepad++ I'm on but I opened it with normal notepad and it did the same. One of those might have an empty line you have to delete, I was trying something and forgot to delete the space.

Re: Timing Gates Deleting

Posted: Thu Jul 07, 2022 3:21 am
by jlv
There's a blank line before "checkpoints:" in the first file. The second file has too short of a first lap. It needs to be at least 3 gates long.

Re: Timing Gates Deleting

Posted: Thu Jul 07, 2022 6:04 pm
by supercrosspig
The less than 3 gates thing fixed one of the files, thank you. The other one, like I said in the above one, the timing gates aren't appearing still.

Re: Timing Gates Deleting

Posted: Fri Jul 08, 2022 1:22 am
by jlv
Did you delete the blank line? I agree it does need better error messages.

Re: Timing Gates Deleting

Posted: Fri Jul 08, 2022 5:21 am
by supercrosspig
yeah i deleted it and it didn't seem to work. I just redid them using another timing gate file so now it's working. It's not the biggest deal but occasionally the timing gates will randomly delete, especially if you have the file open.