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

    What to do with the game notes?

    Scheduled Pinned Locked Moved Map Making
    25 Posts 9 Posters 5.6k Views 8 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.
    • TheDogT Offline
      TheDog @Azimuth
      last edited by

      @azimuth

      Because I guess most players will still be on 2.5 for quite long, won't they?

      Maybe not, the silent majority, play against the AI and they want a faster turn sequence and if they are playing say 1941 GCD then they have to be on 2.6.

      I am astounded :exploding_head: at the number of views for GCD, my 1st WW2 map compared to my other maps.

      The PvP players will probably be on 2.5 for some time as 2.6 does not appear to work properly in the lobby, yet.

      https://forums.triplea-game.org/tags/thedog
      https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

      A 1 Reply Last reply Reply Quote 2
      • A Offline
        Azimuth @TheDog
        last edited by

        @thedog don't think that, I am looking at your other maps as well 😉

        But silently, as a map maker (because I am not playing any maps on TripleA for now).

        1 Reply Last reply Reply Quote 2
        • B Offline
          beelee @TheDog
          last edited by beelee

          @thedog said in What to do with the game notes?:

          Game Note images are a bit useless, they are too big, in the right hand pane and was one of the reasons why it was removed.

          I disagree. Notes were just fine where they were.

          Unless I'm misunderstanding something, here is an example of my Game note images and they work just fine

          Screenshot from 2024-06-18 10-37-06.png

          1 Reply Last reply Reply Quote 4
          • B Offline
            beelee @Cernel
            last edited by

            @cernel said in What to do with the game notes?:

            @azimuth I also do believe that map-makers should be well informed about this. I don't even know if this is documented at all!
            Personally, I would drop support for the Game Notes (the property for it) within the game file (XML) completely so to avoid duplication and confusion.

            This is why communication is important. I spent days trying to figure this out.

            If something is being Changed

            let people know about it

            ubernautU 1 Reply Last reply Reply Quote 3
            • ubernautU Offline
              ubernaut Moderators @beelee
              last edited by

              @beelee TIL there are game notes

              "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

              B 1 Reply Last reply Reply Quote 3
              • B Offline
                beelee @ubernaut
                last edited by

                @ubernaut
                What does TIL mean ?

                ubernautU 1 Reply Last reply Reply Quote 2
                • ubernautU Offline
                  ubernaut Moderators @beelee
                  last edited by

                  @beelee today i learned

                  "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

                  Black_ElkB 1 Reply Last reply Reply Quote 2
                  • Black_ElkB Offline
                    Black_Elk @ubernaut
                    last edited by

                    Only issue I can see with using an image over HTML (text) for the game notes is that the former will upscale with pretty janky interpolation if the display resolution for tripleA is increased beyond 1080p.

                    Font will upscale normally within tripleA using the point system, so12px font will become 24px font, if your resolution defaults to 150% (Windows at 1440p will suggest this). But if you create a png of an image with the 12pt and upscale that instead, you will see some pretty heavy pixelation and jpeggery there. Even starting with a larger pt font, you'd have the same issue when it's upscaled, since it's raster.

                    Same deal for small graphics like flags and roundels or units when they're shown within the UI as opposed to the main map (which can be scaled manually). The stuff within the UI like for game Notes, that just goes off whatever the display resolution you have set for Font scale in the Windows display settings.

                    1 Reply Last reply Reply Quote 4
                    • cameronC Offline
                      cameron
                      last edited by

                      so i've started making the game notes .html file for my mod and while it displayed fine in firefox & chrome it just causes errors in tripleA. (to the point where i'm gonna have to hide the file when i want to change maps b/c it makes the choose map thingie fail to load.)
                      i'm guessing the problem is the images so my question is how do people get images to display in tripleA?

                      
                      An unexpected error occurred!  InvalidPathException: Illegal char :> at index 4: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAD+0lEQVQ4T7WUa0ibVxjHH5MYlMQSm8ZUg9dMQ0HCVJhG/aJMrYWJ9YawuSnCWL1MlFlR9sEhbFMR7CRxMJERZeIHMYgKUjt0xl3sNFA/WDrj/VI0iUabxMRXs+eckneJs2MMdr69z3vO7/zP/7n4wf+w/N7ElEgkwvcY5u1bPF754+Dgdw0vXoQrlUpLRkbGb/v7+1qj0fjj4uKiGc+7rzKuharE4vt9XG6f3GQ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HR1tjouL+wn7/PuFhYVfTk9PLXjg301+H0P/w8efsDWro+/SEugAAAAASUVORK5CYII=
                      
                      LaFayetteL B 2 Replies Last reply Reply Quote 0
                      • LaFayetteL Offline
                        LaFayette Admin @cameron
                        last edited by LaFayette

                        @cameron Use valid HTML. A lot of programs will interpret the "image/png;base64" prefix as the start of an image, and will read it as such. That is not a default specification for parsing HTML. The engine is seeing those characters as simply more HTML. There is then eventually an illegal sequence with a >, as it thinks that is part of a tag.

                        So, use an <img src=...> HTML tag. An easy way to host an image, is open up a new github issue, paste in an image, and it will convert to a permanent link. You can then use that link. No need to actually create the issue, the link will stay good.

                        1 Reply Last reply Reply Quote 2
                        • B Offline
                          beelee @cameron
                          last edited by

                          @cameron

                          you can also look at The Dogs Command Decision and see how he does it but as Dan says, <img scr= is the key

                          1 Reply Last reply Reply Quote 4
                          • LaFayetteL Offline
                            LaFayette Admin
                            last edited by LaFayette

                            I recall as well - you can add the game note images to the map itself.

                            Regarding my previous suggestion to use a remote URL... I realize now I don't know if a remote URL is cached... so that might be bad for performance.

                            @Myrd Do you know if images fetched via URL in the game notes, by the tripleA engines, if those images are cached? Or are images found in the games notes HTML fetched every time the game notes are rendered?

                            To bundle Images

                            To bundle images with the map, you put them in 'docs/images':

                            For example:

                            • https://github.com/triplea-maps/world_at_war/blob/master/map/games/WAW40.xml#L8481

                            • https://github.com/triplea-maps/world_at_war/blob/master/map/doc/images/French.png

                            Be careful of file name casing. For example, that it is "French.png" and not "french.png" in the XML (this breaks on Linux & Mac if the file casing is wrong, but works if on windows).

                            1 Reply Last reply Reply Quote 2
                            • LaFayetteL Offline
                              LaFayette Admin
                              last edited by

                              Game notes 2.5 vs 2.6 - how to handle?

                              @Cernel you raised a few questions on this topic.

                              If the 'min-version' on a map is 2.5, then the game notes need to be in both the XML file and an external HTMl file. If the 'min-version' is 2.6, then the XML location is not read.

                              I agree a hard cut-off of the XML would be a good thing. The support for either is primarily intended to be "transition-aid", to help remove problems as we transition to 2.6; Once things are solid, and we have considered a backward compatibility approach, then the cut-over would be well timed.

                              1 Reply Last reply Reply Quote 3
                              • cameronC Offline
                                cameron
                                last edited by

                                so... just oldschool html and no css. and it doesn't like file paths either.

                                sorted it by using <img src="Flag.png"> and making a "doc" folder with an "images" subfolder containing the images and not <img src="../flags/Flag.png"> as i'd foolishly assumed... 🙂

                                i like keeping it local so that it works when offline.

                                thanks for putting me in the right direction. 🙂

                                1 Reply Last reply Reply Quote 3
                                • S Offline
                                  simon33
                                  last edited by

                                  Sorry, I'm confused. I am noticing that this feature doesn't appear to work any more. What is needed to get it to work?

                                  TheDogT 1 Reply Last reply Reply Quote 0
                                  • TheDogT Offline
                                    TheDog @simon33
                                    last edited by

                                    Do you mean the game notes in the right hand pane?
                                    If so, in version 2.6+ they were removed. Game Notes is only available from
                                    Help> Game Notes.

                                    To get it to work use 2.5

                                    https://forums.triplea-game.org/tags/thedog
                                    https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                                    S 1 Reply Last reply Reply Quote 1
                                    • S Offline
                                      simon33 @TheDog
                                      last edited by

                                      @thedog Oh wow. That is an obscure location for them. ok. Don't think this was a good change. I don't expect to see game related stuff under "Help".

                                      Black_ElkB 1 Reply Last reply Reply Quote 3
                                      • Black_ElkB Offline
                                        Black_Elk @simon33
                                        last edited by Black_Elk

                                        I agree. To me it would make more sense under the "Game" tab than "Help"

                                        "Game Notes" I'd think would maybe come right before Game Options > in that dropdown.

                                        "Unit Help" seems like it should read "Unit Details" or something along those lines and also be in the game tab.

                                        Although several pop-up screens in the Game tab have a click confirmation "OK" that locks up the UI and gives the ding sound until the window is closed. The politics panel for example in G40. I had issues in 2.7148 with the Battle Calc not launching from the tab, but only if clicking control B on a tile. After the first attempt the font would change to black, and kick off a null exception.

                                        For the actual Game Notes I would suggest using actual text for the text portions, and smaller images in line with that text, rather than both text and images as a single image. The reason is because within the UI screen tripleA will scale text properly, but images not so much. Upscaling the display font in Windows to 125% or 150% for displays at 1440p or larger will show heaving interpolation, for actual images it's not so bad, but text becomes nearly illegible. In my view it is more important the text read cleanly. If images show pixelation from upscaling it's whatever, but when that happens to text it looks super jank like someone took an eraser to the individual characters, or the kerning will look off where some letters may confuse for others etc. It also means that players can't copy the text portions to a clip board, like if they want to cite or quickly copy over a table or whatever.

                                        A single image with everything is convenient in that map the maker has more control over how things are arranged, or for illuminated details, but the downside is that it only works when the display size for Font is consistent, say 100% at 1080p. I mean in Windows, not the Font size/color within the tripleA settings. At 1600p Font size 150% most game notes that are a single image will look quite fuzzy for the text blocks.

                                        Here are some Screens to compare... note the text in the Tutorial game compared to the text in the example images below them. Then a screen GCD (text as image) compared to Iron War (images in line with text). You can see how the interpolation has it going fuzzy at 1600p as an image, whereas text will scale cleanly.

                                        Screenshot 2025-01-26 003828.png

                                        Screenshot 2025-01-26 003958.png

                                        Screenshot 2025-01-26 003639.png

                                        In the last, even though the images are upscaling poorly, the overall effect is less pronounced there, because the text is still displaying smoothly.

                                        B 1 Reply Last reply Reply Quote 3
                                        • B Offline
                                          beelee @Black_Elk
                                          last edited by

                                          @black_elk

                                          Right arm

                                          I think the Notes were good where they were.

                                          Just a blank space there now 🙂

                                          1 Reply Last reply Reply Quote 2

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