kao_chen Posted July 26, 2012 Report Share Posted July 26, 2012 (edited) I have got a similar problem with a fresh install of 0ad.dev ppa on a fresh install of Ubuntu 12.04 X64:It happens when I select single player -> matchestex_dds.cpp(543): Function call failed: return value was -120102 (Invalid/unsupported texture format)Function call failed: return value was -120102 (Invalid/unsupported texture format)Location: tex_dds.cpp:543 (decode_sd)Call stack:(0x7eeb0a) /usr/games/pyrogenesis() [0x7eeb0a](0x7a1fa1) /usr/games/pyrogenesis() [0x7a1fa1](0x7a2c7e) /usr/games/pyrogenesis() [0x7a2c7e](0x7a2479) /usr/games/pyrogenesis() [0x7a2479](0x80f2f0) /usr/games/pyrogenesis() [0x80f2f0](0x7e64b5) /usr/games/pyrogenesis() [0x7e64b5](0x7c2a94) /usr/games/pyrogenesis() [0x7c2a94](0x7bfe11) /usr/games/pyrogenesis() [0x7bfe11](0x5ff1a8) /usr/games/pyrogenesis() [0x5ff1a8](0x5f7c1e) /usr/games/pyrogenesis() [0x5f7c1e](0x618978) /usr/games/pyrogenesis() [0x618978](0x7500ec) /usr/games/pyrogenesis() [0x7500ec](0x74333d) /usr/games/pyrogenesis() [0x74333d](0x7968a6) /usr/games/pyrogenesis() [0x7968a6](0x71d1ee) /usr/games/pyrogenesis() [0x71d1ee](0x71229a) /usr/games/pyrogenesis() [0x71229a]errno = 0 (No error reported here)OS error = ?I think it's a bug of the map menu, I can play if I click on "Continue" on the debug interface.RegardsKao Edited July 26, 2012 by kao_chen Quote Link to comment Share on other sites More sharing options...
feneur Posted July 26, 2012 Report Share Posted July 26, 2012 If you get a new issue (and this really doesn't seem to have any connection to the problems when setting multiple waypoints that the other topic was talking about), please post a new topic. That way it's a lot easier to make sure your issue is seen and solved and doesn't get lost in the confusion Quote Link to comment Share on other sites More sharing options...
luziferius Posted July 26, 2012 Report Share Posted July 26, 2012 that happens both in SP and MP setup screen once per selected map/RMSmaybe has to do something with the new map preview feature/ the redesigned UI Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted July 26, 2012 Report Share Posted July 26, 2012 I suppose it goes without saying that you're using the latest SVN? Which graphics card and driver are you using? Quote Link to comment Share on other sites More sharing options...
quantumstate Posted July 26, 2012 Report Share Posted July 26, 2012 Could you try running this command in the public/art/textures/ui/session/icons/mappreview directory. mogrify -resize 512x512! *.pngYou will need to have imagemagick installed. With the ppa you will need to extract the files from the zip somehow which could be slightly messy with permissions. With svn it is easier but is a big download. This will check if it is non power of 2 textures messing things up. Quote Link to comment Share on other sites More sharing options...
black_painkiller Posted July 27, 2012 Report Share Posted July 27, 2012 same bug using nvidiagt230m, nouveau driver, xorg-xserver ppa and it happens both in precise and in quantal alpha3.0ad is from dev ppa. Quote Link to comment Share on other sites More sharing options...
kao_chen Posted July 27, 2012 Author Report Share Posted July 27, 2012 I use the 0ad ubuntu ppa with the last snapshots.https://launchpad.ne...archive/0ad.devAnd I don't have a directory named "mappreview" to this path:/art/textures/ui/session/icons/mappreviewTo get an access to the textures easily I use file-rollercd '/usr/share/games/0ad/mods/public'sudo file-roller public.zipRegardsKao Quote Link to comment Share on other sites More sharing options...
quantumstate Posted July 27, 2012 Report Share Posted July 27, 2012 I use the 0ad ubuntu ppa with the last snapshots.https://launchpad.ne...archive/0ad.devAnd I don't have a directory named "mappreview" to this path:/art/textures/ui/session/icons/mappreviewTo get an access to the textures easily I use file-rollercd '/usr/share/games/0ad/mods/public'sudo file-roller public.zipRegardsKaoDid you check in both public.zip and update.zip? If the directory isn't in either then that might be the problem (missing files). Quote Link to comment Share on other sites More sharing options...
kao_chen Posted July 27, 2012 Author Report Share Posted July 27, 2012 I found them in the update.zip but there are converted in dds images.Mogrify can't resize them.acropolis_2.png.cached.dds cycladic_archipelago.png.cached.ddsacropolis_3.png.cached.dds deep_forest.png.cached.ddsacropolis_4.png.cached.dds gear.png.cached.ddsacropolis_5.png.cached.dds guadalquivir_river.png.cached.ddsacropolis_6.png.cached.dds gulf_of_bothnia.png.cached.ddsaegean_sea.png.cached.dds hyrcanian_shores.png.cached.ddsalpine_lakes.png.cached.dds islands.png.cached.ddsalpine_valley.png.cached.dds lake.png.cached.ddsanatolian_plateau.png.cached.dds latium.png.cached.ddsarcadia_2.png.cached.dds lorraine_plain.png.cached.ddsarchipelago.png.cached.dds migration.png.cached.ddsardennes_forest.png.cached.dds neareastern_badlands.png.cached.ddsatlas_mountains.png.cached.dds nopreview.png.cached.ddsbattle_for_the_tiber.png.cached.dds oasis.png.cached.ddsbelgian_bog.png.cached.dds persian_highlands.png.cached.ddsboeotian_plains.png.cached.dds phoenician_levant.png.cached.ddscantabrian_highlands.png.cached.dds rhine_marshlands.png.cached.ddscanyon.png.cached.dds rivers.png.cached.ddscontinent.png.cached.dds saharan_oases.png.cached.ddscorsica.png.cached.dds sahel_watering_holes.png.cached.ddscycladic_archipelago_1.png.cached.dds snowflake_searocks.png.cached.ddscycladic_archipelago_2.png.cached.dds the_nile.png.cached.ddscycladic_archipelago_3.png.cached.dds volcanic_lands.png.cached.ddscycladic_archipelago_4.png.cached.dds zagros_mountains_2.png.cached.ddscycladic_archipelago_5.png.cached.dds zagros_mountains.png.cached.dds Quote Link to comment Share on other sites More sharing options...
quantumstate Posted July 28, 2012 Report Share Posted July 28, 2012 I have attached a set of resized png's to this post. The game should load them I think, just delete the dds files and stick the png's in. This feels like a lot of effort to just test the power of two textures . Hopefully this is the actual issue.mappreview.zip Quote Link to comment Share on other sites More sharing options...
kao_chen Posted July 29, 2012 Author Report Share Posted July 29, 2012 It's working fine with this files,Thank you,Kao Quote Link to comment Share on other sites More sharing options...
quantumstate Posted July 31, 2012 Report Share Posted July 31, 2012 Oops, I missed this post. Thanks for confirming this. We will end up using cropped pictures rather than stretched ones like I provided here because the stretched ones look ugly due to resizing algorithms being imperfect. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.