Data transfer plugin? [MV]

So I wanted to include a data transfer where if you've cleared a previous game, you can transfer friendship data over to the sequel (ex: max friendship with a mage gets transferred over to the sequel and everyone else is at low friendship level and abilities from max friendship also get transferred over)

Is there a way to do this?
Depends on how you want to do this.
"Easiest" way (which is far from simple and requires programming knowledge) is to specify which data you want to have saved and save it into a Text file, with then a difference code to load that Text file into the new game.

If you want to use the original data by "just" transferring savefiles, then the first and the second program need to have identical databases (the second one might be expanded, but needs to contain the first database as a subset), an identical transfer map and a few more conditions.
Another way that needs programming knowledge as well (similar to the one proposed by Andar), It concerns some little edits on the code that makes the save contents for the global.rpgsave (or the default save file or It can be created a similar file ad hoc). You can store the data you need there, and then It can be created a specific code inside the game you need to transfer the data to read the contents of that file.

Example:
You have the global.rpgsave of your precedent game. You can make a copy of the file and maybe you can rename it as "example.rpgsave". You can choose the destination in a folder of your next game, maybe you can insert it in the project/save folder as well.
You can develop a code like that for read the contents data:

Code:
    var xhr = new XMLHttpRequest();
    xhr.open('GET', './save/example.rpgsave')
    xhr.onload = function() {
        var decode = LZString.decompressFromBase64(this.responseText)
        var obj = JSON.parse(decode)
        console.log(obj)
    }
    xhr.send(null)

This code will return in the console as object the contents of the file, where you can store any kind of information you need.
But, as I said, this needs a coding knowledge, and in particular the complete code needs to be developed specifically for the needs of the user.
@Gamefall Team @Andar

Darn I was hoping for an easy way
The way we did it with the Aveyond games (Mel series), and the way I plan to do it with my game, is to simply let the player load a save file from completed game 1 into new game 2 and continue from there. It does require programming/plugins and some design decisions about how/whether you will 'reset' certain things or carry them forward.
The way we did it with the Aveyond games (Mel series), and the way I plan to do it with my game, is to simply let the player load a save file from completed game 1 into new game 2 and continue from there. It does require programming/plugins and some design decisions about how/whether you will 'reset' certain things or carry them forward.

Is the plugin setup possible with Yanfly engine?
I don't have a plugin that does this - I have yet to write it. But I don't plan to make it compatible with any other plugins that I'm not using in my game (and at this stage I'm only using a couple of Yanfly's independent - non-engine - plugins).

If you want something written (which you do, given where you posted), you should specify what plugins you have, to ensure compatibility.
I don't have a plugin that does this - I have yet to write it. But I don't plan to make it compatible with any other plugins that I'm not using in my game (and at this stage I'm only using a couple of Yanfly's independent - non-engine - plugins).

If you want something written (which you do, given where you posted), you should specify what plugins you have, to ensure compatibility.

I don't need to pay someone do I? I'm on a budget
That's up to you. If you can get someone to do it for free, get someone to do it for free. I didn't say anything about paying anyone.

Did you search to see if something like this already exists?
That's up to you. If you can get someone to do it for free, get someone to do it for free. I didn't say anything about paying anyone.

Did you search to see if something like this already exists?

I tried but it just gets a bunch of unanswered threads from the older RPGM programs
Odds are high for something that custom you'll either have to pay someone to do it, or figure out a way to make the existing plug-ins work, since it would need to be something custom to your game.
Odds are high for something that custom you'll either have to pay someone to do it, or figure out a way to make the existing plug-ins work, since it would need to be something custom to your game.

Ugh, I hate paying for plugins all the ones I've seen are unreasonable prices, like 150-300 USD

I'm paid minimum wage, I don't have that kinda money to just throw into the wind.
Sorry, but coders command a high wage as it is not something everyone can do. It's not uncommon for them to ask $20 - $30 an hour for coding, as if you won't pay it, everyone else will so you're out of luck.

May just need to start saving up for it. You can do what I did and work extra hours at another job and bank the money for the game (yes, game dev time will take a hit while you do it, but it might be necessary). Or...see if there is another way to do what you want. Maybe someone can suggest another way below?
Sorry, but coders command a high wage as it is not something everyone can do. It's not uncommon for them to ask $20 - $30 an hour for coding, as if you won't pay it, everyone else will so you're out of luck.

May just need to start saving up for it. You can do what I did and work extra hours at another job and bank the money for the game (yes, game dev time will take a hit while you do it, but it might be necessary). Or...see if there is another way to do what you want. Maybe someone can suggest another way below?

I might just go with moving a save file over like Shaz or someone said where the sequel just picks up right where the first left off
That might work. Or maybe you could make a little 'game' which takes your old data, loads it, then changes it to what you used in the 2nd game by using the add/remove commands, and just have your players run it before they start game 2. This way if in your 1st game weapon 105 was Excalibur, and that is weapon 110 in your 2nd, you could remove weapon 105 then add weapon 110 using event commands. This could all be done in an autorun event. I've thought of doing that in my game if I do allow imports of old saves to the new game.

Would take a bit of work to set up though, and you would not be able to do it until after you finish both games, but I *think* it could work. I'll have to let you know after I finish 2 games and try it (which, at my pace, might be 2022 or so I'm afraid).
That might work. Or maybe you could make a little 'game' which takes your old data, loads it, then changes it to what you used in the 2nd game by using the add/remove commands, and just have your players run it before they start game 2. This way if in your 1st game weapon 105 was Excalibur, and that is weapon 110 in your 2nd, you could remove weapon 105 then add weapon 110 using event commands. This could all be done in an autorun event. I've thought of doing that in my game if I do allow imports of old saves to the new game.

Would take a bit of work to set up though, and you would not be able to do it until after you finish both games, but I *think* it could work. I'll have to let you know after I finish 2 games and try it (which, at my pace, might be 2022 or so I'm afraid).

Yeah I just wanted the friendship data transferred but nothing else. 😛
The way we did it with the Aveyond games (Mel series), and the way I plan to do it with my game, is to simply let the player load a save file from completed game 1 into new game 2 and continue from there. It does require programming/plugins and some design decisions about how/whether you will 'reset' certain things or carry them forward.

This. How is it accomplished, please? =(
The best I can find is a video on youtube where the fellow tries to teach you how to write an external text file, but as I'm using VX Ace, it's a lot of guess work for my non-coder-self to translate his java to ruby. Simply setting up some kind of way to take the save file from game 1 into game 2 would be a lot simpler. Is there some kind of in-game method to have it check an older folder for the data and copy it? Or does it have to be written into a global access folder by the first game so the second game can access it? Or...? @~@

Also, sorry for necro-quoting.

Anthro7, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


Please make a new topic with your question in the correct forum (this one is for MV, not VXAce).

Original thread: https://forums.rpgmakerweb.com/threads/data-transfer-plugin-mv.89565/