Greetings,
To give some prior context, for the past few weeks I've been running a file-edited vanilla CK2 game as the Emperor of Scandinavia starting in the year 867 using The Old Gods expansion where I've tweaked the save and other files for experimentation using the program Notepad++. This includes things such as editing vassal limits, editing values in game, 100 stat man, triggering events via console, et cetera but this does not include any mods besides a single small mod to remove great works if needed. The other expansions that I have running at this time besides Charlemagne and The Old Gods are Holy Fury, Horse Lords, Way of Life, The Republic, Legacy of Rome, and The Sword of Islam.
Last night, I purchased the Charlemagne expansion for CK2 as it was on sale and downloaded it to my current CK2 game files. Upon launching the game and entering into my aforementioned edited game, I noticed that my vassal limit appeared to have been reset. It was originally at 142/145 last time I opened this file, however it now displayed this as 142/85 as you can see here:
It appeared to me, therefore, that my defines.lua file must have been reset when I downloaded the new expansion, as I had the Emperor Rank base multiplier at 90 to grant myself more vassals, and therefore by reopening and editing this file that I should be able to reset it. However, when I opened this file I discovered that my previous settings for this multiplier and other edits had not been changed. Furthermore, upon attempts to edit any of the multipliers in this file, then close and restart CK2 this did not change any values inputted into the game. Nor did anything change when I turned off the Charlemagne expansion and restarted the game.
I then attempted to create a mod file as per the Defines section on the CK2 wiki to override the existing defines.lua to be able to continue to edit, however this solution did not appear to work.
As I am at a lost as to what may have caused this, I am therefore creating this thread to ask if anyone might have a solution or know if by chance some other file is overriding the defines.lua file.
To give some prior context, for the past few weeks I've been running a file-edited vanilla CK2 game as the Emperor of Scandinavia starting in the year 867 using The Old Gods expansion where I've tweaked the save and other files for experimentation using the program Notepad++. This includes things such as editing vassal limits, editing values in game, 100 stat man, triggering events via console, et cetera but this does not include any mods besides a single small mod to remove great works if needed. The other expansions that I have running at this time besides Charlemagne and The Old Gods are Holy Fury, Horse Lords, Way of Life, The Republic, Legacy of Rome, and The Sword of Islam.
Last night, I purchased the Charlemagne expansion for CK2 as it was on sale and downloaded it to my current CK2 game files. Upon launching the game and entering into my aforementioned edited game, I noticed that my vassal limit appeared to have been reset. It was originally at 142/145 last time I opened this file, however it now displayed this as 142/85 as you can see here:

It appeared to me, therefore, that my defines.lua file must have been reset when I downloaded the new expansion, as I had the Emperor Rank base multiplier at 90 to grant myself more vassals, and therefore by reopening and editing this file that I should be able to reset it. However, when I opened this file I discovered that my previous settings for this multiplier and other edits had not been changed. Furthermore, upon attempts to edit any of the multipliers in this file, then close and restart CK2 this did not change any values inputted into the game. Nor did anything change when I turned off the Charlemagne expansion and restarted the game.
I then attempted to create a mod file as per the Defines section on the CK2 wiki to override the existing defines.lua to be able to continue to edit, however this solution did not appear to work.
As I am at a lost as to what may have caused this, I am therefore creating this thread to ask if anyone might have a solution or know if by chance some other file is overriding the defines.lua file.