Logo

[Profile Problem] Too large Stats.xml that stepmania won't load?

Register Log In Back To Forums

Post #1 · Posted at 2017-10-05 04:56:05pm 6.4 years ago

Offline trav358
trav358 Avatar Member
115 Posts
Taiwan
Reg. 2009-10-19


Last updated: 2017-10-05 04:59pm
My stepmania prompt such a message "The file Stats.xml is unreasonably large. It won't be loaded." (It's about 10 MB.)
May I ask that is there a way to customize Maximum Stats.xml size to avoid this checking? I want to keep the record and continue playing with the original xml anyway.

By the way, I have tried ProfileCompress=1 to let it be Stats.xml.gz (about 880 KB.) but that doesn't work. Same message prompt out.

Post #2 · Posted at 2017-10-05 07:17:53pm 6.4 years ago

Offline dbk2
dbk2 Avatar Member
332 Posts
Not Set
Reg. 2012-04-30

The Stats.xml file you're using is from a player profile, not the machine profile, right?

Post #3 · Posted at 2017-10-06 03:27:04am 6.4 years ago

Offline trav358
trav358 Avatar Member
115 Posts
Taiwan
Reg. 2009-10-19

Yes, player profile Stats.xml in \Save\LocalProfiles\00000000.

Post #4 · Posted at 2017-10-06 06:41:07am 6.4 years ago

Offline dbk2
dbk2 Avatar Member
332 Posts
Not Set
Reg. 2012-04-30

Looking at the source suggests this filesize check does not occur on the MachineProfile, and thus only occurs on player profiles. I'm not sure there's a solution for you if you need to use a player profile.

Post #5 · Posted at 2017-10-07 02:03:19am 6.4 years ago

Offline trav358
trav358 Avatar Member
115 Posts
Taiwan
Reg. 2009-10-19

Thanks, maybe I will try to compile a customize version to skip this? I think it is the only solution to play with a player profile.

Post #6 · Posted at 2017-10-07 03:37:55am 6.4 years ago

Offline dbk2
dbk2 Avatar Member
332 Posts
Not Set
Reg. 2012-04-30

If you are successful in compiling a custom version of SM5 that skips this check, and you find that there aren't problems with it, consider submitting a pull request to StepMania on GitHub.

That filesize check is older than GitHub's history, and I suspect it has been around since the 3.9 days. Maybe it isn't necessary any longer. (Though, having a filesize cap on Stats.xml loaded from USB profiles is probably still a good idea...)
Register Log In Back To Forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 3% · Database: 4% · Server Time: 2024-03-29 01:23:04
This page took 0.006 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language