The best kittens, technology, and video games blog in the world.

Sunday, November 28, 2021

100 Languages Speedrun

Luna has landed! by hehaden from flickr (CC-NC)

I didn't take a long break after finishing the 100-episode daily Electron Adventures series. I already started another one - 100-episode daily "100 Languages Speedrun" series, where I'm trying out a new programming language every day.

It's been going for about a week now, and it's available:

I already explained the goals of the series in the first episode, so I'll just repost it below. Enjoy the series!

Time to start a 100 programming languages speedrun. Every day or so, I'll be posting about a different programming language. Not just doing 100 fizzbuzzes, but trying out something that's interesting about each language.

But that's not all, some of the programming languages I will create for purpose of this series. So if you follow along, you'll see not just a lot of different programming languages, but you might also learn a thing or two about how to create your own.

I won't be shy about my opinions, and I might be even exaggerating a bit. Feel free to share your thoughts in the comments.

Episodes will all be independent. Target audience is people who know programming, but don't know a 100 difference languages, so I'll often use some less idiomatic ways of doing things if I think it's clearer for such reader, or if it lets me showcase specific language feature better. For languages where it's not enforced, I'll mostly stick to best-practice cross-language code formatting (2 spaces indentation, double quoted strings, no semicolons etc.), even if that language generally uses something else.

Wednesday, November 17, 2021

Electron Adventures 100-post series is finished

Rena, with her black and white whiskers by Bennilover from flickr (CC-ND)

The Electron Adventures series I've been writing is now over.

The series is available on two platforms, with the same content:

If you want to read the conclusions, episode 99 (dev.to, hashnode) summarizes the technical aspects of the series, and episode 100 (dev.to, hashnode) talks about what it was like to do daily blogging. As it's already all there, I won't be repeating it here.

Or start from the first, or just check whichever episodes look interesting. Some subjects continue over a bunch of episodes, but there's plenty of fresh starts on the way, so you definitely don't need to read it 1 to 100.

I plan to do some more similar series in the future, they'll definitely be announced here, and for now I plan to double-post any such content to dev.to and hashnode, so feel free to follow me on whichever one's more convenient.

It's also possible that I might do a few bonus episodes beyond the 100 someday, as there's a few subjects I couldn't cover for various reasons.

Sunday, September 12, 2021

Electron Adventures 50 episodes so far

She's either helping me code or waiting to steal my pencil. #theLatter by AMsloan from flickr (CC-NC-ND)

Two months ago I got an idea of starting a small Electron coding project. And lacking any kind of moderation, I decided to just post daily coding episodes for like a 100 days. I'm halfway there.

There were definitely some technical issues early on, but I got that out of the way.

Since then I blogged at a rate of about 1 post a day - either creating or updating a small Electron program, and then doing a short writeup about it, with code samples and discussion of issues encountered along the way.

When I started, I had a vague idea of where I wanted to head:

  • I wanted to try out new code blogging platforms.
  • I wanted to collaborate with people. It's something I used to do a lot before the pandemic, but had too few opportunities since.
  • I wanted to figure out how I can code Electron in something that's not Javascript - Ruby, Python, basically anything whatsoever. Either purely non-JS, or in some kind of hybrid mode (JS frontend, non-JS backend). All other languages desperately need a good UI system, and I thought this might be worth investigating.
  • I wanted to be able to create Windows UIs for my Total War modding tools (and potentially Paradox modding tools too). I did them before with JRuby + Java-based toolkits, but none of that works very well.
  • mc more or less broke after software upgrade, and it freezes if I do anything funny, so I wanted to investigate how I can make my own Orthodox File Manager in Electron
  • and I might get some Electron and Svelte practice, as I don't use them too often

So far the adventure led me mostly somewhere else:

  • I did a few coding sessions with Amanda Cavallaro, but it's actually quite difficult to get someone to join such a big ongoing project for just an episode or two.
  • I started coding a file manager. Blogging about every tiny commit is fun, but it takes much longer to blog than to code, so I doubt I'll get even MVP this way.
  • I did some coding with Javascript frameworks I don't normally use like Vue or Marko; but zero with non-JS languages so far
  • I didn't even try to connect anything with my Total War modding tools
  • I definitely got that Electron and Svelte coding practice.

This is fine.

The series is available on two platforms, with the same content:

Each post has about 71 views total (60 views on dev.to and 11 views on hashnode).

Those numbers feel very low to me, as back in the good days a typical post on my blog would get thousands of views, occasionally tens of thousands. My most read post had 170k views.

I also don't know how many views new vs old posts get, so if people would read that for years and it would add up, or if they'd just fade away being barely searchable.

I'm also not sure how much value this series even has to the readers. A 100 post series is not something people really do, ever. Am I expecting people to read from start to finish? To pick it halfway? To just read random a post or two?

A number of the posts are reasonably self-contained, but especially the ones about building the file manager sort of assume some familiarity with existing code. I also didn't really make it obvious which episodes are self-contained and which aren't.

The codebase with each episode's code also has very little interest so far, at 2 stars and zero-activity 3 forks.

I'd probably still be coding something like this anyway, but the main point of writing is having some readers, so if people aren't very interested in this kind of content, I guess I could stop, or do something different.

I'll continue for the rest of the 100 episodes and then write another post about the whole experience.

Oh and I was contacted by multiple different people, who wanted me to write various educational content. Unfortunately I don't really have time for that.

Monday, August 23, 2021

Don't use codepen

Let's talk about websites you shouldn't use  - specifically codepen.

Back in the pre-pandemic days when I was helping people learn frontend programming, I used it a lot for showing various things. So I have 177 such "pens" there, where project is basically three files (HTML+CSS+JS).

Anyway, the why you shouldn't use it part. Codepen deliberately decided to block any way to export your data. Even getting list of your pens is not really possible without logging to Chrome and doing some console script loop. All automated access is deliberately blocked.

The only way to export is to go to 177 pens and click on a lot of buttons to get each individual zip file, and they did their best to block any way to automate this process.

The only way you can get your data - which they don't advertise in any way - is to send them GDPR data export request.

It comes in a fairly annoying format of one big csv file. I wrote a script to convert that data into a more usable form.

Being able to export your data is basic human right on the Internet, and deliberately making it difficult is a reason why you should not use websites like codepen.

Wednesday, July 28, 2021

So what happens to government debts after the pandemic?

meow money (or meowney) by Travis Nicholson! from flickr (CC-NC)

In most of the developed world, governments' economic strategy for the pandemic was to lock down the economy, take on massive additional debts, and give all that money away to everyone who might be affected by the lockdowns to keep the people compliant.

This would be fine, if the lockdowns were "two weeks" as was originally promised, but it's been already over a year, and depending on how new variants work against vaccines, it might take a few more years for the pandemic to end, and then another few for the economy to go back to normal.

It's common to look at GDP numbers, and claim it's not that bad, but GDP statistics are easily falsified by overwhelming short term cash injection.

Crime wave

A small side note, not terribly relevant to the main argument.

Many countries went through waves of riots (also known as "mostly peaceful protests" in propaganda media) and increased serious violent crime. 2020 in US had the highest homicide rate since late 90s, and 2021 data looks even worse than 2020 data. It's not as bad as early 90s, but it definitely is bad.

Some people make excuses that many other categories of crime didn't increase - but it's harder to commit burglaries if people stay at home.

Especially adjusted to prime crime committing population (young men, about 15-30), serious crime rates might already be as bad as in the '90s, it's just marked by including much more elderly in the denominator, who cannot commit any serious crimes even if they wanted to.

It's unclear if this is mostly an US specific issue, or if other countries are just as affected.

It's quite likely that this crime wave will take decades to go down to pre-pandemic levels, and until then, it will interfere with economic recovery.

Debt levels

Western countries already had record high debt levels before, as they never properly recovered from the 2008 recession.

Here's some visualizations of how bad debt levels already are. And it will keep increasing for as long as the pandemic is ongoing.

The quite recent orthodoxy that government debts should never exceed about 60% of GDP and shouldn't get even close to that except in most unusual circumstances, looks hilarious when the new normal is 100%+ debt for everyone, and 200%+ being nothing unusual.

Why is nobody even talking about it anymore?

So what happens next?

There really aren't that many things that can be done with such levels of debt. It would need to be some combination of.

Not paying the debt:

  • government could repudiate all or part of the debt, just say it won't repay it, and get over it - the chance of this happening is basically zero for as long as politicians can kick the can down the road
  • government could negotiate with creditors to get the debt down to more sustainable levels - Third World countries do that occasionally, are we going to see more of it?
  • government could print more money and erode debt through sustained high inflation - if expected inflation is 2%, then 20 years of higher 5% inflation is about equivalent to reducing the debt burden by about 40%. This is the cleanest solution, but we live in heavily inflation-phobic era, and even hitting 2% consistently seems to be a problem for central banks. Even worse many developed countries are not monetarily independent, but enslaved to the ECB.

Repaying the debt:

  • fast economic growth could erase debt to GDP ratio by rapidly increased GDP. Except the now dominant green anti-growth ideology is virulently opposed to the very idea of growth. They're virulently opposed to even building the much needed infrastructure (like the Heathrow Third Runway), and have been very effective at either preventing new infrastructure, or delaying it and increasing its cost so much it amount to basically the same thing. Even without the destructive green ideology, and NIMBYs, and all sort of special interests effectively using political process to block any potential competitors, it would be really difficult to achieve fast growth. Demographics of Western countries are all terrible - none except one have healthy demographic growth, and the one exception Israel only does it through Haredi population which largely refuses to integrate with modern economy, and is a huge burden on the rest of the society.
  • government could increase taxes to repay debt - taxes in most developed world are already very high, and the harder you squeeze, the more harmful it is to the economy; increasing taxes by much is also politically very difficult, so politicians are trying their best to pass sneaky anti-democratic pseudo-taxes - for example "taxing Amazon" (which obviously will be 100% paid by people who buy from Amazon). We'll definitely see more of that, but this doesn't come even close to addressing the enormity of the debt.
  • government could cut spending to repay debt - this works in theory, but it's a political suicide, and even if one party does it for the good of the country, very often opposition reverses the cuts as soon as they get the power
  • selling or long-term-renting government property - this could be done to reduce debt a bit - for example US federal government own obscene amount of lands it doesn't use, and doesn't plan to use, and which could be sold (or at least transferred to the individual states, which then can use or sell them).

Living with the debt:

  • paying interest, at rates compatible with historical rates - back in the 90s government interest rates in US were about 6%. At 200% debt to GDP ratio, this means 12% of GDP - or 1/3 of government revenue - goes to paying just interest, with no reduction in principal. This is ridiculously politically unsustainable.
  • paying interest, at very low rates - if on the other hand interest rates were more like 2%, then such payment can be sustained, but how can government ensure that the rates stay this low indefinitely? As Japan shows it is possible, but only by monetary policy so brutal that it makes economic growth impossible. Government pretty much has to either make it impossible for any private investment to offer better rates; or force banks to take government debt, and starve private sector of any credit.

And that's the full list. There's no combination of these that looks good.

MMT is nonsense

Yes, MMT is nonsense, no point wasting time on it. It's basically stupid motte of "if we accept very high inflation, we can money print ourselves out of any debt" with bailey of "inflation will magically not happen".

My adventures with dev.to and hashnode so far

As I said in my previous post, I was looking for a new blogging platform.

I created accounts on dev.to and on hashnode, and started my new Electron Adventures series.

Here's hashnode version:

And here's dev.to:

What went wrong with dev.to

dev.to was a huge disappointment. I tried to post episode 4, and it just outright refused to accept it, or even preview with "invalid markdown detected" error.

It wouldn't even give me a hint where was that "invalid markdown", so I had to delete parts of the posts, until I got it down to a single line, then simplified a bit:


Yeah, any code block with date: in it just crashes their engine. I tried to throw some backslashes in various places, but that didn't fix it.

