• 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.

MachopPower69

Banned
48 Badges
Feb 18, 2018
1.485
2.309
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Mare Nostrum
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: La Resistance
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Victoria 3 Sign Up
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Legacy of Rome
  • Cities: Skylines
  • Europa Universalis IV
  • Crusader Kings II: Rajas of India
  • Victoria 2
  • Crusader Kings II: Conclave
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Third Rome
  • Crusader Kings II
I have been interested in this mod where all countries are one province nations and expand by colonising adjacent provinces. I have been trying to replicate it as the original mod creator gave up on the game, but I have failed to do so as the game crashes every time I try to attempt it.

How can I do something similar to this? It was my favourite mod but now that it is not being progressed, I want to try and make a mod similar to it. Especially since population mechanics have overhauled in the Menander update (nobles). Can someone help me with it? I tried deleting countries and their files leaving only a few nations and I'm sure everyone would like a revival for a popular mod.
 
So... doing this manually is a TON of work. But! I did some mass repalcement with regular expressions, so you can just download 00_default.txt and put it in setup/main/
This is how it looks, which I find amusing:

1597779207519.png


Territories are assigned with own_control_core. I removed what was there and copied the capital ID.
If you want, you can remove some countries. Just delete their entry from that file.

If you want to remove buildings, search for #buildings, there's quite a few.
You could also remove cities, by doing a search and replace in the 'setup/provinces' folder Replace "city" with "settlement". But then there'll be a lot of overpopulated places, and editing pop numbers is even more work. (could be done with a start up event, though)

also, join the modding discord, there's always plenty of people to ask for help https://discord.gg/veS95j
 

Attachments

  • 00_default.txt
    224,9 KB · Views: 0
  • 1
Reactions:
I was attempting answering this as well and approached it trying to entirely remove certain countries.

If you remove a country you'll need to remove all references to it in at least these places :

\\ImperatorRome\game\setup\countries\countries.txt
\\ImperatorRome\game\setup\main\00_default.txt
\\ImperatorRome\game\setup\characters\

But you'll run into problems fast if the country has any defined characters, like CYR (Cyrenaica).
You can delete its character setup file \\ImperatorRome\game\setup\characters\00_CYR.txt but since the game's character index cannot have gaps in it
this will cause errors.

Another problem can arise in \\ImperatorRome\game\setup\main\00_default.txt regarding Trade Routes, Families and Treasures which may reference a now deleted Country that owns a Family or a province with that particular Trade Route or Treasure.

I'm not sure if you'll need to delete also all lines regarding those and if leaving gaps will still prevent the game from starting.

EDIT:
For example if you wanted to remove Cyrenaica, you'll need to first identify its Tag.

The countries.txt file makes this quite easy. But sometimes the country is called something else in the code than shown to the player in game.
To find what a country's tag might be you can search in the localization for its name at \\ImperatorRome\game\localization\english\countries_l_english.yml or the other folders relevant to the language your game is in.
 
Last edited:
So... doing this manually is a TON of work. But! I did some mass repalcement with regular expressions, so you can just download 00_default.txt and put it in setup/main/
This is how it looks, which I find amusing:

View attachment 610761

Territories are assigned with own_control_core. I removed what was there and copied the capital ID.
If you want, you can remove some countries. Just delete their entry from that file.

If you want to remove buildings, search for #buildings, there's quite a few.
You could also remove cities, by doing a search and replace in the 'setup/provinces' folder Replace "city" with "settlement". But then there'll be a lot of overpopulated places, and editing pop numbers is even more work. (could be done with a start up event, though)

also, join the modding discord, there's always plenty of people to ask for help https://discord.gg/veS95j
How do I download it? When I click on the attachment it goes into a different tab with all the code
 
Also, sorry about double posting but how can I randomise goods, or is that impossible? And how can I make AI unlikely to colonise, like have a lower chance to colonise if they have the chance?