Mod Works when extracted but not when zipped
I receive the following error when I run this mod in zipped form. It works fine when extracted. I don't see a capitalization difference,
Aug 26, 2018 8:41:33 AM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
SEVERE: Failed to start game
java.lang.IllegalStateException: Error in resource loading. Unable to load expected resource: polygons.txt, the error is that either we did not find the correct path to load. Check the resource loader to make sure the map zip or dir was added. Failing that, the path in this error message should be available relative to the map folder, or relative to the root of the map zip
at java.lang.Thread.run(Unknown Source)
@rogercooper I get this error when trying to dl the zip.
/topic/982/www.rogercooper.com/AA41-2_FreeCiv_Art.zip Not Found
You seem to have stumbled upon a page that does not exist. Return to the home page.
@rogercooper I cannot reproduce this error. The zip loads and runs fine here (with 11580). What version of TripleA are you running? I remember older versions not accepting every folder structure inside the zip.
@panther I am using 11440.
@rogercooper I just upgraded to 11580, but it still does not work,
@rogercooper Actually I wonder that it opens flawlessly on my system.
Are you on Windows or Linux?
IIRC the map-name and folder-structure conventions include
- map-name property value containing only lower case letters
- map-folder name containing ony lower case letters
- a folder inside the (map named) zip that is named as the map name
- inside this folder another folder called "map" that includes all the files (polygon.txt...), folders (games, flags...)
Maybe the engine has become more generous in the meantime, but following the structure and conventions of the downloadable maps maybe can help to solve your issue.
Just some hints to look at. I am aware that you are a highly experienced contributor - but we need to start somewhere
@panther I realized that I still had the empty folder around from development, confusing the system. Sorry for wasting your time.
@rogercooper Never mind. I'm glad it's been resolved.