• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Johan11

Deadpan Snarker
51 Badges
Dec 24, 2008
1.931
0
  • Hearts of Iron III
  • Heir to the Throne
  • Crusader Kings II
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Jade Dragon
  • Stellaris: Synthetic Dawn
  • Stellaris: Distant Stars
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis III: Collection
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Call to arms event
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
Hi!

So, here's the deal:

I want to change ownership of the Province of Uzens (617) from it's current owner to a character I've created myself (id = 42025), How do I do that without crashing the game on load-up?

Thanks in advance.
 
Executive Summary

0) Make backups
1) Find province
2) Change 1066.eug
3) Change 1066 characters txt
4) Change 1066 countries txt
5) Change dynasty txt in DB folder #you probably alread did this
6) Change titles txt



step zero: make backups of every file you even think of changing.

step zero: again make backups. seriously. :p




Step one: go to DB. Find province, in this case 617 for Uzens.


Step two: go to scenario folder. (backups!)

a) open 1066 scenario file

add an entry to let the game know you have a ruler you want selectable at the start:

Code:
    C617 = { 
        gender = male 
        type = county 
        dna = "12345678901234" 
        title = { C617 } 
        }


you will probably want to change the DNA to whatever your created character uses.

(n.b. Uzens is a nice start since it won't conflict with existing files... high odds that duplicates = BOOM! in my experience)



b) open the 1066 scenario characters file, add your character

Code:
character = {
	id = { type = 10 id = 999999 }
	name = "Johan Deadpan"
	gender = male
	dynasty = { type = 12 id =888888 }
	country = C617
	religion = catholic
	culture = danish
	birthdate = { year = 1045 month = january day = 1 }
	deathdate = { year = 1145 month = january day = 1 }
	dna = "12345678901234"
	attributes = {
		martial = 9
		diplomacy = 10
		intrigue = 10
		stewardship = 9
		health = 8
		fertility = 8
	}
	traits = {
		just = yes
		wise = yes
		grey_eminence = yes
	}
}




#999999 being made up, just don't use a duplicate
#888888 being the Snarker dynasty, not a duplicate... and have to be added to dynasty file.

# C617 this being Uzens. kingdoms/duchies have 4 letters e.g. DENM = denmark, VOLG = Bolgar

# 12345678901234 - change the DNA (use DNA maker or copy an existing characters)



c) go to scenario folder and the 1066 scenario countries file

Here is a big cause of crashes if you mess with a bunch of titles at once.


Code:
country = {
	tag = VOLG
	form_of_goverment = feudal
	capital = 615

	ruler = {
		startdate = { year = 1066 month = january day = 1 }
		character = { type = 10 id = 20923 }
	}

	controlledprovinces = {
		615
		616
		617
		614
	}
laws = {
elective_law = yes
traditional_custom_law = yes
ecclesical_balance = yes
}}

Your province is already controlled by VOLG (run by Okhotur, the emir of Bolgar/duchy tier muslim ruler)

So remove 617 from Okhotur's list of provinces and add your own outpost and change the title holder to your new character:


Code:
country = {
	tag = C617
	form_of_goverment = feudal
	capital = 617

	ruler = {
		startdate = { year = 1066 month = january day = 1 }
		character = { type = 10 id = 999999 }
	}

	controlledprovinces = {
		617
	}
laws = {
elective_law = yes
traditional_custom_law = yes
ecclesical_balance = yes
}}



d) you probably already added a dynasty in the db/dynasties txt file.


Code:
dynasty = {
	id = { type = 12 id = 888888 }
	name = "Snarker"
	province = { }
}

If your dynasty dies out, no new Snarkers appear.


Code:
dynasty = {
	id = { type = 12 id = 888888 }
	name = "Snarker"
	province = { 617 }
}


or maybe you want random Snarkers occasionally appearing in just that province.





e) go back to scenario folder (skip 1066 provinces unless you want to change starting techs)


f) still in scenario folder skip relations unless you want to add marriage, alliance, or friends.

g) still in scenario folder in the titles file and change the entry for Uzens to indicate new ownership


