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: 4980
Follow Unfollow 68

Latest file for v1.19.3:
StackSizes-v1.1.2.zip 1-click install


[Discord]

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 2073 Nov 9th 2023 at 1:18 AM Show StackSizes-v1.1.2.zip Install now
v1.1.1 232 Nov 5th 2023 at 5:24 PM Show StackSizes-v1.1.1.zip Install now
v1.1.0 326 Oct 30th 2023 at 5:15 PM Show StackSizes-v1.1.0.zip Install now
v1.0.0 2349 Apr 14th 2023 at 4:55 PM Show StackSizes-v1.0.0.zip Install now

57 Comments (oldest first | newest first)

💬 Error_Acnologia, Oct 16th at 12:12 PM

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

💬 DanaCraluminumAuthor, Mar 26th at 5:24 PM

Silvanas No such feature yet

💬 Silvanas, Mar 26th at 4:13 PM
Hello, I downloaded the program: Notepad++

Is it necessary to change the values ​​individually or is there somewhere an option to modify it en masse? Thank you for answer.
💬 Kara, Mar 1st at 10:44 PM
1.3.2024 14:26:31 [Server Notification] Entering runphase AssetsFinalize
1.3.2024 14:35:41 [Server Event] started 'Stack Sizes' mod

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. 
💬 TheEngineerGuy, Jan 26th at 2:45 PM

Please update to 1.19.1😇. Unfortunately the pre dont work and the game freezes when loading.

💬 croqaz, Jan 22nd at 11:28 AM

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

💬 LynxKitten, Dec 17th 2023 at 8:51 PM

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.

💬 DanaCraluminumAuthor, Nov 28th 2023 at 8:21 PM

Pixative It is issue in Xskills mod, not in Stack Sizes

💬 Pixative, Nov 28th 2023 at 7:30 PM

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.

💬 DanaCraluminumAuthor, Nov 18th 2023 at 7:43 PM

Pixative I can try to use this condition for StackSizeMultiplier

obj.MaxStackSize * obj.MaxStackSize == obj.MaxStackSize
💬 TRexTheHunter, Nov 13th 2023 at 6:35 PM

Thanks for the mod! Just changed all x64 units to x256 using Notepad++ and works like a charm!

💬 Pixative, Nov 13th 2023 at 9:20 AM

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.

💬 DanaCraluminumAuthor, Nov 9th 2023 at 1:19 AM

juntalis Fixed

💬 juntalis, Nov 9th 2023 at 12:51 AM

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.

💬 KometFox, Nov 6th 2023 at 3:34 AM

Thanks for adding stack multipicator.

💬 DanaCraluminumAuthor, Nov 6th 2023 at 3:09 AM

jamescook Find them in config and set their stack size to 999.

clay-blue

clay-fire

drygrass

stick

💬 jamescook, Nov 6th 2023 at 3:06 AM

what do i do to set basic reasorce items like blue / fire clay sticks dry grass to 999?

💬 DanaCraluminumAuthor, Nov 5th 2023 at 5:24 PM

KometFox Added stack size multiplier

💬 KometFox, Oct 31st 2023 at 10:57 PM

@DanaCraluminumAuthor Welp, that's bad.

💬 DanaCraluminumAuthor, Oct 31st 2023 at 10:35 PM

KometFox Previous version had support for "group categories" and it was terrible because of endless vanilla bugs here and there

💬 KometFox, Oct 31st 2023 at 10:22 PM

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.

💬 Heracles056, Oct 31st 2023 at 8:59 PM
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?
 
 
💬 DanaCraluminumAuthor, Oct 31st 2023 at 8:40 PM

Heracles056 You need to reload the game to apply changes

💬 Heracles056, Oct 31st 2023 at 8:31 PM
All lines, 64x32x16, I changed it to 999. Did I do it right?
💬 DanaCraluminumAuthor, Oct 31st 2023 at 6:17 PM

Heracles056 Can you try to change value for game:clay-blue and see if it changed stack size?

💬 Heracles056, Oct 31st 2023 at 6:07 PM
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.
💬 TheNiteFox, Oct 31st 2023 at 4:19 PM

@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 

💬 Feyd, Oct 31st 2023 at 2:01 AM

DanaCraluminum Works like a champ! Thank you!

💬 Feyd, Oct 31st 2023 at 2:01 AM
💬 McTaco, Oct 30th 2023 at 6:24 PM

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.

💬 DanaCraluminumAuthor, Oct 30th 2023 at 5:15 PM

Feyd Try now, I compiled it for 1.19, but it may still work with 1.18

💬 Feyd, Oct 28th 2023 at 2:42 PM

I've tried my best to get this mod to work in 1.18.10 but no luck. DanaCraluminum

💬 SoloBlood, Oct 21st 2023 at 10:51 PM

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?

💬 jamescook, Oct 9th 2023 at 1:14 AM

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)

💬 DanaCraluminumAuthor, Jul 22nd 2023 at 11:15 AM

TommyC Nope

💬 TommyC, Jul 22nd 2023 at 8:27 AM

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.

💬 TommyC, Jul 13th 2023 at 8:16 AM

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 :)

💬 DanaCraluminumAuthor, Jul 12th 2023 at 5:59 PM

TommyC Did you change stacks to 512 for each item/block or just specific item/block?

💬 TommyC, Jul 12th 2023 at 5:58 PM

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

💬 DanaCraluminumAuthor, Jul 9th 2023 at 8:28 PM

SpeedRider Nope, clothes shouldn't stack, as well as tools

💬 SpeedRider, Jul 9th 2023 at 8:18 PM

DanaCraluminum
can you add all the clothing types?

💬 SpeedRider, Jun 9th 2023 at 6:52 AM

ty for this mod very nice.

💬 Liandris, May 17th 2023 at 6:36 AM

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 :)

💬 DeNoven, May 16th 2023 at 10:19 PM

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!

💬 DanaCraluminumAuthor, May 16th 2023 at 10:35 AM

DeNoven Liandris I'm not able to reproduce the bug

💬 Liandris, May 16th 2023 at 9:50 AM

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.

💬 DeNoven, May 14th 2023 at 5:27 PM

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. 

💬 Lohn, Apr 22nd 2023 at 2:05 PM

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! :)

 

💬 DanaCraluminumAuthor, Apr 22nd 2023 at 1:46 PM

Lohn I don't know whether it is the only affected block, I didn't have time to check thousands of blocks

💬 Lohn, Apr 22nd 2023 at 1:41 PM

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. :)

💬 DanaCraluminumAuthor, Apr 22nd 2023 at 1:40 PM

Lohn I found an issue, turned out it is vanilla bug, but I won't fix it myself

💬 DanaCraluminumAuthor, Apr 22nd 2023 at 1:35 PM

Lohn Have you changed stack size for all planks or just one wood type? Have you tried to delete config?

💬 Lohn, Apr 22nd 2023 at 1:01 PM

@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. :)

💬 DanaCraluminumAuthor, Apr 21st 2023 at 8:29 AM

BlueFuryDragon ?

💬 BlueFuryDragon, Apr 21st 2023 at 12:49 AM
💬 DanaCraluminumAuthor, Apr 14th 2023 at 7:29 PM

Wandour 2147483647 max

💬 Wandour, Apr 14th 2023 at 7:16 PM

Awesome!!! 
is there a CAP ?

(edit comment delete)