Trying to get the highres font replacements from Classic Redux working and ran into an issue.
Looks like a certain font (message font, tiles #4608-4701) does not accept replacements, at least not for all palette entries. This can be observed for example in the episode selection screen with the description texts ("Four levels (Shareware Version)" / "Eighteen levels (Full version only)")
Try this test file (zip, 612 KB). It works fine in VoidSW (via bat file: voidsw -gshadow.zip -hsw.def), but not in Raze where the lowres version of the font keeps being used.
[1.1.2] SW: Highres font replacement not working
Moderator: Raze Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Spotlight Team
- Posts: 1379
- Joined: Fri May 02, 2008 12:29 pm
- Location: Germany
-
- Lead GZDoom+Raze Developer
- Posts: 49211
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1.1.2] SW: Highres font replacement not working
The font management here is very different than what Build normally does. It makes no sense fixing this now, because a lot of work is still needed to make it compatible with international fonts first.
-
- Lead GZDoom+Raze Developer
- Posts: 49211
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1.1.2] SW: Highres font replacement not working
Should be fixed now. I had to rewrite larger chunks of the font management, but now the font system can apply engine-side translations on hires fonts as well.
The old code wasn't able to, and had to revert to the stock characters.
The old code wasn't able to, and had to revert to the stock characters.
-
- Spotlight Team
- Posts: 1379
- Joined: Fri May 02, 2008 12:29 pm
- Location: Germany
Re: [1.1.2] SW: Highres font replacement not working
Hm, still not working in raze-x64-1.1.0pre-155-g4ff4fa643.
-
- Spotlight Team
- Posts: 1379
- Joined: Fri May 02, 2008 12:29 pm
- Location: Germany
Re: [1.1.2] SW: Highres font replacement not working
Still no change with raze-x64-1.1.0pre-158-g22be26bd2. This seems to be a nasty one.
-
- Lead GZDoom+Raze Developer
- Posts: 49211
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1.1.2] SW: Highres font replacement not working
I haven't tried. I'm currently extending all the fonts so once that is done I'll have to make some bigger changes to the font setup anyway. Makes no sense fixing things that will need re-fixing later.
-
- Lead GZDoom+Raze Developer
- Posts: 49211
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1.1.2] SW: Highres font replacement not working
Turned out I was fooled by the Duke HRP replacing the 1.5 font with 1.3 even in low res so it looked as if it picked the hires version when in reality the low res font had been changed as well.
Now it's all working and font colorization works properly with hires replacements.
Only thing left is to implement replacements of fully extended fonts as well as they live outside the tile system.
Now it's all working and font colorization works properly with hires replacements.
Only thing left is to implement replacements of fully extended fonts as well as they live outside the tile system.
-
- Spotlight Team
- Posts: 1379
- Joined: Fri May 02, 2008 12:29 pm
- Location: Germany
Re: [1.1.2] SW: Highres font replacement not working
Confirmed to be fixed in raze-x64-1.1.0pre-197-g207298aeb.