[SOLVED]
CURRENT GOAL: To create a save for each game slot to the users pc, using arrays into JSON and NWjs and/or Local Storage.
CURRENT ISSUES:
1. I cannot figure out how to save those arrays using NWjs, IF I even need to use NWjs.:::
The save of anything with SAVESTATEJSON is not saving anything, and in fact the save file has 0kB. Nothing saves.
2. I cannot figure out how to load Local Storage, as I am wondering if I need NWjs and/or AJAX, etc.:::
I cannot LOAD Local Storage back into array without knowing where Local Storage saved to.
What is not working? NWjs saving to local folder. It WILL save the file! BUT...it will not save data to that file.
Question 1: What is the best (not easiest) way to do this? I.e. Arrays or dictionaries then JSON with NWjs or Local Storage or both, etc?
Question 2: Am I on the right track? I have it where it saves the arrays. Check. I have the arrays saving to Local Storage. Check.
NOTE: I am using arrays to make the save sizes smaller and traditionally for large data in the end.
-If I save the array, it updates Local Storage just fine. Thats about as far as I have got successfully with multiple tests. So, I have my arrays. Good. Now, what way is best to save the way I need and load the way I need? Having all these options confuses me on what works and doesnt and what goes together or not, etc etc.
photos are included of what Ive done simply with testing.
P.S.I am a bit slow, so please don't attack my intelligence. I have head injuries. Somehow I have to state that because someone always judges me. Please dont. I just want to see if there is help. Thank you all for helping if you can. I am patient as hell, so Ill communicate until WE can get it to work! Coffee or beer money for whomever gets this resolved with me! LOL