Samira
Random is god
Program is mostly based on problemsSmall tool for Fallout modders, trying to find most and least common mistakes in .msg files.
Application checks all .msg files in current directory and subdirectories, and reports all errors found;
in case application wasn't started from command line, log file is created.
Originally created for "Shattered Destiny 3" by @Lexx
List of performed check (at the moment of writing this post)
- Extra brackets - includes "commented" old entries at same line
- Text before/between/after brackets (before/after test is skipped if line passed 'extra bracket' test and text starts with "#")
- Invalid ID
- Duplicated ID
- Text too long
- Word too long
Each error spotted is reported as follows:
- First line: Copy of currently checked line
- Second line: Pointer with exact position, error message, filename, line
Examples (see included ScanMsg.msg for more):
Code:
{{1}{}{extra bracket begin}
-^ bracket not allowed here [ScanMsg.msg:2]
{-7}{}{invalid id}
-^ invalid id [ScanMsg.msg:11]
{10}{}{is bad, mkay?}
-^ duplicated id (previous: {10}{}{copy paste}) [ScanMsg.msg:15]
Note that all checks are aiming at making .msg files easier to maintain, and are bit more strict than what engine really needs. And in few cases can report errors in places which modders consider perfectly valid.
As i'm not modding Fallouts there probably are some things missing (ex: there's no sound-related checks), and it's up to you to point out any possible improvements

Links:
Download (latest version)
Source
Bugs reports/suggestions