Page 1 of 1

How to reset Star Coins Collected during level testing

Posted: Sat Jan 02, 2021 1:29 am
by Animebryan
When I'm testing my new levels, I always make sure it's possible to complete the level while collecting all Star Coins & the Star. How do I reset the Star Coins Collected after collecting them all? Is there a file in which that data is stored?

Re: How to reset Star Coins Collected during level testing

Posted: Sat Jan 02, 2021 4:24 pm
by Hoeloe
Delete save-0-ext.dat.

Re: How to reset Star Coins Collected during level testing

Posted: Sun Jan 03, 2021 4:09 am
by Animebryan
Where would that file be located? I just did a folder search for that name in the entire SMBX2 Beta 4 Patch 3 folder & nothing came up.

Re: How to reset Star Coins Collected during level testing

Posted: Sun Jan 03, 2021 5:09 am
by Suckerman7 GM
Animebryan wrote:
Sun Jan 03, 2021 4:09 am
Where would that file be located? I just did a folder search for that name in the entire SMBX2 Beta 4 Patch 3 folder & nothing came up.
Whenever you test a level in your episode folder, a file called progress.json appears, which tracks your score, and Star Coins you collected in levels. Deleting that resets your score and star coins you collected in any level you tested.

Re: How to reset Star Coins Collected during level testing

Posted: Sun Jan 03, 2021 6:24 am
by Emral
Suckerman7 GM wrote:
Sun Jan 03, 2021 5:09 am
Animebryan wrote:
Sun Jan 03, 2021 4:09 am
Where would that file be located? I just did a folder search for that name in the entire SMBX2 Beta 4 Patch 3 folder & nothing came up.
Whenever you test a level in your episode folder, a file called progress.json appears, which tracks your score, and Star Coins you collected in levels. Deleting that resets your score and star coins you collected in any level you tested.
Progress.json only tracks achievement progress.

Re: How to reset Star Coins Collected during level testing

Posted: Sun Jan 03, 2021 12:05 pm
by Hoeloe
Animebryan wrote:
Sun Jan 03, 2021 4:09 am
Where would that file be located? I just did a folder search for that name in the entire SMBX2 Beta 4 Patch 3 folder & nothing came up.
It'll be in your episode folder.

Re: How to reset Star Coins Collected during level testing

Posted: Mon Jan 04, 2021 2:13 am
by Animebryan
It's not there. Folder search turns up nothing. For the record, I have 'hidden' files set to show.

Re: How to reset Star Coins Collected during level testing

Posted: Tue Jan 05, 2021 1:53 am
by Hoeloe
I mistyped. It's save0-ext.dat. Only one dash. That's probably thrown off your search. In future, you can just start typing directly into the file explorer to navigate to the first file that matches what you just typed - if you know which particular folder something is in, there's no reason to do a search.

Re: How to reset Star Coins Collected during level testing

Posted: Tue Jan 05, 2021 4:55 pm
by Animebryan
Hoeloe wrote:
Tue Jan 05, 2021 1:53 am
I mistyped. It's save0-ext.dat. Only one dash. That's probably thrown off your search. In future, you can just start typing directly into the file explorer to navigate to the first file that matches what you just typed - if you know which particular folder something is in, there's no reason to do a search.
I just searched not only my entire episode folder but I entered it into my computer's start menu search bar. It simply doesn't exist.

Re: How to reset Star Coins Collected during level testing

Posted: Wed Jan 06, 2021 2:38 pm
by Hoeloe
Then your data isn't saved. Simple as that. In the editor, Test > LunaTester > Terminate Running Process, will close the current testing session and clear any unsaved data. If it still doesn't work after that then you didn't look hard enough because that file must exist if starcoins are loading data between play sessions.

Re: How to reset Star Coins Collected during level testing

Posted: Wed Jan 06, 2021 8:03 pm
by Animebryan
Ok, it was keeping the Star Coins during the session, but when closed & opened again (or through the Terminate Running Process), the Star Coins count is cleared. At least that resolves my issue. Thanks!

Re: How to reset Star Coins Collected during level testing

Posted: Wed Jan 06, 2021 10:30 pm
by Hoeloe
If it helps, another shortcut you can use for the same thing is to hit Tab during a play session to open the console, and type:

Code: Select all

SaveData.clear()
GameData.clear()
Those two commands will wipe the local saved data.