Secretchronicles / TSC

An open source two-dimensional platform game.
https://secretchronicles.org/
GNU General Public License v3.0
205 stars 49 forks source link

Black box in the center #572

Closed devnexen closed 7 years ago

devnexen commented 8 years ago

Hello all, Following what said here, it is the output I get when I launch the app, leading to have a black box in the center each time a menu item is clicked

dcarlier@dragonflame ~/tsc/tsc/build $ ./tsc
Initializing Package Manager
CEGUI::UnknownObjectException in function 'CEGUI::Image& CEGUI::ImageManager::get(const CEGUI::String&) const' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/ImageManager.cpp:261) : Image not defined: hud_itembox_item
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/desert_1/bones/rackabones_back.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/desert_1/bones/rackabones_back.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/desert_1/bones/rackabones_front.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/desert_1/bones/rackabones_front.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/desert_1/bones/rackabones_middle.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/desert_1/bones/rackabones_middle.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/snow_1/lattice/white_1/left_down.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/snow_1/lattice/white_1/left_down.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/snow_1/lattice/white_1/left_down.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/snow_1/lattice/white_1/left_down.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/snow_1/lattice/white_1/left_down.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/snow_1/lattice/white_1/left_down.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/snow_1/lattice/white_1/punch_in.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/snow_1/lattice/white_1/punch_in.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/snow_1/lattice/white_1/middle.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/snow_1/lattice/white_1/middle.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/snow_1/lattice/white_1/left_down.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/snow_1/lattice/white_1/left_down.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/mushroom_1/platform/shaft_bottom.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/mushroom_1/platform/shaft_bottom.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/mushroom_1/platform/shaft_top.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/mushroom_1/platform/shaft_top.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/ghost_1/spiderweb_1.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/ghost_1/spiderweb_1.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/ghost_1/spiderweb_1.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/ghost_1/spiderweb_1.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/underground/cain.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/underground/cain.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/underground/cain_end.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/underground/cain_end.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/castle_1/statue/plinth_1.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/castle_1/statue/plinth_1.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/castle_1/statue/objects/spika.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/castle_1/statue/objects/spika.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/castle_1/statue/objects/furball.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/castle_1/statue/objects/furball.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/castle_1/statue/objects/fireberry.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/castle_1/statue/objects/fireberry.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/castle_1/statue/objects/spikeball.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/castle_1/statue/objects/spikeball.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/castle_1/statue/objects/eato.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/castle_1/statue/objects/eato.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/castle_1/statue/objects/berry.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/castle_1/statue/objects/berry.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/castle_1/statue/objects/shell.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/castle_1/statue/objects/shell.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/castle_1/statue/objects/small_alex.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/castle_1/statue/objects/small_alex.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/castle_1/statue/objects/cookie.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/castle_1/statue/objects/cookie.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/plastic_1/screw_block_grey/down.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/plastic_1/screw_block_grey/down.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/plastic_1/screw_block_grey/up.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/plastic_1/screw_block_grey/up.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/plastic_1/screw_block_grey/up.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/plastic_1/screw_block_grey/up.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'ground/plastic_1/screw_block_grey/down.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/ground/plastic_1/screw_block_grey/down.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'blocks/brick/1_grey.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/blocks/brick/1_grey.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'blocks/brick/1_white.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/blocks/brick/1_white.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'enemy/static/metal_1/1.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/enemy/static/metal_1/1.png"
Using dummy image instead.
CEGUI::RendererException in function 'virtual void CEGUI::OpenGLTexture::loadFromFile(const CEGUI::String&, const CEGUI::String&)' (/build/cegui-mk2-2y5uBW/cegui-mk2-0.8.4+dfsg/cegui/src/RendererModules/OpenGL/Texture.cpp:212) : SILLYImageCodec - Official SILLY based image codec failed to load image 'enemy/static/metal_1/1.png'.
Warning: Failed to load as editor item image: "/usr/local/share/tsc/pixmaps/enemy/static/metal_1/1.png"
Using dummy image instead.
Failed to load image "/usr/local/share/tsc/pixmaps". Reason: Image not of any known type, or corrupt
Error loading image : /usr/local/share/tsc/pixmaps/game/alex_l.png

Error loading GL surface image
Error loading image : /usr/local/share/tsc/pixmaps/game/gold_m.png

Error loading GL surface image
Error loading image : /usr/local/share/tsc/pixmaps/game/itembox.png

Error loading GL surface image
Error loading image : /usr/local/share/tsc/pixmaps/menu/items/quit.png

Error loading GL surface image

Do not know the game enough to spot where it comes from some pics really miss but not sure the root cause comes from it.

datahead8888 commented 8 years ago

@devnexen, could you include a screenshot with the black box in it?

If the black box is caused by a missing image, it could very well be any one of these errors that caused it, but a screenshot might make it a little more obvious. I had some missing images myself in the level editor for icons there.

You could try running rm -rf on your entire build directory, rebuilding from scratch, and seeing what happens. This would force reinstallation of all images in your build.

devnexen commented 8 years ago

screenshot_2016-11-03_21-06-29

datahead8888 commented 8 years ago

I'm not seeing what image would correspond to that, for a menu selection. @Quintus, do you know of anything in Cegui that would be likely to generate a black box like this for a menu click, if devnexen had an installation issue?

Quintus commented 8 years ago

On Thu, Nov 03, 2016 at 07:14:48PM -0700, Chris Jacobsen wrote:

I'm not seeing what image would correspond to that, for a menu selection. @Quintus, do you know of anything in Cegui that would be likely to generate a black box like this for a menu click, if devnexen had an installation issue?

Looks like the glm bug. Please upgrade your CEGUI to >= 0.8.5; it is a (fairly fatal) bug in CEGUI itself. See here:

https://bitbucket.org/cegui/cegui/issues/1063

Vale, Quintus

Blog: http://www.guelkerdev.de PGP/GPG ID: F1D8799FBCC8BC4F

devnexen commented 8 years ago

@Quintus thanks for your input that makes sense.

datahead8888 commented 8 years ago

Might it be good to make TSC give a build error (unless overridden) if the installed version of Cegui is not high enough?

Quintus commented 8 years ago

Might it be good to make TSC give a build error (unless overridden) if the installed version of Cegui is not high enough?

No, because the fix may be backported on some Linux distributions to older versions of CEGUI, notably Ubuntu: https://bugs.launchpad.net/ubuntu/+source/cegui-mk2/+bug/1608114

Vale, Quintus

Quintus commented 7 years ago

@devnexen Did upgrading CEGUI fix the problem for you?

devnexen commented 7 years ago

Sorry it did not have the time to get into it will do this weekend :-|

devnexen commented 7 years ago

Problem solved ;-)