TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Mod Works when extracted but not when zipped

    Scheduled Pinned Locked Moved Bug Reports
    zip file
    10 Posts 4 Posters 2.6k Views 3 Watching
    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.
    • RogerCooperR Offline
      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

      prastleP PantherP 2 Replies Last reply Reply Quote 0
      • prastleP Offline
        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.

        If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

        1 Reply Last reply Reply Quote 0
        • RoiEXR Offline
          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.

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

            @roiex thxs!

            If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

            1 Reply Last reply Reply Quote 0
            • PantherP Offline
              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.

              Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

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

                @panther I am using 11440.

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

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

                  PantherP 1 Reply Last reply Reply Quote 0
                  • PantherP Offline
                    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 😉

                    Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                    RogerCooperR 1 Reply Last reply Reply Quote 0
                    • RogerCooperR Offline
                      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.

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

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

                        Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums