CMT bug with hardened clay. Causes crashes. Only in 512x

Archive of bug reports that have been completed or locked for various other reasons.
Note: This forum is visibly hidden from users, but is still searchable and readable.
Locked 
User avatar
17 Posts
 x 0

Post 29 Jul 2013, 07:11

I was trying to us the 512x version of sphax with optifine when i kept crashing and crashing. Well i traced it back to the source and it turns out the connected textures for the hardened clay was causing it. Just a report for ya. 8)

Show
-- 28 Jul 2013, 23:17 --

---- Minecraft Crash Report ----
// Daisy, daisy...

Time: 7/28/13 11:52 PM
Description: Registering texture

big: Unable to fit: mcpatcher/ctm/clay/710 - size: 512x512 - Maybe try a lowerresolution texturepack?
at bid.c(Stitcher.java:82)
at bih.b(TextureMap.java:155)
at bih.a(TextureMap.java:86)
at bij.a(TextureManager.java:80)
at bij.a(TextureManager.java:63)
at bij.a(TextureManager.java:50)
at ats.O(SourceFile:378)
at ats.d(SourceFile:599)
at net.minecraft.client.main.Main.main(SourceFile:101)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at bid.c(Stitcher.java:82)
at bih.b(TextureMap.java:155)
at bih.a(TextureMap.java:86)

-- Resource location being registered --
Details:
Resource location: minecraft:textures/atlas/blocks.png
Texture object class: bih
Stacktrace:
at bij.a(TextureManager.java:80)
at bij.a(TextureManager.java:63)
at bij.a(TextureManager.java:50)
at ats.O(SourceFile:378)

-- Initialization --
Details:
Stacktrace:
at ats.d(SourceFile:599)
at net.minecraft.client.main.Main.main(SourceFile:101)

-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_17, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1009361248 bytes (962 MB) / 3408527360 bytes (3250 MB) up to 9544400896 bytes (9102 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx10G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: IWrUpdater, Config, WrUpdates, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.6.2-optifine
LWJGL: 2.9.0
OpenGL: AMD Radeon HD 7570 GL version 4.2.11627 Compatibility Profile Context, ATI Technologies Inc.
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Resource Pack: Sphax PureBDcraft 512x MC16 (1).zip
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Frostykins, Shmoshtykins. :D
If you like our work please consider becoming a Supporter and get an ad-free experience.
User avatar
BDcraft Admin
578 Posts
 x 20

Post 29 Jul 2013, 07:35

Yes CTM for Clay blocks require lot of RAM and VRAM be cause there are lot of textures...
If you want 512x, deleting clay folder in the PureBDcraft ZIP file can solve the problem.
If you like a post give it a diamond! :arrow_heading_up:
Have you tried Cubik?
User avatar
17 Posts
 x 0

Post 29 Jul 2013, 08:32

More than 10 gigs?
Frostykins, Shmoshtykins. :D
User avatar
BDcraft Admin
578 Posts
 x 20

Post 29 Jul 2013, 18:28

Allocating 8GB to Java and Minecraft is enough to run 512x. However, you'll also need a graphic card with something like 4GB dedicated VRAM...
If you like a post give it a diamond! :arrow_heading_up:
Have you tried Cubik?
User avatar
Patch Creator
51 Posts
 x 0

Post 30 Jul 2013, 15:46

@Sphax
I attempted to get rid of a ton of textures:
Download
It only works with MCPatcher and all the blocks are white in your inventory, though. :(
spanky is a phony brony.
User avatar
Lifetime Supporter
23 Posts
 x 0

Post 04 Aug 2013, 22:20

Sphax wrote:
Allocating 8GB to Java and Minecraft is enough to run 512x. However, you'll also need a graphic card with something like 4GB dedicated VRAM...
I dedicated 8 GB of RAM to Minecraft (also tried 12) and have a 6 GB graphics card (single GPU card) and it still crashes. (I'm using MCPatcher; I have not tried Optifine.)
I deleted the clay folder in the pack and it works fine now.
It seems CTM + clay textures are not an option for 512x. :-/
User avatar
BDcraft Admin
578 Posts
 x 20

Post 04 Aug 2013, 22:40

BlueJayofEvil wrote:
Sphax wrote:
Allocating 8GB to Java and Minecraft is enough to run 512x. However, you'll also need a graphic card with something like 4GB dedicated VRAM...
I dedicated 8 GB of RAM to Minecraft (also tried 12) and have a 6 GB graphics card (single GPU card) and it still crashes. (I'm using MCPatcher; I have not tried Optifine.)
I deleted the clay folder in the pack and it works fine now.
It seems CTM + clay textures are not an option for 512x. :-/
Does it work with 256x for you?
If you like a post give it a diamond! :arrow_heading_up:
Have you tried Cubik?
User avatar
Lifetime Supporter
23 Posts
 x 0

Post 05 Aug 2013, 01:55 

Sphax wrote:
Does it work with 256x for you?
Just tried 256x and it works fine. No errors or crashes.

I thought I'd bring this thought up:
Someone (another resource pack author iirc) mentioned optimizing their textures by using JPG (with 70-100% quality setting) for opaque-only textures (e.g. stone, clay, etc) instead of PNG because PNG stores an alpha/transparency layer that makes files bigger (and thus use more memory.) JPG doesn't have that layer and can be used with very little corruption/distortion at higher quality settings.
Have you considered trying something like this? It could be worth a shot?
User avatar
BDcraft Admin
578 Posts
 x 20

Post 05 Aug 2013, 08:09

I don't think that Minecraft supports JPG and even if it supports them, that will not solve any problem.
Because:
1) PNG is not big because of an alpha layer (it's an optionnal layer) but because it's compressed with a lossless algorythm
2) The textures are "converted" in memory as a raw texture for the graphic card. That means that a PNG or a JPG or even a BMP will take the same space in memory for the graphic card. That also means that the JPG would save up memory for the HDD only with a smaller ZIP file
3) JPG is a very bad picture format and is only good for photos

;)
If you like a post give it a diamond! :arrow_heading_up:
Have you tried Cubik?
User avatar
Lifetime Supporter
23 Posts
 x 0

Post 05 Aug 2013, 19:51

Oh, ok. Was worth asking about I guess. lol

But as for the clay CTM issue, the only "solution" I can think of is to offer alternate textures without the border (similar to default Minecraft.)
Locked