Mods / Stack Sizes [OBSOLETE]
Category:
#Storage
#Tweak
#Utility
Author: DanaCraluminum
Side: Server
Created: Apr 14th 2023 at 4:54 PM
Last modified: Nov 9th 2023 at 1:18 AM
Downloads: 4869
Follow Unfollow 70
Author: DanaCraluminum
Side: Server
Created: Apr 14th 2023 at 4:54 PM
Last modified: Nov 9th 2023 at 1:18 AM
Downloads: 4869
Follow Unfollow 70
Latest file for v1.19.3:
StackSizes-v1.1.2.zip
1-click install
I'm living in Ukraine and there is war happening right now. Most of my free time I spend on modding when I get a few hours between electricity blackouts.
If you love my work, you can support me on Patreon, I would greatly appreciate it ❤️. Donations keep me doing what I truly love - modding.
Mod is no longer maintained, further updates will only be available in Configure Everything.
Allows to configure max stack size of every vanilla and modded item and block. 2147483647 max
Configuration file is located in VintagestoryData/ModConfig/ConfigureEverything, it is appeared after loading any world.
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v1.1.2 | 2000 | Nov 9th 2023 at 1:18 AM | Show | StackSizes-v1.1.2.zip | Install now | |
v1.1.1 | 217 | Nov 5th 2023 at 5:24 PM | Show | StackSizes-v1.1.1.zip | Install now | |
v1.1.0 | 318 | Oct 30th 2023 at 5:15 PM | Show | StackSizes-v1.1.0.zip | Install now | |
v1.0.0 | 2334 | Apr 14th 2023 at 4:55 PM | Show | StackSizes-v1.0.0.zip | Install now |
Super everything works.
Changed the values 64 to 265/16 to 64/8 to 32 via notepad (editing).
Don't forget ( , ) at the end of the number you are changing and to which you are changing then there will be no errors
Silvanas No such feature yet
im not 100% sure, but i feeeel that the Large number of entrys in the text file are resulting in a Long load times when booting up servers.
i think? the mod auto add's blocks into the file. would there be a way, to have a config to prevent it from auto adding things, so i can skim down the list and see if it improves load times? i could be wrong, but its an idea.
Please update to 1.19.1😇. Unfortunately the pre dont work and the game freezes when loading.
Thank you very much Dana for creating this mod! It is an absolute lifesaver and I can't imagine playing VS without it!
I changed the values of all dirt blocks, stones, minerals and seeds in the config. AWESOME stuff
I must be super blind. I cannot, for the life of me, find the location of the config. Is it in the drive the game is installed in, or in my /user/documents location? A seach for "configureeverything" or even "stacksizes" either brings nothing up, or only brings up the rar file, respectively. I feel like I'm absolutely losing my mind over here 😓
----------------------------------------------
Edit: I'm blind. The loaction is /user/appdata/roaming/VintagestoryData, and in order for the /modconfig/configureeverything file to load, you have to actually load into the world, not just start the game.
Pixative It is issue in Xskills mod, not in Stack Sizes
Mod's been working great but there's an edge case I want to report. With the xskills cages, if you craft more than one and stack them, catching a mob fills the whole stack of cages with a copy of that mob. Well I say report, but there isn't really an issue, it's just a "then don't do that" kind of situation. I dunno if either mod could change it. I told them about it too.
Pixative I can try to use this condition for StackSizeMultiplier
Thanks for the mod! Just changed all x64 units to x256 using Notepad++ and works like a charm!
If I use the multiplier setting for convenience, it applies to everything... well duh, of course. But that breaks some mods, specifically rpg item rarity. Haven't tested but, workaround would probably look like, manually setting stack sizes for everything except what other mods effect. If you hadn't broken out every individual item into a setting, this fix wouldn't be possible, so thanks for making it like you did. I don't know how to do this yet but having rpgitemrarity load after this could also work.
edit- yeah, setting almost everything but tools/weapons to 999 instead and rpg item rarity is working on those items again.
juntalis Fixed
I was seeing an issue with the mod failing to load due to a pre-existing key for game:unknown in the StackSizesMod.Patches.GetDefaultStackSizesForItems call. Adding a ContainsKey check solved it and the mod's now working perfectly.
Thanks for adding stack multipicator.
jamescook Find them in config and set their stack size to 999.
clay-blue
clay-fire
drygrass
stick
what do i do to set basic reasorce items like blue / fire clay sticks dry grass to 999?
KometFox Added stack size multiplier
@DanaCraluminumAuthor Welp, that's bad.
KometFox Previous version had support for "group categories" and it was terrible because of endless vanilla bugs here and there
IMO it would be better if there is a single stack size multiplactor that changes the stack size of all items instead of adding every item as a individual configurable option or add a support for both a global multiplicator and allowing adding individual or group categories instead for finer control of other items. Besides it will also increase the reading/loading time of large text files for most text editors unless you have a text editor that is made specific for very large text file.
Yes, of course I restarted the game, but still the same, nothing is applied, I stay with the same stack,
the 999 is not taken into account, why do I find this weird, and why does it not work? Does not work.
I opened the "VintagestoryData/ModConfig/ConfigureEverything" folder with Notepad++,
changed the numbers 64x32x16 to the value 999, saved the change, restarted the game and nothing happened.
How do you do it on your side? Do you do anything else to make this work?
Heracles056 You need to reload the game to apply changes
All lines, 64x32x16, I changed it to 999. Did I do it right?
Heracles056 Can you try to change value for game:clay-blue and see if it changed stack size?
Hello,
I'm using Google Translate, so excuse my language mistakes, I just DL your mod but even when I go to the file,
VintagestoryData/ModConfig/ConfigureEverything and I modify their value, nothing happens, I don't know anything about mod, I must be doing something wrong,
can you enlighten me with your knowledge and help me make this practical mod work? THANKS.
@SoloBlood The config file doesn't show up in the Mod's folder - it shows up exactly where it is listed in the description, which an area outside of where mods go. I just figured this out aswell cause at first I was like hunh? how come its not in the mod folder haha
DanaCraluminum Works like a champ! Thank you!
I've been using this mod for over a month in 1.18. Worked flawlessly.
Haven't updated my client/server to 1.19 yet, but 1.18 works great
If your JSON is resetting after starting your game, you have errors in it. Like decimals instead of integers, or missing comma, etc.
To edit values:
Use excel, Data tab, import from csv. set the colon as the delimiter.
Do some left right mid functions, result in a value. if the value is greater than 1, result equals 128.
Then recombine the data by concat it back together.
Feyd Try now, I compiled it for 1.19, but it may still work with 1.18
I've tried my best to get this mod to work in 1.18.10 but no luck. DanaCraluminum
Hello DanaCraluminum I can not seem to get this mod working with version v1.18.15. I also do not see a ConfigureEverything under ModConfig. Can you take a look when you get some time?
does anyone have a config file that is fixed for reasorces to be set for 999 (logs/rocks/ore/blue and fire clay/plants and seeds exera)
TommyC Nope
Hey Craluminum, is there any way to change values while ingame through a command?
I understand the server will probably need a restart to apply the change.
Got it working. We just did some uninstalling and reinstalling, after changing versions & it had put the config folders into the 1.18 game folder not into the .Net game folder. Just fixed that up and all works now!
Sorry for that. Excellent the mod :)
TommyC Did you change stacks to 512 for each item/block or just specific item/block?
We're having a problem getting it to work.
Started new game. Save & Closed game. Edited the ModConfig/ConfigureEverything/StackSizes.json to increase block stacks to 512 to test it.
Started game back up, but the stack sizes aren't changed in game.
The .json file doesn't change after restarting the game so I don't think the game is overwriting it like others have had trouble with.
The couple other mods we are using are still working, I just can't figure out what I've done wrong.
Any thoughts DanaCraluminum
SpeedRider Nope, clothes shouldn't stack, as well as tools
DanaCraluminum
can you add all the clothing types?
ty for this mod very nice.
Hello Craluminum, thanks for the quick reply.
I don't have AMA, but I have Carry On, which developed a hole new bug on its own.
If I have time today, I try to check a new Singleplayer only with your Stack Mod and report.
Thank you :)
Craluminum
The mod in question was the Anvil Metal Recovery by Melchior, with a showing of Carry On.
I had the offending item (Metal fragments) in a Storage Vessel held on my back.
Removed the mod, re-entered the game.
Noticed the stack changes back to baseline, attempted to re-edit them.
Reverted upon re-entering the game.
After a few tries I figured it was down to AMA, re-enabled it and the reversions to baseline ended.
In this scenario, the entirety of the config file was affected.
As for the digit replacement, I can say this was fully an error of my own (find & replace, "In selection" not checked, changing 1 for 8...), while trying to get all the edits over and done quickly. ^^;
Hope this helps, Cralu. Thank you for your hard work!
DeNoven Liandris I'm not able to reproduce the bug
Hello.
I have a similar problem like DeNoven.
I close the game fully. I edit the config file, save it, start the game launcher (config file is still modified) I start my game and most of the data is reverted to original stack sizes. Like cobblestone, stone (the pebbles), sand, gravel. Others hold the stack size (128): raw clay, soil, tree logs. I play with other mods, but I haven't deleted another mod (like DeNoven).
Please tell me if I can further assist with any informations. Thank you.
Finding some issues lately; every time I close the game and reload, the config file often reverts to original stack sizes.
Sometimes it does a full revert to default, sometimes it just replaces the first digit with the original (128 becomes 828).
I'm not sure what's happening but the number of times it keeps happening has me pausing use right now. Sorry Cralu!
Edit: I've found the reason - because I removed a mod that added a few items, the game was reverting to normal upon seeing there was an item or two from the mod still around. It now stays the same upon re-entering the save.
Craluminum That's fair, I didn't know if it was a general block type affected or such, since I have clue of the bug itself; at least an easy work-around is to simply carry boards and build planks as needed, if anyone encounters this. Thanks for the info! :)
Lohn I don't know whether it is the only affected block, I didn't have time to check thousands of blocks
Craluminum So is that the reason for plank block not changing it's stack size, and if so - is it the only affected block? I'm glad it was easy to at least figure out the cause. :)
Lohn I found an issue, turned out it is vanilla bug, but I won't fix it myself
@Craluminum Thanks so much for the mod! I noticed while using it, that for some odd reason planks don't seem to stack. I checked the config to ensure I didn't somehow break it, but they don't stack currently. To be clear, I mean the solid plank block made of boards. I tried adding a line without "-ud" to each but no difference, reading the lang file I can't understand why yours mod doesn't increase their stack, but I thought I'd at least tell you. :)
BlueFuryDragon ?
Wandour 2147483647 max
Awesome!!!
is there a CAP ?