Navigation

    TripleA Logo

    TripleA Forum

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

    Not seeing "notifications.properties" changes

    Map Making
    3
    9
    1665
    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.
    • Stohrm
      Stohrm last edited by

      I've copied and unpacked the Tutorial-Master to my (local) Modified_tutorial directory and have been successful in making changes to the (game) xml file (Modified_Tutorial.xml). However, I've also made changes to the notifications.properties file; but they are not showing up and remain unchanged when I run the game.

      Any suggestions as to what's causing this?

      redrum 1 Reply Last reply Reply Quote 0
      • redrum
        redrum Admin @Stohrm last edited by

        @stohrm Hard to say without more info. Can you post more detail on the changes? Or upload the file or entire zip?

        1 Reply Last reply Reply Quote 0
        • General_Zod
          General_Zod Moderators last edited by General_Zod

          @Stohrm Make sure your changed notifications.properties file is in the zipped master folder because that's the only version it looks for, and reads.

          The xml file will be read from different locations within the "triplea/downloadedmaps" , and doesn't even have to be in the zipped master folder. The game engine will use the first xml it finds that refers to the map.

          This makes it slightly easier to test your new xml changes. By not being required to zip it.

          The other files however must be in the zipped map (master) folder.

          1 Reply Last reply Reply Quote 0
          • Stohrm
            Stohrm last edited by

            Yes, I discovered that it's pulling from the original Tutorial and requires that file. I'll have to figure out how to use GitHub, it would seem. Getting too late to do that today...

            So, I'll have to look into it first thing in the morning.

            But, Thanks.

            redrum 1 Reply Last reply Reply Quote 0
            • redrum
              redrum Admin @Stohrm last edited by

              @stohrm There is a property called mapName in the game XML file that you need to update to the name of your zip.

              1 Reply Last reply Reply Quote 0
              • Stohrm
                Stohrm last edited by

                I don't have it zipped. But if that's all it takes...

                Plus, I see:
                <info name="Modified Tutorial" version="1.1"/>
                <loader javaClass="games.strategy.triplea.TripleA"/>
                <triplea minimumVersion="1.9"/>
                <diceSides value="6"/>
                But not an actual "mapName"... There's also:
                <?xml version="1.0" ?>
                <!DOCTYPE game SYSTEM "game.dtd">
                <game>

                Prior to that. So, is there something I need to add?

                redrum General_Zod 2 Replies Last reply Reply Quote 0
                • redrum
                  redrum Admin @Stohrm last edited by

                  @stohrm well either the zip name or folder name if unzipped has to match the mapName property which should be towards the bottom of the game XML.

                  1 Reply Last reply Reply Quote 0
                  • General_Zod
                    General_Zod Moderators @Stohrm last edited by

                    @stohrm You can use the search function to find "mapName". It's usually near the end of the xml. You will need to change it to whatever your new map folder is named, assuming you renamed it to keep original intact.

                    The format many folders use have "-master" appended to the folder name, that part can be omitted from the "mapName" property.

                    eg.
                    <property name="mapName" value="big_world" editable="false"/>
                    and folder would be named big_world-master.zip

                    1 Reply Last reply Reply Quote 0
                    • Stohrm
                      Stohrm last edited by

                      Just did (used the search function), found it, changed it and rezipped the folder.

                      Tahdah, now it's working.

                      Many, many thanks.

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