Importing scores into stepmania profile

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • YoshL
    Celestial Harbor
    FFR Simfile Author
    FFR Music Producer
    • Aug 2008
    • 6156

    #1

    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.


    Originally posted by Charu
    Only yours, for an easy price of $19.99! You too can experience the wonders of full motion rump sticking.
  • shenjoku
    Wubalubadubdub
    • May 2005
    • 1697

    #2
    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.
    Last edited by shenjoku; 10-16-2016, 10:26 PM.
    boop

    Comment

    • Dinglesberry
      longing
      • Dec 2007
      • 2679

      #3
      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

      Comment

      • shenjoku
        Wubalubadubdub
        • May 2005
        • 1697

        #4
        Re: Importing scores into stepmania profile

        Originally posted by Dinglesberry
        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

        Comment

        • mwes
          FFR Player
          • Jun 2008
          • 58

          #5
          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?





          Comment

          • YoshL
            Celestial Harbor
            FFR Simfile Author
            FFR Music Producer
            • Aug 2008
            • 6156

            #6
            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

            /


            Originally posted by Charu
            Only yours, for an easy price of $19.99! You too can experience the wonders of full motion rump sticking.

            Comment

            Working...