Casper Gaming Developer Corner
Casper Gaming Developer Corner

Documentation

Back to Plugin


Quick InfoVersion: Alpha R2
Made for RPG Maker MZ 1.9.0

Selecting Files In EditorBy default, the editor will only show the expected file type when selecting something. For example, even if you have a .webp image in your titles1 folder, you will not see this image in the editor when selecting which title image to use.

To get around this, you will need to have a file with the expected type in the folder to get it to appear in the editor. This can be a tiny 1 pixel by 1 pixel file if you want to keep it in the final game, or you can remove this temporary file from the final deploy later.

Exporting Your GameWhen you export your game, you cannot use the "Exclude unused files" option as this will always exclude the alternative file types set up through this plugin.

This plugin should work with the encrypted files option. However, any non standard files will not be encrypted by the export process. This means if you would like to encrypt your webp files, you would need to use some other solution. Default png files will still be encrypted.

CautionThe RPG Maker defaults exist to help protect you from making an unintentional mistake. As an example, almost everything should support .png files whereas some common devices such as iPhones may not support .webp. Image formats are constantly evolving and support for them can be added or removed by the browser that is playing your game. Therefore, even if it works in your playtest on your computer, it may not work in other environments that you may distribute your game.

Please consult https://caniuse.com/ to check if an environment you want to release on supports your desired file type. If you are not sure, you should probably just stick to the RPG Maker default.

Please also note that this plugin only allows the game to look for various file types. It does not do anything to get them to work in your game, such as the case of some animated file types which may require additional plugins to play any animation contained in the file.

Plugin CommandsThis plugin does not include any plugin commands

Saved GamesThis plugin is fully compatible with saved games. This means you can:

✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.

Filename

The filename for this plugin MUST remain CGMZ_FileTypes.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.


Known Issues

This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.


Compatibility

This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.


Version HistoryVersion AlphaR2
  • Added mp4 video file types

Back to Plugin