A Hat in Time

A Hat in Time

Sort My Inventory!
105 Comments
absoluteSpacehead 7 Jan @ 8:35pm 
looked at the code and theres literally nothing here that looks like it could cause save corruption etc. it sorts the inventory. thats it. the sort function is literally native too, its not doing any weird custom shit for that.
Sin 26 Oct, 2024 @ 6:03pm 
not entirely sure why people are stating its corrupting saves, i have had this mod since practically day 1 and it works fine on my end included modded items.
even uninstalled the mod and reinstalled and have no issues.
fiddled with the settings extensively and have had no issues with the sort options the mod offers.
restarted the game with different settings in the mod
zero issues

it just sounds like you guys are running something else that modifies your inventory sorting which is considered a conflicting mod
maybe watch what you are downloading

p.s. (drivename):\steamlibrary\steamapps\common\HatinTime\HatinTimeGame\SaveData
make your backups manually
Cherry! 5 Jul, 2024 @ 6:48am 
Hey, will this permanently change the order of my inventory, even if I unsubscribe?
KloxEdge 23 Jun, 2024 @ 12:14am 
ok so I don't know why people are having so much trouble with this, as it works perfectly fine on my end??
I've seen people mention that it corrupts saves when new Hats or Badges are added via other mods, but I've got mods that add both and it's perfectly fine for me, so I am completely baffled as to what the issue is, because I have a feeling the original guesses as to what caused it are incorrect
Octa Bahjan 1 Feb, 2024 @ 3:01am 
thank god i read the comments my 100% save was gonna die, thanks folks
Freya 9 Oct, 2023 @ 4:45pm 
To be honest when you have to jump through all sorts of hoops to even make a "quality of life" mod kind of function as advertised, only for to still break and ruin the game more than it helps. Is it even worth fiddling with it at this point?
GasmisenFeik 9 Oct, 2023 @ 3:58pm 
So wait, what's the exact cause of this mod "breaking saves"? I've seen from the first page that it seems to be when other mods give you equipment, but is that because the mod doesn't know how to handle the unknown data and craps itself/the game? When I've had this mod, it made switching hats and keeping hat flairs very, very difficult and permanently messed up my order of hats. It didn't particularly "break" or "corrupt" my save and only really affected my hats, not my dyes, badges, or umbrella, so I'm wondering what everyone else is/had to go through really— It also persisted even after uninstallation so what I did to circumvent that (I hope) is by reinstalling it and setting everything by "Type" and then turning the misc. Settings to "Off" then disabling it and removing it, so I might just be missing some mad context
ness 7 Sep, 2023 @ 5:22pm 
I wanted to find an inventory sorter, found out I already had one, then got hit with the bombshell that my save file is corrupt if i have it. Are my only options to either just keep the mod and let it break on its own or make a new save file or is there anything else I can do?
Freya 26 Aug, 2023 @ 1:16am 
I feel sorry for the 23,154 current subscribers of this that probably corrupted their save file because of this broken mod. My only hope is that the majority of subscribers were people who uninstalled A Hat in Time a long time ago when this mod still worked and haven't played the game since then.
Red Guy 26 Aug, 2023 @ 12:56am 
This mod brakes saves if other mods that adds stuff to your inventory are in the game. Can you please fix that?
hCerisu ❤ 10 Aug, 2023 @ 4:36pm 
:steamthumbsup:
Freya 23 Jul, 2023 @ 11:52am 
I kinda wished the moderators could unlist or hide this Workshop entry since it conflicts with a lot of other mods and it also permanently ruins your save file even if you uninstall it lol
JDWMGB 23 Jul, 2023 @ 11:19am 
I know its highly unlikely you will update this but this mod conflicts with Easter Island by weird by causing one of text inputs to always say incorrect https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1719981682&searchtext=easter . The cause seems to be the simulated function UpdateBackpackData(optional bool force = false) line at the bottom
QuietAtom21 3 May, 2023 @ 11:45am 
I have tested this myself to see if I could replicate the issue and the issue only arises when you have other mods that give you equipment aka reskins and new hats I haven't ran into this issue with any mods that don't add extra equipment aka map mods or stuff like dance in tranquillity I'm unsure if the mod author could patch something like that but at the very least it would be nice if he added a warning to the description, sorry you guys had to lose your saves like that it must suck. if anyone has any extra information let me know as this was my case it could be different for you.
Freya 23 Mar, 2023 @ 6:14pm 
@MooMew. A lot of old mods no longer work and brake the game which are still listed on the workshop despite that.
MooMew64 23 Mar, 2023 @ 5:54pm 
Wait, this mod is actually killing saves?

Could the mod author comment if they can? If there isn't any bug fix for this, then there either needs to be a warning or this needs to be delisted from the workshop ASAP, as this is one of the most popular QoL mods and unsuspecting new players could brick their saves.
Karsui 25 Jan, 2023 @ 8:45pm 
Nvm, I just read the Freya's comment. Looks like not worth getting this mod even as a new player.
Karsui 25 Jan, 2023 @ 8:43pm 
Wdym it would "kill your save file"? Is that mod somehow messing with the game / other mods?
-ˋˏ KitKat ˎˊ- 22 Jan, 2023 @ 8:18am 
good thing all it did was sort my stuff and i cant figure out how to unsort it, it couldve killed my save file which wouldve sucked
Sheramine 3 Jan, 2023 @ 8:55pm 
Nice quality of life improvement! Thank you for the mod!
vizore 2 Jan, 2023 @ 10:52pm 
really wish i could download this without the worry of losing 80 hours of progress but i guess we cant have nice things
Freya 13 Oct, 2022 @ 5:51pm 
Don't download this, it removes a LOT of your stuff, and if you decided to uninstall this mod after finding out that it removed some of your stuff, the mod will punish you by blacking out ALL your unlockables and making them inaccessible.

