Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation needed on data files #27

Open
verhoevenv opened this issue Nov 3, 2014 · 1 comment
Open

Validation needed on data files #27

verhoevenv opened this issue Nov 3, 2014 · 1 comment

Comments

@verhoevenv
Copy link
Owner

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

I see two ways:

  • Create a different tool for this, maybe in a scripting language
  • Do the validation inside of Notrium, and report any errors after loading a mod. This might even crash Notrium, as a player (non-modder) should not see such messages
@Enet4
Copy link
Contributor

Enet4 commented Nov 4, 2014

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants