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 install the Python dependencies.
Running rage-lint
rage-lint accepts a list of globs to process. So if you wanted to lint ALL.meta files, you would run it like so:
rage-lint.exe **/*.meta
To run both .meta and .xml files:
rage-lint.exe **/*.meta **/*.xml
This is experimental!
This is powered by GTA5.xsd, which is a really big generated XML schema so we can check metafiles against the game logic!
There may be issues with validation, please report any issues here so the validation can be fixed! If you have questions about the errors reported, feel free to also leave a comment here so it can be explained for others.
It’s a Python script made into an .exe, of course it will be flagged. If you don’t want to run it then don’t. You can always do it the hard way too, and run the script yourself.
hi i got an issue where it says this
Traceback (most recent call last):
File “rage-lint.py”, line 33, in
File “ntpath.py”, line 703, in relpath
ValueError: path is on mount ‘C:’, start on mount ‘D:’
[27888] Failed to execute script rage-lint
do you know what the issue is and yes i have python installed.
You can place it anywhere, but it is a terminal application, so you will have to run it from the console (like cmd.exe or Powershell). If you want it to be available, you will have to place it in a directory that is in your Windows %PATH%.
Excellent work, a very useful tool that will help greatly to fix countless hidden errors in meta files.
Edit : Not sure what’s on your plate in the future or if it even interests you, but do you believe some sort of tool that scrapes vehicle modkit IDs and lists duplicates is feasible ? Would be a godsend for people who made the big mistake of merging their meta files using broken tools (like myself hahah).