Dominions 4

Dominions 4

Jasper Jun 9, 2017 @ 4:27pm
Name Lists?
Anyone know how to pull the name lists out of Dominions 4?
< >
Showing 1-10 of 10 comments
Matze Jun 10, 2017 @ 3:48am 
Are you talking about god titles?
http://z7.invisionfree.com/Dom3mods/index.php?showtopic=2610
here is a list of them
Jasper Jun 10, 2017 @ 11:43pm 
I'm after the lists of random names that each leader picks from when recruited, that vary by nation and so forth.
jonbrave Jun 11, 2017 @ 2:30am 
@Jasper Have you tried grepping the files for one of the names, so you can find out where it comes from?

EDIT: OK, I was surprised to discover these names --- and all other strings --- are not actually in external files, they are compiled into the code!

Try dropping your "Dominions4.exe" into say Windows Notepad. I then searched for "Childerik", one of my commander's names. Sure enough you find it, in the middle of hundreds of other names!

You could then scroll to the start of names and just copy from the start of the block to the end. Then a little bit of manipulation on the pasted result will separate out the names onto lines of their own, or whatever. It may not be very elegant, but given they're in the .exe I doubt there will be a tool which extracts them.
Last edited by jonbrave; Jun 11, 2017 @ 2:50am
Jasper Jun 11, 2017 @ 12:35pm 
Yeah, it's pretty old school C. I've seen them mined out before so I'm sure someone already did the work; I was hoping they'd be in the Dom4 mod inspector, but alas!

I guess groveling through the files does work though, bleh. Hopefully they're still readily sorted by nation, as that's what I'm after.

[Edit] Nope, they're just all jumbled in, as I'd feared. Dang. So not in the mood to decompile to get at them. :-/
Last edited by Jasper; Jun 11, 2017 @ 12:39pm
larzm Jun 11, 2017 @ 2:17pm 
The list of names used is here[drive.google.com]. It is indexed by name type. Each section is started with a nametype value (100-161). The values of the nametypes are defined here[github.com]. I mined these as part of the Dom 4 mod inspector but never had a use for them.
Last edited by larzm; Jun 11, 2017 @ 2:18pm
waTTe Jun 11, 2017 @ 2:26pm 
Thats very strange - who would put such a pure text-thing into the exe and at the same time release a moding-guide???
Shouldnt be much prob though to change this - something to ask for as an update.
DasaKamov Jun 11, 2017 @ 2:36pm 
Originally posted by waTTe:
Thats very strange - who would put such a pure text-thing into the exe and at the same time release a moding-guide???
Many (most?) .exe files are this way. After all, .exes are just a compilation of code which executes itself when initiated. ;)
Jasper Jun 11, 2017 @ 4:13pm 
Originally posted by larzm:
The list of names used is here[drive.google.com]. It is indexed by name type. Each section is started with a nametype value (100-161). The values of the nametypes are defined here[github.com]. I mined these as part of the Dom 4 mod inspector but never had a use for them.
Thanks, this is a huge help!

I knew I'd seen them about somewhere. Feared they'd been lost in the demise of forums past.
Last edited by Jasper; Jun 11, 2017 @ 4:14pm
waTTe Jun 12, 2017 @ 4:48am 
Originally posted by DasaKamov:
Originally posted by waTTe:
Thats very strange - who would put such a pure text-thing into the exe and at the same time release a moding-guide???
Many (most?) .exe files are this way. After all, .exes are just a compilation of code which executes itself when initiated. ;)

Read please - I didnt doubt that - I just wondered about this to be the case in a game that claims to be mod-friendly and has indeed lots of support for moders.
Compare this to Darkest Hour were almost everything possible is handled via txt files that can be easily altered.
Last edited by waTTe; Jun 12, 2017 @ 4:48am
Mormacil Jun 12, 2017 @ 5:45am 
Fundamental difference IIRC Darkest Hour is designed with modding in mind, Dominions 1 wasn't.
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Jun 9, 2017 @ 4:27pm
Posts: 10