liuweireign / tectonicus

Automatically exported from code.google.com/p/tectonicus
0 stars 0 forks source link

Error: Couldn't load terrain.png #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After updating Minecraft my Tectonicus map script started failing. I tried 
updating to 2.15 but I get the same error.

Command:
java -Xms6G -Xmx12G -jar Tectonicus_v2.15.jar config=config.xml

Config:
<?xml version="1.0"?>
<tectonicus version="2">
    <config mode="cmd" 
        outputDir=".\Travis"
        logFile=".\Travis.txt"
         />
    <rasteriser
        type="lwjgl"
        colourDepth="16"
        alphaBits="8"
        numSamples="4"
        tileSize="512"
    />
    <map dimension="terra" 
        name="Travis"
        worldDir="C:\Users\Travis\AppData\Roaming\.minecraft\saves\seed- travis"
    >
        <layer name="Day" imageFormat="gif" lighting="day" />
        <layer name="Night" imageFormat="gif" lighting="night" />
        <layer name="Cave" renderStyle="cave" imageFormat="gif" lighting="cave" />
    </map>
    <map dimension="nether" 
        name="Travis-Nether"
        worldDir="C:\Users\Travis\AppData\Roaming\.minecraft\saves\seed- travis"
    >
        <layer name="Nether" renderStyle="nether" imageFormat="gif" lighting="day" />
    </map>  
    <tweeks
        force64BitNatives="true"
    >
    </tweeks>
</tectonicus>

Log:
 + + + + + + + + + + + + + + + + + + + + + + +
                  Tectonicus
   Version: 2.15
   Build 41\:42\r\n
   Constructed on December 2 2012 at 2218
 + + + + + + + + + + + + + + + + + + + + + + +
Started on Mon May 20 23:18:26 EDT 2013
System:
    OS Name: Windows 7
    OS Architecture: amd64
    OS Version: 6.1
    Java vendor: Oracle Corporation
    Java version: 1.7.0_21
    Awt toolkit: sun.awt.windows.WToolkit
    Headless?: null
Settings:
    mode:CommandLine
    rasteriser:Lwjgl
    outputDir:B:\minecraft\Tectonicus_v2.14\.\Travis
    useCache:true
    cacheDir:B:\minecraft\Tectonicus_v2.14\.\Travis\Cache
    minecraftJar:C:\Users\Travis\AppData\Roaming\.minecraft\bin\minecraft.jar
    texturePack:none
    colourDepth:16
    alphaBits:8
    numSamples:4
    tileSize:512
    numZoomLevels:8
    portalsInitiallyVisible:true
    showSpawn:true
    signsInitiallyVisible:true
    playersInitiallyVisible:true
    bedsInitiallyVisible:true
    spawnInitiallyVisible:true
    viewsInitiallyVisible:true
    eraseOutputDir:false
    extractLwjglNatives:true
    isVerbose:false
    forceLoadAwt:false
    force32BitNatives:false
    force64BitNatives:true
    logFile:B:\minecraft\Tectonicus_v2.14\.\Travis.txt
    outputHtmlName:map.html
    numDownsampleThreads:8
    singlePlayerName:
'Travis' map
    worldDir: C:\Users\Travis\AppData\Roaming\.minecraft\saves\seed- travis
    dimension: Terra
    cameraAngle: 45
    cameraElevation: 45
    closestZoomSize: 12
    worldSubset: FullWorldSubset
    useBiomeColours: false
    'Day' layer
        renderStyle: Regular
        lightStyle: Day
        imageFormat: Gif
        customBlockConfig: 
    'Night' layer
        renderStyle: Regular
        lightStyle: Night
        imageFormat: Gif
        customBlockConfig: 
    'Cave' layer
        renderStyle: Cave
        lightStyle: Cave
        imageFormat: Gif
        customBlockConfig: 
'Travis-Nether' map
    worldDir: C:\Users\Travis\AppData\Roaming\.minecraft\saves\seed- travis
    dimension: Nether
    cameraAngle: 45
    cameraElevation: 45
    closestZoomSize: 12
    worldSubset: FullWorldSubset
    useBiomeColours: false
    'Nether' layer
        renderStyle: Nether
        lightStyle: Day
        imageFormat: Gif
        customBlockConfig: 
