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

    Game file names

    Scheduled Pinned Locked Moved Player Help
    15 Posts 5 Posters 2.7k Views 5 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.
    • G Offline
      Griito
      last edited by

      Hi

      Is it possible to alter the way the automatic game file names are constructed?
      Now they become "triplea_Jap3.tsvg" for instance. I would prefer that the game turn is located before the nation. That way the files will be ordered in a better chronological order and it will be easier to get an overview.

      Can I change this myself somewhere or is it impossible?

      Thanks!

      /Surre

      ubernautU C 2 Replies Last reply Reply Quote 0
      • ubernautU Offline
        ubernaut Lobby Moderators @Griito
        last edited by

        @Griito that is specific to each map probably somewhere in the game xml file

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

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

          @Griito I believe you are talking about savegames, but I've no idea where automatic savegames named like "triplea_Jap3.tsvg" are generated. Mine in 2.0 are something like "autosaveAfterPlayerPhase.tsvg".

          I also have no idea how this topic can be related in any ways to mapmaking, and doesn't seem specific to any particular Maps or Mods at all, either, so I'm moving it to Player Help, I guess.

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

            I believe he is talking about PBF/PBEM save games. That name is auto-generated by TripleA when posting it to the forum. I'll take a look at if it can be changed as I do agree that the round number should come before the nation name for better sorting.

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

            C G 2 Replies Last reply Reply Quote 1
            • C Offline
              Cernel Moderators Lobby Moderators @redrum
              last edited by

              @redrum Feature Request then? Also the sorting of the autosaves is terrible, btw. They are an absolute mess to find if you play a lot of different games with many players per game. It would be way better if they are named first with the game name, then with the turn number, then with the player name, then the phase name. Also there is the somewhat random issue that if two different games have a player called the same way, then it is overwritten, otherwise not.

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

                @Cernel Yeah this would be a feature request.

                Here is the PR changing PBF/PBEM save games to be named triplea_<round><player> for better sorting:https://github.com/triplea-game/triplea/pull/5839

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

                ubernautU 1 Reply Last reply Reply Quote 2
                • G Offline
                  Griito @redrum
                  last edited by

                  @redrum
                  Correct. I looked through the game xml-file but found nothing connecting to the file names.

                  Absolutely best would be if all files came in the right order. But then it would have to be something like
                  "triplea_3_4Jap.tsvg"
                  where 3 is the round and 4 is a constant that is just the number the country has in every turn. That is 1=Rus, 2=Ger etc.
                  Not so good looking but the files will be in perfect order.

                  1 Reply Last reply Reply Quote 0
                  • ubernautU Offline
                    ubernaut Lobby Moderators @redrum
                    last edited by

                    @redrum i stick my autosaves into folders manually to keep them separate anytime i'm done with a particular matches turn i just dump everything from the autosave into the folder for that match. it's actually pretty easy to do and definitely better than having a bunch of things in one folder even if the naming is very logical.

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

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

                      @ubernaut Yeah, I tend to create folders for different maps but it would still be helpful to have them sorted by round then player name within those.

                      @Griito Yeah, we could add a sort of turn order number as well. For now I just swapped the round and player name which will at least sort saves by round then alphabetical player name which is still a lot better.

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

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

                        @redrum Wouldn't be better having 01 or 001, instead of 1, et cetera?

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

                          @Cernel Possibly. I think most operating systems now properly sort numbers within file names so 1-9 then 10-100, etc.

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

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

                            @redrum said in Game file names:

                            @Cernel Possibly. I think most operating systems now properly sort numbers within file names so 1-9 then 10-100, etc.

                            Ah, in that case, then, better not having zeros at start. I also don't like it in cases you don't have a max, as, theorically, you can play any TripleA games into round 1000. If 01 or 001, then I think the system should stop taking savegames once you reach round 99 or 999, respectively.

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

                              What about game ID first, then followed by turn number?

                              Then the savegames would be sorted not only by turn numbers but by games before, too.

                              It would be easier to distinugish them when having parallel games going on.

                              So

                              triplea_<Game ID><round><player>
                              

                              ?

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

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

                                @Panther That is actually already done for PBF games 🙂

                                So PBF used to be triplea_<Game ID><player><round> and is now triplea_<Game ID><round><player>.

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

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

                                  @redrum Ah yes, sure... I have only local games in my folders, that is why I missed that... :thumbs_up: then 🙂

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