Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preliminary dom5 data, also contact request #1

Open
vuonojenmustaturska opened this issue Oct 2, 2017 · 1 comment
Open

Preliminary dom5 data, also contact request #1

vuonojenmustaturska opened this issue Oct 2, 2017 · 1 comment

Comments

@vuonojenmustaturska
Copy link

To provide you with something useful, the nation data blocks in the executable are now 1748 bytes and the IDs go from 0 to 111. At least in dom4, after the base filename there are 4 unknown bytes followed by 6 floats. The floats are two sets of RGB colors, first the main color and then the secondary color, stored as multipliers of 255. Presumably this is a graphics API convenience. I'm not sure if it's still true for dom5, however I would assume so.

These are used to draw the score graphs and color in the flag parts when assembling core nation flags. I can go into more detail on how the flags are constructed if you care, I've reversed the method for use in snek.earth, a server hosting platform.

I've been trying to reach you regarding some of the things I've dug up, like the primary/secondary color thing. Are you on any of the dominions-related discords? Months ago I also tried to add you on steam, my profile is https://steamcommunity.com/id/vuonojenmustaturska/

@larzm42
Copy link
Owner

larzm42 commented Oct 2, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants