Navigation

    TripleA Logo

    TripleA Forum

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

    Game file names

    Player Help
    5
    15
    354
    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
      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

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

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

        1 Reply Last reply Reply Quote 0
        • C
          Cernel 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
          • redrum
            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.

            C G 2 Replies Last reply Reply Quote 1
            • C
              Cernel 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.

              redrum 1 Reply Last reply Reply Quote 2
              • redrum
                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

                ron-murhammer created this issue in triplea-game/triplea

                closed Improve pbf pbem save game name #5839

                ubernaut 1 Reply Last reply Reply Quote 2
                • G
                  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
                  • ubernaut
                    ubernaut 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.

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

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

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

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

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            Cernel 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
                            • Panther
                              Panther Admin 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>
                              

                              ?

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

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

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

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