godot-mod-loader icon indicating copy to clipboard operation
godot-mod-loader copied to clipboard

Loading prevention for incompatible game version

Open aesereht opened this issue 1 year ago • 0 comments

It would be good to consider a method of adding prevention from loading a mod in case of incompability.

There is currently arguments in json manifest schema

	  "compatible_mod_loader_version": "4.0.0",
	  "compatible_game_version": ["4.0.3"],

while there is a method for handling mod_loader_version _handle_compatible_mod_loader_version there is non for game_version nor game engine

compatible_game_version if it's minor changes probably should be implemented by dev directly although there could be added helper method.

The real problem if devs would decide to change engine version as due to syntax changes it would crash the game while trying to load files. So would propose adding compatible_engine_version, where engine version could be easily retrieve by Engine.get_version_info()

aesereht avatar Aug 15 '24 20:08 aesereht