I could maybe change code to say "da" + "te:", but that's really stupid for a code blogging platform.

Unless this gets fixed, I really don't see myself using it, especially as I like doing much weirder things with code than printing some URLs.

I'm not sure if there's any place where I can report the bugs where they'd actually read them and maybe fix that (for what it's worth, I tweeted at them).

What went wrong with hashnode

Hashnode let me post everything all right, but there's another problem. There doesn't seem to be any place where people can see all my blog posts. If I'm not logged in, my profile page looks like this:


Like, where the hell is my blog?

I suspect that maybe I need to go through the whole "setup your blog" process to get such page, but this really wasn't clear when I started. I thought by posting blogposts I'd already have some kind of blog created, but maybe that's not how it works?

What's next

I'll try to see if hashnode is fixable, and if dev.to actually responds to this bug.

I still have an option of using external markdown converter and posting here, even though it's a messy process. I'm not sure which other blogging platforms I can try.

I want to continue Electron Adventures, but I might take a short break to resolve these technical problems first.

Sunday, July 25, 2021

Looking for a new blog

service interruption by travel oriented from flickr (CC-SA)

I've had this blog here since 2006. I don't plan to delete it or anything, but it's not really a platform I'd recommend to anyone.

It's especially bad for talking about any tech issues - there's no support for code at all.

So I've been writing posts offline as Markdown offline, using Markdown to HTML converter, and just dumping the result here. The only extra step was manually finding a cat picture for the post. If I then notice any kind of corrections I'd like to do, they are quite awkward to make.

I've been not very happy about it, but in the past, this blog used to have a lot of readers, and moving to another platform would lose most of that engagement.

Well that's gone now - blogging is maybe a 10% as popular as it was in its Golden Age, and RSS is nearly dead - the few people who read blogs now either get there from Google, or from someone linking to specific post on social media. Either way, the cost of switching is much lower.

And timing is really good now. I have an idea for a new post series, with tons of code.

After checking a bunch of planforms, I created accounts on:
My plan right now is to post same content on both at least for a while to see which one I like better.

I'll probably keep posting on-coding stuff, and various announcement posts (usually of the "look at this cool software I wrote" type) here.

Some other content creation platforms I used, or still use:
  • gaming blog - I mod most games I play, so I write down notes as go, so I got an idea of maybe turning those notes into some kind of AAR; these are probably not the most fascinating AARs unless you also mod stuff; unfortunately Google deleted most of old screenshots there when Google+ died, so most of old posts have text only
  • youtube channel - I was posting gaming content there for a few years, I haven't done that in 3 years, but I keep thinking about resuming that
  • Google+ - well, that died, still miss it
  • twitter - I keep posting there out of habit, but really twitter is a sad shadow of its former lively self, and I keep thinking about just dropping that
  • twitch - I tried streaming there for a bit, but I never really got into this, as I don't watch live streams myself, I only watch gaming content on my own time, at 200% speed

Tuesday, July 13, 2021

Password hiding policy is insane

Ysabel by Daniel Panev from flickr (CC-SA)

Imagine you find yourself in some part of the world where people can still go to cafes, so you get a coffee, take out your laptop, and begin working on your spreadsheets or fanfics or whatever people do these days.

Then you remember that you're low on cat food. Let's see how security of that works out.

First you need to type cafe's WiFi "password". This password - completely worthless secret - will be turned into a bunch of ****** by your computer - so none of the people in the same cafe can even dare to see this.

Not to mention WiFi "passwords" are a conspiracy by broadband companies to sell more broadband, and really all WiFi should be completely passwordless and only prioritize the paying user over passers-by.  Most networks have very low utilization almost all the time, so it costs nobody anything. That's how we used to roll back in the '90s before big broadband successfully destroyed this social sharing model.

Anyway, once you get on the WiFi, you log into Instagram to check out some cat memes. Your social media password is of slightly more value than cafe's WiFi password, and your browser has decency of ******ing that too, so this part makes the most sense.

And then you remember, the cat food. You go to cat food website, enter your credit card number - all in plain sight of everyone in the cafe. Then secret three digit number on the other side of the card - all also in plain sight of everyone. Your name, address, and everything else one would need to literally steal your money - why, also all in plain sight of everyone who's in the same cafe. Also to every employee, as the cafe is fairly likely to have some cameras around, and it's really not hard to see what's on your screen with modern cameras.

How is this not utter insanity? Criminals don't care for your dinner photos, or your Instagram posts, or even really for your nudes or medical history (unless you're famous). For sure they don't care for WiFi passwords the tiniest bit.

The only thing they want is access to your money, and they can easily get it by just looking at your damn screen in a public place if you buy anything. And this is just one thing we in our utter madness decided to not hide, while we ****** every worthless WiFi password.

And it's not one online shop, or one browser doing this insanity. Everyone collectively decided to just be batshit insane about this for some reason. Did Russian mafia infiltrate Netscape back in the '90s and then we never fixed it, or are we all just so damn stupid?

Updates Hypocrisy

Gaby by DeGust from flickr (CC-NC-ND)

Tech companies just love forcing updates upon regular users. The idea that someone, somewhere, might be using a version of their software that's a few months old, stops them from sleeping well at night.

This goes all the way from operating systems through big applications all the way down to the tiniest utilities. They will force that update down user's throat, and the most freedom they allow users is to press a 24h snooze button. Some like Microsoft will not even bother asking, and will just reboot user's computer in the middle of whatever they were doing.

And it's not like they make any guarantees about it - if updates break things - and they absolutely will do that - there's usually no way to roll back, and you must be living on a different planet if you imagine you'll get any tech support whatsoever.

So if updates are so important, you'd think at least tech companies would be updating things automatically themselves? Nothing could be further from the truth. They built entire systems like npm's package-lock.json and its equivalents for literally every other programming environment to prevent any updates forever.

Even the idea of operating system updating some shared library dependency is too much, and nowadays everyone bundles all dependency libraries with every application, builds fully static binary, or just puts them in some sort of a fully no-update virtual machine like Docker container.

And it's not just minor packages - tech companies will happily run Python 2 or Java 8 or Debian "stable" a decade after release of their official successors.

So for all that task about importance of updates, this only seems to apply when their costs are borne by someone else.

I believe what tech companies do, not what they say, and I therefore believe that forcing users to update their machines, either by automated updates, or by endless popups without a No button, should be literally illegal. We don't allow manufacturers of physical things to invade your home to "update" your microwave or a book, why should we allow software manufacturers to invade our computers?

Saturday, July 10, 2021

Total War UI layout to XML converter

Chatons, Juin 2021 by Isabelle + Stéphane Gallay from flickr (CC-BY)

My most recent coding project was decoding UI layout files for all 10 Total War games from Empire to Three Kingdoms and writing converter that translates them to XML and back.

Here's a quick writeup of what I did, and how that went.

UI Layout files

Layout in the games are controlled by UI Layout files. They all helpfully start with a version number header - currently from Version025 to Version129. After that follows top level UI element, and within are nested children UI elements and many other things like UI states, transitions, events, and so on.

Basic building blocks

Basic building blocks of the format were fairly easy to understand, mainly:

  • booleans as 00 or 01
  • integers as int32
  • floats as float32
  • colors as BGRA32 (that is - one byte per component, in this order)
  • ASCII strings as int16 character count, followed by that many characters
  • Unicode strings as int16 character count, followed by that many UTF16 characters
  • various data structures had their fields in specific order, without any headers, or delimiters
  • for arrays of data structures there was generally int32 element count, then followed by each element in succession, without any headers or delimiters
There were also a few other patterns used less often, like:
  • optional fields - either 01 followed by some data structure, or just a 00
  • 128-bit uuids (weirdly no specific version, but still market as a uuid in variant bits)
  • occasional int8s and int16s
  • arrays of elements repeating until some special value like events_end
  • 2D arrays of elements prefixed by xsize and ysize
  • and so on

Manual decoding with hex editor

Most formats are quite easy to decode with a hex editor. This one wasn't - there were far too many versions, no data structure headers, no separators between data structures, and as pretty much everything was optional, so there were huge blocks of zeroes.

For example a block of 20 zero bytes could be any of:
  • 20 booleans false
  • 5 floats 0.0
  • 5 ints 0
  • 10 empty ASCII strings
  • 10 empty Unicode strings
  • 5 empty nested arrays of some child elements
  • or most likely some combinations of all of them
And there were such huge blocks of zeroes everywhere.

Decoding it without tool assist would be just too difficult, especially doing it over and over for every single version.

Original converter

Once upon a time alpaca wrote a Python converter for Napoleon Total War (second game on the engine). I inherited that, and extended it to backwards to Empire and forwards Shogun 2.

Even with all the fixes it had only maybe 90% support for those three games.

The most obvious approach would be fixing remaining issues and extending it further.

Unfortunately that would be very difficult approach.

Internal Representation Pattern

The converter was based on principle of Internal Representation. Every structure has a class. That class  basically has five methods:

  • initialize empty data structure with default values
  • read from binary file
  • write to XML
  • read from XML
  • write to binary file
This works well enough when there's one version of every structure, and it's fully understood. Unfortunately we have 62 different versions (some numbers between 25 and 129 were skipped), and we have very limited idea how things are represented.

Old converter tried to ignore many of those issues. For example writing to XML was just one hardcoded template string per data structure, so if layout file's version lacked some fields, it would just write default values anyway. Then on converting back it would read them and throw them away. This specific issue was partly limitation of Python, which is bad at DSLs, and this XML output really wanted a DSL.

A bigger problem was that if it didn't work for any reason, I got nothing. I'd get some "reading past end of file" error without any context whatsoever, and actual point where parsing derailed was located long before that crash.

Data gathering

Before I even started, I took latest versions of all 10 Total War games using current engine, extracted all UI layout files and put them as test set.

Analysis tool

Then I wrote analysis tool. The formats were really complicated, but there were some obvious things in them. Especially strings. Basically the analysis tool went over the file and identified every ASCII or Unicode string. Then it printed any undecoded data in nice ASCII + hex format.

That was a good starting point, but there was something I could do next. Not only I could see the strings, it was really easy to guess which string meant what. A string with font name was always followed by some ints controlling text display. A string with shader names by shader variables. Strings with image names were used in a few ways, but some simple heuristics could guess which were they.

So I soon had listings along these lines:
000129-000147 FontNameBlock "Ingame 12, Normal"
000148-000151 LineHeightBlock 2
000152-000155 FontLeadingBlock 1
000156-000159 FontTrailingBlock 255
000160-000174 DataBlock
  ...............  00 00 00 00 00 00 00 00 00 00 00 00 01 00 00
000175-000185 ShaderNameBlock "normal_t0"
000186-000189 ShaderVariableBlock 0.0 (0)
000190-000193 ShaderVariableBlock 0.0 (0)
000194-000197 ShaderVariableBlock 0.0 (0)
000198-000201 ShaderVariableBlock 0.0 (0)
000202-000270 DataBlock
  ........0....... 00 00 00 00 01 00 00 00 30 12 00 09 00 00 00 00
  ................ 00 00 00 00 00 05 00 00 00 04 00 00 bb ff be ff
  ................ 00 00 00 00 00 00 00 01 01 00 00 00 00 00 00 00
  ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  .....            00 00 00 00 00
000271-000282 EventListBlock []
000283-000294 DataBlock
  ........ .<.     00 00 00 00 01 00 00 00 20 b3 3c 0b
000295-000314 StringBlock "government_screens"
000315-000346 DataBlock
  H............... 48 01 00 00 8e 00 00 00 01 01 00 01 00 00 00 00
  ................ 00 ff ff ff ff 00 00 00 00 05 00 00 00 00 00 00
000347-000421 ImageListBlock 1 elements:
  000351-000421 ImageBlockGen1 id=163829448 xsize=256 ysize=256 path="data\\UI\\Campaign UI\\Skins\\fill 2 leather 256 tile.tga" unknown=4294967295
