Dominions 5

Dominions 5

Deo Nov 7, 2018 @ 2:05am
[Tool] Mod compatibility checker
Hello
This is a python script allowing you to quickly check mods you have on compatibility

Download[apathysoftworks.com]

It requires Python 3.x installation[www.python.org]
After installation double click it to run

You may need to change path to mods directory - open script in text editor and change line
path = os.environ["APPDATA"] + r"\Dominions5\mods"

it checks
- the values of created stuff is within limits allowed for modding (according to illwinter docs)
- values reused in different mods

it should work on linux (after changing mods path) but i didn't check

the output is as following

Mod "LA Lothric" (D5_LA_Lothric 1.03.dm): #newweapon values {850, 851, 852, 853, 854, 855, 856} same as in "LA Uluru, The rise of the Monoliths v1.00" (Uluruv1.05.dm) Mod "Fengchao, The Great Swarm" (hive_fengchao.dm): #newarmor values {905, 906, 907} same as in "LA Uluru, The rise of the Monoliths v1.00" (Uluruv1.05.dm) Mod "Fengchao, The Great Swarm" (hive_fengchao.dm): #newmonster value 0 below minimum 3500,[] Mod "Fengchao, The Great Swarm" (hive_fengchao.dm): #newmonster values {0} same as in "LA Nation: Dalkrin - The Plague Empire" (LA_dalkrin.dm) Mod "Juhera and Iram" (Juhera_Iram.dm): #newweapon value 752 below minimum 800,[] Mod "Juhera and Iram" (Juhera_Iram.dm): #newweapon value 753 below minimum 800,[] Mod "Juhera and Iram" (Juhera_Iram.dm): #newweapon value 750 below minimum 800,[] Mod "Juhera and Iram" (Juhera_Iram.dm): #newweapon value 751 below minimum 800,[] Mod "LA Nation: Dalkrin - The Plague Empire" (LA_dalkrin.dm): #newmonster value 0 below minimum 3500,[] Mod "LA Nation: Dalkrin - The Plague Empire" (LA_dalkrin.dm): #newmonster values {4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008, 4009, 4010, 4011, 4012, 4013, 4015, 4016, 4017} same as in "LA Uluru, The rise of the Monoliths v1.00" (Uluruv1.05.dm) Mod "LA Nation: Venedia, Merchant Princes 1.02" (Venedia_1.02.dm): #newweapon value 766 below minimum 800,[] Mod "LA Nation: Venedia, Merchant Princes 1.02" (Venedia_1.02.dm): #newweapon value 767 below minimum 800,[]
Last edited by Deo; Nov 7, 2018 @ 2:05am
< >
Showing 1-5 of 5 comments
Vir027 Dec 26, 2018 @ 5:35pm 
Thanks! I'm going to put this to use!

I'm having trouble. The default pass seems to work best insofar as the screenshot I can get when the command-prompt-like screen goes very quickly by clearly has some mod info. Other paths, like the Windows path with or without quotes on it, produce error messages. It's very hard to read the text in the screenshot because I catch it when it's fading out.


Ok, it works, but the screen doesn't stay up. It closes itself. If I put something white like Notepad behind it, stretch the window, and use video capture (much better than my first idea of rapidly taking screenshots...), then you can get a hold of the results.

Also, I guess at least some of the numbers which the program thinks are out of range for like weapons, armors, new monsters, montags, actually do work. They work for Dominions Enhanced and for a mod I made myself.

Here's an update from the modding manual. Hope it helps!

22.1 Modding Number Limits
These are the number ranges that can be used for modding various aspects of Dominions 5.

Weapons: 0-1999, 800+ for modding
Armor: 0-999, 300+ for modding
Monsters: 0-8999, 3500+ for modding
Nametypes: 100-299, 165+ for modding
Spells: 0-3999, 1300+ for modding
Items: 0-999, 500+ for modding
Magic Sites: 0-1999, 1500+ for modding
Nations: 0-249, 120+ for modding
Descriptions: 1999 characters
Last edited by Vir027; Dec 26, 2018 @ 8:02pm
Deo Dec 26, 2018 @ 11:28pm 
Originally posted by Vir027:
the command-prompt-like screen goes very quickly
i have just updated the script to fix this, pls try again :)

Originally posted by Vir027:
I guess at least some of the numbers which the program thinks are out of range for like weapons, armors, new monsters, montags, actually do work.
yep, they do work, but as said in docs - the later mod overwrites former, so if mod uses values which documented as reserved - it will just overwrite those items,monsters, etc which originally made by devs. And there will be no errors. You may consider it just as warning
Vir027 Dec 26, 2018 @ 11:44pm 
Thanks! The window stays up. Good fix.
Last edited by Vir027; Dec 26, 2018 @ 11:45pm
Gorilla May 10, 2019 @ 12:14pm 
it doesn't work, doesn't even open
Deo May 10, 2019 @ 12:41pm 
try to run it from command prompt, there must be some error
< >
Showing 1-5 of 5 comments
Per page: 1530 50