Fragjacker / DoW-Mod-Manager

The original repository for the DoW Mod Manager application, which was made for the Dawn of War:tm: series.
MIT License
32 stars 7 forks source link

New Feature: Allow to change font size. #30

Closed Fragjacker closed 2 years ago

Fragjacker commented 3 years ago

Allow the user to change the font size in Dawn of War Soulstorm easily via the Mod Manager, as described in the video below: https://www.youtube.com/watch?v=hKdl7qtAnYY

Fragjacker commented 2 years ago

Are you interested doing this @IgorTheLight ?

IgorTheLight commented 2 years ago

I configured those font files myself when I added "A larger fonts" mod ;-) So this feature request is about being able to change fonts as you want? I may do that :-)

Fragjacker commented 2 years ago

Yeah like add some additional option in the settings to easily set fontsizes from inside Mod Manager and apply it to the game.

IgorTheLight commented 2 years ago

I could do that! Maybe in a few days I would make something like Font Editor for DoW Mod Manager ;-)

IgorTheLight commented 2 years ago

I almost finished Font Manager ;-) User would be able to:

IgorTheLight commented 2 years ago

Technically, it's working!

But DoW have a very weird behavior: to change font size for 1920x1080 you should modify settings for 1280x720. And to change settings for 1280x720 you should modify settings for 800x600. I tested it manually - same thing. I tried to change it in that way so it would resemble screen height instead of width - same story... So it's working but I have to understand, how exactly DoW chooses it's font settings. I could delete all unnecessary strings and just use "sizeDefault" and it would work perfectly. But it's too primitive )and you should change font sizes every time you change your resolution to something new).

Fragjacker commented 2 years ago

Excellent! This is pretty much the only missing bit for the Mod Manager. The weird behavior you describe is indeed peculiar but I guess in the end there will be some band-aid code necessary to take this into account. As long as it is consistent in its weird behavior it can be worked out. 😁

IgorTheLight commented 2 years ago

True! I'm considering just to "wire" 1920 to 1280 and so on ;-) It will work for now ;-) There are not so many people with weird resolutions - most people just have 1366x768 (old laptops), 1920x1080 (still very popular), 2560x1440 (most modern gamers have that) and 3840x2160 (4k for the rich boys). So I must test and "fix" those ones first :-)

Fragjacker commented 2 years ago

Alright I pushed a new update with a new feature, make sure to update your repository as well 😀 .

IgorTheLight commented 2 years ago

Oh, thanks! I will! Font Manager is hectically ready but I don't like that I have to "fake" some settings because of the DoW weird behavior. But I will - I can't find another solution for now.

Fragjacker commented 2 years ago

This was implemented in commit 19317438ec8d6c1c3999e09f7720154fe5cbb5e3

IgorTheLight commented 2 years ago

Good :-) I will update soon.