LegendHoly wrote:
GraCa is a weird way to say Graphics card. I think the issue is not clearly my graphics card. I made the image quite small (like 400x800) and I have 512mb gpu(a shorter and more clear way of saying graphics card).
No it's complety "legal". The first to syllables of the 2 words oO
Quote:
Here is the complete error netbeans is giving me. I believe this is the stack trace, but I am not sure. I think my teacher told me this was what was happening with the stack during class one time.
Don't get me wrong, but you should know something basic like that^^
And if you not sure what the stacktrace is (yes this one here is one) you probatly have errors in your code.
Code:
Tue May 03 21:55:00 CDT 2011 INFO:Slick Build #274
Tue May 03 21:55:00 CDT 2011 INFO:LWJGL Version: 2.0b1
Tue May 03 21:55:00 CDT 2011 INFO:OriginalDisplayMode: 1440 x 900 x 24 @50Hz
Tue May 03 21:55:00 CDT 2011 INFO:TargetDisplayMode: 800 x 600 x 0 @0Hz
Tue May 03 21:55:00 CDT 2011 INFO:Starting display 800x600
Tue May 03 21:55:00 CDT 2011 INFO:Use Java PNG Loader = true
Failed to open device (/dev/input/event8): Failed to open device /dev/input/event8 (13)
Failed to open device (/dev/input/event7): Failed to open device /dev/input/event7 (13)
Failed to open device (/dev/input/event6): Failed to open device /dev/input/event6 (13)
Failed to open device (/dev/input/event4): Failed to open device /dev/input/event4 (13)
Failed to open device (/dev/input/event3): Failed to open device /dev/input/event3 (13)
Failed to open device (/dev/input/event2): Failed to open device /dev/input/event2 (13)
Failed to open device (/dev/input/event1): Failed to open device /dev/input/event1 (13)
Failed to open device (/dev/input/event0): Failed to open device /dev/input/event0 (13)
Linux plugin claims to have found 0 controllers
Tue May 03 21:55:00 CDT 2011 INFO:Found 0 controllers
Tue May 03 21:55:01 CDT 2011 ERROR:Attempt to allocate a texture to big for the current hardware
java.io.IOException: Attempt to allocate a texture to big for the current hardware
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:293)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:231)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:171)
at org.newdawn.slick.Image.<init>(Image.java:196)
at org.newdawn.slick.tiled.TileSet.<init>(TileSet.java:113)
at org.newdawn.slick.tiled.TiledMap.load(TiledMap.java:447)
at org.newdawn.slick.tiled.TiledMap.<init>(TiledMap.java:90)
at org.newdawn.slick.tiled.TiledMap.<init>(TiledMap.java:77)
at jarclipseclient.client.init(client.java:60)
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314)
at jarclipseclient.client.main(client.java:44)
Tue May 03 21:55:01 CDT 2011 ERROR:Failed to load image from: /home/james/likenstuff/graphics/tilesets/1.png
org.newdawn.slick.SlickException: Failed to load image from: /home/james/likenstuff/graphics/tilesets/1.png
at org.newdawn.slick.Image.<init>(Image.java:199)
at org.newdawn.slick.tiled.TileSet.<init>(TileSet.java:113)
at org.newdawn.slick.tiled.TiledMap.load(TiledMap.java:447)
at org.newdawn.slick.tiled.TiledMap.<init>(TiledMap.java:90)
at org.newdawn.slick.tiled.TiledMap.<init>(TiledMap.java:77)
at jarclipseclient.client.init(client.java:60)
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314)
at jarclipseclient.client.main(client.java:44)
Caused by: java.io.IOException: Attempt to allocate a texture to big for the current hardware
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:293)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:231)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:171)
at org.newdawn.slick.Image.<init>(Image.java:196)
... 8 more
Tue May 03 21:55:01 CDT 2011 ERROR:Failed to parse tilemap
org.newdawn.slick.SlickException: Failed to parse tilemap
at org.newdawn.slick.tiled.TiledMap.load(TiledMap.java:480)
at org.newdawn.slick.tiled.TiledMap.<init>(TiledMap.java:90)
at org.newdawn.slick.tiled.TiledMap.<init>(TiledMap.java:77)
at jarclipseclient.client.init(client.java:60)
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314)
at jarclipseclient.client.main(client.java:44)
Caused by: org.newdawn.slick.SlickException: Failed to load image from: /home/james/likenstuff/graphics/tilesets/1.png
at org.newdawn.slick.Image.<init>(Image.java:199)
at org.newdawn.slick.tiled.TileSet.<init>(TileSet.java:113)
at org.newdawn.slick.tiled.TiledMap.load(TiledMap.java:447)
... 6 more
Caused by: java.io.IOException: Attempt to allocate a texture to big for the current hardware
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:293)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:231)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:171)
at org.newdawn.slick.Image.<init>(Image.java:196)
... 8 more
Well there are a lot of errors. So i guess there errors in your code. an maybe your "decent" graphic crad does not support texture above 512x512

[/quote]
_________________
Current Projects:
Mr. Hat I
Vegan Vs. ZombiesProjects:RadicalFish Engine - Build on top of Slick2D, Ideas, Bugs? Open an Issue ticket!