Help how to use custom .dat file


I took the empires2_x2_p1.dat file from persistent corpses and modified the units and tried to upload the mod as private as its just for personal use but i can’t seem to install the private uploaded mod. I tried by opening the empires2_x2_p1.dat from the subscribed folder with advanced genie editor( persistent corpses ) and modify the units like that but then for some reason all modified units gets a reset after a day or maybe randomly. i don’t know why it resets i did this countless times in the past and never once it reset. i didn’t play for a long time so the game had lots of updates maybe that’s why but not sure. anyone knows how i can install the modified empires2_x2_p1.dat and use it in the game? i tried replacing it with the original empires2_x2_p1.dat but then when i launch game i get a error that the data file can’t be found or something.

Kind regards

Since the last update, although the technology in the new dat can be loaded normally, the unit data cannot be loaded into the game normally, which should be a new bug