I run a couple servers for myself and some friends. On one of these servers we are running the "Feed the Beast" mod pack and there are a lot of textures for the various machines, pipes, etc.
I am attempting to use a 16x16 texture pack for this server which weighs in at about 14 MB (http://prenetic.com/ftb/mc14_16x_isabella_ii.zip). Since there are so many textures for the various blocks and items in this mod it actually exceeds the 10 MB limit in Minecraft and will not complete downloading. Despite this being a fully-supported 16x16 texture pack (this is NOT an HD pack as was the case with MC-2134) it is not compatible with the "automagic" downloader due to its larger size.
I've verified the download begins in IIS and an HTTP 200 code is sent. 10 MB is not a lot to work with considering more and more mod packs are coming out which requires texture artists to pack more textures into their products.
Please at the least consider allowing server administrators to override the maximum texture pack size limit in server.properties. It's a great feature, but as-is it falls short with larger mod packs out there.
Linked issues
is duplicated by 5
relates to 1
Attachments
Comments 33
Hi Kumasasa, sorry I did not include this information in the original report. Please see the error message observed through the Java console below while on our primary server, as well as the corresponding HTTP 200 code from IIS. The maximum file size is denoted in bytes (10 MB = 10,000 KB = 10,000,000 B). The 10 MB limit was also confirmed when successfully downloading a texture pack weighing in just under 10 MB.
Java console output while on primary server:
2012-12-23 01:45:55 [INFO] [STDOUT] Deleting C:\Users\Public\Feed the Beast\FTBBETAA\minecraft\texturepacks-mp-cache\mc14_16x_isabella_ii.zip as it does not match what we currently have (14028561 vs our 0).
2012-12-23 01:45:55 [INFO] [STDERR] java.io.IOException: Filesize is bigger than maximum allowed (file is 3.0, limit is 10000000)
2012-12-23 01:45:55 [INFO] [STDERR] at jn.run(SourceFile:133)
2012-12-23 01:45:55 [INFO] [STDERR] at java.lang.Thread.run(Unknown Source)
IIS log output for the texture pack request:
2012-12-23 09:45:55 10.2.2.11 GET /ftb/mc14_16x_isabella_ii.zip - 80 - 50.46.243.53 Java/1.7.0_07 - 200 0 995 2197
I have also confirmed this is an issue with vanilla Minecraft by performing the same test against a vanilla server. Please see the error message observed through the Java console below while on a vanilla test server, as well as the corresponding HTTP 200 code from IIS.
Java console output while on vanilla test server:
Deleting C:\Users\mcoppola\AppData\Roaming\.minecraft\texturepacks-mp-cache\mc14_16x_isabella_ii.zip as it does not match what we currently have (14028561 vs our 0).
java.io.IOException: Filesize is bigger than maximum allowed (file is 3.0, limit is 10000000)
at jw.run(SourceFile:133)
at java.lang.Thread.run(Unknown Source)
IIS log output for the texture pack request:
2012-12-23 09:59:30 10.2.2.11 GET /ftb/mc14_16x_isabella_ii.zip - 80 - 50.46.243.53 Java/1.7.0_07 - 200 0 995 2220
I could open the texture pack without any issue. It seems to contain a lot of mod-related textures though, which implies to me that this is not an issue with vanilla Minecraft.
I strongly disagree with your assumption Zuriki.
This isn't a bug regarding a specific texture pack or whether or not you can load it manually; this is a bug related to "automagic" texture packs downloaded as recommended packs on SMP servers. It does contain mod-related textures, but vanilla doesn't map these to anything as those blocks and items don't currently exist in vanilla builds. Any additional textures that are in the pack would simply be unused by a vanilla build of Minecraft.
But let's assume one day more blocks and items are added to vanilla Minecraft, as this has been the trend for the past several updates. These new blocks and items are causing texture packs to grow even for vanilla builds, which takes me to my main point:
Assuming vanilla Minecraft continues to grow and continues to get new blocks and items it becomes more and more likely that a 16x16 texture pack for even just the vanilla game would exceed 10 MB in size. This is a ceiling that needs to be adjusted, either with an override option made available to server administrators or adjusted within the code itself.
Furthermore, since you have stated you could open the pack without any issue manually (as can I) it only furthers my point that this is a limitation in the "automagic" downloader, as I have performed tests against both a modded server and a vanilla server above.
Another test you could perform Zuriki, take the official vanilla texture pack that comes with Minecraft and try the following:
1. Load in a single 10 MB dummy file to guarantee the size is greater than the 10 MB limit.
2. Rename and re-package the pack and publish it to an accessible web server (it can be local).
3. Configure this as the recommended texture pack in "server.properties".
4. Load Minecraft with the Java console open, connect to the server and read the output once you click "Yes" to "automagically" download the recommended texture pack.
You should see the same errors I posted above, even without any extra mods in the pack. It's a limitation of the file size, not the content of the texture pack.
As 50MB seems quite sufficient for a vanilla pack, I would recommended suggesting to this modding community (eg Forge) for options if this limit is still too low for your needs. I also agree a pack this large shouldn't be downloaded without knowing the size before accepting.
I personally have to disagree that 50MB is sufficient even for a vanilla pack, especially now. Once you start considering that resource packs can add new sounds, change sounds, and change the music in particular, you can get over 50MB very easily.
One of my vanilla resource packs is sitting at 65MB and this is mainly due to the addition of new sounds and music. If music in resource packs is a supported feature, then it should be fully supported.
I'd also like to add that not even the default Minecraft assets are under 50MB (it's sitting at 87MB on my harddrive, unzipped at least).
I do not agree that there should be a pre-set limit.
The client should be prompted when there is a resource pack offered.
"There is a resource pack named x being offered by the server. It is y MiB.
Do you want to download it?"
Yes / No
And then display a nice progress bar if yes is clicked.
Why not?
or even something in your user profile before start up that allows you to limit the packs to a size you manually enter or not at all
edit: never mind didn't see the fixed tag
How do you know that there is a 10 MB limit ?