auto-updating .json files - progress


Automatically updating .json files is coming along! I've written a separate version of riv_update that does the same thing without the console output (which won't be open anyway) and I've managed to inject it into two functions in SimInfoManager. The first one means that the file is updated once all households and sim infos have been loaded in by the game, and as I've found out from testing the second one runs when a sim is born - I'm yet to test whether this works when a new sim is created by any other means (CAS, cheats, cloning, generated NPC...).

It's not release ready yet since honestly, this was the easy bit! I have to try to figure out how to let the player choose which file they want to automatically update, but I also want to make sure that this is only set for one save (you can see here that I've hardcoded file_name_extra = 'pine' as I'd normally enter riv_update pine, and I'm having to avoid opening any other saves because all of the sims will be different). This means I need to figure out how to get a custom piece of data to persist in the save... I'm clueless on this, hence why I've been exporting to .json files instead of keeping the sim mini-infos in the save. If I can't get that one word to stay within the save, I'd need to make yet another file and have pairs of the file name to save to and the slot number of the save file, but that would require setting it up again if the slot number changes.

Tomorrow I should find out whether I got the job I interviewed for on Thursday, so I'll know if my main priority is going to be my new career in data analysis or if it's going to continue being my job search...

I'm really grateful for all the support I've been getting - it's amazing knowing my mods are helping others! I have no clue how to thank people for donations without emailing them (which feels a little weird to do??) but I appreciate it so so much <3

Get [unsupported] riv_rel - genealogy mod for sims 4

Leave a comment

Log in with itch.io to leave a comment.