verhoevenv / OpenNotrium

Code and bugfixes for Instant Kingdom's Notrium, a topdown survival game
Other
86 stars 26 forks source link

Validation needed on data files #27

Open verhoevenv opened 10 years ago

verhoevenv commented 10 years ago

Data files might be internally inconsistent. We should be able to easily validate if a mod is consistent.

I see two ways:

Enet4 commented 10 years ago

I would go for the second way, but I don't agree with crashing here, as the player could still be a non-modder if by any chance the mod was corrupted by mistake of the modder, or if the player installed it incorrectly. We should instead let the program show something like "Failed to load mod «mod_name». See log file for details"