Python Performance and Interface Overhaul (PPIO)

I don't see why you can't keep Linux Libertine G with a link to it in the OP.
Good point, it would be okay for a modmod, but if we want to merge this modmod with C2C proper then the consensus will probably be to use a font everyone already have installed.

Some text coordinates must be changed within python here and there when changing font because some fonts are higher or lower positioned when compared to other fonts. A bit hard to explain...
e.g. if one font is perfectly aligned to be in the middle of the tech bar, then a different font may, even if the letters are the same size be positioned too high or too low depending on what font you change from/to.

I'm mostly speaking to myself here ↑ , I think I'll use Linux Libertine again for a time, and come back to the font question at a later stage.
 
Damn it, why!!! It isn't italic at all on my computer... Wraaahhhhh!! lol ^^

Edit: try installing the attached Times New Roman font files.
I installed it and fonts are displayed correctly now.
 
I'm not fond of the times new roman font (TNR), it did make the vanilla tooltip and message panel wider than any other font I've tried (the width of which is decided by the exe based on something about the font used) which is a big plus for the TNR font.
I really liked Linux Libertine G, a shame it is not common to have installed. If C2C had an installer wizard then we could use whatever font we liked but I don't think anyone on the team have any experience in creating a proper install.exe file.
I'm wondering if I should revert to Sylfaen which had some downsides that I wanted to get rid of. I thought it would be easy to find a different font that would work for most users, but no, not at all.
IMO the TNR font is an excellent choice, and (at least for higher resolutions) serif fonts are actually better.

Please don't try Comic Sans. :)
 
I installed it and fonts are displayed correctly now.
Strange that you didn't have TNR installed properly.
IMO the TNR font is an excellent choice, and (at least for higher resolutions) serif fonts are actually better.

Please don't try Comic Sans. :)
It is a decent font, though it does have a minute pixelated look even on 1920x1080.
I won't use comic sans, already tried it as a joke and posted a screenshot: Link
 
Last edited:
I love this modmod! Any plans to implement it into the main mod? Is the current version of this working with SVN 10030? I thought I saw somewhere it wasn't updated yet.
 
PPIO v0.5.9.4.9.9.9.1
  • Nitpick update
  • Main change: Changed back to the Linux Libertine G font type.
PPIO v0.5.9.4.9.9.9.2
  • Fixed a python error that occurred on beginning of a new game when playing a difficulty that gives the Gathering tech for free.
    • The free Gatherer for inventing Gathering will now be given out to players that start the game with the Gathering tech already invented.
PPIO v0.5.9.4.9.9.9.3
  • Maintenance update, nothing serious.
PPIO v0.5.9.4.9.9.9.4
  • No longer possible to abandon city if playing with the No City Razing option.
 
Last edited:
Updating to latest SVN (10047) reset the fonts back to Vanilla (ugh utterly unplayable now - how did I put up with that small size for years!). Noticed that Assets/XML/Art/Civ4ArtDefines_Misc has been updated and is also changed by this modmod.
 
Updating to latest SVN (10047) reset the fonts back to Vanilla (ugh utterly unplayable now - how did I put up with that small size for years!). Noticed that Assets/XML/Art/Civ4ArtDefines_Misc has been updated and is also changed by this modmod.
I edit C2CTheme_Common in Resource/Theme.

Then I go to 3/4th of file and edit these entries:
Code:
           {
               GFont .Size0_Normal   = GFont("Linux Libertine G","Regular",   13, GFlags(GFontFeature, GFC_FONT_ALPHA),                 0, GRectMargin(2));
               GFont .Size0_Bold   = GFont("Linux Libertine G","Semi Bold",13, GFlags(GFontFeature, GFC_FONT_ALPHA, GFC_FONT_BOLD),  0, GRectMargin(2));

               GFont .Size1_Normal   = GFont("Linux Libertine G","Regular",   15, GFlags(GFontFeature, GFC_FONT_ALPHA),                 0, GRectMargin(2));
               GFont .Size1_Bold   = GFont("Linux Libertine G","Semi Bold",15, GFlags(GFontFeature, GFC_FONT_ALPHA, GFC_FONT_BOLD),  0, GRectMargin(2));

               GFont .Size2_Normal   = GFont("Linux Libertine G","Regular",   17, GFlags(GFontFeature, GFC_FONT_ALPHA),                 0, GRectMargin(2));
               GFont .Size2_Bold   = GFont("Linux Libertine G","Semi Bold",17, GFlags(GFontFeature, GFC_FONT_ALPHA, GFC_FONT_BOLD),  0, GRectMargin(2));

               GFont .Size3_Normal   = GFont("Linux Libertine G","Regular",   19, GFlags(GFontFeature, GFC_FONT_ALPHA),                 0, GRectMargin(2));
               GFont .Size3_Bold   = GFont("Linux Libertine G","Semi Bold",19, GFlags(GFontFeature, GFC_FONT_ALPHA, GFC_FONT_BOLD),  0, GRectMargin(2));

               GFont .Size4_Normal   = GFont("Linux Libertine G","Regular",   21, GFlags(GFontFeature, GFC_FONT_ALPHA),               100, GRectMargin(2));
               GFont .Size4_Bold   = GFont("Linux Libertine G","Semi Bold",21, GFlags(GFontFeature, GFC_FONT_ALPHA, GFC_FONT_BOLD),200, GRectMargin(2));
           }
Those are mine preferences (13/15/17/19/21).
 
It would be nice if we could see what continental culture each civilization has.
 
I get a lot of button display errors when I hover the bar of my capital city.
city_display.jpg
 
@Snofru1 impressive megacity. :goodjob:

Your total population is 240 million so 95% of your citizens live in this colossal city!
 

Attachments

  • Trade routes+production+population.png
    Trade routes+production+population.png
    655.1 KB · Views: 256
How to install 'Python Performance and Interface Overhaul' to Caveman2Cosmos v38 properly?

I installed fonts. Then I unpacked PPIO v0.5.9.4.9.5. Then I replaced the content of ‘Caveman2Cosmos’ folder with PPIO content. The game could not start because it could not initialize the main theme.
 
Back
Top Bottom