Legalizing gay marriage in Crusader Kings III with Ghidra

by ice3on 4/5/2021, 7:23 PMwith 170 comments

by cafemachiavellion 4/5/2021, 11:01 PM

For a second that title made me remember early SEO tactics of stuffing your H1 tags with as many relevant keywords as possible, except here it's optimizing for my queer nerd interests.

I'm a bit surprised by the reaction from Paradox - I assume the standard forum mod has neither the time nor skillset to assess whether any game binary patch is going to be safe, so banning them by default seems like a safe way to go, but removing even the discussion of it feels a bit overkill.

by comagoosieon 4/6/2021, 12:05 AM

If one is interested in parsing the CK3 scripts / game files (briefly showed in the post) to dissect the wonderful world of PDS games, there's a js library for parsing these files:

https://github.com/nickbabcock/jomini.git

disclaimer: author

by headmeltedon 4/6/2021, 7:08 AM

“Do ye a marriage” has to be the greatest proposal I’ve ever heard. It’s so matter-of-fact and deadpan. I love it.

If you can add an option between Seduce and Romance of “Mine body ages and the offers are few, but my family hath bequeathed land” I’m buying this game right now.

by ashkankianion 4/6/2021, 3:28 AM

Turning the JZ into a nop to fallthrough to the next line is easier, right? That might be what he did in the quickfix area anyway.

The self-marriage part was pretty hilarious. "Do I take myself? I do!"

by sharkjacobson 4/5/2021, 10:47 PM

This is cool. This is what I imagined it would be like to program computers when I was a kid.

by xanthon 4/6/2021, 2:36 AM

Paradox games release early, patch often, and the core engine is nearly 15 years old. I wouldn't be surprised if the gender of a marriage is assumed all over the code-base and enabling full equality would have been a significant development complication. This all being said I wouldn't be surprised if we see full equality options in the next year or so.

See: Matrilineal Marriages, Gender Equality, Same-Sex Relations, and Sexuality Distribution

https://ck3.paradoxwikis.com/Game_rule#Gameplay_options

by Kiroon 4/6/2021, 7:26 AM

I don't know anything about reverse engineering but why can't you just change the IF in the decompiled C++? Why do you need to mess around with the assembly instructions?

by tonfreedon 4/6/2021, 6:29 AM

Can't you do this by reforming your religion anyway? I haven't played since launch

by brailsafeon 4/6/2021, 12:07 AM

Certainly neat, but let's be real. They don't have time to spend on this because they have to finish Cities Skylines 2 amiright?

by ponowon 4/6/2021, 8:58 AM

Gotta admit that the words "legalizing gay marriage" in the title of the Medium piece really tick me off, as they slanderously suggest that that the creators of CK3 are somehow anti-gay.

by mabboon 4/5/2021, 10:42 PM

It seems odd to me. Paradox is a Swedish company, and Sweden is a fairly liberal country. Same-sex marriage was legalized in 2009, and even the Church of Sweden gave the go-ahead on performing same-sex marriages the same year.

The game logic around this is simple enough that changing two byes fixes it, so it's not a technical issue.

What gives?