It can't be fixed even if you reinstall this mod, so be aware as this is essentially malware that will brake your save-file that your probably spent countless hours on it.
404_coffee.exe 13 Oct, 2022 @ 7:22am 
this has grown onto me due to using mods commonly
Coolboy 😎 31 Dec, 2021 @ 1:12pm 
the mod deleted my 100% complete hat and I don't have a backup of my saves
Brolunite 21 Dec, 2021 @ 7:15am 
Found where that glitch everyone talks about comes from. Disabling the mod keeps the sorted order but turns all non-flair hats blank in the menu, and makes them unselectable. Re-enabling does not fix it, essentially meaning they're held hostage for you to not remove the mod.
TBH I have no reason to remove it but that's another reason why this should be in base game.
Brolunite 21 Dec, 2021 @ 6:53am 
Thank you so much, this is a fantastic feature for someone that likes well ordered stuff like me. Something like that should really be part of the base game.

Unlike other comments here, I got no issues with it, but making a backup of your saves might be a cautious move to do just in case.
Xian 18 Dec, 2021 @ 1:23pm 
I would love if the EMPTY SQUARE (default costume) where placed the FIRST one, intead of the last one. Could it be done?
Sakana 25 Nov, 2021 @ 8:46pm 
full on deleted all of my sprint hats, along with all of my death wish hats
AllSeeingAI 17 Sep, 2021 @ 11:07pm 
Is there a way to sort dyes? I have dyes, paint buckets, gels, and new models all mashed together,
Disappointed Batman 10 Sep, 2021 @ 7:31pm 
Thank you! T^T/
Scarlett of Caelin 5 Aug, 2021 @ 8:32pm 
Really nice mod for the most part. Deleted all my rare stickers, but uninstalling brought them back and kept the hats sorted, so that's good at least
Akela 2 Jul, 2021 @ 4:24pm 
Has no one figured out how to revert your inventory after using this mod?
CC 14 Mar, 2021 @ 7:14am 
It was ok. until I looked at my quick menu, and it removed bow kid's bow. Don't know if I can get it back, and I sure won't redownload it.
Bob Boblybob 4 Feb, 2021 @ 9:43pm 
thanks
HeliosMagi 14 Jan, 2021 @ 11:34am 
Is this compatible with the Extra Badge Slots mod?
happymichael2009 4 Aug, 2020 @ 9:27am 
Messed up my quick hat wheel, and wasn't undone after removing the mod from my game entirely. I'm not adding this back to my game, ever.
ExE Boss 19 Jul, 2020 @ 9:26pm 
@Candy Weeaboo That’s the  speedrun event hat .

The other hat with the green background is the  Kickstarter backer exclusive hat .
live by the wage die by the wage 19 Jul, 2020 @ 12:45pm 
whats the name of the hat with the timer on it in the second screenshot?
Anhilo 13 Jul, 2020 @ 12:09am 
is there anyway to undo this? i used it, but all of my badges are in alphabetical order and its starting to cause some issues
JDWMGB 10 Dec, 2019 @ 10:49am 
I don't know how possible this would be, but could you potentially add a way to manually sort inventory items? as without a lot of mods it can lag the game when sorting so if there was a way like in the config menu to disable auto sorting and have a manual sorting option that would be something I would love
NeoKat 🍃 30 Nov, 2019 @ 2:01am 
What about sorting the contents of the actual inventory? My metro passes are between two badge pins and it's h.
ExE Boss 2 Sep, 2019 @ 4:10am 
Can you add sorting for weapons as well?
Sukei 19 Aug, 2019 @ 8:45pm 
Does anyone have any info on how this affects your game before obtaining every hat? For whatever reason, I think this mod may have caused my game to skip the ice hat, as I received a flair in a rift and was then unable to craft it.
live by the wage die by the wage 24 Jul, 2019 @ 4:17pm 
@ajcomics
by that i meant that for example, for a song for battle of award 42, it would say battle of award 42 under the name of the remix
Skippy Dinglechalk 20 Jul, 2019 @ 8:00pm 
this mod messed up my screenshots, in all of them around 3/4 of it was a glitched picture of the mod, otherwise 8/10 is pretty good
운주송곳니 20 Jul, 2019 @ 8:45am 
thanks! :D
ajcomics  [author] 17 Jul, 2019 @ 2:56pm 
@bumblebee battleship
I actually made a separate mod for this: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1723238325
live by the wage die by the wage 17 Jul, 2019 @ 1:14pm 
can you make it so that with remixes, that it will say what song it is for?
TheAJ 11 Jul, 2019 @ 4:26pm 
very good 10/10 hamburgers!:steamhappy:
Deskriter 11 Jul, 2019 @ 1:15am 
Can you make a configure option for badges? I dont want badges sorted by alphabet