Texture Byte size limit?

General help with our resourcepacks, our website, or Minecraft - including mods.
Locked 
User avatar
6 Posts
 x 0

Post 08 Aug 2013, 17:00

I tried to put some 128x patches to my Minecraft.jar, it actually runs pretty smoothly with just a few, the thing is after add a determinate amount of Patches it just crashes saying this at the final lines:

"2013-08-08 11:19:56 [FINEST] [Forestry] Setting icon for canonical liquid 'honey' (13315:0).
2013-08-08 11:20:00 [INFO] [STDERR] java.lang.ArrayIndexOutOfBoundsException: 1024
2013-08-08 11:20:00 [INFO] [STDERR] at codechicken.core.render.TextureUtils.write(TextureUtils.java:183)
2013-08-08 11:20:00 [INFO] [STDERR] at codechicken.core.render.TextureSpecial.func_94219_l(TextureSpecial.java:91)
2013-08-08 11:20:00 [INFO] [STDERR] at net.minecraft.client.renderer.texture.TextureMap.func_94248_c(TextureMap.java:284)
2013-08-08 11:20:00 [INFO] [STDERR] at net.minecraft.client.renderer.RenderEngine.func_78343_a(RenderEngine.java:482)
2013-08-08 11:20:00 [INFO] [STDERR] at net.minecraft.client.renderer.RenderEngine.func_78352_b(RenderEngine.java:594)
2013-08-08 11:20:00 [INFO] [STDERR] at cpw.mods.fml.client.FMLClientHandler.onInitializationComplete(FMLClientHandler.java:258)
2013-08-08 11:20:00 [INFO] [STDERR] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:479)
2013-08-08 11:20:00 [INFO] [STDERR] at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)
2013-08-08 11:20:00 [INFO] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:733)
2013-08-08 11:20:00 [INFO] [STDERR] at java.lang.Thread.run(Unknown Source)
"

Everything was Ok just posted the last lines where the error occurred.

It is nice to notice that when i remove some patch (anyone actually, just make the size of the decrease) it will run nicely again.

I tried to patch directly the mod .jar/.zip, but it crashes too.

I came up with this guess because of the tries I have made, and deleting/adding to figure it out, also because of the crash report saying: "[INFO] [STDERR] java.lang.ArrayIndexOutOfBoundsException: 1024" that makes some sort of sense.

Any help will help.

[highlight=#ffffff]PS. I don't think I am doing something wrong in the patching process but who knows, as I said I tested it a few times and came up with the problem[/highlight] "[highlight=#ffffff]Minecraft is limiting the size of the textures?[/highlight]" or "[highlight=#ffffff]Not Enough Items is limiting the size of the items?[/highlight]" because NEI loads up previews and might has a limit (haven't tried this possible fix)
If you like our work please consider becoming a Supporter and get an ad-free experience.
User avatar
BDcraft Web Admin
6615 Posts
 x 437

Post 08 Aug 2013, 22:18 

You really need to try with and without NEI.

I've searched this issue numerous times and never found anything about it.

It's never happened to me using my custom pack with basically the same mods that are in FTB (just to give a comparison of size).

I'd be very surprised if NEI or Minecraft was limiting these things and no one else had mentioned it until very recently (seriously I'd never seen this mentioned until a few weeks ago).

The NEI or CodeChickenCore or Forge you're using could be out-of-date/faulty or a mod could be slightly corrupt (sometimes they still run).

Also if you're using MFR there's been said it has had a lot of render issues before.

Maybe try with a larger -PermSize switch such as -XX:PermSize=256M
Profile pic by TsaoShin: https://www.deviantart.com/tsaoshin
User avatar
6 Posts
 x 0

Post 08 Aug 2013, 23:49

HanFox wrote:
You really need to try with and without NEI.

I've searched this issue numerous times and never found anything about it.

It's never happened to me using my custom pack with basically the same mods that are in FTB (just to give a comparison of size).

I'd be very surprised if NEI or Minecraft was limiting these things and no one else had mentioned it until very recently (seriously I'd never seen this mentioned until a few weeks ago).

The NEI or CodeChickenCore or Forge you're using could be out-of-date/faulty or a mod could be slightly corrupt (sometimes they still run).

