Total War: PHARAOH

Total War: PHARAOH

评价数不足
Proton Font Fix [OBSOLETE]
3
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
128.690 KB
2023 年 10 月 12 日 上午 3:08
2023 年 10 月 13 日 上午 3:41
2 项改动说明 ( 查看 )

订阅以下载
Proton Font Fix [OBSOLETE]

描述
PATCH 1.0.1 fixes missing and broken fonts when running the game with Proton. This mod is outdated and should only be used with Version 1.0
___
Fix for missing fonts when running the game using Proton. All instances of Noto Sans (the font which doesn't render for some reason) have been replaced with Mendl Sans.

This is a quick and dirty fix. You'll notice some small and hard to read text, especially anything written in italic. Unfortunately I haven't found a solution for this yet.

IMPORTANT: PLEASE READ

This mod will not show up in your Total War launcher until you do the following:

0) Subscribe and confirm that Steam has downloaded the mod. You can force a download by restarting Steam.

1) Navigate to your TW Pharaoh workshop folder.
default path: /home/user/.local/share/Steam/steamapps/workshop/content/1937780/
2) Look for folder 3049542533. You should find two files inside:

- proton_fontfix.pack: Replaces faulty font and nothing more
- proton_fontfix_larger.pack: Slightly enlarges most text to make it more readable on higher resolutions.

3) Copy one or both packs into your TW Pharaoh data folder
default path: /home/user/.local/share/Steam/steamapps/common/Total War PHARAOH/data
4) Launch Total War Pharaoh and activate your chosen .pack. Do not activate both files at the same time!

This mod will conflict with any mod which changes fonts, font-sizes or anything in data.pack>ui/fontcategories.xml

Steam Deck

Check out this guide by Levie for Deck specific tips and tricks!

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3056527723

UPDATES

- Update: 13 Oct @ 12:41pm

Add proton_fontfix_larger; Change font size for some UI elements
Note:
Most changes have been conservative as larger font sizes end up with text being cut off in many cases.
I've tested these changes on 1440p with UI scaling set to 100%. Some text might not fit every UI element especially if you play in a language other than English. Use the default proton_fontfix and up your UI scale if you have issues with this .pack.
Remember to copy+paste the new .pack into your data folder - it won't show up otherwise!

- Update: 12 Oct @ 12:08pm

Initial Release
热门讨论 查看全部(2)
4
1
2023 年 10 月 27 日 上午 12:02
How To DIY
Snickers Anyone
0
2023 年 10 月 18 日 上午 9:05
Coop
Kendji
20 条留言
Levie 2023 年 10 月 26 日 下午 1:07 
Bravo!
Snickers Anyone  [作者] 2023 年 10 月 26 日 下午 12:57 
Holy shit guys: https://i.imgur.com/O2tVU3B.png

B E A U T I F U L

This is with the newest patch. They fixed it, and this mod is now obsolete! Gogogo update and remember to deactivate this mod!
Levie 2023 年 10 月 21 日 上午 8:19 
I created a steam deck guide for those who are interested: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3056527723

Including this mod, it covers recommended Proton, controller configuration, and graphics settings.
Snickers Anyone  [作者] 2023 年 10 月 14 日 下午 4:30 
Oh and I‘ve also noticed that resizing some text elements beyond a certain size results in the text ending up really small and blurry instead. The same display error is present in some elements right now (like the diplomatic relations tooltip when you hover over an AI settlement). Just adding this info for anyone with more experience who might want to investigate this issue.
Snickers Anyone  [作者] 2023 年 10 月 14 日 下午 4:21 
As long as these mods don‘t touch the fontcategories.xml it should be fine.

I don‘t have much experience (or any at all tbh) with modding TW games so I don‘t know how modders implement new strings in the game, but as long as they don‘t define Noto as their font there shouldn‘t be any issues.

In theory it should also be possible to implement a Proton fix in another way.
I think the bug/render error occurs somewhere in the .cuf files, which seems to be a TW specific font format. There‘s a community made cuf editor from 2010 but I didn‘t manage to get it to run properly. Maybe someone else can use it to repackage the Noto .cufs in a way which would render with Proton? Alternatively using a different font altogether would also be a possibility, most if not all Google Fonts are Open Source and can be redistributed.
Kendji 2023 年 10 月 14 日 下午 1:18 
I'm wondering how does this work with other mods, does it change those fonts as well?
Snickers Anyone  [作者] 2023 年 10 月 13 日 上午 4:04 
- Update: 13 Oct @ 12:41pm

Add proton_fontfix_larger; Change font size for some UI elements
Note:
Most changes have been conservative as larger font sizes end up with text being cut off in many cases.
I've tested these changes on 1440p with UI scaling set to 100%. Some text might not fit every UI element especially if you play in a language other than English. Use the default proton_fontfix and up your UI scale if you have issues with this .pack.
Remember to copy+paste the new .pack in your data folder - it won't show up otherwise!
xxxNinja-rulezxxx 2023 年 10 月 12 日 下午 2:01 
@Levie i have UMA buffer set to 4gb and had CyroUtilities script executed (bigger swap file, etc.)
xxxNinja-rulezxxx 2023 年 10 月 12 日 下午 2:00 
@Levie
Ultra textures + everything demanding on medium (like shadows, vfx, reflections, unit details) + less demanding stuff on high (for instance water or SSAO) + large unit size = perfectly stable 30 fps in battles as well as campaing map

@soulmindproductions
Fun as hell, troy was perfectly playable thanks to very legible font, in Pharaoh text is a bit smaller, but it's still one hundred per cent playable. I am from Poland
Snickers Anyone  [作者] 2023 年 10 月 12 日 上午 8:40 
My protondb report is pending, should go live with the next site update. Thanks for the kind words :) Hopefully Valve can push a more permanent fix with Proton, I think it's really just a case of a download going wrong since it looks like the font in question isn't packaged with the game itself. But I'm not a dev or modder, so I'm just guessing here.