Save Bonus Plugin?

Protagonist7

Veteran
Veteran
Joined
Sep 14, 2015
Messages
85
Reaction score
9
First Language
English
Primarily Uses
I'm wondering, would anyone be interested in making a plugin which allows for save transfers ala The Mass Effect games, or Wizardry, or King's Quest?

I'm thinking something that could either read a save file, or something which creates a file containing the desired info. The data in question would preferably contain a character's class, level, and some game-specific variables.

Would anyone be willing to make this?
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
How will the player provide the save file? Are they going to upload it somewhere? Type in a passcode? Put it into the save folder of the game?

Is this for a desktop deployment, mobile, or browser?

Edit:
Code:
const contents = JsonEx.parse(StorageManager.load(savefileId));
if (Utils.isNwjs()) nw.Window.get().showDevTools();
console.log(contents);
console.log(contents.actors);
console.log(contents.actors.actor(1));
console.log(contents.actors.actor(1).level);
console.log(contents.actors.actor(1).currentClass().name);
 
Last edited:

Protagonist7

Veteran
Veteran
Joined
Sep 14, 2015
Messages
85
Reaction score
9
First Language
English
Primarily Uses
How will the player provide the save file? Are they going to upload it somewhere? Type in a passcode? Put it into the save folder of the game?

Is this for a desktop deployment, mobile, or browser?
Desktop deployment.
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
Ok... and my other questions?

How will the player provide the save file? Are they going to upload it somewhere? Type in a passcode? Put it into the save folder of the game?
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
Yeah, that could work.

Here's a sample code (same as above but it was an edit so you might not have seen it).

Replace savefileId with the number of the savefile Id. Usually a number between 1 and 20.
Code:
const contents = JsonEx.parse(StorageManager.load(savefileId));
if (Utils.isNwjs()) nw.Window.get().showDevTools();
console.log(contents);
console.log(contents.actors);
console.log(contents.actors.actor(1));
console.log(contents.actors.actor(1).level);
console.log(contents.actors.actor(1).currentClass().name);
If you run that code in an event, it will open up the dev tools and show you all the information from the save file. You can use the arrows to expand each object.

So basically I'm showing that you can access the save data with just one line of code (the first line of code above). Then you need to figure out what data that you're looking for.

upload_2019-4-29_23-48-49.png
 

Protagonist7

Veteran
Veteran
Joined
Sep 14, 2015
Messages
85
Reaction score
9
First Language
English
Primarily Uses
Yeah, that could work.

Here's a sample code (same as above but it was an edit so you might not have seen it).

Replace savefileId with the number of the savefile Id. Usually a number between 1 and 20.
Code:
const contents = JsonEx.parse(StorageManager.load(savefileId));
if (Utils.isNwjs()) nw.Window.get().showDevTools();
console.log(contents);
console.log(contents.actors);
console.log(contents.actors.actor(1));
console.log(contents.actors.actor(1).level);
console.log(contents.actors.actor(1).currentClass().name);
If you run that code in an event, it will open up the dev tools and show you all the information from the save file. You can use the arrows to expand each object.

So basically I'm showing that you can access the save data with just one line of code (the first line of code above). Then you need to figure out what data that you're looking for.

View attachment 114591
Sweet!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top