Platform Compatibility checker

Description of the Feature:
  • The user would be notified, through an icon, when a plugin or something else in the game isn't compatible with a certain platform
  • The icon would appear both on the left side of a plugin after it being installed and turned on and in the exporting window. On hover, it would show a small warning.


Mockups:



Ideas for Implementation:
Although I don't know how to implement this in the engine as it is, I've a easy and simple idea of how to do so: Simply check the plugins upon instalation for certain functions that don't exist in a platform. For example: If a plugin has a require() to any of the node.js/nwjs modules, it won't work on mobile nor on browsers.
When the user click "Deployment", the engine will then read the Json files, libraries included in the index.html and the rpg_ files for the same thing, to make sure they weren't modified and include things that won't be supported on a certain platform.

Why is this feature good?
  • It would help many devs to have an idea wether or not their projects can run on certain platforms. Also, would help finding out which plugins work and which don't on said platforms.

Possible issues with this feature?
  • Obviously it wouldn't detect all possible things that may make a game not run in a certain platform, but would still be quite useful.

Original thread: https://forums.rpgmakerweb.com/threads/platform-compatibility-checker.110999/