Code:
title = {
    tag = C617
    tier = county
    liege = VOLG
    holder = {
        character = { type = 10 id = 999999 }
        startdate = {
            year = 1066
            month = january
            day = 0
        }
    }
}

Specifically... the character id 20923 to whatever Johan Deadpan Snarker uses.

BONUS HASSLE!

If you wanted to make yourself King of the Assassins you would have to add a 'separate' entry before to show you that title.

Code:
title = {
    tag = ASSA
    tier = kingdom
    holder = {
        character = { type = 10 id = 999999 }
        startdate = {
            year = 1066
            month = january
            day = 0
        }
    }
}


title = {
    tag = C617
    tier = county
    liege = ASSA
    holder = {
        character = { type = 10 id = 999999 }
        startdate = {
            year = 1066
            month = january
            day = 0
        }
    }
}

You have to add an entry for each king, duke, and county title your character holds: be sure nobody else holds them or again... high chance of BOOM! CRASH!

And if you do add extras, make sure to go back to the first step and change the 1066 eug. Just to be one the safe side.

Code:
    ASSA = { 
        gender = male 
        type = kingdom 
        dna = "12345678901234" 
        title = { ASSA C617 } 
        }

Or at least that's how i'd do it.

edit: obviously i wouldn't make my ruler king of the assassins... because i don't know if there are strange events that pop up for them.
:D

edit of edit: obviously not the best formatting but i hope it's relatively clear.

third edit: added executive summary. Somebody else can probably come up with a more concise, systematic, and precise explanation.
 
Last edited:
It's just that I really have done all that, and it won't work.
 
It was something with a "mismatch".

EDIT: It says: "--- Database Mismatch ---"
 
Only Uzens.
 
Errr... GIve me a sec...


EDIT: It doesn't seem like it...
 
Last edited:
I tried to restart completely, and even with following the guide earlier on this page it still says database mismatch.
 
Last edited:
It was something with a "mismatch".

EDIT: It says: "--- Database Mismatch ---"

i much prefer the error messages where the file, line and even actual words are identified. Easier to fix those.

As with troubleshooting... there is the nuclear option. First make sure everything is plugged in. And backups are made.

Then revert to the backups. Then go in steps. The smallest ones possible. And maybe even with extra steps you'll later undo. e.g.


First add the dynasty and character. Put his location in the Volga emir's court. Then load up the game to see if he exists and is there.

Then change his location and give him the title and country. Remove the emir's control of Uzens. At this point load up as somebody else.

Once you can see the character exists in the game, he has his title and he is in his own court... then change the .eug file so he'd be selectable.


When i was figuring out the process there were a few times i completely reverted because i had missed little things like forgetting to change a character's id, location, removing a duplicate control-of-province number or another person with the same title, et cetera. Lots of little ways to trip up.
:(


Lastly, if you just want to get the game rolling quicker with a clunky workaround...


Just make the dynasty and the character. Put him in the court of the Volga leader.

Make the Volga leader playable (switch him to Christian, select Okhatur when starting the game and as this Muslim-turned-Christian grant your guy the county of Uzens. Save game. (Maybe edit the save game back so change the overlord's religion back to Muslim?).


Oh... and speaking of little things easy to forget: i forgot something. Are you using CK or DV.

They made some stupid changes in Deus Vult and that's the version i'm using.

If you are using the more sensible CK1 version then the tag might be BOLG or something for the kingship of the Bulgar. The id for the characters is probably the same but the titles and location wouldn't match. It might even explain the 'mismatch message' because there is a line for 'liege' that might confuse the game. i.e. it cannot match the Deus Vult "liege = Volga" line with the CK setup of having Bolgar its BOLG tag. And it would not have the tier=duchy but tier=kingdom entry too.

Anyway, that's the kind of crazy unexpected stuff that tends to pop up. Just when you think you've covered all the angles... some horror of non-Euclidean geometry pops up its tentacled head from beyond space and time and begins to gnaw at your sanity.
:D

(Oh, and needless to say i have no idea how other mods set things up, but they might have changed parameters too.)