000422-000433 DataBlock
  ............     00 00 00 00 00 00 00 00 01 00 00 00
000434-000437 StateIDBlock 162986096
000438-000447 StateNameBlock "NewState"
000448-000451 XSizeBlock 624
000452-000455 YSizeBlock 720
000456-000484 DataBlock
  ................ 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00
  .............    01 00 00 00 01 00 00 00 00 00 00 00 00
000485-000503 FontNameBlock "Ingame 12, Normal"
000504-000507 LineHeightBlock 2
000508-000511 FontLeadingBlock 1
000512-000515 FontTrailingBlock -16777216
000516-000530 DataBlock
  ...............  00 00 00 00 00 00 00 00 00 00 00 00 01 00 00
000531-000541 ShaderNameBlock "normal_t0"
000542-000545 ShaderVariableBlock 0.0 (0)
000546-000549 ShaderVariableBlock 0.0 (0)
000550-000553 ShaderVariableBlock 0.0 (0)
000554-000557 ShaderVariableBlock 0.0 (0)
000558-000565 DataBlock
  ........         00 00 00 00 01 00 00 00
000566-000589 ImageUseBlock id=163829448 xofs=0 yofs=0 xsize=624 ysize=720 bgra=bgra(255,255,255,255)
000590-000626 DataBlock
  ................ 01 00 00 00 00 00 00 01 01 00 00 00 00 00 00 00
  ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  .....            00 00 00 00 00
000627-000693 EventListBlock ["OnUpdatePulse", "OnUpdatePulse", "OnDock", "DockHudRelative"]
000694-000705 DataBlock
  ............     0a 00 00 00 0e 00 00 00 e8 db b8 09

And you can probably already notice huge blocks of zeros I mentioned before - even after some zeros are not shown as decoded from context.

Direct Conversion Pattern

Now that I wasn't going completely blindly, I started writing a converter. In Ruby, as there was a lot of DSLing to do. But mostly it was based on a completely different principle - Direct Conversion.

Direct Conversion doesn't bother with any classes, or internal representations. It has methods such as (not actual code, just the general idea):
def convert_int
  value = get(4).unpack1("V")
  puts "<i>#{ value }</i>"
end
  
def convert_string
  size = get(2).unpack1("v")
  str = get(size)
  puts "<s>#{ str.xml_escape }</s>"
end

def convert_color
  b, g, r, a = get(4).unpack("CCCC")
  puts "<color>"
  puts "  <byte>#{b}</byte><!-- blue -->"
  puts "  <byte>#{g}</byte><!-- green -->"
  puts "  <byte>#{r}</byte><!-- red -->"
  puts "  <byte>#{a}</byte><!-- alpha -->"
  puts "</color>"
end
But bigger methods can be composed from smaller ones (also not actual code):
def output(str, comment=nil)
  print "  " * indent
  print str
  print "<!-- #{comment} -->" if comment
  print "\n"
end

def convert_int(comment=nil)
  output "<i>#{ get_int }</i>", comment
end

def convert_color
  tag "color" do
    convert_byte "blue"
    convert_byte "green"
    convert_byte "red"
    convert_byte "alpha"
  end
end

Advantages of Direct Conversion

Nice thing about this is that conversion back doesn't need to have any idea whatsoever what tags like color even are - other that most basic data types like strings, ints, floats, and booleans, the converter from XML back to binary needs nearly zero awareness of what those formats are.

So instead of describing every data structure 5 times, we do it just once. And any version specific logic can be handled by a single if @version >= 74 or such.

But there's more. Since we never need to construct any internal representation, if conversion crashes, the converter will give us full context of the error!
  <model>
    <s>composite_scene/porthole/troy_advisor_test.csc</s><!-- mesh path? -->
    <s>standard_advisor</s><!-- mesh name? -->
    <!-- some model data or anim header or sth -->
    <data size="1">
      01
    </data>
    <i>0</i><!-- 00:00:00:00 --><!-- anim count or something? -->
    <s></s><!-- anim name? -->
    <s></s><!-- anim path? -->
    <!-- rest of anim stuff or sth -->
    <data size="4">
      00 80 3f 00
    </data>
    <!-- 2900 - end of model data -->
  </model>
</models>
<no /><!-- end of uientry flag 5B? -->
<no /><!-- end of uientry flag 6B? -->
<error msg="Invalid boolean value: got 63" version="121">
  Data before fail:
  ne/porthole/troy 6e 65 2f 70 6f 72 74 68 6f 6c 65 2f 74 72 6f 79
  _advisor_test.cs 5f 61 64 76 69 73 6f 72 5f 74 65 73 74 2e 63 73
  c..standard_advi 63 10 00 73 74 61 6e 64 61 72 64 5f 61 64 76 69
  sor...........?. 73 6f 72 01 00 00 00 00 00 00 00 00 00 80 3f 00
  Data from fail 2900:
  ..?...?.....9..p 00 00 3f 00 00 00 3f 00 00 98 d1 bd 39 10 00 70
  ortrait_minspec. 6f 72 74 72 61 69 74 5f 6d 69 6e 73 70 65 63 00
  ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 00
  ................ 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
Then all I need to do is look back from point of the crash to the last definitely correctly decoded part (in this case those two strings look perfectly fine). Then find where is the first definitely incorrectly decoded part (in this case 00 80 3f is clearly last 3 bytes of a float, so it was off by one at this point already).

Then I can adjust that specific data structure's method. I don't even need to guess what that extra data is. If I see five zeroes I don't have decoding for, I just tell the converter to expect five zero bytes.

Then if some other file has non-zeros at that position, I'll get nice exception like "Zero data expected, got 05 00 00 00 00", then I can pretty clearly see that first four bytes are an int32 - and the last remaining one is likely a boolean (but I'd still leave is as undecoded zero for now).

Debug mode

At some point I implemented a small modification to direct conversion process. There's debug flag to control printing of various extra information like structure offsets, hex values of ints and floats and so on.

Converter first converts binary to XML with debug flag off. If that process crashes - it turns debug flag on, and starts all over. This way normal XML isn't polluted by too much extra information useful only for debugging the converter, but in case of crash I get tons of extra information.

First three games

The first three games were easy enough. I already had a mostly working decoder, so I used it as a starting point, and used procedure described here to fix any issues.

Initially I thought about backporting fixes to the old converter, but I quickly gave up on this idea when I discovered just how extensive the changes would need to be.

In any case I got converter working far better than the old one without any major difficulty.

Next seven games

This is where my plan run into first problems. Starting from a working converter for version X and adding support for version X+1 is easy:
  • run conversion anyway, ignoring that version is wrong
  • identify where exactly it crashes (based on  <error> tags and my analysis tool)
  • try to fix those crashes, gated by some if @version >= x+1 checks
Unfortunately first three games used versions 25 to 54, then next seven games used version 74 to 129. So I had a 20 version gap with nothing in between, and really I looked like I'd need to decode from pretty much from scratch.

Cpecific's decoder

I'm sure I'd be able to figure out the decoding, but I found unexpected help. It turns out Cpecific wrote a PHP-based UI layout decoder. It doesn't actually convert anything - just prints JSON-style output describing contents of various UI layout files.

I tried to run it on a bunch of files, and it seemed to have 80%-ish support for newer 7 games, similar to how well old decoder supported the older 3 games.

The main weakness of Cpecific's decoder is that it doesn't actually convert anything - so you're expected to do hex editing, and then check in the decoder that results are what you expected. Not exactly an ideal workflow, but it super beats hex editing blind.

I also couldn't fully trust its decoding, and it crashed on many files, but it was definitely a huge help at crossing the gap between Version054 and Version074, and once I crossed it, it was easy going to do one version at a time.

I also used it to annotate some fields with comments on what they could likely be.

I don't plan to do any further development of old converter, but in case Cpecific wants to continue with his, at some point I should write down a list of issues I found and their fixes.

Warhammer III

A new Total War game is coming out soon, so the converter will likely need an update. I don't expect this to be difficult - Rome 2 was the last time they did major format update.

Saturday, June 12, 2021

Is stealth even possible?

Previously I solved the Mechs vs Tanks question. Now let's move on to the next one - is stealth even possible, specifically on military aircraft?

Aircraft is usually detected at long distances by radar. Stealth aircraft has been a thing since 1980s - it uses various tricks to make it harder to detect over long distance by typically used kinds of radar, and that's effective enough.

There's been many attempts to use different kinds of radar systems to detect stealth aircraft. They're probably at least somewhat effective, but this information is not really available to anyone. Not even in the sense of being some military secret - how well Chinese detection technology can deal with US aircraft is unknown to both China and US, and likely won't be until China invades Taiwan and needs to test in it practice.

Phone cameras

However, why limit ourselves to radar? Let's do some back of an envelope calculations.

Military aircraft is about 10-15m long and wide, and moves through open space at very high speed. That's not like any natural object. Let's approximate that to 10mx10m square.

Modern consumer phones have cameras of about 100MP, or 10000x10000. If we imagine that it covers 90 FOV, then if it points at a 10km by 10km area, 10km up, each pixel covers about 1m x 1m - so aircraft will cover about 100 pixels and will be trivially detectable by even dumbest Python image recognition script, at least in daytime.

Let's assume we want to defend a big country like Iran from people fed up with its terrorism. Iran has area of 1.65 million km². As our phones each look at area 100km², spreading them so every point in the sky is seen by 10 phones at the same time - for huge redundancy, it would take just 165k phones, or at $500 each just $82m, less than one jet.

If we require lower coverage multiples, phones get better or cheaper, or we can detect enemy aircraft from less than 100 pixels, that drastically reduces the cost.

One might think that horizon would be a problem, but phones in this example are looking up, and horizon is 5km away at 2m tall pole, and 10km away at 8m tall pole.

Various terrain features like mountains are a problem for radar system - as radars are big and expensive and therefore very few. But we can cheaply install so many damn phones this problem is absolutely trivial.

Image Processing

Someone not familiar with modern image processing might imagine that detecting aircraft from a picture would be hard. Nowadays this is honestly a ridiculous idea. You can create fake tanks to fool the AI, but there are zero big fast moving objects in the air other than aircraft, and once you know aircraft is there, it really doesn't take much to figure out if it's a friendly, neutral, or enemy kind.

I can also think of no reason why similar image processing algorithms could be used to integrate various radar signals, even if each of them separately couldn't really detect stealth aircraft.

Drones

There's no reason why the cameras can't be even better, with some optics added to get performance we need, and put on drones staying in air long time. Sure, drones could be shot down, but drones are extremely cheap and only getting cheaper.

The main problem with cheap consumer drones is that they typically have flight time of only about 20-30mins, so constantly recharging and relaunching them would use a lot of manpower.

So while phone cameras and image processing technology is ready for this today, it might take another decade or two before drone technology catches up.

Limitations

This approach works far better in daylight than during the night. Night isn't completely dark, so detection might be possible, but it would likely be far more expensive.

It only applies to stealth aircraft, as it flies through open and featureless skies, and it wouldn't work at all with stealth submarines, or even to ground based vehicles since ground is covered with interesting features which could obstruct view or make detection difficult.

Another obvious limitation is that this technology only covers your own country - at least with ground based phones. It won't help you at all if enemy plan is to just show up at your borders, fire some missiles, and head back home.

The whole idea is to have a lot of really cheap short range detectors to defeat stealth, but stealth can still deal with long range detection by radar.

This limitation can be somewhat overcome by deploying camera drones. Drone flying 1km up has horizon at 110km, so it could monitor aircraft approaching your airspace, but that's just a 3 minutes warning, so not exactly amazing.

Another use of this technology could be detecting enemy navy. You'd need to use long flight time drones for that due to distances required, but ships are really big and much slower than aircraft. Then again, surface stealth ships are an extremely marginal thing.

