iqqmuT / civ6-cheat

Cheat tool for Civ6 save files
MIT License
18 stars 3 forks source link

Game detection of altered file? #16

Open uberb134 opened 2 months ago

uberb134 commented 2 months ago

Thank you for creating this tool. I notice that it works inconsistently - sometimes the game ignores the edited amount altogether, and sometimes it works. I'm trying to figure out the sequence for success. I've tried copy/rename of the original save file, tried limiting the new gold amount to a double-byte int (<32,767), and tried editing all of the auto-saves to match the edited save file.

In the cases where it doesn't work, I'm not sure how it knows what the original value was. Maybe the game caches it and I need to exit the game completely and load a different saved game inbetween to avoid this?

iqqmuT commented 2 months ago

Does it work 100% if you:

  1. Exit to desktop
  2. Use this tool
  3. Restart Civ6
  4. Load the altered file
uberb134 commented 2 months ago

Running on MacOS Sonoma 14.5, Node v22.3, and the game is in Steam(Civ 6 1.0.12.54)

It's not a big deal in the grand scheme. I'm more geek curious about why it works sporadically.