Game file names
-
@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
-
@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. -
@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.
-
@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.
-
@redrum Wouldn't be better having 01 or 001, instead of 1, et cetera?
-
@Cernel Possibly. I think most operating systems now properly sort numbers within file names so 1-9 then 10-100, etc.
-
@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.
-
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>?
-
@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>.
-
@redrum Ah yes, sure... I have only local games in my folders, that is why I missed that... :thumbs_up: then

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