Obviously everything here is back of an envelope calculation. But people's widespread belief that stealth technology is some kind of magic really looks ridiculous to me.

Friday, May 28, 2021

How to configure OSX 11.4 Big Sur for software development

wilma kitten-4 by julochka from flickr (CC-NC)

With every new Macbook, I'm updating the guide, previous version is here.

Basics

  • Go to Settings > Security > FireVault, turn on FireVault. This will restart your computer.
  • Install some sensible browser like Chrome or Firefox.
  • Afterwards either sign up into your account on which you hopefully have your ad blocker setup, or install some. Most popular seems to be uBlock Origin these days, but pretty much any of them will do just fine.
  • Install whichever cloud sync service you're using like Dropbox etc. And start syncing your stuff.
  • Install iTerm2 for sensible terminal emulator.
  • Clean up all crap from dock. Other than Launchpad and System Settings, everything else should be gone. Add iTerm2, your browser, and your text editor, and any application you wish to install there instead of stock Apple crap.

Editor

Install some sensible text editor. These days most people use Visual Studio Code. If you do, go to Options, search "Telemetry" and disable it all.

If that's your choice, run it, open Command Palette, and choose: "Shell Command: Install 'code' command in PATH".

Settings

Like every other operating system, OSX has a lot of bad default settings. Here are some obvious fixes:
    • If you have multiple monitor setup, go to Settings > Display > Arrangement and drag and drop them into correct arrangement so mouse can move between them correctly.
    • You might need to do it twice - with laptop screen open, and with laptop screen closed.
    • Also set up which will be your main monitor by dragging that white bar on top of the display icon to it. This looks like Menu placement, but it really mostly controls Dock placement.
    • Settings > General > Appearance > Dark
    • Settings > Mouse > Untick "Scroll direction: Natural" to get rid of stupid backward scrolling
    • Settings > Mouse > increase scrolling speed and tracking speed a bit
    • Settings > Keyboard > Key Repeat > Fast (max is correct)
    • Settings > Keyboard > Delay Until Repeat > Short (max is correct)
    • Settings > Sound > Disable "Play sound on startup"
    • Settings > Sound > Disable "Play user interface sound effects"
    • Settings > Sound > Alert volume > 0% (for Terminal ping)
    • Settings > Trackpad > Scroll & Zoom > Disable "Scroll direction: natural" (this should be done if you do it for mouse)
    • Settings > Displays > Max out brightness
    • Settings > Displays > Turn off "Automatically adjust brightness"
    • Settings > Dock & Menu bar > enable "Automatically hide and show the Dock"
    • Settings > Dock & Menu bar > Battery > Enable "Show Percentage"
    • Settings > Dock & Menu bar > Clock > Use a 24 hour clock
    • iTerm > Preferences... > Profiles > Terminal > Unlimited Scrollback
    • Settings > Desktop & Screen Saver > Screen Saver > Disable
    • Settings > Security & Privacy > Require password after sleep > 1 minute
    Press Ctrl-Up arrow, add a few desktops (or "spaces" as they were used to know), then go to Settings > Keyboard > Shortcuts > Mission Control - and enable their keyboard shortcuts Ctrl-1 to Ctrl-6 or however many you have there.

    Open Screenshot app, choose options, then:
    • disable "Show Floating Thumbnail"
    • Save to > Other Location... choose "Downloads" folder

    Drivers

    OSX already includes drivers for laptop itself, but you might need some for peripheral hardware.

    In particular, external PC keyboard need a tweak to work properly, as left and left Windows keys are in reverse order from Mac keyboard.

    Go to Settings, Keyboard, Modifier Keys..., choose the right keyboard from the dropdown (strangely I had ordinary wireless mouse selected by default), and swap positions of Option and Command keys. Feel free to change functionality of Caps Lock key as well, it's a huge easily accessible key with no useful function people love to remap, usually to extra Control.

    If you need any special keyboard layouts, get them too.

    Another thing - when you plug in external keyboard, you'll get choose keyboard type dialog. It will likely choose the wrong type. Just pick ANSI, whatever it claims to detect. Otherwise the backtick key will be wrong.

    Home/End keys on OSX are also broken. Use this as a fix. You'll need to log out and log back in for it to take effect.

    Development tools

    You'll need a package manager, and the only one anyone uses is homebrew, MacPorts and the rest being basically dead. You need to tell homebrew to not spy on you with brew analytics off command.

    You'll need Xcode. Fortunately homebrew installer does it for you automatically. If you don't use homebrew for some reason, you can install Xcode manually by running xcode-select --install from command line.

    Deal with stupid access popups

    New in Big Sur, first time you access some folders from terminal, you get a stupid popup asking you to confirm that you're indeed fine with terminal accessing various folders. So run:

      find .

    and confirm all those stupid popups to be done with it once and for all. Well, except you'll still have them when accessing USB drives and such. I'm not sure if there's any way to completely disable this nonsense.

    Create new SSH key pair

    Before you do that, name your computer something memorable with sudo scutil --set HostName your_host_name command.

    Open Terminal and run ssh-keygen to create ~/.ssh/id_rsa, then upload the generated key to any place that needs to know about it like githubbitbucket, or whatever else you use.

    Alternatively you could copy your keys from your old laptop, but it's generally more secure to have separate fresh keys for each machine.

    Checkout your dotfiles

    Hopefully you're storing your dotfiles somewhere. If it's a git repository, or your Dropbox account, get them now and symlink them all properly.

    If there are any other repositories you might need, checkout them too.

    Standard paths

    OSX renames a lot of directories. The most annoying of those is that instead of /home it has /Users. It used to be very easy to add a symlink, but this kept getting more and more complicated, so I stopped doing this.

    Install homebrew packages

    Your list might vary. Here's a few obvious suggestions:

    brew install rbenv ruby-build mc wget p7zip trash git htop bash zsh youtube-dl jq imagemagick coreutils bash-completion zsh-completion nodeenv

    Then enable all services you installed, unless you want to start them manually:

      ln -sfv /usr/local/opt/*/*.plist ~/Library/LaunchAgents/

    And install non-system ruby, so you can install gems without sudo. Currently latest is:

      rbenv install 3.0.1
      rbenv global 3.0.1

    To make that actually work, you need to make sure ~/.rbenv/shims is in your $PATH. If you type rbenv init, it will tell you what to do.

    Due to OSX limitations you'll need to run sudo htop if you want to use htop.

    Install gems

    Again, your list my vary. These days most of the software will have its own Gemfile so long list of gems are generally unnecessary. But some global utilities are still useful:

    gem install bundler rak pry pry-rescue

    Different Shell

    OSX switched from ridiculously outdated bash to up to date zsh, so it's no longer a mandatory step

    If you want to use system zsh, it's fine.

    If you want to install something else, like proper bash (or brew version of zsh; or something else), first brew install bash.

    You'll need to edit /etc/shells as admin and add the following lines at the end of it to enable your newly installed shell:
    /usr/local/bin/bash
    /usr/local/bin/zsh

    Then set it as your shell, with whichever one you prefer:
      chsh -s /usr/local/bin/bash $USER
      chsh -s /usr/local/bin/zsh $USER

    Hushlogin

    For some reason OSX prints worthless annoying messages on every open terminal tab. Run to touch ~/.hushlogin to prevent that.

    Coreutils

    This is optional step. OSX coreutils are generally a lot worse than GNU versions you might be used to from Linux. Switching unfortunately means occasional minor incompatibilities, but I never ran into anything serious.

    If you want to do so, brew install coreutils, then add GNU coreutils to your PATH:

      export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
      export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"

    OSX coreutils are not as bad as they used to (for example cp -a now work), so this step can be skipped.

    Better window manager controls

    Sadly OSX window manager is extremely dubious for keyboard use. Fortunately programs to make it usable exist. Unfortunately there's a lot of churn among those programs, and every couple of years the ones I use become unmaintained and need to be replaced by something else.

    Currently I recommend:
    • Rectangle - for moving windows around on big screens - I don't really like the default keybindings, so I change them to Cmd-Control-Option with 1,2,3,4 for corners, arrows for halves, and M for maximize and get rid of the rest
    • AltTabfor switching between windows - it's baffling that OSX completely lacks this function - and Cmd-Tab to switch between applications is absolutely inadequate for any application that has more than one window, which is most of them (browsers, editors, terminals etc.) if you're developing software. My previous recommendation HyperSwitch no longer works.
    Due to Apple's increasing levels of hostility towards Open Source software, you'll now need to open Security & Privacy > General, and then allow HyperSwitch to run.

    You'll need to give them necessary access. To do so:
    • Settings > Security & Privacy > Privacy > Allow the apps below to control your computer > enable HyperSwitch and Rectangle
    Also open its preferences, and set it to run in the background, show in menu bar, and start at login.

    Open files limit

    For some insane reason OSX has default open file limit of only 256, and that breaks a lot of software like databases. And every new OSX version breaks 

    You will need to fix this (current instructions), restart computer, and put ulimit -n 100000 in your .zshrc for good measure.

    Lower security settings

    Unix used to have very simple model where root user could do anything, and that was great for development. OSX keeps adding more and more security restrictions. They are absolutely detrimental to developing software, and of questionable value to regular users - primarily they're Apple's way of slowly turning computer world into something more like iOS world where they can decide who can run what and take 30% tax on everything.

    You'll need to disable some of them. Most important such setting is this:
    sudo spctl --master-disable
    After you run it and reboot, a lot of software like Ghidra will work properly.

    Enable ssh access

    You need to tick both:
    • Settings > Sharing > Remote Login > Turn on
    • Settings > Sharing > Remote Login > Allow full disk access for remote users

    Android File Transfer

    It's honestly embarrassing to both OSX and Android that there's no out-of-the-box way to move files between them either over WiFi or USB cable.

    There's official Android File Transfer program but it's just awful. OpenMTP is somewhat less awful, but still not great. If you know of any program that's actually good, definitely let me know.

    All other software

    There's a lot of other software you might want. The most obvious one is the VLC media player.

    You might also want some kind of Git UI program, like GitUp (brew install homebrew/cask/gitup).

    If you want to use SSHFS, the one in homebrew (macfuse and sshfs packages) don't seem to work, so you might want to try downloadable versions. First time you try to use it, OSX will block it, so you'll need to go to Settings > Security & Privacy, allow it there, and restart (you'll get popup for that).

    Enjoy

    Once you go through this list, and successfully get everything going, I'd recommend modifying it to your liking and reposting your version on your blog. Everybody's needs are different, so guide like this is just a starting point.

    Friday, April 30, 2021

    Ranking of all EU4 religions for 1.31.1

    sad cat diary by greyloch from flickr (CC-SA)

    I recently posted EU4 1.30 religion ranking, and 1.31 completely flipped it around.

    There are minor religion specific changes:

    • whole new religion Alcheringa for Australian natives, similar to Fetishist - it has really good Rainbow Serpent cult (+1 a month to every monarch power!), but it's locked behind completing 10 missions, and you won't even get any of those missions if you flip to Alcheringa somehow
    • Zoroastrians have Coptic style holy site system. Of these +5% trade goods bonus is currently broken in 1.31.1 as they accidentally coded local not global modifier, but there's no province it applies to, but I'm treating it as if it was working correctly.
    • Totemists got ancestor worship system, that's potentially very powerful, but it's very RNG driven who you get into your ancestor pool, and very slow to get all 10
    • Sikhs getting new system, but it doesn't seem to work correctly, so I didn't include it in this analysis, and treating Sikhs as if you didn't have the latest DLC. So actual Sikhs should be ranked higher once it works properly.

    But by far the most important is monument system. Monuments are either universally accessible, or locked to specific religions, and having access to best monuments makes certain religions far stronger. In this analysis I assume you got every single monument allowed by your religion, at max tier. This isn't even that many - no religion has more than 7 monuments, usually they're conveniently located, and really most of the power is in top few like Alhambra and Petra.

    Some monuments are also culture locked, but all it does is requiring you to accept local culture, and accepted culture slots are generous enough that this can be ignored. The only exception is Pyramids which require you to be either Pagan religion or Egyptian culture. I'm treating them as requiring Pagan religion, but Mamluks specifically can use them (but not really anybody else non-Pagan unless you culture flip).

    Monuments were broken beyond belief at release, already got nerfed between 1.30.0 and 1.31.1, losing about 1/4 of their original value, but strongest ones got nerfed the hardest. But monuments still completely dominate this system, so we can expect further nerfs.

    Summary of results

    • SS Tier - maxed out Orthodox (takes time), maxed out Coptic (takes time), Catholic + Curia Controller (very hard to do reliably)
    • S Tier - Sunni (easiest to max out early), more realistic Orthodox, Hussite, Buddhist + neutral karma (basically impossible), Totemist + 10 best ancestors (basically impossible in any reasonable time)
    • A Tier - Hussite, Protestant, Reformed
    • B Tier - Shia, Ibadi, Fully Reformed New World religions (hilariously fell from S tier here, and your subjects will not have full reforms!), Buddhist + high karma (basically impossible), Sikh, Catholic (without curia), Hindu
    • C Tier - Alcheringa with best cult (takes very long time), Totemint + realistic ancestors, Anglican
    • D Tier - Alcheringa with early cults, Tengri, Shinto, Buddhist + low karma (what you'll most likely see), unreformed New World religions, Norse, Animist, Confucian (once it finishen harmonizing everyone)
    • F Tier - Jewish (bonuses barely worth anything, and zero monuments)
    • FF Tier - Confucian

    So basically religions not able to get Alhambra, even in its nerfed state, are bad. Non-Sunni Muslims cannot benefit from Alhambda so the winner among Muslims is absolutely clear now. Christians, Muslims, Indians, and Buddhists got decent number of monuments. Rest of the world, not so much.

    Orthodox, Coptic, and Sunni, already strongest religions, got even stronger.

    The biggest losers are Jewish, Shinto, and Confucian. Confucian at least got consolation prize in a bit extra harmony from monuments, and ability to culture convert, so it can complete its suffering a bit earlier.

    The Jews got nothing. In addition to balance issues, I find it baffling what got and what didn't get a monument. The most ridiculous case is how the hell there's no buildable Third Temple is Jerusalem for the Jews? Like, how could they have missed that? How can one possibly have a satisfying Jewish campaign, that doesn't include rebuilding the Third Temple? CK2 has it for sure.

    Shinto also got basically nothing.

    There's also some other things I expected to get monument, like world's largest castle in Malbork, and administrative center of Teutonic Order.

    All scores

    • 11.744400 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 100% Patriarchy + Icon of Eleusa
    • 11.647900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 100% Patriarchy + Icon of St. Michael
    • 11.207900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 100% Patriarchy + Icon of St. Nicholas
    • 10.629800 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 100% Patriarchy + Icon of Christ Pantocrator
    • 10.539400 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 50% Patriarchy + Icon of Eleusa
    • 10.460100 - Coptic + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral, Hagia Sophia) + Promote Territorial Rights + Send Monks to Establish Monasteries + Will of the Martyrs + Legitimize Government + Encourage Warriors of the Faith
    • 10.452900 - Catholic + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral, Saint Peter's Basilica) + Curia Controller
    • 10.442900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 50% Patriarchy + Icon of St. Michael
    • 10.327900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 100% Patriarchy + Icon of St. John Climacus
    • 10.207900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 100% Patriarchy + No Icon
    • 10.100100 - Coptic + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral, Hagia Sophia) + Promote Territorial Rights + Send Monks to Establish Monasteries + Will of the Martyrs + Legitimize Government
    • 10.002900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 50% Patriarchy + Icon of St. Nicholas
    • 9.701400 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Shafi'i + Legalism
    • 9.650100 - Coptic + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral, Hagia Sophia) + Promote Territorial Rights + Send Monks to Establish Monasteries + Will of the Martyrs
    • 9.424800 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 50% Patriarchy + Icon of Christ Pantocrator
    • 9.365400 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Shafi'i + Mysticism
    • 9.334400 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 0% Patriarchy + Icon of Eleusa
    • 9.276600 - Totemist + Monuments (Mesa Verde, City of Khami, Pyramid of Cheops) + Strict + Scholar + Bold Fighter + Zealot + Righteous + Just + Charismatic Negotiator + Industrious + Silver Tongue + Entrepreneur
    • 9.237900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 0% Patriarchy + Icon of St. Michael
    • 9.201400 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Hanbali + Legalism
    • 9.186700 - Mahayana + Monuments (Bagan Temples, Buddha Statues, Angkor Wat, Jokhang Temple, Shwedagon Pagoda) + Neutral Karma
    • 9.181700 - Vajrayana + Monuments (Bagan Temples, Buddha Statues, Angkor Wat, Jokhang Temple, Shwedagon Pagoda) + Neutral Karma
    • 9.176700 - Theravada + Monuments (Bagan Temples, Buddha Statues, Angkor Wat, Jokhang Temple, Shwedagon Pagoda, Mount Fuji) + Neutral Karma
    • 9.122900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 50% Patriarchy + Icon of St. John Climacus
    • 9.110100 - Coptic + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral, Hagia Sophia) + Promote Territorial Rights + Send Monks to Establish Monasteries
    • 9.078700 - Hussite + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral) + Taborite Resurgence + Sola Scriptura + Bread and Wine
    • 9.002900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 50% Patriarchy + No Icon
    • 8.961400 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Hanafi + Legalism
    • 8.956600 - Totemist + Monuments (Mesa Verde, City of Khami, Pyramid of Cheops) + Strict + Scholar + Bold Fighter + Zealot + Righteous + Just + Charismatic Negotiator + Industrious + Silver Tongue
    • 8.895300 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Maliki + Legalism
    • 8.865400 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Hanbali + Mysticism
    • 8.828700 - Protestant + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral) + Holy Sacraments + Translated Bibles + Adult Baptism
    • 8.797900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 0% Patriarchy + Icon of St. Nicholas
    • 8.625400 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Hanafi + Mysticism
    • 8.559300 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Maliki + Mysticism
    • 8.556600 - Totemist + Monuments (Mesa Verde, City of Khami, Pyramid of Cheops) + Strict + Scholar + Bold Fighter + Zealot + Righteous + Just + Charismatic Negotiator + Industrious
    • 8.476500 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Guru Amar Das
    • 8.360100 - Coptic + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral, Hagia Sophia) + Promote Territorial Rights
    • 8.300700 - Reformed + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral) + Fervent focus on stability
    • 8.219800 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 0% Patriarchy + Icon of Christ Pantocrator
    • 8.140600 - Totemist + Monuments (Mesa Verde, City of Khami, Pyramid of Cheops) + Strict + Scholar + Bold Fighter + Zealot + Righteous + Just + Charismatic Negotiator
    • 8.083300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Shafi'i + Legalism
    • 7.917900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 0% Patriarchy + Icon of St. John Climacus
    • 7.806100 - Mayan + Monuments (City of Khami, Pyramid of Cheops) + Tribal Expansion + Reform the Bureaucracy + Central Arbitration + Central Armories + A Unified Army
    • 7.797900 - Orthodox + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Kiev Pechersk Lavra, Cologne Cathedral, Hagia Sophia) + 0% Patriarchy + No Icon
    • 7.783300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Ismaili + Legalism
    • 7.747300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Shafi'i + Mysticism
    • 7.653800 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 0% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions + Legal Reform
    • 7.646700 - Mahayana + Monuments (Bagan Temples, Buddha Statues, Angkor Wat, Jokhang Temple, Shwedagon Pagoda) + Low Karma
    • 7.641700 - Vajrayana + Monuments (Bagan Temples, Buddha Statues, Angkor Wat, Jokhang Temple, Shwedagon Pagoda) + Low Karma
    • 7.640600 - Totemist + Monuments (Mesa Verde, City of Khami, Pyramid of Cheops) + Strict + Scholar + Bold Fighter + Zealot + Righteous + Just
    • 7.637300 - Shia + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Ismaili + Legalism
    • 7.636700 - Theravada + Monuments (Bagan Temples, Buddha Statues, Angkor Wat, Jokhang Temple, Shwedagon Pagoda, Mount Fuji) + Low Karma
    • 7.623300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Zaidi + Legalism
    • 7.623300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Jafari + Legalism
    • 7.606700 - Mahayana + Monuments (Bagan Temples, Buddha Statues, Angkor Wat, Jokhang Temple, Shwedagon Pagoda) + High Karma
    • 7.601700 - Vajrayana + Monuments (Bagan Temples, Buddha Statues, Angkor Wat, Jokhang Temple, Shwedagon Pagoda) + High Karma
    • 7.596700 - Theravada + Monuments (Bagan Temples, Buddha Statues, Angkor Wat, Jokhang Temple, Shwedagon Pagoda, Mount Fuji) + High Karma
    • 7.584300 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Guru Gobind Singh
    • 7.583300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Hanbali + Legalism
    • 7.566500 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Guru Granth Sahib
    • 7.556500 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Guru Hargobind
    • 7.536100 - Mayan + Monuments (City of Khami, Pyramid of Cheops) + Tribal Expansion + Reform the Bureaucracy + Central Arbitration + Central Armories
    • 7.509400 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 0% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions
    • 7.477300 - Shia + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Zaidi + Legalism
    • 7.477300 - Shia + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Jafari + Legalism
    • 7.447300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Ismaili + Mysticism
    • 7.427200 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 100% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment + Reform the Cult of Inti
    • 7.400700 - Reformed + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral) + Fervent focus on war
    • 7.376500 - Hindu + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Shakti
    • 7.343300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Hanafi + Legalism
    • 7.330900 - Hindu + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Shiva
    • 7.325700 - Coptic + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral, Hagia Sophia)
    • 7.301300 - Shia + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Ismaili + Mysticism
    • 7.287300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Zaidi + Mysticism
    • 7.287300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Jafari + Mysticism
    • 7.280700 - Reformed + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral) + Fervent focus on trade
    • 7.277200 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Maliki + Legalism
    • 7.247300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Hanbali + Mysticism
    • 7.246500 - Hindu + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Vishnu
    • 7.177200 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 100% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment
    • 7.141300 - Shia + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Zaidi + Mysticism
    • 7.141300 - Shia + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Jafari + Mysticism
    • 7.140600 - Totemist + Monuments (Mesa Verde, City of Khami, Pyramid of Cheops) + Strict + Scholar + Bold Fighter + Zealot + Righteous
    • 7.125400 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Shafi'i + Neutral Piety
    • 7.120800 - Anglican + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral)
    • 7.076500 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Guru Angad
    • 7.040600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 0% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations
    • 7.039300 - Mayan + Monuments (City of Khami, Pyramid of Cheops) + Tribal Expansion + Reform the Bureaucracy + Central Arbitration
    • 7.007300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Hanafi + Mysticism
    • 6.976500 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Guru Har Rai
    • 6.946500 - Hindu + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Ganesha
    • 6.941200 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Maliki + Mysticism
    • 6.925700 - Catholic + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral, Saint Peter's Basilica)
    • 6.891100 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 50% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment + Reform the Cult of Inti
    • 6.817200 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 100% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords
    • 6.800700 - Reformed + Monuments (Alhambra, Petra, Heddal Stave Church, Notre-Dame Cathedral, Cologne Cathedral) + No Fervor
    • 6.676500 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Guru Arjan
    • 6.654500 - Hindu + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Surya
    • 6.653800 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 50% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions + Legal Reform
    • 6.641100 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 50% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment
    • 6.640600 - Totemist + Monuments (Mesa Verde, City of Khami, Pyramid of Cheops) + Strict + Scholar + Bold Fighter + Zealot
    • 6.625400 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Hanbali + Neutral Piety
    • 6.576500 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Guru Tegh Bahadur
    • 6.566500 - Hindu + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Buddha
    • 6.548700 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Guru Ram Das
    • 6.509400 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 50% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions
    • 6.476500 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + No Guru
    • 6.476500 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Guru Har Krishan
    • 6.476500 - Sikh + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Guru Granth Sahib
    • 6.385400 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Hanafi + Neutral Piety
    • 6.355000 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 0% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment + Reform the Cult of Inti
    • 6.335500 - Mayan + Tribal Expansion + Reform the Bureaucracy + Central Arbitration + Central Armories + A Unified Army
    • 6.319300 - Sunni + Monuments (Alhambra, Petra, Registan Square, Hagia Sophia, Taj Mahal) + Maliki + Neutral Piety
    • 6.290600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 0% Doom + Tribal Expansion + Warrior Ranks
    • 6.289500 - Hindu + Monuments (Prambanan Temple, Angkor Wat, Harmandir Sahib, Pura Besakih) + Ganga
    • 6.281100 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 50% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords
    • 6.277200 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 100% Authority + Expanded Mitma Policy + Reform the Bureaucracy
    • 6.183200 - Nahuatl + 0% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions + Legal Reform
    • 6.140600 - Totemist + Monuments (Mesa Verde, City of Khami, Pyramid of Cheops) + Strict + Scholar + Bold Fighter
    • 6.106000 - Totemist + Strict + Scholar + Bold Fighter + Zealot + Righteous + Just + Charismatic Negotiator + Industrious + Silver Tongue + Entrepreneur
    • 6.105000 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 0% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment
    • 6.065500 - Mayan + Tribal Expansion + Reform the Bureaucracy + Central Arbitration + Central Armories
    • 6.040600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 50% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations
    • 6.039300 - Mayan + Monuments (City of Khami, Pyramid of Cheops) + Tribal Expansion + Reform the Bureaucracy
    • 6.038800 - Nahuatl + 0% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions
    • 5.956600 - Inti + 100% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment + Reform the Cult of Inti
    • 5.786000 - Totemist + Strict + Scholar + Bold Fighter + Zealot + Righteous + Just + Charismatic Negotiator + Industrious + Silver Tongue
    • 5.745000 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 0% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords
    • 5.741100 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 50% Authority + Expanded Mitma Policy + Reform the Bureaucracy
    • 5.706600 - Inti + 100% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment
    • 5.653800 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 100% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions + Legal Reform
    • 5.600600 - Totemist + Monuments (Mesa Verde, City of Khami, Pyramid of Cheops) + Strict + Scholar
    • 5.570000 - Nahuatl + 0% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations
    • 5.568700 - Mayan + Tribal Expansion + Reform the Bureaucracy + Central Arbitration
    • 5.509400 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 100% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions
    • 5.507300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Shafi'i + Neutral Piety
    • 5.420500 - Inti + 50% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment + Reform the Cult of Inti
    • 5.386000 - Totemist + Strict + Scholar + Bold Fighter + Zealot + Righteous + Just + Charismatic Negotiator + Industrious
    • 5.346600 - Inti + 100% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords
    • 5.290600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 50% Doom + Tribal Expansion + Warrior Ranks
    • 5.242800 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 100% Authority + Expanded Mitma Policy
    • 5.240600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + The Rainbow Serpent
    • 5.210600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 0% Doom + Tribal Expansion
    • 5.207300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Ismaili + Neutral Piety
    • 5.205000 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 0% Authority + Expanded Mitma Policy + Reform the Bureaucracy
    • 5.183200 - Nahuatl + 50% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions + Legal Reform
    • 5.170500 - Inti + 50% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment
    • 5.061300 - Shia + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Ismaili + Neutral Piety
    • 5.047300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Zaidi + Neutral Piety
    • 5.047300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Jafari + Neutral Piety
    • 5.040600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 100% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations
    • 5.038800 - Nahuatl + 50% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions
    • 5.007300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Hanbali + Neutral Piety
    • 5.000600 - Totemist + Monuments (Mesa Verde, City of Khami, Pyramid of Cheops) + Strict
    • 4.977000 - Zoroastrian + Monuments (Baku Ateshgah) + Navjote + Manthras + Haoma + Dakhma + Yasna
    • 4.970000 - Totemist + Strict + Scholar + Bold Fighter + Zealot + Righteous + Just + Charismatic Negotiator
    • 4.932000 - Zoroastrian + Monuments (Baku Ateshgah) + Navjote + Manthras + Haoma + Dakhma
    • 4.901300 - Shia + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Zaidi + Neutral Piety
    • 4.901300 - Shia + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Jafari + Neutral Piety
    • 4.884400 - Inti + 0% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment + Reform the Cult of Inti
    • 4.820000 - Nahuatl + 0% Doom + Tribal Expansion + Warrior Ranks
    • 4.818000 - Zoroastrian + Monuments (Baku Ateshgah) + Navjote + Manthras + Haoma
    • 4.810500 - Inti + 50% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords
    • 4.806600 - Inti + 100% Authority + Expanded Mitma Policy + Reform the Bureaucracy
    • 4.767300 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Hanafi + Neutral Piety
    • 4.706700 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 50% Authority + Expanded Mitma Policy
    • 4.701200 - Ibadi + Monuments (Alhambra, Registan Square, Hagia Sophia, Taj Mahal) + Maliki + Neutral Piety
    • 4.634400 - Inti + 0% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords + Organized Recruitment
    • 4.610000 - Zoroastrian + Monuments (Baku Ateshgah) + Navjote + Manthras
    • 4.570000 - Nahuatl + 50% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations
    • 4.568700 - Mayan + Tribal Expansion + Reform the Bureaucracy
    • 4.470000 - Totemist + Strict + Scholar + Bold Fighter + Zealot + Righteous + Just
    • 4.440600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + Baiame
    • 4.290600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 100% Doom + Tribal Expansion + Warrior Ranks
    • 4.274400 - Inti + 0% Authority + Expanded Mitma Policy + Reform the Bureaucracy + Yana Lords
    • 4.270500 - Inti + 50% Authority + Expanded Mitma Policy + Reform the Bureaucracy
    • 4.268700 - Orthodox + 100% Patriarchy + Icon of Eleusa
    • 4.250600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Mazdayasna
    • 4.210600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 50% Doom + Tribal Expansion
    • 4.183200 - Nahuatl + 100% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions + Legal Reform
    • 4.172200 - Orthodox + 100% Patriarchy + Icon of St. Michael
    • 4.170600 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 0% Authority + Expanded Mitma Policy
    • 4.038800 - Nahuatl + 100% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations + Open up Sumptuary Restrictions
    • 3.992000 - Ibadi + Shafi'i + Legalism
    • 3.970600 - Mayan + Monuments (City of Khami, Pyramid of Cheops) + Tribal Expansion
    • 3.970000 - Totemist + Strict + Scholar + Bold Fighter + Zealot + Righteous
    • 3.920600 - Totemist + Monuments (Mesa Verde, City of Khami, Pyramid of Cheops)
    • 3.820000 - Nahuatl + 50% Doom + Tribal Expansion + Warrior Ranks
    • 3.772200 - Inti + 100% Authority + Expanded Mitma Policy
    • 3.770000 - Alcheringa + The Rainbow Serpent
    • 3.752200 - Catholic + Curia Controller
    • 3.740600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + Wagyl
    • 3.740600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + The Spirits
    • 3.740000 - Nahuatl + 0% Doom + Tribal Expansion
    • 3.734400 - Inti + 0% Authority + Expanded Mitma Policy + Reform the Bureaucracy
    • 3.732200 - Orthodox + 100% Patriarchy + Icon of St. Nicholas
    • 3.710000 - Zoroastrian + Monuments (Baku Ateshgah) + Navjote
    • 3.692000 - Ibadi + Ismaili + Legalism
    • 3.656000 - Ibadi + Shafi'i + Mysticism
    • 3.576000 - Sunni + Shafi'i + Legalism
    • 3.570000 - Nahuatl + 100% Doom + Tribal Expansion + Warrior Ranks + Extend Pochteca Obligations
    • 3.546000 - Shia + Ismaili + Legalism
    • 3.532000 - Ibadi + Zaidi + Legalism
    • 3.532000 - Ibadi + Jafari + Legalism
    • 3.507800 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + Lumaluma
    • 3.492000 - Ibadi + Hanbali + Legalism
    • 3.484400 - Coptic + Promote Territorial Rights + Send Monks to Establish Monasteries + Will of the Martyrs + Legitimize Government + Encourage Warriors of the Faith
    • 3.470000 - Totemist + Strict + Scholar + Bold Fighter + Zealot
    • 3.386000 - Shia + Zaidi + Legalism
    • 3.386000 - Shia + Jafari + Legalism
    • 3.356000 - Ibadi + Ismaili + Mysticism
    • 3.320600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + Adnoartina
    • 3.280600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + Islamic Dreaming
    • 3.252000 - Ibadi + Hanafi + Legalism
    • 3.250600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Waaq
    • 3.240600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + The Ancestors
    • 3.240000 - Sunni + Shafi'i + Mysticism
    • 3.236100 - Inti + 50% Authority + Expanded Mitma Policy
    • 3.210600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 100% Doom + Tribal Expansion
    • 3.210000 - Shia + Ismaili + Mysticism
    • 3.196000 - Ibadi + Zaidi + Mysticism
    • 3.196000 - Ibadi + Jafari + Mysticism
    • 3.185900 - Ibadi + Maliki + Legalism
    • 3.156000 - Ibadi + Hanbali + Mysticism
    • 3.154100 - Orthodox + 100% Patriarchy + Icon of Christ Pantocrator
    • 3.124400 - Coptic + Promote Territorial Rights + Send Monks to Establish Monasteries + Will of the Martyrs + Legitimize Government
    • 3.087000 - Zoroastrian + Navjote + Manthras + Haoma + Dakhma + Yasna
    • 3.076000 - Sunni + Hanbali + Legalism
    • 3.063700 - Orthodox + 50% Patriarchy + Icon of Eleusa
    • 3.050600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Shinto
    • 3.050000 - Shia + Zaidi + Mysticism
    • 3.050000 - Shia + Jafari + Mysticism
    • 3.042800 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 100% Authority
    • 3.042000 - Zoroastrian + Navjote + Manthras + Haoma + Dakhma
    • 3.010600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 0% Doom
    • 2.980600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + Crow
    • 2.970000 - Alcheringa + Baiame
    • 2.970000 - Totemist + Strict + Scholar + Bold Fighter
    • 2.967200 - Orthodox + 50% Patriarchy + Icon of St. Michael
    • 2.928000 - Zoroastrian + Navjote + Manthras + Haoma
    • 2.916000 - Ibadi + Hanafi + Mysticism
    • 2.852200 - Orthodox + 100% Patriarchy + Icon of St. John Climacus
    • 2.849900 - Ibadi + Maliki + Mysticism
    • 2.840600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + Moinee
    • 2.836000 - Sunni + Hanafi + Legalism
    • 2.820000 - Nahuatl + 100% Doom + Tribal Expansion + Warrior Ranks
    • 2.820000 - Sikh + Guru Amar Das
    • 2.790600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Mwari
    • 2.790600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Enkai
    • 2.780000 - Fetishist + Mazdayasna
    • 2.769900 - Sunni + Maliki + Legalism
    • 2.750600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Nyame
    • 2.750600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Mlira
    • 2.740000 - Nahuatl + 50% Doom + Tribal Expansion
    • 2.740000 - Sunni + Hanbali + Mysticism
    • 2.732200 - Orthodox + 100% Patriarchy + No Icon
    • 2.720600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Zoroastrian
    • 2.720000 - Zoroastrian + Navjote + Manthras
    • 2.719400 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Zanahary
    • 2.710600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + Dharmic Dreaming
    • 2.710000 - Zoroastrian + Monuments (Baku Ateshgah)
    • 2.703900 - Confucian + Monuments (Temple of Confucius, The Forbidden City) + High Harmony + All Harmony Bonuses
    • 2.700000 - Inti + 0% Authority + Expanded Mitma Policy
    • 2.674400 - Coptic + Promote Territorial Rights + Send Monks to Establish Monasteries + Will of the Martyrs
    • 2.666600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Sanatana Dharma
    • 2.650600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Cwezi
    • 2.634500 - Confucian + High Harmony + All Harmony Bonuses
    • 2.627000 - Norse + Monuments (City of Khami, Pyramid of Cheops) + Odin
    • 2.622600 - Norse + Monuments (City of Khami, Pyramid of Cheops) + Tyr
    • 2.565600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + Erathipa
    • 2.530600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Freyja
    • 2.527200 - Orthodox + 50% Patriarchy + Icon of St. Nicholas
    • 2.520600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Teotl
    • 2.506700 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 50% Authority
    • 2.500000 - Mayan + Tribal Expansion
    • 2.500000 - Sunni + Hanafi + Mysticism
    • 2.490600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Haymanot
    • 2.453900 - Confucian + Monuments (Temple of Confucius, The Forbidden City) + Neutral Harmony + All Harmony Bonuses
    • 2.444500 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Buddhadharma
    • 2.433900 - Sunni + Maliki + Mysticism
    • 2.430000 - Totemist + Strict + Scholar
    • 2.414500 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Theravada
    • 2.384500 - Confucian + Neutral Harmony + All Harmony Bonuses
    • 2.380000 - Mahayana + Neutral Karma
    • 2.378000 - Hussite + Taborite Resurgence + Sola Scriptura + Bread and Wine
    • 2.375000 - Vajrayana + Neutral Karma
    • 2.370600 - Norse + Monuments (City of Khami, Pyramid of Cheops) + Snotra
    • 2.370600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Roog
    • 2.370000 - Theravada + Neutral Karma
    • 2.350600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Christianity
    • 2.313600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Yemoja
    • 2.300600 - Alcheringa + Monuments (City of Khami, Pyramid of Cheops) + Djunkgao Sisters
    • 2.278600 - Norse + Monuments (City of Khami, Pyramid of Cheops) + Njord
    • 2.270000 - Alcheringa + Wagyl
    • 2.270000 - Alcheringa + The Spirits
    • 2.250600 - Fetishist + Monuments (City of Khami, Pyramid of Cheops) + Islam
    • 2.240600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Sikh
    • 2.230600 - Norse + Monuments (City of Khami, Pyramid of Cheops) + Freya
    • 2.220600 - Animist + Monuments (City of Khami, Pyramid of Cheops)
    • 2.210600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Reformed
    • 2.210600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Alcheringa
    • 2.182600 - Norse + Monuments (City of Khami, Pyramid of Cheops) + Tor
    • 2.134400 - Coptic + Promote Territorial Rights + Send Monks to Establish Monasteries
    • 2.128000 - Protestant + Holy Sacraments + Translated Bibles + Adult Baptism
    • 2.070600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Coptic
    • 2.062800 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Confucian
    • 2.038600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Mahayana
    • 2.037200 - Alcheringa + Lumaluma
    • 2.020600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Catholic
    • 2.010600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 50% Doom
    • 2.000600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Totemist
    • 2.000600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Fetishist
    • 2.000600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Animist
    • 1.980600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Shia
    • 1.970600 - Inti + Monuments (City of Khami, Pyramid of Cheops) + 0% Authority
    • 1.970600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Protestant
    • 1.970600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Inti
    • 1.970600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Anglican
    • 1.949100 - Orthodox + 50% Patriarchy + Icon of Christ Pantocrator
    • 1.927800 - Sikh + Guru Gobind Singh
    • 1.920600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Orthodox
    • 1.910000 - Sikh + Guru Granth Sahib
    • 1.900000 - Sikh + Guru Hargobind
    • 1.858700 - Orthodox + 0% Patriarchy + Icon of Eleusa
    • 1.850000 - Alcheringa + Adnoartina
    • 1.830000 - Totemist + Strict
    • 1.820000 - Zoroastrian + Navjote
    • 1.810000 - Alcheringa + Islamic Dreaming
    • 1.790600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Sunni
    • 1.780000 - Fetishist + Waaq
    • 1.775600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Hindu
    • 1.770600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Ibadi
    • 1.770600 - Mayan + Monuments (City of Khami, Pyramid of Cheops)
    • 1.770000 - Alcheringa + The Ancestors
    • 1.762200 - Orthodox + 0% Patriarchy + Icon of St. Michael
    • 1.760600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Jewish
    • 1.740600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Nahuatl
    • 1.740000 - Nahuatl + 100% Doom + Tribal Expansion
    • 1.720600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Vajrayana
    • 1.720000 - Hindu + Shakti
    • 1.674400 - Hindu + Shiva
    • 1.647200 - Orthodox + 50% Patriarchy + Icon of St. John Climacus
    • 1.605600 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Hussite
    • 1.600000 - Reformed + Fervent focus on stability
    • 1.592800 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Mayan
    • 1.590000 - Hindu + Vishnu
    • 1.580000 - Tengri + Shinto
    • 1.572200 - Inti + 100% Authority
    • 1.540000 - Nahuatl + 0% Doom
    • 1.540000 - Shinto + Monuments (Mount Fuji) + Isolationism (3)
    • 1.540000 - Shinto + Isolationism (3)
    • 1.527200 - Orthodox + 50% Patriarchy + No Icon
    • 1.511900 - Tengri + Monuments (City of Khami, Pyramid of Cheops) + Norse
    • 1.510000 - Alcheringa + Crow
    • 1.420000 - Sikh + Guru Angad
    • 1.416000 - Ibadi + Shafi'i + Neutral Piety
    • 1.384400 - Coptic + Promote Territorial Rights
    • 1.370000 - Alcheringa + Moinee
    • 1.322200 - Orthodox + 0% Patriarchy + Icon of St. Nicholas
    • 1.320000 - Fetishist + Mwari
    • 1.320000 - Fetishist + Enkai
    • 1.320000 - Sikh + Guru Har Rai
    • 1.290000 - Hindu + Ganesha
    • 1.280000 - Fetishist + Nyame
    • 1.280000 - Fetishist + Mlira
    • 1.268000 - Shinto + Selective Integration (2)
    • 1.268000 - Shinto + Monuments (Mount Fuji) + Selective Integration (2)
    • 1.250000 - Tengri + Zoroastrian
    • 1.248800 - Fetishist + Zanahary
    • 1.240000 - Alcheringa + Dharmic Dreaming
    • 1.200000 - Shinto + Open Doors (0)
    • 1.200000 - Shinto + Monuments (Mount Fuji) + Open Doors (0)
    • 1.196000 - Fetishist + Sanatana Dharma
    • 1.180000 - Fetishist + Cwezi
    • 1.156400 - Norse + Odin
    • 1.152000 - Norse + Tyr
    • 1.116000 - Ibadi + Ismaili + Neutral Piety
    • 1.095000 - Alcheringa + Erathipa
    • 1.060000 - Fetishist + Freyja
    • 1.050000 - Fetishist + Teotl
    • 1.036100 - Inti + 50% Authority
    • 1.020000 - Fetishist + Haymanot
    • 1.020000 - Sikh + Guru Arjan
    • 1.010600 - Nahuatl + Monuments (City of Khami, Pyramid of Cheops) + 100% Doom
    • 1.000000 - Sunni + Shafi'i + Neutral Piety
    • 0.998000 - Hindu + Surya
    • 0.973900 - Fetishist + Buddhadharma
    • 0.970000 - Shia + Ismaili + Neutral Piety
    • 0.956000 - Ibadi + Zaidi + Neutral Piety
    • 0.956000 - Ibadi + Jafari + Neutral Piety
    • 0.943900 - Tengri + Theravada
    • 0.929600 - Shinto + Monuments (Mount Fuji) + Closed Doors (4)
    • 0.929600 - Shinto + Closed Doors (4)
    • 0.920000 - Sikh + Guru Tegh Bahadur
    • 0.916000 - Ibadi + Hanbali + Neutral Piety
    • 0.910000 - Hindu + Buddha
    • 0.900000 - Fetishist + Roog
    • 0.900000 - Norse + Snotra
    • 0.892200 - Sikh + Guru Ram Das
    • 0.889400 - Confucian + Monuments (Temple of Confucius, The Forbidden City) + High Harmony
    • 0.880000 - Fetishist + Christianity
    • 0.843000 - Fetishist + Yemoja
    • 0.840000 - Mahayana + Low Karma
    • 0.835000 - Vajrayana + Low Karma
    • 0.830000 - Theravada + Low Karma
    • 0.830000 - Alcheringa + Djunkgao Sisters
    • 0.820000 - Confucian + High Harmony
    • 0.820000 - Zoroastrian
    • 0.820000 - Sikh + No Guru
    • 0.820000 - Sikh + Guru Har Krishan
    • 0.820000 - Sikh + Guru Granth Sahib
    • 0.810000 - Shia + Zaidi + Neutral Piety
    • 0.810000 - Shia + Jafari + Neutral Piety
    • 0.808000 - Norse + Njord
    • 0.800000 - Mahayana + High Karma
    • 0.795000 - Vajrayana + High Karma
    • 0.790000 - Theravada + High Karma
    • 0.780000 - Fetishist + Islam
    • 0.770000 - Tengri + Sikh
    • 0.760000 - Norse + Freya
    • 0.750000 - Totemist
    • 0.750000 - Animist
    • 0.744100 - Orthodox + 0% Patriarchy + Icon of Christ Pantocrator
    • 0.740000 - Tengri + Reformed
    • 0.740000 - Tengri + Alcheringa
    • 0.733900 - Shinto + Monuments (Mount Fuji) + Adaptive (1)
    • 0.733900 - Shinto + Adaptive (1)
    • 0.719100 - Confucian + Monuments (Temple of Confucius, The Forbidden City) + Low Harmony + All Harmony Bonuses
    • 0.712000 - Norse + Tor
    • 0.700000 - Reformed + Fervent focus on war
    • 0.676000 - Ibadi + Hanafi + Neutral Piety
    • 0.649700 - Confucian + Low Harmony + All Harmony Bonuses
    • 0.639400 - Confucian + Monuments (Temple of Confucius, The Forbidden City) + Neutral Harmony
    • 0.633000 - Hindu + Ganga
    • 0.609900 - Ibadi + Maliki + Neutral Piety
    • 0.600000 - Tengri + Coptic
    • 0.592200 - Tengri + Confucian
    • 0.580000 - Reformed + Fervent focus on trade
    • 0.570000 - Confucian + Neutral Harmony
    • 0.568000 - Tengri + Mahayana
    • 0.550000 - Tengri + Catholic
    • 0.550000 - Jewish
    • 0.540000 - Nahuatl + 50% Doom
    • 0.530000 - Tengri + Totemist
    • 0.530000 - Tengri + Fetishist
    • 0.530000 - Tengri + Animist
    • 0.510000 - Tengri + Shia
    • 0.500000 - Inti + 0% Authority
    • 0.500000 - Tengri + Protestant
    • 0.500000 - Tengri + Inti
    • 0.500000 - Tengri + Anglican
    • 0.500000 - Sunni + Hanbali + Neutral Piety
    • 0.450000 - Tengri + Orthodox
    • 0.442200 - Orthodox + 0% Patriarchy + Icon of St. John Climacus
    • 0.420100 - Anglican
    • 0.350000 - Coptic
    • 0.322200 - Orthodox + 0% Patriarchy + No Icon
    • 0.320000 - Tengri + Sunni
    • 0.305000 - Tengri + Hindu
    • 0.300000 - Tengri + Ibadi
    • 0.300000 - Mayan
    • 0.290000 - Tengri + Jewish
    • 0.270000 - Tengri + Nahuatl
    • 0.260000 - Sunni + Hanafi + Neutral Piety
    • 0.250000 - Tengri + Vajrayana
    • 0.225000 - Catholic
    • 0.193900 - Sunni + Maliki + Neutral Piety
    • 0.135000 - Tengri + Hussite
    • 0.122200 - Tengri + Mayan
    • 0.100000 - Reformed + No Fervor
    • 0.041300 - Tengri + Norse
    • -0.460000 - Nahuatl + 100% Doom
    • -1.095400 - Confucian + Monuments (Temple of Confucius, The Forbidden City) + Low Harmony
    • -1.164800 - Confucian + Low Harmony

    Monument scores

    The scores exclude any bonus that's too situational to matter for any country. That doesn't necessarily mean 0 score monuments (with bonuses like prestige decay, extra karma, curia costs etc.) are completely worthless for you - just that they'd be completely worthless for vast majority of countries.

    Only country-level bonuses are scored. Area/province bonuses are ignored, and honestly none of them matter anyway.
    • 3.00 Bagan Temples (Pagan; 3; Theravada/Vajrayana/Mahayana)
    • 2.98 Kanbawzathadi Palace (Pegu; 3)
    • 2.49 Alhambra (Granada; 3; Muslim/Christian)
    • 2.19 Prambanan Temple (Kotagede; 3; Dharmic)
    • 2.03 Petra (Maan; 3; (Sunni/Christian) and (Syrian/Bedouin))
    • 1.91 Kanbawzathadi Palace (Pegu; 2)
    • 1.89 Baku Ateshgah (Shirvan; 3; Zoroastrian)
    • 1.88 The Grand Palace of Bangkok (Bangkok; 3)
    • 1.70 Mesa Verde (Tachii'nii; 3; Totemist)
    • 1.50 Bagan Temples (Pagan; 2; Theravada/Vajrayana/Mahayana)
    • 1.50 Buddha Statues (Bamyan; 2; Theravada/Vajrayana/Mahayana)
    • 1.50 Buddha Statues (Bamyan; 3; Theravada/Vajrayana/Mahayana)
    • 1.20 Angkor Wat (Angkor; 2; Theravada/Vajrayana/Mahayana/Dharmic)
    • 1.20 Angkor Wat (Angkor; 3; Theravada/Vajrayana/Mahayana/Dharmic)
    • 1.19 Harmandir Sahib (Multan; 3; Dharmic)
    • 1.12 Heddal Stave Church (Bratsberg; 3; Christian)
    • 1.11 Jokhang Temple (Lhasa; 3; Theravada/Vajrayana/Mahayana)
    • 1.08 Registan Square (Samarkand; 3; Muslim)
    • 1.08 Baku Ateshgah (Shirvan; 2; Zoroastrian)
    • 1.08 Pura Besakih (Bali; 3; Dharmic)
    • 1.06 Heddal Stave Church (Bratsberg; 2; Christian)
    • 1.06 Versailles (Paris; 3; French)
    • 0.92 The Grand Palace of Bangkok (Bangkok; 2)
    • 0.85 Machu Picchu (Abancay; 3; Quechua)
    • 0.85 Mesa Verde (Tachii'nii; 2; Totemist)
    • 0.85 Stonehenge (Hampshire; 3; Pagan/English)
    • 0.81 Baku Ateshgah (Shirvan; 1; Zoroastrian)
    • 0.80 Versailles (Paris; 2; French)
    • 0.74 City of Khami (Zimbabwe; 3; Pagan)
    • 0.73 Pyramid of Cheops (Cairo; 3; Pagan/Egyptian)
    • 0.73 Chichen Itza (Sotuta; 3; Mayan)
    • 0.71 Parthenon (Athens; 3; Greek)
    • 0.71 Harmandir Sahib (Multan; 2; Dharmic)
    • 0.69 Inukshuk (Ahiarmiut; 3)
    • 0.69 Petra (Maan; 2; (Sunni/Christian) and (Syrian/Bedouin))
    • 0.66 Mausoleum at Halicarnassus (Mentese; 3)
    • 0.62 Notre-Dame Cathedral (Paris; 3; Christian)
    • 0.60 Petra (Maan; 1; (Sunni/Christian) and (Syrian/Bedouin))
    • 0.60 Alhambra (Granada; 2; Muslim/Christian)
    • 0.60 Angkor Wat (Angkor; 1; Theravada/Vajrayana/Mahayana/Dharmic)
    • 0.60 City of Khami (Zimbabwe; 2; Pagan)
    • 0.60 Machu Picchu (Abancay; 2; Quechua)
    • 0.60 Mesa Verde (Tachii'nii; 1; Totemist)
    • 0.60 Prambanan Temple (Kotagede; 2; Dharmic)
    • 0.58 Kanbawzathadi Palace (Pegu; 1)
    • 0.58 Tower of London (London; 3; Norman/English)
    • 0.56 Jokhang Temple (Lhasa; 2; Theravada/Vajrayana/Mahayana)
    • 0.54 Chichen Itza (Sotuta; 2; Mayan)
    • 0.50 Bagan Temples (Pagan; 1; Theravada/Vajrayana/Mahayana)
    • 0.50 Buddha Statues (Bamyan; 1; Theravada/Vajrayana/Mahayana)
    • 0.50 Kiev Pechersk Lavra (Kiev; 3; Orthodox)
    • 0.49 Pyramid of Cheops (Cairo; 2; Pagan/Egyptian)
    • 0.49 Versailles (Paris; 1; French)
    • 0.47 Aït Benhaddou (Demnate; 3)
    • 0.45 The Grand Palace of Bangkok (Bangkok; 1)
    • 0.44 Cologne Cathedral (Köln; 3; Christian)
    • 0.39 Inukshuk (Ahiarmiut; 2)
    • 0.37 Murud-Janjira Fort (Chaul; 3)
    • 0.36 Chichen Itza (Sotuta; 1; Mayan)
    • 0.31 Moai (Rapanui; 3; Polynesian)
    • 0.30 Cologne Cathedral (Köln; 2; Christian)
    • 0.30 Notre-Dame Cathedral (Paris; 2; Christian)
    • 0.30 The Kremlin (Moskva; 3; East Slavic)
    • 0.29 Parthenon (Athens; 2; Greek)
    • 0.29 Prambanan Temple (Kotagede; 1; Dharmic)
    • 0.29 Tower of London (London; 1; Norman/English)
    • 0.29 Tower of London (London; 2; Norman/English)
    • 0.28 Hagia Sophia (Constantinople; 3; Orthodox/Coptic/Muslim)
    • 0.26 Moai (Rapanui; 2; Polynesian)
    • 0.26 Pura Besakih (Bali; 2; Dharmic)
    • 0.25 Kiev Pechersk Lavra (Kiev; 2; Orthodox)
    • 0.25 Machu Picchu (Abancay; 1; Quechua)
    • 0.25 Pena Palace (Lisboa; 3)
    • 0.25 Taj Mahal (Central Doab; 3; Muslim)
    • 0.24 Parthenon (Athens; 1; Greek)
    • 0.21 Borobudur Temple (Kotagede; 3; Theravada/Vajrayana/Mahayana/Javanese)
    • 0.21 Inukshuk (Ahiarmiut; 1)
    • 0.21 Registan Square (Samarkand; 2; Muslim)
    • 0.21 Murud-Janjira Fort (Chaul; 2)
    • 0.20 Aït Benhaddou (Demnate; 2)
    • 0.20 The Great Wall of China (Ningxia; 3; Chinese)
    • 0.18 Sankin-kotai Palaces (Musashi; 3)
    • 0.15 Stonehenge (Hampshire; 2; Pagan/English)
    • 0.15 Notre-Dame Cathedral (Paris; 1; Christian)
    • 0.14 Hagia Sophia (Constantinople; 2; Orthodox/Coptic/Muslim)
    • 0.13 Moai (Rapanui; 1; Polynesian)
    • 0.13 Cologne Cathedral (Köln; 1; Christian)
    • 0.12 Harmandir Sahib (Multan; 1; Dharmic)
    • 0.12 Pyramid of Cheops (Cairo; 1; Pagan/Egyptian)
    • 0.10 Alhambra (Granada; 1; Muslim/Christian)
    • 0.10 The Great Wall of China (Ningxia; 2; Chinese)
    • 0.09 Sankin-kotai Palaces (Musashi; 2)
    • 0.08 Stonehenge (Hampshire; 1; Pagan/English)
    • 0.08 Kiel canal (Holstein; 3)
    • 0.08 Panama canal (Panama; 3)
    • 0.08 Suez canal (Sharqiya; 3)
    • 0.07 Registan Square (Samarkand; 1; Muslim)
    • 0.07 Temple of Confucius (Yanzhou; 3; Confucian)
    • 0.07 Hagia Sophia (Constantinople; 1; Orthodox/Coptic/Muslim)
    • 0.06 Himeji Castle (Harima; 3; Japanese)
    • 0.05 Murud-Janjira Fort (Chaul; 1)
    • 0.05 Kiel canal (Holstein; 2)
    • 0.05 Panama canal (Panama; 2)
    • 0.05 Suez canal (Sharqiya; 2)
    • 0.04 Himeji Castle (Harima; 2; Japanese)
    • 0.04 Pura Besakih (Bali; 1; Dharmic)
    • 0.03 Temple of Confucius (Yanzhou; 2; Confucian)
    • 0.03 Kiel canal (Holstein; 1)
    • 0.03 Panama canal (Panama; 1)
    • 0.03 Suez canal (Sharqiya; 1)
    • 0.03 Jokhang Temple (Lhasa; 1; Theravada/Vajrayana/Mahayana)
    • 0.03 Mausoleum at Halicarnassus (Mentese; 2)
    • 0.02 Aït Benhaddou (Demnate; 1)
    • 0.02 Heddal Stave Church (Bratsberg; 1; Christian)
    • 0.02 Kiel canal (Holstein; 0)
    • 0.02 Panama canal (Panama; 0)
    • 0.02 Suez canal (Sharqiya; 0)
    • 0.00 Ambras Castle (Etschtal; 3)
    • 0.00 Ambras Castle (Etschtal; 2)
    • 0.00 Ambras Castle (Etschtal; 1)
    • 0.00 Borobudur Temple (Kotagede; 2; Theravada/Vajrayana/Mahayana/Javanese)
    • 0.00 Himeji Castle (Harima; 1; Japanese)
    • 0.00 Kiev Pechersk Lavra (Kiev; 1; Orthodox)
    • 0.00 Mausoleum at Halicarnassus (Mentese; 1)
    • 0.00 Mount Fuji (Kai; 3; Shinto/Theravada)
    • 0.00 Saint Peter's Basilica (Roma; 3; Catholic)
    • 0.00 Saint Peter's Basilica (Roma; 2; Catholic)
    • 0.00 Saint Peter's Basilica (Roma; 1; Catholic)
    • 0.00 Sankin-kotai Palaces (Musashi; 1)
    • 0.00 Shwedagon Pagoda (Dagon; 3; Theravada/Vajrayana/Mahayana)
    • 0.00 Shwedagon Pagoda (Dagon; 2; Theravada/Vajrayana/Mahayana)
    • 0.00 Shwedagon Pagoda (Dagon; 1; Theravada/Vajrayana/Mahayana)
    • 0.00 Taj Mahal (Central Doab; 2; Muslim)
    • 0.00 Taj Mahal (Central Doab; 1; Muslim)
    • 0.00 Temple of Confucius (Yanzhou; 1; Confucian)
    • 0.00 The Forbidden City (Beijing; 3; Confucian)
    • 0.00 The Forbidden City (Beijing; 2; Confucian)
    • 0.00 The Forbidden City (Beijing; 1; Confucian)