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

Rorgloin

Major
50 Badges
Jun 17, 2014
550
433
  • Crusader Kings II
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Conclave
  • 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
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Europa Universalis IV
  • 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: Holy Fury
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Art of War
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
Is there any way to mod the Byzantine Empire to expand south and west instead of north and east? Other than changing the de jure map. In particular, from avoiding conquering territory north of the Danube?
 

theStormWeaver

Lead Dev - Ancient Religions
64 Badges
Jul 28, 2012
2.407
474
www.github.com
  • Battle for Bosporus
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV
  • Crusader Kings II: Reapers Due
  • Rome Gold
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings III
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Imperator: Rome - Magna Graecia
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Cities: Skylines
  • Imperator: Rome
  • Surviving Mars: First Colony Edition
  • Stellaris - Path to Destruction bundle
What is the current character encoding used for game files and save files? UTF-8 is my system default, but I often get messages that the files are in a different code page and then I am asked for the correct one. I have searched and found some conflicting posts (Windows-1250, Windows-1252, ISO 8850-1) but don't see a definitive answer.

Windows-1252

Done what you said but mod seems to be worse, probably me done something wrong.

I put in an events folder and copied event 670 and added anglo_saxon religion but haven't a clue if it is correct.

Took out all the underscores you mentioned, '_' , and now in game the Anglo-Saxon religion shows up as 'anglo_saxon'.
Under the Religions tab all the holy sites are not listed and show as blank/black placeholders. It has my shield there in everyone and shows me owning everyone but there is no reform button either. Below that it says 'Realm_temple_baron_anglo_saxon' .

After clicking on Portrait and hovering over the Religious Icon it says Angl-Saxon and below that instead of the desription it says anglo_saxon.DESC. I have done one btw.

I have uploaded the changes below if you are able to look over them. Thanks again for the help.

You need the description to be anglo_saxon_DESC. The all caps is important.

Unfortunately, I'm not sure what you're problem is now. You might as well delete the events folder from your mod. Until you figure out the other problems it doesn't matter. Hopefully some other friendly modder will hop on and help you out :)

Btw, have you tried using The Validator?
 

theStormWeaver

Lead Dev - Ancient Religions
64 Badges
Jul 28, 2012
2.407
474
www.github.com
  • Battle for Bosporus
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV
  • Crusader Kings II: Reapers Due
  • Rome Gold
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings III
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Imperator: Rome - Magna Graecia
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Cities: Skylines
  • Imperator: Rome
  • Surviving Mars: First Colony Edition
  • Stellaris - Path to Destruction bundle
If I add a settlement, I also have to add a title somewhere?

How do you mean? All existing counties have 7 baronies defined in the landed_titles file. You cannot add any more settlements than 7. You can alter a particular county's history files to enable it to support more settlements (up to 7), and you can alter the history files to have another one built. You can even build another settlement in a province in script, even if the limit has already been reached.

So, I guess what I'm saying is, you just need to alter the history file of the county you wish to add a settlement to.
 

Yvanoff

