Page MenuHomeWildfire Games

Check references from inside the engine [proof of concept]
Needs ReviewPublic

Authored by wraitii on Jun 7 2020, 5:47 PM.
This revision needs review, but there are no reviewers specified.



This is perhaps a very dumb idea., while useful, is annoying:

  • it's written in perl, which is arcane at the best of times.
  • it's also annoying to run (I don't have libxml::simple or whatever its dependencies are and installing them is a pain).
  • Running externally, one has to recreate a bunch of game functionality.

If we were running templates validation from the inside the game, we could leverage the VFS and make our lives a little easier perhaps. Further, using the VFS might actually be faster than running on the OS, and javascript with a JIT is rather optimised too.
We could also leverage our GUI to give some neater information, though I'm really doing nothing of that kind right now.

This adds a mod to run some simple validations. I used it to confirm D1775.

Refs D1381.

Test Plan

Run the game from the CL or whatever.

Event Timeline

wraitii created this revision.Jun 7 2020, 5:47 PM
Vulcan added a comment.Jun 7 2020, 5:48 PM

Build failure - The Moirai have given mortals hearts that can endure.

Link to build:

Stan added a subscriber: Stan.Jun 7 2020, 6:04 PM

I'm not sure about it. I agree that perl is a _pain_ although it does get better with experience. But there are a lot of feature in there and I planned to add DAE checking for prop points at some point.

Maybe rewriting it in python makes more sense but I never got around do it :/