StrataSource / FGD

The FGD + Hammer resource files for games built on Strata Source.
19 stars 13 forks source link

Programmatically find FGD omissions using game code/executable #187

Open jason-e opened 1 year ago

jason-e commented 1 year ago

Entity classes, key fields, inputs, and outputs are defined in the game in a way that can be gathered programmatically. This could be used to find at least some definitions that are missing from an FGD file, or find FGD definitions not actually present in game. This could unfortunately not be used to generate the entire FGD, as some things would still require manual effort (spawnflags, and all entity/field descriptions, to name a few).

hexaflexahexagon commented 1 year ago

Note that we intentionally avoid putting some things in the FGD so that they don't show up for mappers, so this may take some cleanup as well to implement while maintaining that.

TeamSpen210 commented 1 year ago

I've got various tools to do that upstream, such as checking against dumpentityfactories, and dumps of the datamaps.