Crusader Kings II

Crusader Kings II

scale_ui
 This topic has been pinned, so it's probably important
goondo  [developer] Aug 12, 2018 @ 4:54am
Scaling other interface mods Ex. Bigger Interface mod
< >
Showing 1-2 of 2 comments
goondo  [developer] Aug 12, 2018 @ 4:55am 
The current mod only provides scaled fonts at specific resolution heights, and does not generate them on the fly like it does for interface, and graphic assets. For the fonts I used "Bitmap Font Generator" from http://www.angelcode.com/products/bmfont/.

Bigger Interface example at 1035p:

1) Unzip biggerinterface.zip into mod directory.
2) Modify install_scale_ui_mod.py

Line 69

From

GAME_HOME = os.path.join(PROGRAM_BASE, "Steam/steamapps/common", GAME)

To

GAME_HOME = os.path.join(MOD_HOME, "biggerinterface")

Line 83

From

SCALE_UI_PREFIX = "scale_ui_%sp" % res_height

To

SCALE_UI_PREFIX = "biggerinterface_%sp" % res_height


Line 142

From

scaled_dir = os.path.join(CWD, "%sp" % res_height)

To

scaled_dir = ""

3) Run install_scale_ui_mod.bat

4) Copy extra files from "biggerinterface" to "biggerinterface_1035p"

Localisation directory, BiggerInterface.jpg, changelog, readme, shortcuts

5) Run the mod don't forget to select both "biggerinterface_1035p", and "scale_ui_1035p" from the launcher.

6) As you play you will notice things are not quite right. You will need to modify the interface files in biggerinterface_1035p to fix the issues that you do find.
LuvianQ Aug 27, 2022 @ 11:14am 
Thank you very much for creating this mod, Gondoo-

I'm trying to use your mod to scale some other interface mods in an attempt to get them to scale up to 2160p as well. I did read your post from 2-years ago on the CK2 thread wherein you provided an example for scaling Bigger Interface, however, after following the same instructions from there and editing the install_scale_ui_mod.py exactly as in the example, it ultimately leads to a "Batch execution error" message in the console window. I suspect this is due to the fact that there has been additional lines added to the install_mod.py file since the time when you created the post that also need to be changed, but unfortunately I have no idea which ones those could be as I have no coding/modding experience.

Additionally, it would be great if you gave me some info on how to scale the fonts for 2160p properly so I can use any font that I find more pleasing. I already have Bitmap Font Generator, so I just need to know how to go about setting things up...

Thank you in advance!
< >
Showing 1-2 of 2 comments
Per page: 1530 50