That's a relief then.
Can't wait for it but it'll be worth it. lol
Good stuff. And I know I've said this a couple of times before already, but thank you.
It's usually no support at all or a tiny, tiny chance of getting tremendous help. Ain't the first time I'm making mods but this whole system is still quite exotic to me, so it's definitely a big help getting started in this way. Bless you.
I'll eagerly await v.0.14 and then also make tutorials on how to make font mods yourself. Some more to add to the collection. lol
Gotta push encouragement.
Guess we can close the post then, if there's a button for that. Dunno, still new. Haha
Replacing EN Font (/FONT0003.FNT)
- AngryKarakuri
- Posts: 14
- Joined: Sun Jun 12, 2022 7:47 pm
- Location: Europe
- Interkarma
- Posts: 7254
- Joined: Sun Mar 22, 2015 1:51 am
Re: Replacing EN Font (/FONT0003.FNT)
You're most welcome!
I'm just happy we made some progress, even if it doesn't solve problem right now.
Please PM me if things still don't work for you in 0.14 and we'll use this topic to work it out.
I'm just happy we made some progress, even if it doesn't solve problem right now.
Please PM me if things still don't work for you in 0.14 and we'll use this topic to work it out.
- Interkarma
- Posts: 7254
- Joined: Sun Mar 22, 2015 1:51 am
Re: Replacing EN Font (/FONT0003.FNT)
0.14.0 is now available. Unfortunately the test font mod I created isn't working with release generated from cloud build. I definitely had this working in a standalone build + test mod earlier.
I'll revisit this one when I can and try to work out where things are going wrong here.
I'll revisit this one when I can and try to work out where things are going wrong here.
- Interkarma
- Posts: 7254
- Joined: Sun Mar 22, 2015 1:51 am
Re: Replacing EN Font (/FONT0003.FNT)
OK, I have this sorted now. I'm an idiot btw - times two.
My first mistake was that when I made my test build of 0.14 earlier, I'd forgotten to delete my font asset from the game, so this was built into Resources and of course it worked.
Second mistake was that I should have been using TryGetAsset() to load TMP font asset from mod bundle, not Resources.Load in the first place. This needs a little extra support in core.
I've made a change scheduled for 0.14.1 that lets a mod load a font asset with TryGetAsset() then hand it off to DaggerfallFont via UseSDFFontAsset().
I've tested this again and my font mod is now loading and displaying OK in a build. I'm aiming to have 0.14.1 available early next week (Mon or Tue). I'll loop back and provide an example mod project when this is ready.
My first mistake was that when I made my test build of 0.14 earlier, I'd forgotten to delete my font asset from the game, so this was built into Resources and of course it worked.
Second mistake was that I should have been using TryGetAsset() to load TMP font asset from mod bundle, not Resources.Load in the first place. This needs a little extra support in core.
I've made a change scheduled for 0.14.1 that lets a mod load a font asset with TryGetAsset() then hand it off to DaggerfallFont via UseSDFFontAsset().
I've tested this again and my font mod is now loading and displaying OK in a build. I'm aiming to have 0.14.1 available early next week (Mon or Tue). I'll loop back and provide an example mod project when this is ready.
- Interkarma
- Posts: 7254
- Joined: Sun Mar 22, 2015 1:51 am
Re: Replacing EN Font (/FONT0003.FNT)
The 0.14.1 release with fixes for using custom SDF fonts is now available.
This required an update to the method of font loading and the page on blog is now out of date. Please disregard it, I will need to update this information.
To help you create a custom font mod, I've attached a zip file with an Alkhemikal font mod. This requires 0.14.1 or later and has been tested using the releases now available.
You should be able to follow example in attached mod and script to register fonts to any locale. Default being "en".
Screenshot below is running in a live build. I hope this helps. Good luck!
This required an update to the method of font loading and the page on blog is now out of date. Please disregard it, I will need to update this information.
To help you create a custom font mod, I've attached a zip file with an Alkhemikal font mod. This requires 0.14.1 or later and has been tested using the releases now available.
You should be able to follow example in attached mod and script to register fonts to any locale. Default being "en".
Screenshot below is running in a live build. I hope this helps. Good luck!
- haloterm
- Posts: 391
- Joined: Sat Feb 16, 2019 5:21 am
Re: Replacing EN Font (/FONT0003.FNT)
Thanks for sharing, the font fits retro rendering mode perfectly.
- Interkarma
- Posts: 7254
- Joined: Sun Mar 22, 2015 1:51 am
Re: Replacing EN Font (/FONT0003.FNT)
Yeah, that Alkhemikal is a nice typeface. I've since tried some other fonts closer in style to DFU classic, and generally find them very hard to read after a while. I think AngryKarakuri's made a good choice here for their mod.
- AngryKarakuri
- Posts: 14
- Joined: Sun Jun 12, 2022 7:47 pm
- Location: Europe
Re: Replacing EN Font (/FONT0003.FNT)
Hello again! Thanks for the update.Interkarma wrote: ↑Fri Jul 08, 2022 12:28 am The 0.14.1 release with fixes for using custom SDF fonts is now available.
This required an update to the method of font loading and the page on blog is now out of date. Please disregard it, I will need to update this information.
To help you create a custom font mod, I've attached a zip file with an Alkhemikal font mod. This requires 0.14.1 or later and has been tested using the releases now available.
You should be able to follow example in attached mod and script to register fonts to any locale. Default being "en".
Screenshot below is running in a live build. I hope this helps. Good luck!
example-0.14.1.jpg
Alkhemikal Font Mod (Builds and Source).zip
Gonna be looking into this soon enough.
Even nicer that you went out of your way to get it to work even better. lol
Thanks again.
Look, it's me! https://www.nexusmods.com/users/38686655
- AngryKarakuri
- Posts: 14
- Joined: Sun Jun 12, 2022 7:47 pm
- Location: Europe
Re: Replacing EN Font (/FONT0003.FNT)
Hello, sorry a lot of things happened in the meantime. I'm back now. Just figured out that what you posted was an actual full functional mod. Tested it now during this current release of the game and it works totally fine it seems.
Thanks for that!
Just a quick update to let you know that although I was gone, I didn't forget.
Thanks for that!
Just a quick update to let you know that although I was gone, I didn't forget.
Look, it's me! https://www.nexusmods.com/users/38686655