Episodic Game with RPG Maker VX Ace

I know this topic has been talked about, seemingly a lot, in the past and this isn't a thread asking if it's possible, but to share an idea I had.  I'm sorry if this is in the wrong area or already talked about somewhere else (if it is, point me to it, I did a lot of searching).

First, I don't know the inner workings of RPG Maker.  I think I understand things like where certain data is stored, but not 100% sure, so if I'm just totally off on all of this, please let me know so I can just forget it.

With that said, I've been messing around with using a combination of an .exe file and YSE Patch System script to create DLC/Episodic content.  This would work only with unencrypted games at this point, but I'm looking into a way to apply it to encrypted games as well.

The idea is to provide an .exe that does two things.  The first thing would extract the new maps (or other data/files that the patch system can't handle) where they need to go.  The second would be to extract the patch file where it needs to go.  

So lets say in episode 1 you have the user save on map id: 007 that has an exit, but that exit just leads to a screen saying "episode 2 coming soon". Using the patch system alone, you could change that same exit to now teleport your character to the next area, but for that to work, the original install has to already have a map 008 (and the patch system doesn't have the ability to add it).  If you're trying to add content, it would only produce an error.  So by using an exe, map 008 gets extracted to /data, the patch tells the game to change the event to a teleport event, and this problem is fixed

Theoretically, using this method, saved games would not be corrupted, all the episode 1 content would not change (unless you patched changes in), and everything would carry over to the new content.  This method is more like adding DLC or an addon, but it can be done without much effort.  I think the same concept could be applied to true episodic content (i.e. pick which episode you want to start on the menu)

To do this, you could use the exe to add all the maps and the patch file to include a script that adds a menu option on the start screen that starts episode 2.  You'd need to also include other scripts that could either allow you to store/restore items, levels, choices, etc, or just have a menu option to teleport you to a new map using a saved game file (I've seen both on VX, so I assume they're out there or possible on Ace).

With all that said, what do you guys think?  I've tried this out, albeit on a small scale (adding 1 map and using the patch to add an event to transfer character), and it seems to work.  There are a few problems I foresee, but if you know what you're doing they can be avoided.  

*Edit* I put it in this category because I figured it was more of an additional gameplay mechanic (since it has the potential to break a game) rather than anything else, hope I was right...
You could do all of that within the game itself (if you were creating two different games and just loading one game's save file into the other game).


I believe any exe that is designed to extract data from the compressed game files would be breaching the terms of the EULA.
You could do that, but I've read that using the same save file and importing it into a new game can bring a ton of problems, especially if you add/remove content from the database in each episode, although I think that thread was from a few years ago so people have have refined it somewhat.  The biggest problem with doing it that way would be that you'd have a new game for each episode.  The idea would be that, once all the episodes are out, there is 1 file that goes through all the episodes without requiring the user to do anything extra, but still allow people who play them as they release to have that option.  Also, by just including the new files that are required + the patch, it would be a small download.

I'm not sure what you mean by extracting data from the compressed game files, it wouldn't be doing that.  It would only be adding files to a game that has already been installed, using something like winrar or iExpress.  Or do you mean in the case of an encrypted game?  Even then, it would only be altering and adding content, not extracting it.
Yes, it COULD cause a ton of problems if you don't plan for it. We've made 4 commercial games this way (well, 3 of them used prior save files) and while it wasn't easy, we didn't have a ton of problems because we planned for it. But a lot of people seem to like the idea of updates to a single game. I much prefer to release a game as complete and move onto the next one, only revisiting the released one for bug fixes.
Like Shaz said, it must be planned in advanced, versus trying to cram and make last minute changes that could effect what you previously released.

Any changes (blocking a previous path, altering a switch, switching content in the database, adding/removing scripts) could drastically effect the saved file. As Shaz stated, it's best to have one game completed and then add on top of that for the next game by adding additional content (but not deleting anything vital).

This is why I seldom ever like to release demos, and don't make promises of save files carrying over from one demo to the next, because the way my game opens when I start the project seldom resembles the way it opens when I'm finished with the project. The more complicated a scene or map gets, the harder it's going to be to not go back and make changes to it the further into the project you get, especially if it wasn't thoroughly planned to begin with.
The problem with episodical games is that changes in the database or scripts WILL break the game. For example, there's a massive bug in a script and you fixed it, or added a new script, the save file wouldn't work anymore. So planning is really required.
I did it with a series of 5 games (and another time with one of 3) - it requires planning for sure. It's not so difficult to manage IMO, but it's extremely tedious and will have you look out for any detail that could make an impact in the subsequent sequels (ie if you found a particular item, character, if the amount of money collected is too high etc.)

I think stand-alone games are better and I don't know if I'll be making another series anytime soon (if ever).
I think stand-alone games are better and I don't know if I'll be making another series anytime soon (if ever).
Or at the very least, not making a series that relies heavily on previous content. I like episodic games as well, but there's nothing that states you have to have "carry overs" to make save files work. Just treat each episode as a stand alone.
Yes this is true but from the player's point of view, especially the "collector-type", the ability to export their inventory, stats etc is a huge plus. From the dev's point of view it's a big mess to manage lol

That said I agree, I will certainly make another series, but I'll keep each episode as stand-alone although the story will be a direct continuation from one to the other.
Have any of you played around with the patch system before?  Prior to looking into it, I thought altering any scripts or database entries would corrupt a save, but it seems like as long as you don't alter anything major PRIOR to the save, it doesn't.  This is how i'd handle my game, all the new additions would come post-chapter save and I wouldn't try to patch in anything from previous chapters.  As I said, I haven't done too much, but it seems like it can add in database and scripts and it doesn't corrupt saves.  Again though, I've only done it on a small scale, but it seemed to work.  I plan on doing a lot more testing before I actually decide to do it that way.

And as Archeia said, finding massive bugs could ruin the whole thing, but that's the same for releasing a full game to the public and then realizing there was a massive bug anyway, you'll either have to send out a patch that fixes it or a whole new original file (or more than likely, both), so I think that is a problem with both full games and episodic.

On a side note I was thinking I could make a full game with chapters and then the patch file would just throw a switch to unlock the new chapter.  Of course this means 100% development before release, so kinda defeats the purpose of what I am trying to do with mine, but it would appear as episodic!  I know there are many games from indie devs or smaller companies that do their demos this way (especially on mobile devices).

Thanks for the replies, it's an interesting topic I've thought about since I first used XP years ago!  
Of course you could tell a code in-game for beating the game and then that code could be used in a next episode as a reward. Also if player uses a right code, game would give an another code when that episode ends.


Point is, you would only earn more and more stuff but only if you start inputting code since episode 2. Of course this system fails when people share those codes.
If I do decide to do episodic but not transferred content, I'd have it like an episode of a cartoon where nothing really changes in each episode and each are a complete story, unless there is a MAJOR development (like new powers, special items, etc.) or change in the overarching story and then everyone who played would get that, so the next episode would have that.  

I'm just undecided how I want to handle it.  During testing, I'll try doing it with an exe and patching, but may end up going in a completely different direction.

Still, I'd like to keep discussing the concept of episodic games via RPG Maker for anyone who is interested.
Well originally I planned to do an episodic game series but I'm kind of glad that I didn't. It definitely didn't help sales of a certain Penny Arcade RPG game series to constantly lose character progress by excuses between short episodes. Of course that changed when that game went to 2D style and episodes became longer, it was not as a big deal after that.


A few hour long episode in a game makes more sense if it is a visual novel game like The Walking Dead. However that would mean you need to keep interest up between episodes to make it work well anyway. After that it is easier as episodes together make a full length game.
Have any of you played around with the patch system before?  Prior to looking into it, I thought altering any scripts or database entries would corrupt a save, but it seems like as long as you don't alter anything major PRIOR to the save, it doesn't.  This is how i'd handle my game, all the new additions would come post-chapter save and I wouldn't try to patch in anything from previous chapters.  As I said, I haven't done too much, but it seems like it can add in database and scripts and it doesn't corrupt saves.  Again though, I've only done it on a small scale, but it seemed to work.  I plan on doing a lot more testing before I actually decide to do it that way.
The biggest issue you are going to have when it comes to managing your database without using any special save-import script across multiple games is consistency.


If in episode 1 weapon 23 was "Rusty Sword" and then in episode 2 you suddenly changed weapon 23 to "Iron Sword", your game's not going to crash or anything, but the player's going to find they suddenly have different items in their inventory when they load a file from episode 1.


Save files not working due to scripts is a minor issue for the most part (well maybe major for you if your scripter is no longer active). It's likely something the particular scripter didn't test for (or consider) and never bothered to fix it even after the issue was reported and simply said "sorry, save files simply don't work when you install new scripts" which is obviously untrue and can be easily fixed on the scripter's end.
Indeed and their logical reasoning would probably end up being "It is free so whatever" when it comes to fix those bugs.
@Tsukihime

would you say there is a way for non scripters to make it so that scripts no longer render old save files useless?

from what I've noticed (maybe noticed incorrectly) is that whenever something in a new script isn't initialized within the save file, it becomes useless. Is there a way to initialize it (or whatever) using an old save file?
@Tsukihime


would you say there is a way for non scripters to make it so that scripts no longer render old save files useless?
No you kind of have to know what you're doing, especially if the initialization process is non-trivial (eg: parses note-tags or something)

from what I've noticed (maybe noticed incorrectly) is that whenever something in a new script isn't initialized within the save file, it becomes useless. Is there a way to initialize it (or whatever) using an old save file?
Yes it is usually just an uninitialized variable so if you know how to initialize it, it wouldn't be too difficult.


But basically, save file corruption due to new scripts is not really an issue when someone's considering what to do with their save files.
Just an update to those who are also interested in a single game file episodic content/DLC (it will work for both)...

I've done a few more experimentations and have determined that I can use a exe to deliver new episodes + a patch with no errors (so far) with unencrypted games.  It isn't the simplest thing to manage on the dev's end, but once you understand it, it shouldn't be a problem.  Since I won't be charging for my game, it'll most likely work fine for me.

Also, theoretically, I have found a way to do this with an encrypted game that involves including "placeholder" maps in the original file (therefore not requiring the exe to access /data), but could cause problems if your project grows out of the sphere you originally thought of (i.e. you included 'placeholder' maps up to 100 but your project goes past 101).  If you have a good idea of how many maps you'll need (and then include an additional bunch), however, it shouldn't be an issue.

Of course this all still has the limitations talked about above, but if you understand the system correctly, they can easily be worked out.

 I'll be experimenting with this a bit more and keep checking in.  Once I have it all figured out, I'll be writing up a tutorial.
You should also prepare a lot empty database entries as it is a rather easy thing to do.
This is an interesting topic to me because I was planning to add chapters instead of create an entirely new game.  That way each new game would build on the previous.  The way I was planning to do it - since I'm ignorant to all this technical stuff regarding patches - was just create an event at the end of each game I send people that allows the player to obtain a code.  Something like this.

Save Character Data?

Yes

[Character Data Code] = 1234567890

[Actor1:Level] = 50

I would then add an event to my next game that let players enter a code at the beginning I could check.  And if it matched up I would re-create the character.

If [Character Data Code] = 1234567890

[Actor1:Level] = 50

Not sure if this would work or not.  But it's what I was going to try.

Original thread: https://forums.rpgmakerweb.com/threads/episodic-game-with-rpg-maker-vx-ace.16652/