Go Back   Flash Flash Revolution > Gaming > Stepmania
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 10-16-2016, 01:19 PM   #1
YoshL
Celestial Harbor
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
YoshL's Avatar
 
Join Date: Aug 2008
Location: Celestial Harbor
Age: 30
Posts: 6,156
Send a message via AIM to YoshL Send a message via MSN to YoshL Send a message via Skype™ to YoshL
Default 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.
__________________


Quote:
Originally Posted by Charu View Post
Only yours, for an easy price of $19.99! You too can experience the wonders of full motion rump sticking.
YoshL is offline   Reply With Quote
Old 10-16-2016, 11:17 PM   #2
shenjoku
Wubalubadubdub
FFR Veteran
 
shenjoku's Avatar
 
Join Date: May 2005
Age: 36
Posts: 1,697
Default 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..
shenjoku is offline   Reply With Quote
Old 10-16-2016, 11:28 PM   #3
Dinglesberry
longing
FFR Veteran
 
Dinglesberry's Avatar
 
Join Date: Dec 2007
Location: Ontario, Canada
Posts: 2,680
Default 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
Dinglesberry is offline   Reply With Quote
Old 10-16-2016, 11:47 PM   #4
shenjoku
Wubalubadubdub
FFR Veteran
 
shenjoku's Avatar
 
Join Date: May 2005
Age: 36
Posts: 1,697
Default Re: Importing scores into stepmania profile

Quote:
Originally Posted by Dinglesberry View Post
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.
Doesn't look to be that simple. It's all mapped by the player GUID. An easy test would be to make sure all of the <PlayerGuid> elements match the <Guid> element at the top of the Stats.xml file.

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
shenjoku is offline   Reply With Quote
Old 10-26-2016, 01:24 AM   #5
mwes
FFR Player
 
Join Date: Jun 2008
Location: From the holy sea of golden flame
Posts: 58
Default 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?
mwes is offline   Reply With Quote
Old 10-26-2016, 08:35 AM   #6
YoshL
Celestial Harbor
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
YoshL's Avatar
 
Join Date: Aug 2008
Location: Celestial Harbor
Age: 30
Posts: 6,156
Send a message via AIM to YoshL Send a message via MSN to YoshL Send a message via Skype™ to YoshL
Default 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

/
__________________


Quote:
Originally Posted by Charu View Post
Only yours, for an easy price of $19.99! You too can experience the wonders of full motion rump sticking.
YoshL is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:08 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution