Where can I find the official documentation about resource.cfg?
- 3 years ago
Quick update on this:
after months of testing I can confirm that one can indeed set priorities in the resource.cfg for different paths. I have used this procedure to fix some graphics-mods and default-CAS-override problems in the last few months.
I also discovered, that after sorting by resource.cfg priority, the package files are prioritized by alphabet. If folders "1-CAS" and "2-Graphics" are created, the CAS items will override the graphics packages if needed. However, if you assign a priority of 999 to the folder "2-Graphics" via the resource.cfg, then it will override the CAS folder if needed.
Final priority discoveries:
Packages with higher priority override lower priority packages.
1. All packages files get assigned the highest matching priority from the resource.cfg.
2. Packages that have the same priority are sorted by how deep in the file structure they are put. Packages that are placed one folder deep are prioritized over ones that are placed two, three, etc. folders deep.
3. Packages that have the same priority and are in the same folder are sorted by alphabet, starting with special characters, then numerics (0-9), then letters (a-z).
Hope someone in the future will find this helpful!