Also if you're using MFR there's been said it has had a lot of render issues before.

Maybe try with a larger -PermSize switch such as -XX:PermSize=256M
Thanks, and yes, Codechickencore coremod is the issue, NEI, Ender Storage, and those mods that depend on CodeChickenCore were needed to be disabled in order to solve this bug, therefore I PM ChickenBones, if you can PM him to make this more "important" would be awesome.

I also tried the FTB modpack patch which works find with NEI, but lacks a lot of things and again, its size is quite less than the Pack that I tried (DNS 1.5.X sorry for didn't mention this before).

All of this seems to make CodeChickenCore Guilty of that issue, Thanks for your help HanFox I really appreciate that.

-I will be interested in design Patches, maybe in the near future when I have more time.
User avatar
Former Staff
1033 Posts
 x 0

Post 08 Aug 2013, 23:53

What is DNS?
User avatar
6 Posts
 x 0

Post 09 Aug 2013, 03:25

Aedaeum wrote:
What is DNS?
User avatar
Former Staff
1033 Posts
 x 0

Post 09 Aug 2013, 04:15

So you're using minecaft 1.5? Make sure your chickenbones and all of them are actually not for 1.6.
User avatar
BDcraft Admin
578 Posts
 x 20

Post 09 Aug 2013, 08:46

Suppresed wrote:
I tried to put some 128x patches to my Minecraft.jar, it actually runs pretty smoothly with just a few, the thing is after add a determinate amount of Patches it just crashes [...]
Don't change the JAR files but use the ZIP file of the used resourcepack ot texturepack instead.
If you like a post give it a diamond! :arrow_heading_up:
Have you tried Cubik?
User avatar
6 Posts
 x 0

Post 09 Aug 2013, 13:04

Aedaeum wrote:
So you're using minecaft 1.5? Make sure your chickenbones and all of them are actually not for 1.6.
Yes 1.5.2 allocated 4GB (of 8GB in total, i think the maximum allocatable ram is always the half of the system ram, correct me if i am wrong ) and CodeChickenCore 0.8.7.3 fix-1.jar i thought with this will be work because of the "fix" thingy, but not it didn't.
Sphax wrote:
Suppresed wrote:
I tried to put some 128x patches to my Minecraft.jar, it actually runs pretty smoothly with just a few, the thing is after add a determinate amount of Patches it just crashes [...]
Don't change the JAR files but use the ZIP file of the used resourcepack ot texturepack instead.
Does that increase FPS?

EDIT: I think my hardware can't handle this somehow. I think my GTS 450 has nothing. For now i will wait until:
1. CCC gets fixed
2. 64x version of the patch
3. Have money to better hardware

This error came up using Sphax from "Texture Pack" folder.
User avatar
BDcraft Web Admin
6615 Posts
 x 437

Post 09 Aug 2013, 20:05

Regarding the RAM... you're wrong :P You must be thinking of swaps on Linux or something ;) That's classically said to be half the size of your RAM.

The max RAM for Java is the max you can allocate before any used by the system. Generally if you have 8GB that'll be 6.5-7GB.

It doesn't matter if you put the textures in the mods or not. It's just not "the way" as it's inconvenient. When the mod updates the textures are lost. It's incredibly unlikely any mod author is purposely making sure their textures aren't changed inside the mod.

Also, it has no baring on the FPS as the textures are generally loaded to memory anyway.

There is a chance your hardware could be at fault and trying 64x may fix your issue, but I'm unsure.

I'd be interested to see if anything came of the poking ChickenBones about CCC...
Profile pic by TsaoShin: https://www.deviantart.com/tsaoshin
User avatar
72 Posts
 x 0

Post 12 Aug 2013, 00:26

Are you using Optifine? A number of us are discussing this very error message, but it's fixed when we disable Optifine. This is the first I've heard of it being an issue with ChickenBones' stuff. Maybe it's a compatibility issue between Optifine and CCC?
Amateur dinosaur hunter and extreme weather enthusiast, whose interests include spoken mime, armchair parkour, tactical gaslighting, conspicuous ninjutsu and Schröedinger's pentameter—of which this sentence may or may not be an example.​
Locked