SamSuka
Casper Gaming
Casper Gaming

patreon


[CGMZ] Fallback

Hi all, introducing [CGMZ] Fallback! This is a small plugin that aims to prevent a common source of crashing in deployed RPG Maker games.

The Problem

RPG Maker typically tries to load an image and displays an error message with a retry button if the image is not found. This can happen for a number of reasons, such as deploying without including unused files or deleting a file that you thought was unused but was really used. While playtesting, this is typically a good thing as you can fix this issue as the developer. However, for a player of your game, this can stop their progress as they will not be able to get past this error message if the file does not exist.

The Solution

[CGMZ] Fallback solves this issue by allowing you to specify an error or fallback image which will be loaded any time the original image encounters a loading error. This prevents such an error from blocking your players from playing your game. Of course, this is still not ideal and you should still fix the original file loading issue, but at least it will not prevent your players from progressing through your game.

See below images where instead of getting a crash, I see the fallback image where the game could not load the original image:

Development Note

This initial alpha focuses on image files as that is where I noticed the majority of these errors come from. However, similar errors could occur if other file types are missing as well. In future update plans, I hope to add the following to this plugin:

1) Support of Audio files
2) Support of Video files
3) Different fallbacks by image type

Please let me know in the comments below any suggestions you may have for improvements to this plugin as well.


More Creators