[FIXED] Unique archive files


I was wondering if it is possible to add a unique prefix to save files that are archived in the pydt-archive folder so that they don’t get replaced by other games with same civ names.

Looking at the github code, this should be possible by adding this.playTurnState.game.gameId to client/ui/playTurn/playTurn.component.ts at 1f183299516a2093a20c95b828edf681be282a56 · pydt/client · GitHub line, but its an ugly name. Regardless, the players can know what is their gameId from game URL on the website, and maybe adding only the first part of the game UUID would be a better solution.

1 Like

This should be fixed in 2.1.2!

1 Like

That sounds great! Thank you for this.

Unfortunately though, my PYDT client doesn’t seem to work with the new update, and there is some error. Client doesn’t show anything after this error.

FYI I am on Mac

I’m not exactly sure why, but the mac build was failing silently when the others were fine. Made a small tweak and it seems good. 2.1.3 is released, thanks!

Mac things :smiley:
Thank you very much for fixing this