10-16-2016, 01:19 PM | #1 |
Celestial Harbor
|
Importing scores into stepmania profile
I renamed my profile on stepmania, and found that by doing that, it also resets all the profile stats/scores.
I tried importing my machine profile stats back into the local profile, and the majority of the scores were corrupted (showing random quads, or disqualified AAs because of weird notecounts, etc. etc.) There exists the Upload folder which contains an .xml file of every single score that i've gotten individually, and was wondering if anyone had written a tool or something of the sort to consolidate all of the files, so that i can recover like 2 years worth of scores. Either that, or if someone has an easier reference to the stats.xml structure, because it's confusing as hell to look at. |
10-16-2016, 11:17 PM | #2 |
Wubalubadubdub
Join Date: May 2005
Age: 37
Posts: 1,697
|
Re: Importing scores into stepmania profile
How did you rename the profile? Manual edit of the XMLs or something?
EDIT: Oh, I just realized there's an option in the game menus to rename it. And that rename corrupted it somehow? That's not good Do you have an older version of it before the rename? If you can diff the old file against the new file maybe you can figure out what got screwed up.
__________________
boop Last edited by shenjoku; 10-16-2016 at 11:26 PM.. |
10-16-2016, 11:28 PM | #3 |
longing
Join Date: Dec 2007
Location: Ontario, Canada
Posts: 2,680
|
Re: Importing scores into stepmania profile
Perhaps the profile name is tied to the scores, in which case I'd say try to:
1. Perhaps you need to find all the old occurances of your old name and change them to the new name in the XML file makes the scores reappear? I'm guessing scores are linked to the name, maybe you only changed it for the current profile, so as far as stepmania is concerned, that name has no scores. 2. I'd say maybe try to get a score on a song on the new profile on a song you have played before, and see how the XML file differs for that song. If not, could always load the XML file as an array and dump it lol, if the structure is confusing. Unfortunately I'm too sick of programming at the moment and not on my pc, I might look tomorrow if I remember. I'd imagine you would be able to change the number of perfects etc as well if you figured out the format, gg fake scores but w/e |
10-16-2016, 11:47 PM | #4 | |
Wubalubadubdub
Join Date: May 2005
Age: 37
Posts: 1,697
|
Re: Importing scores into stepmania profile
Quote:
One way to fix: Copy the value of the <Guid> element near the top. If you have some program like Notepad++ that can do a regex find and replace then it should be as simple as doing the following: Find what: <PlayerGuid>[A-Za-z0-9]+</PlayerGuid> Replace with: <PlayerGuid>YourGuidHere</PlayerGuid> If that doesn't actually change anything then it's not the problem, but if it says that it replaced a bunch of stuff, then it might fix it. Worth a shot I suppose.
__________________
boop |
|
10-26-2016, 01:24 AM | #5 |
FFR Player
Join Date: Jun 2008
Location: From the holy sea of golden flame
Posts: 58
|
Re: Importing scores into stepmania profile
maybe unrelated but is there any way i can merge two profiles together? I've got an old profile at like 5.0.11 and i play 5.1 right now . Can those scores be transferred?
|
10-26-2016, 08:35 AM | #6 |
Celestial Harbor
|
Re: Importing scores into stepmania profile
when i say wiped, i mean that stats.xml was completely reset.
machine.xml was populated with auto generated bs scores, so wasn't actually a backup i made a parser to read in all my other scores from the upload folder / |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|