The Meaning of Life, the Universe, and Everything.
Join Date:
4/13/2019
Posts:
143
Minecraft:
toydotgame
Member Details
Hi, I play Minecraft 1.6; which has a different statistics format and the stats are saved in ".minecraft\stats" They've got a checksum and other verifaction methods too. I'm looking for someone who knows a bit more than me about this.
I have changed user accounts on my PC, and migrated my clients, launcher, textures, options, and saves. But my stats didn't. I noticed that about a month after moving accounts. Luckily, I had an old backup of my player stats. I moved "stats_toydotgam_undent.dat" to my new "stats" folder, but upon launching Minecraft, the file gets overwritten with a blank stats set.
I've tried editing the checksums and the last modified, accessed, and created dates of the file again and again but nothing is working and Minecraft keeps overwriting it.
I've been mining the End dimension and had about 870,000 End Stone mined as of the account move; and I would like to make sure I get those stats across. (Along with the few thousand hours playtime. Half to brag and half to have that data in my client)
Is there a way to add my old stats back into the game? If so, help is much appreciated. :-)
Rollback Post to RevisionRollBack
Minecrafter since 2013.
Long-Term World 1 March 22nd, 2013 – 2016; Minecraft: Pocket Edition 0.6.1 – 0.15.7 Long-Term World 2 2018 – 2019; Minecraft for Windows 10 1.2.11 – 1.12.0 Long-Term World 3 February 15th, 2020 – Present, keeping this world for as long as possible; Minecraft: Java Edition 1.6.4 – 1.20.1
Did you change your Minecraft username? If not you should have been able to copy the stats over, as I've done myself with no issues. If you did change your username you can rename the file and change the username inside without having it get reset (only the part under "stats-change" is included in the checksum, anything else, including the file name, size, and date, do not matter. I did this myself back when I changed my name (a bigger issue was changing the owner name of pets, which required using NBTExplorer to edit the save data to change it). Otherwise, I'm not sure why the game isn't accepting the file unless it got corrupted in some way (does the game output show anything? If it is a bad checksum it will show "checksum mismatch", otherwise if an exception and stacktrace is present then there is something wrong with the file); you are also updating it when the game is closed?
Also, you could try this simple patch I made which disables the checksum check; it should only be needed the first time you load the game with the old stats file, afterwards it should be correct (note that this is for 1.6.4, no other version of 1.6 (stats should be cross-compatible though), and if you are using any other mods it might be a problem, depending on whether they or Forge do anything with the "StatFileWriter" class. In any case, you'll also need to add "-Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignoreInvalidMinecraftCertificates=true" (without quotes) to the JVM arguments or Forge will refuse to run).
The Meaning of Life, the Universe, and Everything.
Join Date:
4/13/2019
Posts:
143
Minecraft:
toydotgame
Member Details
Thanks, your patch worked great! I booted up a vanilla installation, added the patch, added my stats, restarted the game; and it worked. I switched back to my heavily modified JAR for my custom client, and it also accepted them! (That's a big thing due to the client I've made being very sensitive and breaking a lot)
Also, my username didn't change, I've kept the same IGN since 2018.
Thanks so much for the help! :-)
Rollback Post to RevisionRollBack
Minecrafter since 2013.
Long-Term World 1 March 22nd, 2013 – 2016; Minecraft: Pocket Edition 0.6.1 – 0.15.7 Long-Term World 2 2018 – 2019; Minecraft for Windows 10 1.2.11 – 1.12.0 Long-Term World 3 February 15th, 2020 – Present, keeping this world for as long as possible; Minecraft: Java Edition 1.6.4 – 1.20.1
Hi, I play Minecraft 1.6; which has a different statistics format and the stats are saved in ".minecraft\stats" They've got a checksum and other verifaction methods too. I'm looking for someone who knows a bit more than me about this.
I have changed user accounts on my PC, and migrated my clients, launcher, textures, options, and saves. But my stats didn't. I noticed that about a month after moving accounts. Luckily, I had an old backup of my player stats. I moved "stats_toydotgam_undent.dat" to my new "stats" folder, but upon launching Minecraft, the file gets overwritten with a blank stats set.
I've tried editing the checksums and the last modified, accessed, and created dates of the file again and again but nothing is working and Minecraft keeps overwriting it.
I've been mining the End dimension and had about 870,000 End Stone mined as of the account move; and I would like to make sure I get those stats across. (Along with the few thousand hours playtime. Half to brag and half to have that data in my client)
Is there a way to add my old stats back into the game? If so, help is much appreciated. :-)
Minecrafter since 2013.
Long-Term World 1 March 22nd, 2013 – 2016; Minecraft: Pocket Edition 0.6.1 – 0.15.7
Long-Term World 2 2018 – 2019; Minecraft for Windows 10 1.2.11 – 1.12.0
Long-Term World 3 February 15th, 2020 – Present, keeping this world for as long as possible; Minecraft: Java Edition 1.6.4 – 1.20.1
Did you change your Minecraft username? If not you should have been able to copy the stats over, as I've done myself with no issues. If you did change your username you can rename the file and change the username inside without having it get reset (only the part under "stats-change" is included in the checksum, anything else, including the file name, size, and date, do not matter. I did this myself back when I changed my name (a bigger issue was changing the owner name of pets, which required using NBTExplorer to edit the save data to change it). Otherwise, I'm not sure why the game isn't accepting the file unless it got corrupted in some way (does the game output show anything? If it is a bad checksum it will show "checksum mismatch", otherwise if an exception and stacktrace is present then there is something wrong with the file); you are also updating it when the game is closed?
Also, you could try this simple patch I made which disables the checksum check; it should only be needed the first time you load the game with the old stats file, afterwards it should be correct (note that this is for 1.6.4, no other version of 1.6 (stats should be cross-compatible though), and if you are using any other mods it might be a problem, depending on whether they or Forge do anything with the "StatFileWriter" class. In any case, you'll also need to add "-Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignoreInvalidMinecraftCertificates=true" (without quotes) to the JVM arguments or Forge will refuse to run).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Thanks, your patch worked great! I booted up a vanilla installation, added the patch, added my stats, restarted the game; and it worked. I switched back to my heavily modified JAR for my custom client, and it also accepted them! (That's a big thing due to the client I've made being very sensitive and breaking a lot)
Also, my username didn't change, I've kept the same IGN since 2018.
Thanks so much for the help! :-)
Minecrafter since 2013.
Long-Term World 1 March 22nd, 2013 – 2016; Minecraft: Pocket Edition 0.6.1 – 0.15.7
Long-Term World 2 2018 – 2019; Minecraft for Windows 10 1.2.11 – 1.12.0
Long-Term World 3 February 15th, 2020 – Present, keeping this world for as long as possible; Minecraft: Java Edition 1.6.4 – 1.20.1