Europa Europa über alles
43 Badges
Oct 18, 2013
897
2.590
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Crusader Kings II: Conclave
  • Hearts of Iron IV Sign-up
  • Crusader Kings II: Reapers Due
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Parklife
  • Shadowrun: Dragonfall
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Victoria 2: A House Divided
  • Europa Universalis IV
  • Hearts of Iron III Collection
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Art of War
  • Victoria 2
  • Crusader Kings II: Horse Lords
  • Stellaris Sign-up
  • Magicka
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Conquest of Paradise
before going mad, I will try to get some help here (if you can explain what happens because for me it just makes no sense)
So I have a personal mod that I like to use, I added cultures to it and in order to avoid the "Smith" dynasty names for rebels of these cultures, I decided to add some dynasties for these cultures.
what happens just makes no sense to me: I added the dynasties at the end of the 00_dynasties.txt in the dynasties folder (that I had copied and paste into my mod repetrory ofc). For the dynasty ID, I just used the numbers above the vanilla limit: the last dynasty in vanilla has the ID 1045057 (it's a suebi dynasty), so I used the numbers 1045058 and above for my dynasties. Their cultures were the cultures I had added, and which work perfectly fine in game.
well I discovered that all the dynasties belwo the "z Linavy" dynasty do not appear in game. The z Linavy dynasty and all dynasties above appear, but not the one below (I have added, as an attachment, the file I use. z Linavy dynasty is the 16th dynasty). Then I've tried to put all my dynasties in a separated file, changed the IDs (there is a gap in vanilla - there are no dynasty IDs around 700000) so my dynasties' ID would start as 700000 (because I thought there might be a problem that cause the game not to load dynasties with a great ID, and as 700000 is inferior to the highest ID used by the vanilla game I figured out it would work)
nothing solved the problem

TL;DR: in the file that is attached to the post, all the first 16 dynasties (the 16th dynasty - z Linavy - included) work perfectly fine in game. All the others don't appear in game. An idea why ?
(also I can't use the validator so not an option. maybe if you can....) (the cultures are added by the mod, so the cultures are not the problem. well, I don't think so)
 

Attachments

  • djf_dynasties.txt
    12,3 KB · Views: 7

Romulien

Lt. General
19 Badges
Jul 2, 2013
1.404
308
  • Crusader Kings II
  • Major Wiki Contributor
TL;DR: in the file that is attached to the post, all the first 16 dynasties (the 16th dynasty - z Linavy - included) work perfectly fine in game. All the others don't appear in game. An idea why ?
(also I can't use the validator so not an option. maybe if you can....) (the cultures are added by the mod, so the cultures are not the problem. well, I don't think so)

The validator detects the following error:
Code:
--- Error 1 of 1 ---
Parse Failure
Path: <mod>\common\dynasties\djf_dynasties.txt
Error: Invalid character ["] at line 75, column 20
There seems to be an extra double quote ! ;)
 

wolfing

Lt. General
70 Badges
May 15, 2009
1.655
537
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Rome Gold
  • Pillars of Eternity
  • Victoria 2
  • Warlock 2: The Exiled
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Together for Victory
  • Shadowrun Returns
  • Shadowrun: Hong Kong
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Shadowrun: Dragonfall
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Europa Universalis IV
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Knights of Pen and Paper +1 Edition
  • Deus Vult
  • Crusader Kings II: Sword of Islam
I'm trying to make a targeted decision that is like a curse, but it's not working, why wouldn't this work in the 'effect' section?
Code:
    effect = {
       add_trait = lustful
       any_child = {
         limit = {
           is_adult = yes
         }
         add_trait = lustful
       }
       any_demesne_province = {
         add_province_modifier = {
           name = syphilis
           duration = 100
         }
       }
     }
In particular, the 'any_demesne_province' construction seems to not be valid or something.
 

Romulien

Lt. General
19 Badges
Jul 2, 2013
1.404
308
  • Crusader Kings II
  • Major Wiki Contributor
I'm trying to make a targeted decision that is like a curse, but it's not working, why wouldn't this work in the 'effect' section?
Code:
    effect = {
       add_trait = lustful
       any_child = {
         limit = {
           is_adult = yes
         }
         add_trait = lustful
       }
       any_demesne_province = {
         add_province_modifier = {
           name = syphilis
           duration = 100
         }
       }
     }
In particular, the 'any_demesne_province' construction seems to not be valid or something.

Apparently any_demesne_province does not work as an effect, only as a trigger. It's commented out in validator files with similar comment, and vanilla only uses it as trigger...
 
  • 1
Reactions:

fanoI

General
2 Badges
Aug 26, 2012
1.870
106
  • Crusader Kings II
  • Europa Universalis IV
Hi to all I need help with a localization event I simply like to write a letter to a character a sign it in this way "Signed <title name> of <primary_title>" so the text above should be read "Signed Consul Giordano of S.P.Q.R" by I get only a strange list of all the character titles...

This is the localization code:
Code:
EVTDESCEoG.6;To the glorious [This.GetTitledFirstName] you are invited to\nThe Conference of Peace that will be held in [From.Location.GetName].\n Signed [From.GetTitledFirstName] of [From.GetPrimaryTitles];;;;;;;;;x

I'm sure it is possible because I have seen sometimes in letters received, for example, by my liege but I have not found how this is accomplished...
 
Last edited:

Rylock

Field Marshal
64 Badges
Mar 10, 2008
11.618
2.427
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • 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
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Shadowrun: Hong Kong
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • PDXCon 2017 Awards Winner
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Pride of Nations
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
I to all I need help with a localization event I simply like to write a letter to a character a sign it in this way "Signed <title name> of <primary_title>" so the text above should be read "Signed Consul Giordano of S.P.Q.R" by I get only a strange list of all the character titles...

This is the localization code:
Code:
EVTDESCEoG.6;To the glorious [This.GetTitledFirstName] you are invited to\nThe Conference of Peace that will be held in [From.Location.GetName].\n Signed [From.GetTitledFirstName] of [From.GetPrimaryTitles];;;;;;;;;x

I'm sure it is possible because I have seen sometimes in letters received, for example, by my liege but I have not found how this is accomplished...

You need to change [From.GetPrimaryTitles] to [From.PrimaryTitle.GetName].
 

Dhekelian

First Lieutenant
33 Badges
Sep 20, 2014
226
35
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings III
  • Surviving Mars: First Colony Edition
  • Crusader Kings II: Holy Fury
  • Surviving Mars: First Colony Edition
  • Steel Division: Normandy 44 -  Back to Hell
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Jade Dragon
  • Steel Division: Normand 44 - Second Wave
  • Surviving Mars
  • Steel Division: Normandy 44
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Europa Universalis IV
  • Cities: Skylines - After Dark
Windows-1252



You need the description to be anglo_saxon_DESC. The all caps is important.

Unfortunately, I'm not sure what you're problem is now. You might as well delete the events folder from your mod. Until you figure out the other problems it doesn't matter. Hopefully some other friendly modder will hop on and help you out :)

Btw, have you tried using The Validator?

The 'DESC' is in Caps but still not showing. I got that Validator but I can't seem to load my mod into it.
 

Yvanoff

Europa Europa über alles
43 Badges
Oct 18, 2013
897
2.590
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Crusader Kings II: Conclave
  • Hearts of Iron IV Sign-up
  • Crusader Kings II: Reapers Due
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Parklife
  • Shadowrun: Dragonfall
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Victoria 2: A House Divided
  • Europa Universalis IV
  • Hearts of Iron III Collection
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Art of War
  • Victoria 2
  • Crusader Kings II: Horse Lords
  • Stellaris Sign-up
  • Magicka
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Conquest of Paradise
The validator detects the following error:
Code:
--- Error 1 of 1 ---
Parse Failure
Path: <mod>\common\dynasties\djf_dynasties.txt
Error: Invalid character ["] at line 75, column 20
There seems to be an extra double quote ! ;)
thank you very much
the validator is really useful.... that's sad I can't use it, but well I'll try to avoid these errors in the future
 

Rylock

Field Marshal
64 Badges
Mar 10, 2008
11.618
2.427
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • 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
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Shadowrun: Hong Kong
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • PDXCon 2017 Awards Winner
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Pride of Nations
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Thanks you! The only sad thing is that it says "of the S.P.Q.R." there is no way to remove that "the", right?

I'm not sure. Provided you already have "short_name = yes" in the title definition, and 'the' is not part of your localisation for the title, then probably not.
 

Rylock

Field Marshal
64 Badges
Mar 10, 2008
11.618
2.427
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • 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
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Shadowrun: Hong Kong
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • PDXCon 2017 Awards Winner
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Pride of Nations
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
No, the title localization is simply "S·P·Q·R" and there is "short_name = yes" so it is not called "Empire of S·P·Q·R", it seems a bug what if the title was "Francia"? Signed, Emperor Charles of the Francia? It seems a bug to me...

What happens if you just use [From.GetTitledName] rather than splitting it up into TitledFirstName and PrimaryTitle.GetName?

I suspect that the automatic "the" you're getting is, in fact, a quirk related to the use of "short_name = yes". Just about all uses of that in vanilla would, in fact, be used with "the" if they were spoken in English. It's "X of the Roman Empire", not "X of Roman Empire", for instance, even though you'd only want "Roman Empire" on the map. France and/or Francia, does NOT use "short_name = yes", in which case it would be "Empire of France" or just "France" on the map or if GetName was used in localization.

Indeed, grammatically speaking, it is "the SPQR" -- "The Senate and People of Rome" -- and not just SPQR.