This is a tool for developers to validate RAGE (GTA5’s game engine)
.meta files against the game code. It is capable of:
- Validating metafile structure
- Identifying missing or invalid fields
- Validating numeric and hex values for correctness
- Vehicle metafiles
- Weapon metafiles
- Literally everything else… to some degree
If you have a public (or private) GitHub repository, you can easily run
rage-lintto check your files on every commit, for free!
A prebuilt .exe is made available here:
To run the script directly, you will need Python 3.x installed on your local computer – then you can also clone the repository and follow the instructions in the README to put in the Python dependencies.
rage-lint accepts a list of globs to process. So if you wanted to lint ALL
.meta files, you would run it like so:
To run both
rage-lint.exe **/*.meta **/*.xml
This is powered by GTA5.xsd, which is a very large generated XML schema so we will test metafiles in opposition to the sport logic!
There could also be points with validation, please report any points here so the validation will be fastened! When you have questions in regards to the errors reported, be happy to additionally go away a remark right here so it may be defined for others.