Tekkitmain crashes when gate surface is resized to 32x32
kyctarniq opened this issue · 6 comments
I am retexturing for Tekkit. I increased all textures in blocks/gates/surface to 32x32. When the resized textures are included them in the texture pack. Tekkit main crashes.
I cannot attach the crash report so I will imbed it. Sorry:
---- Minecraft Crash Report ----
// Why is it breaking :(
Time: 15/04/14 10:59 AM
Description: Registering texture
java.lang.ExceptionInInitializerError
at mrtjp.projectred.integration.ComponentStore.registerIcons(Unknown Source)
at mrtjp.projectred.integration.ItemPartGate.func_94581_a(Unknown Source)
at net.minecraft.client.renderer.texture.TextureMap.func_110573_f(TextureMap.java:186)
at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:62)
at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:57)
at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:69)
at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:133)
at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:99)
at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:87)
at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:543)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:265)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:509)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
Caused by: java.lang.RuntimeException: Wire segment not 2x2 at (8, 16)
at mrtjp.projectred.integration.ComponentStore$WireComponentModel.rectangulate(Unknown Source)
at mrtjp.projectred.integration.ComponentStore$WireModel3D.generateModel(Unknown Source)
at mrtjp.projectred.integration.ComponentStore$WireModel3D.(Unknown Source)
at mrtjp.projectred.integration.ComponentStore.generateWireModel(Unknown Source)
at mrtjp.projectred.integration.ComponentStore.generateWireModels(Unknown Source)
at mrtjp.projectred.integration.RenderGate$OR.(Unknown Source)
at mrtjp.projectred.integration.RenderGate.(Unknown Source)
... 20 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Stacktrace:
at mrtjp.projectred.integration.ComponentStore.registerIcons(Unknown Source)
at mrtjp.projectred.integration.ItemPartGate.func_94581_a(Unknown Source)
at net.minecraft.client.renderer.texture.TextureMap.func_110573_f(TextureMap.java:186)
at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:62)
at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:57)
-- Resource location being registered --
Details:
Resource location: minecraft:textures/atlas/blocks.png
Texture object class: net.minecraft.client.renderer.texture.TextureMap
Stacktrace:
at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:69)
at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:133)
at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:99)
at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:87)
at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:543)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:265)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:509)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 240787744 bytes (229 MB) / 618135552 bytes (589 MB) up to 954728448 bytes (910 MB)
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1024m -XX:MaxPermSize=128m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 107 mods loaded, 107 mods active
mcp{8.09} Minecraft Coder Pack Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
FML{6.4.49.965} Forge Mod Loader Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Forge{9.11.1.965} Minecraft Forge Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
AppliedEnergistics-Core{rv14.finale3} AppliedEnergistics Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CodeChickenCore{0.9.0.7} CodeChicken Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ImmibisMicroblocks{57.6.3} Immibis's Microblocks Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Micdoodlecore{} Micdoodle8 Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
NotEnoughItems{1.6.1.8} [Not Enough Items](notenoughitems 1.6.1.8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
OpenModsCore{0.3} OpenModsCore Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
PowerCrystalsCore{1.1.8} PowerCrystals Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
mod_ReiMinimap{v3.4_01 [1.6.2]} mod_ReiMinimap Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
AppliedEnergistics{rv14.finale3} Applied Energistics Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Core{4.2.2} BuildCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
UniversalElectricity{3.1.0} Universal Electricity Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CalclaviaCore{1.2.0} [CalclaviaCore](calclavia core-1.2.0.299-main.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
AtomicScience{1.2.0} Atomic Science Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Autoutils{1.0.1} Autoutils Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Backpack{1.26.29} Backpack Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ComputerCraft{1.58} ComputerCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Builders{4.2.2} BC Builders Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Energy{4.2.2} BC Energy Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Factory{4.2.2} BC Factory Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Transport{4.2.2} BC Transport Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded{1.6.2R2.7.5} MineFactory Reloaded Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoFHCore{2.0.0.2} CoFH Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
NetherOres{1.6.2R2.2.1} Nether Ores Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ForgeMultipart{1.0.0.250} Forge Multipart Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ThermalExpansion{3.0.0.2} Thermal Expansion Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BigReactors{0.3.0A} Big Reactors Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
bspkrsCore{v5.3(1.6.4)} bspkrsCore Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Silicon{4.2.2} BC Silicon Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Additional-Buildcraft-Objects{1.0.7.560} Additional Buildcraft Objects Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CarpentersBlocks{2.0.3} [Carpenter's Blocks](carpenter's blocks v2.0.3 - MC 1.6+.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ChickenChunks{1.3.3.3} [ChickenChunks](ChickenChunks 1.3.3.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoFHLoot{2.0.0.2} CoFH Loot Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoFHMasquerade{2.0.0.2} CoFH Masquerade Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoFHSocial{2.0.0.2} CoFH Social Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoFHWorld{2.0.0.2} CoFH World Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CCTurtle{1.58} ComputerCraft Turtles Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ImmibisCore{57.1.94} Immibis Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
DimensionalAnchors{57.1.95} Dimensional Anchors Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
dimdoors{1.6.4R2.2.2RC1} Dimensional Doors Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
EnderStorage{1.4.3.5} [EnderStorage](EnderStorage 1.4.3.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
EE3{0.1} Equivalent Exchange 3 Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Mystcraft{0.10.12.01} Mystcraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
OpenMods{0.3} OpenMods Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ProjRed|Core{4.3.3.28} ProjectRed Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ProjRed|Transmission{4.3.3.28} ProjectRed-Transmission Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
OpenPeripheralCore{0.3.2} OpenPeripheralCore Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ExtraUtilities{1.0.1} Extra Utilities Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
GalacticraftCore{2.0.11} Galacticraft Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
GalacticraftMars{2.0.11} Galacticraft Mars Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
GregsLighting{1.9.1} Greg's Lighting Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
inventorytweaks{1.56} Inventory Tweaks Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
IronChest{5.4.1.697} Iron Chest Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
LogisticsPipes|Main{0.7.4.dev.106} Logistics Pipes Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MFR Compat Forestry Trees{1.0} MFR Compat Forestry Trees Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MFR Compat Extra Trees{1.0} MFR Compat Extra Trees Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatAppliedEnergistics{1.6.2R2.7.5} MFR Compat: Applied Energistics Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatAtum{1.6.2R2.7.5} MFR Compat: Atum Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatBackTools{1.6.2R2.7.5} MFR Compat: BackTools Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatBuildCraft{1.6.2R2.7.5} MFR Compat: BuildCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatChococraft{1.6.2R2.7.5} MFR Compat: Chococraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatExtraBiomes{1.6.2R2.7.5} MFR Compat: ExtraBiomes Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatForestry{1.6.2R2.7.5} MFR Compat: Forestry Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatForestryPre{1.6.2R2.7.5} MFR Compat: Forestry (part 2) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatForgeMicroblock{1.6.2R2.7.5} MFR Compat: ForgeMicroblock Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatIC2{1.6.2R2.7.5} MFR Compat: IC2 Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatMystcraft{1.6.2R2.7.5} MFR Compat: Mystcraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatPams{1.6.2R2.7.5} MFR Compat: Pam's Mods Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ProjRed|Exploration{4.3.3.28} ProjectRed-Exploration Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatProjRed{1.6.2R2.7.5} MFR Compat ProjectRed Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatRailcraft{1.6.2R2.7.5} MFR Compat: Railcraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatRP2{1.6.2R2.7.5} MFR Compat: RP2 Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatSufficientBiomes{1.6.2R2.7.5} MFR Compat: Sufficient Biomes Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatThaumcraft{1.6.2R2.7.5} MFR Compat: Thaumcraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatThermalExpansion{1.6.2R2.7.5} MFR Compat: Thermal Expansion Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatTwilightForest{1.6.2R2.7.5} MFR Compat: TwilightForest Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatVanilla{1.6.2R2.7.5} MFR Compat: Vanilla Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatXyCraft{1.6.2R2.7.5} MFR Compat: XyCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MFFS{3.6.2} Modular Force Field System Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
numina{0.1.2-55} Numina Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
powersuits{0.10.0-91} MachineMuse's Modular Powersuits Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
NEIPlugins{1.1.0.6} NEI Plugins Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
OCS{1.6.4.1} OpenCCSensors Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
OpenPeripheral{0.1.2} OpenPeripheralAddons Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
powersuitaddons{@Version@} Andrew's Modular Powersuits Addons Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
bau5_ProjectBench{1.8.0} Project Bench Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ProjRed|Transportation{4.3.3.28} ProjectRed-Transportation Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ProjRed|Compatibility{4.3.3.28} ProjectRed-Compatibility Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ProjRed|Integration{4.3.3.28} ProjectRed-Integration Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ProjRed|Illumination{4.3.3.28} ProjectRed-Illumination Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ProjRed|Expansion{4.3.3.28} ProjectRed-Expansion Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
QuantumCraft{1.1} qCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Redstone Arsenal{1.0.0.0} Redstone Arsenal Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
JAKJ_RedstoneInMotion{2.3.0.0} Redstone In Motion Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
StevesCarts{2.0.0.b10} Steve's Carts 2 Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
tradeboothmod{0.6.4.2} Trade Booth Mod Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
TreeCapitator{Forge 1.6.4.r09} Treecapitator Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Vending{1.1.1} Vending Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Waila{1.5.1} Waila Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
weaponmod{1.6.2 v1.13.5} Balkon's WeaponMod Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
WR-CBE|Core{1.4.0.6} [WR-CBE Core](WR-CBE 1.4.0.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
WR-CBE|Addons{1.4.0.6} [WR-CBE Addons](WR-CBE 1.4.0.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
WR-CBE|Logic{1.4.0.6} [WR-CBE Logic](WR-CBE 1.4.0.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
McMultipart{1.0.0.250} Minecraft Multipart Plugin Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ForgeMicroblock{1.0.0.250} Forge Microblocks Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Launched Version: 1.6.4-Forge9.11.1.965
LWJGL: 2.9.0
OpenGL: GeForce GTS 360M/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: K32_Tekkit_1.2.8e_vx.zip
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ERROR NullPointerException: null
Not to be impertinent but why aren't they. They are in the texture location in the file tree. Your coding could detect the size of the mask and allocate the memory correctly.
They are maps that indicate how the gate model is suppose to be generated. There is no need to texture then anyway
On Apr 14, 2014, at 11:30 PM, kyctarniq [email protected] wrote:
Not to be impertinent but why aren't they. They are in the texture location in the file tree. Your coding could detect the size of the mask and allocate the memory correctly.
—
Reply to this email directly or view it on GitHub.
In Redpower2 when it was a full sheet of textures I did texture them to refine the circuit pattern. I was planning to do the same for Projectred. I like the changes in design you have made. If it is not possible I understand.
If you'd like to change the model generation of the gate (aka, the circuit patterns) then change the surface maps. They are black and white bitmap images in the surface folder. They are already 32x32 in size. The one requirement is that each white space is a 2x2 pixel, you can't go any higher than that. The textures themselves are 32x32 so the circuit patterns could be centered, but the wires themselves can't be 'smaller', if you understand what i mean.