I used this guy save and load script which I guess changed the data and I deleted it because it was causing to much problems. Now when I load a save game it doesnt load the town`s bgm or it load another bgm that was played previously before that point as if the save is jacked up or something. So i tested this guy script on a new game and deleted it and it wont let me continue. It goes to a black screen and shut off without any error and when I click new game I get a error on scene file. I have that error screenshot.
How do I fix this. I hope my save and load engine isn`t broken.
If you add a script that needs its own savedata (about 50% of all scripts), then you always need to start a new game because that will make older saves incompatible. That has nothing to do with that load/save script, that is general.
so the only thing that matters and that can be solved is to see that you can start a new game, save that new game and then load that new save (without any changes to the scripts).
If that doesn't happen now, then you did something that destroyed the regular save functions.
In that case, follow the link to the tutorial "how to use a script" in my signature. That might help you point to where you made a mistake in the first part, but the important part is the bughunting in the later sections.
To help further we need a screenshot of the console output of the backtracer script linked there.
And what is this particular "this guy's script"?
we cannot help you if you don't give us info.
for example if we ask for what a script is, we want a link to the website where you got it to check it out.
additionally, how did you "save the BGM"?
yes, with that info I can agree - that script most probably did change the handling of BGM as that is the secondary feature of it.
Additionally the script is still in beta according to its description and I never heard of it before.
Solution: don't use that script but either use default load or look for a different save script.
no, that is where you're wrong.
If you delete a script from Ace' script editor, then it and its settings are completely gone.
If you have problems in a new game after deleting a script, then there are only two possibilities:
1) the problem is caused by a different script and not the one you deleted
2) the script wasn't deleted completely because you made a mistake on deleting it.
the only easy way to set it back would remove all other scripts as well, so it would be better to look where you're wrong. I suggest checking all empty/unnamed slots in the script editor, because a common mistake is to add a script, forget to name the slot and then add it again sometime later.
There's one other factor here too. When you remove a script, sometimes the length of the save files changes, and that will mess up ALL saves until you delete all save games in your directory then start a new game. This is due to the changed system looking for files of the wrong length now, and all files you have do not match, so weird things happen.
That means you have somehow changed part of the base scripts.
If you already removed all other scripts, then there is a simple solution: make a new project, and then copy that projects script file (the file in the folder, nothing in the script editor) over the script file of your damaged project.
The editor must not be open when you copy the file under Windows!!!
I didn't give that option before because it will delete all added scripts even those who work correctly, but if you already removed those...