Forcing 64-bit native libraries
Using existing player skin cache
Creating player icon assembler
Initialising display...
    Drawable: org.lwjgl.opengl.Display$3@781efa43
    created pbuffer: org.lwjgl.opengl.Pbuffer@7a882480
    used pixel format:   colour:16 depth:16 alpha:8 stencil:0 samples:4
    display created ok
Using rasteriser: tectonicus.rasteriser.lwjgl.LwjglRasteriser@17ef1258
 -- Lwjgl Rasteriser -- 
    type: Offscreen
    width: 2048
    heigth: 2048
    pBuffer: org.lwjgl.opengl.Pbuffer@7a882480
    OpenGL Vendor: ATI Technologies Inc.
    OpenGL Renderer: ATI Radeon HD 5700 Series
    OpenGL Version: 4.1.10750 Compatibility Profile Context
Creating camera
TileRenderer init complete
StartingRenderer
Starting tile renderer
Loading world from base dir 
C:\Users\Travis\AppData\Roaming\.minecraft\saves\seed- travis with dimension 
Terra
    Full dimension dir: C:\Users\Travis\AppData\Roaming\.minecraft\saves\seed- travis
Loading level.dat
Loading textures
java.io.FileNotFoundException: terrain.png (The system cannot find the file 
specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at tectonicus.texture.TexturePack.loadTexture(TexturePack.java:358)
    at tectonicus.texture.TexturePack.findTexture(TexturePack.java:306)
    at tectonicus.texture.TexturePack.findTexture(TexturePack.java:251)
    at tectonicus.texture.TexturePack.<init>(TexturePack.java:94)
    at tectonicus.world.World.<init>(World.java:188)
    at tectonicus.TileRenderer.output(TileRenderer.java:250)
    at tectonicus.TectonicusApp.run(TectonicusApp.java:952)
    at tectonicus.TectonicusApp.main(TectonicusApp.java:1212)
Error: Couldn't load terrain.png
java.lang.RuntimeException: Couldn't load textures from 
C:\Users\Travis\AppData\Roaming\.minecraft\bin\minecraft.jar
    at tectonicus.texture.TexturePack.<init>(TexturePack.java:213)
    at tectonicus.world.World.<init>(World.java:188)
    at tectonicus.TileRenderer.output(TileRenderer.java:250)
    at tectonicus.TectonicusApp.run(TectonicusApp.java:952)
    at tectonicus.TectonicusApp.main(TectonicusApp.java:1212)
Caused by: java.lang.NullPointerException
    at tectonicus.texture.TexturePack.findTexture(TexturePack.java:253)
    at tectonicus.texture.TexturePack.<init>(TexturePack.java:94)
    ... 4 more
Cleaning up...
Writing player skin cache info (0 skin to write)
100%
Player skin cache written
Finished

Java:
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

OS:
Windows 7 x64 [Version 6.1.7601]

Original issue reported on code.google.com by travis.h...@gmail.com on 21 May 2013 at 3:47

GoogleCodeExporter commented 9 years ago
You'll need to use a older version of the minecraft.jar which still has the old 
texture format. There is a config setting to tell Tectonicus to use a different 
jar file. I believe any version prior to 1.5 will still work, but without any 
new blocks of course. You can find the old versions on the Mojang blog.

Original comment by sambened...@gmail.com on 21 May 2013 at 4:34

GoogleCodeExporter commented 9 years ago
Thank you, I'll give that a try.

Original comment by travis.h...@gmail.com on 21 May 2013 at 5:11

GoogleCodeExporter commented 9 years ago
The latest minecraft.jar that worked for me was 1.4.7. I downloaded it from 
here:
http://assets.minecraft.net/1_4_7/minecraft.jar

I put it in a subfolder in the Tectonicus and updated the config:
minecraftJar=".\1_4_7\minecraft.jar"

It worked great, no errors, thanks!

Original comment by travis.h...@gmail.com on 23 May 2013 at 4:02

GoogleCodeExporter commented 9 years ago
Tectonicus v2.16 is available now and is compatible with the new Minecraft 1.5 
texture packs.

Original comment by skoeven on 24 May 2013 at 7:57

GoogleCodeExporter commented 9 years ago
Closing this issue.  The problem has been resolved in Tectonicus v2.16.

Original comment by skoeven on 27 May 2013 at 11:27

GoogleCodeExporter commented 9 years ago

Original comment by skoeven on 18 Jun 2013 at 7:13