It appears there is indeed a maps\campaign\battlefield folder which necessitates the presence of a like wise named settlement name file. That folder only contains a descr_strat file and in my eyes is a leftover from previous modding attempts. This folder is inaccessible during game play: the 'Prologue' option leads nowhere as the required folder (sons_of_mars?) doesn't exists. Likewise a 'custom campaign' (provincial campaign) option is not available either - making the battlefield folder and it's connected settlement name file obsolete.
The maps\campaign\imperial_campaign folder doesn't exist at all - making the likewise named settlement name file redundant.
Incomplete removal of redundant\replaced files and folders will lead to a mess like this where no-one knows how stuff actually ties together or why it is present in the first place. 'Good housekeeping' is essential for team work like this.
The "campaign_map_reset" batch file works as intended: deleting the current map.rwm file (and two other, non existing ones) to force the game to generate a new map after changes were done in the maps\base folder. There is no need to have the map.rwm file versioned, same as the logs and entries in the preferences folder.
Renaming Rome {Town101T} to Tokyo in the alexander settlement name file and deleting map.rwm resulted in the anticipated change in settlement name and the generating of a new map.rwm file without any error messages.
Running the launcher apps resulted in these modified files as expected:
- launcher.log
- launcher.user.cfg
- rome.log
It would seem that entries in .gitignore are unreliable\outdated - map.rwm is listed twice and yet gets flagged every time it's changed
My recommendations:
- delete the campaign\battlefield folder and it's connected settlement name file
- delete the obsolete imperial settlement name file
- unversion the map.rwm file
- unversion the above launcher files