I have written a tool here which extracts the defines from the files and creates data with the contents.
You can “scan” the client/server source at the same time by using this structure
Main folder:
exe
ClientSource/
ServerSource/
Alternatively, do it yourself for each source
Extremely...