Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Mod Works when extracted but not when zipped

    (ARCHIVED) Bug Reports
    zip file
    4
    10
    1580
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RogerCooper
      RogerCooper last edited by RoiEX

      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 games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:150)
      at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
      at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:105)
      at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:228)
      at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
      at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
      at java.lang.Thread.run(Unknown Source)

      AA41-2_FreeCiv_Art

      prastle Panther 2 Replies Last reply Reply Quote 0
      • prastle
        prastle Moderators Admin @RogerCooper last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • RoiEX
          RoiEX Admin last edited by

          @prastle Fixed the link.
          @RogerCooper You need to prepend http:// or https:// in order for the link to work properly.

          prastle 1 Reply Last reply Reply Quote 0
          • prastle
            prastle Moderators Admin @RoiEX last edited by

            @roiex thxs!

            1 Reply Last reply Reply Quote 0
            • Panther
              Panther Admin Moderators @RogerCooper last edited by Panther

              @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.

              RogerCooper 1 Reply Last reply Reply Quote 0
              • RogerCooper
                RogerCooper @Panther last edited by

                @panther I am using 11440.

                RogerCooper 1 Reply Last reply Reply Quote 0
                • RogerCooper
                  RogerCooper @RogerCooper last edited by

                  @rogercooper I just upgraded to 11580, but it still does not work,

                  Panther 1 Reply Last reply Reply Quote 0
                  • Panther
                    Panther Admin Moderators @RogerCooper last edited by Panther

                    @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 😉

                    RogerCooper 1 Reply Last reply Reply Quote 0
                    • RogerCooper
                      RogerCooper @Panther last edited by

                      @panther I realized that I still had the empty folder around from development, confusing the system. Sorry for wasting your time.

                      Panther 1 Reply Last reply Reply Quote 0
                      • Panther
                        Panther Admin Moderators @RogerCooper last edited by

                        @rogercooper Never mind. I'm glad it's been resolved.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums