crapier / RPGMakerMVSaveEditor

Simple Proof of concept to view, edit (with js console), and save RPG Maker MV Save Files
63 stars 19 forks source link

I edit, click save, and it doesn't save. #3

Open FearTheDee opened 7 years ago

FearTheDee commented 7 years ago

As the Title states... The save is for an RPG Maker MV save, but that shouldn't be an issue. Not sure what I'm doing wrong.

crapier commented 7 years ago

Can you upload the save somewhere so I can test it? Not enough information for me to do much else.

Does the save open fine?

Seranjine commented 7 years ago

I have the same problem, and yeah, the save works just fine no matter what I try to do with it. It's more like it's just remaking the old copy and sending that back than actually saving any changes. I can upload a .txt, if you just open and save as a .rpgsave, it should convert back fine. Did for me at least. file5.txt

Seranjine commented 7 years ago

Alright, so figured out I was doing it wrong. Was just using the window provided, went to the console instead. Now it's a different issue, it won't let me edit that value at all. EDIT: Should probably put specifics, huh? The main value I'm trying to edit is under variables_data, lines 10 & 11, though any of those present the same issue.

crapier commented 7 years ago

I'll have a look soon, have to set my computer back up. Just moved for the winter break.

On Sat, Dec 17, 2016 at 7:19 PM -0600, "Seranjine" notifications@github.com<mailto:notifications@github.com> wrote:

Alright, so figured out I was doing it wrong. Was just using the window provided, went to the console instead. Now it's a different issue, it won't let me edit that value at all.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/crapier/RPGMakerMVSaveEditor/issues/3#issuecomment-267797394, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGID9ATuhWABpq5DbeztJur3_bv_DDgiks5rJIoYgaJpZM4LJ1xO.

crapier commented 7 years ago

Okay, this was totally my fault, changes in the editor were being saved to save[i].jave_data instead of save[i].save_data. So they wouldn't get exported when you click save.

That should be fixed now, so the editor should actually work. I tested with your save and after reloading an edited save the changes where still there. So download the latest commit for the fix. (stupid typo)

crapier commented 7 years ago

Also to edit variables with the console you sometimes have to enter it as a new line in the console like: saves[0].save_data.variables._data[10] = 10

Seranjine commented 7 years ago

Ahhh. Knew it was partly me being retarded on the console side. This is what happens when I play with something new. :P I'll download it and take a look again, see if I can get the good results. EDIT: Works fine! Thanks!