XCOM 2
30 ratings
[WOTC] Rename and Reorganise Campaign - ISO 8601 Edition
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
420.885 KB
15 Jun, 2024 @ 8:04pm
25 Jan @ 3:55am
18 Change Notes ( view )

Subscribe to download
[WOTC] Rename and Reorganise Campaign - ISO 8601 Edition

Description
Mod Description
This mod is combines the functionality of BGs excellent Rename and Reorganize Campaign mod, with the formatting from my previously released ISO-Style-Dates Mod and adds a few new features. The mod also comes with the functionality to delete campaigns from the folder view and soft-rename individual saved games.

In terms of sorting, the mod translates the game's date and time strings into the ISO standard format of YYYY-MM-DD - HH:MM for presentation on the save/load screens, it can adjust the time display in the geoscape and the display of dates in the memorial and any other mods which log information using the base-game DateTime settings (e.g. Beat's Mission History Logs).

MCM Options
The following options can be adjusted in Mod Config Menu:
  • Separate Save Games By Campaign - Displays save games in a 'folder' structure by campaign (Screenshots 1 & 2). Disable this to display in a continuous list (Screenshot 3)
  • 24 Hour Clock - Disable to display save names in 12h format (Screenshot 4)
  • 24 Hour Clock[ on Geoscape/b] - Enable to force the geoscape clock to 24h independantly of locale.
  • Enable Delete Button - Enables the 'delete campaign' button and ability to mass delete all saved games from a given campaign. This is only available when SeparateSaveGamesByCampaign is also enabled (Screenshot 5).
  • Show mission location - Allows you to toggle between the operation name and the mission location on the bottom line of the save box.

The sorting functionality from BGs original mod which improves load speeds with large numbers of saved games is also included.

Delete Campaign Feature
Please note, I will accept no responsibility for loss of data relating to the 'delete campaign' feature. The button is hidden behind an MCM toggle which is disabled by default, plus a very obvious user-warning, so I will assume that if you decide to enable it, you know what you're doing!

Rename Save Feature
This feature is a 'soft-renamer' & does not alter anything inside the save files, it just creates a config array of custom names & displays those preferentially to the name stored in the save file. If the config file is deleted (or the save game is renamed with "" in the rename box), the menu will revert back to displaying whatever the save has inside the file (i.e. whatever it was named in the first place).

Compatibility
Do not use this mod in conjunction with either of the original mods, or any other mod that MCOs UISaveGame, UILoadGame or UISaveLoadGameListItem

Credits
Bountygiver (BG) - For his permission to use his code & combine these two mods together
copyrite - For his permission to integrate his 24h clock functionality into my original mod

Contact
As always, I welcome comments / improvements and am an active face in the modding community so if you experience bugs / issues please reach out to me & I'll do what I can to resolve your issues. If possible, please try to be specific with errors (redscreens, logs, screenshots etc. & I will be much more able (and willing) to help you.
42 Comments
miku567 16 Jul @ 10:24am 
got it
BlackDog  [author] 15 Jul @ 1:04pm 
@miku567 - you can run this in spite of the conflict with remove missing mods. The conflict is just down to an old way of registering event listeners in remove missing mods, it's not a hard conflict and can be ignored. As regards the 'save games delete all' mod, this mod has 'delete all' functionality available at the campaign level so it can still delete large quantities of save games at a time if you want (although admittedly it can't delete every save from every campaign at once).
Dragon32 30 May @ 7:43am 
@miku567
I only enabled Remove Missing Mods when I need it and have never had a problem running the two together. The deleting save games mod I don't use (I just alt-tab when the game is running and delete manually)
miku567 29 May @ 5:42pm 
Too bad this conflicts with Remove Missing Mods for WotC and WOTC Save Games Delete All Option
BlackDog  [author] 25 Jan @ 3:56am 
@megayu @Anubis - I've pushed a fix for the save game renaming issue today. I've tested it a few times and it seems robust. I've also added a console command, PurgeRenamedSavesLibrary which will clear the internal array and get rid of any residual rubbish that's still in there. I would recommend using this before trying the new version - you will lose previously renamed games, but since the feature wasn't working properly anyway, that's probably for the best.
BlackDog  [author] 23 Jan @ 5:02pm 
Ah OK so yeah there are two issues at play here. 1. When you rename a game, it adds an entry to the config file XComSaveNamesIndividual.ini / XComSaveNamesCampaign.ini - however, when you delete one, the corresponding entry isn't removed from the the file. That fix is relatively simple. 2. As you say, when over-writing the saved-game it creates a file with a _1 / _2 suffix, which for some completely bonkers reason, can end up having a completely different ID associated with it. This is a bit more tricky to fix but perhaps I can do something clever which, when you over-write the file, it deletes the old config mapping and applies it to the file with the new name or something. Leave it with me - should be able to get a fix done by next week.
megayu 22 Jan @ 9:25pm 
@BlackDog Regarding the issue mentioned by Anubis, Rename and Reorganize Campaign mod also have the same problem, especially if you overwrite a saved game, in the file system it will copy the original file then add an "_index" suffix, then when you need to delete some, the whole process will be a mess.
So this is a really good idea for a mod but there's a serious problem, hoping it can be fixed soon.
BlackDog  [author] 21 Jan @ 9:17pm 
I couldn't reproduce this in testing with current version - can you unsub and resub to the mod, delete XComSaveNames.ini and XComSaveNamesCamp.ini from your documents/my games/xcom2 wotc/config folder and try again? There was a bug in a slightly earlier version of the mod that did something like this so perhaps it hasn't updated for you. Note that deleting those files will reset the names to whatever the original file was named so you'll lose your custom names.
BlackDog  [author] 19 Jan @ 5:37am 
Hi, thanks for the report - I'll take a look at it and let you know if I find anything that could be causing it.
Anubis 18 Jan @ 3:45pm 
This mod has a tendency to show save names incorrectly, which often causes issues if you're trying to delete one specific save.

More than once have I tried to delete a manual save with a specific name only to find out later that a completely different save was deleted and the one I wanted to remove was still there.

I believe the renaming feature might be what causes it, since I haven't noticed this problem on older saves that I have not renamed, albeit one of them did get deleted as I was trying to remove a more recent one that was showing an incorrect name.

It also seems to be changing quicksave behaviour and reproduces a regular save's name for the quicksave.