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

    Large Middle Earth queries

    Scheduled Pinned Locked Moved Bug Reports
    131 Posts 9 Posters 94.0k Views 9 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.
    • redrumR Offline
      redrum Admin @Hepps
      last edited by

      @hepps Teach a man to slaughter cattle then...

      TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

      HeppsH 1 Reply Last reply Reply Quote 0
      • HeppsH Offline
        Hepps Moderators @redrum
        last edited by

        @redrum Even when I open the file in Paint and choose JPEG... it still reverts the image back to a JPG.

        God this is frustrating.

        "A joyous heart sours with the burden of expectation"
        Hepster

        1 Reply Last reply Reply Quote 0
        • HeppsH Offline
          Hepps Moderators
          last edited by

          0_1528485753682_smallMap.jpg

          This is the image.

          After some reading it appears JPEG is an old file extension. Why is the smallMap still using this exclusively?

          "A joyous heart sours with the burden of expectation"
          Hepster

          1 Reply Last reply Reply Quote 0
          • HeppsH Offline
            Hepps Moderators
            last edited by

            I fugured it out. You can convert a JPG into a JPEG by saving over the original JPEG image.

            But it was all for not since the intended outcome was far less than desirable.

            Here is what I was hoping to do....

            0_1528487231372_Desired effect.png

            Here is what happens when you place an image with details in the smallMap....

            0_1528487286716_Not the desired effect.png

            Since the fill colour for territory owner ship has zero opacity... it simply over writes the image. Thereby making it impossible to dress up the small map.

            "A joyous heart sours with the burden of expectation"
            Hepster

            redrumR 1 Reply Last reply Reply Quote 0
            • redrumR Offline
              redrum Admin @Hepps
              last edited by redrum

              @hepps Sounds like someone wants a new feature request...

              I don't think there is any reasoning behind only supporting .jpeg and not .jpg for smallMap. Should put a bug report in for that and it should be easy to fix.

              TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

              HeppsH C 2 Replies Last reply Reply Quote 0
              • HeppsH Offline
                Hepps Moderators @redrum
                last edited by

                @redrum said in Large Middle Earth queries:

                @hepps Sounds like someone wants a new feature request...

                I was just trying to explain what I was doing. I don't really thing the mini map is much of a priority. I was just testing whether or not I could dress it up.

                I don't think there is any reasoning behind only supporting .jpeg and not .jpg for smallMap. Should put a bug report in for that and it should be easy to fix.

                Sounds good. I think its warranted since it happens often.

                "A joyous heart sours with the burden of expectation"
                Hepster

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Cernel Moderators @redrum
                  last edited by

                  @redrum Personally, I don't like the idea of supporting redundant extensions. I'd advice, when stuff is redundant, choosing and supporting only one, either JPG or JPEG only.
                  Of course, the best solution would be supporting only PNG and changing all minimap in the repository to PNG, but I guess not feasibly worthwhile.
                  I see that the problem is that some utilities oblige you to save in "jpg", not "jpeg". GIMP allows either.

                  HeppsH 1 Reply Last reply Reply Quote 0
                  • HeppsH Offline
                    Hepps Moderators @Cernel
                    last edited by

                    @cernel I can open either with the software to maipulate the image. Problem is saving them.

                    "A joyous heart sours with the burden of expectation"
                    Hepster

                    redrumR 2 Replies Last reply Reply Quote 0
                    • C Offline
                      Cernel Moderators
                      last edited by

                      So, to summarize my advice is:

                      1st best) Supporting only PNG and mass changing repository to PNG.

                      2nd best) Adding support for PNG, while keeping a deprecated support for JPEG (but not JPG).

                      In any case, I'm not a fan of supporting like both JPEG and JPG, in the moment no real difference.

                      1 Reply Last reply Reply Quote 0
                      • redrumR Offline
                        redrum Admin @Hepps
                        last edited by

                        @hepps Here is the PR to allow .jpg and .png for small maps: https://github.com/triplea-game/triplea/pull/3452

                        TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                        HeppsH C 2 Replies Last reply Reply Quote 1
                        • HeppsH Offline
                          Hepps Moderators @redrum
                          last edited by

                          @redrum GAM

                          "A joyous heart sours with the burden of expectation"
                          Hepster

                          1 Reply Last reply Reply Quote 0
                          • redrumR Offline
                            redrum Admin @Hepps
                            last edited by redrum

                            @hepps If you were going to define say a property in map.properties for the small map transparency what would you like that to look like? Like a decimal from 0.0 (transparent) to 1.0 (opaque)? Any other small map properties that would be of use?

                            0.3 alpha transparency
                            0_1528497789273_87b1b02f-a563-4294-ade6-480fe6689c9e-image.png

                            Regular (1.0)
                            0_1528497912645_94f1cb72-04dd-4d49-90b4-a95f34fbd54d-image.png

                            TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                            HeppsH 2 Replies Last reply Reply Quote 1
                            • HeppsH Offline
                              Hepps Moderators @redrum
                              last edited by

                              @redrum Ummm... let me think.

                              "A joyous heart sours with the burden of expectation"
                              Hepster

                              1 Reply Last reply Reply Quote 0
                              • HeppsH Offline
                                Hepps Moderators @redrum
                                last edited by

                                @redrum Being able to set the window frame colour?

                                "A joyous heart sours with the burden of expectation"
                                Hepster

                                1 Reply Last reply Reply Quote 0
                                • alkexrA Offline
                                  alkexr
                                  last edited by

                                  @Hepps gonna learn your secrets... 0_1528499531687_some_doodles.png

                                  "For the world is changing: I feel it in the water, I feel it in the earth, and I smell it in the air."

                                  HeppsH 1 Reply Last reply Reply Quote 1
                                  • HeppsH Offline
                                    Hepps Moderators @alkexr
                                    last edited by

                                    @alkexr Does this mean I don't have to do the map?

                                    "A joyous heart sours with the burden of expectation"
                                    Hepster

                                    alkexrA 1 Reply Last reply Reply Quote 0
                                    • alkexrA Offline
                                      alkexr @Hepps
                                      last edited by

                                      @hepps Nice try 😄

                                      "For the world is changing: I feel it in the water, I feel it in the earth, and I smell it in the air."

                                      HeppsH 1 Reply Last reply Reply Quote 0
                                      • HeppsH Offline
                                        Hepps Moderators @alkexr
                                        last edited by

                                        @alkexr lol. Damn it!

                                        "A joyous heart sours with the burden of expectation"
                                        Hepster

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          Cernel Moderators @redrum
                                          last edited by

                                          @redrum I'm quite certain that, as long as they know it, all mapmakers will use png, now on. So supporting jpg or jpeg is relevant only for backward compatibility, and they are all jpeg, now.

                                          redrumR 1 Reply Last reply Reply Quote 0
                                          • redrumR Offline
                                            redrum Admin @Cernel
                                            last edited by

                                            @cernel Probably true though unless you'd like to volunteer to update all the existing maps then it will probably stay supporting jpg/jpeg forever 🙂

                                            TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                                            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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 6 / 7
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums