Author Topic: Journal "Quest" sub-windows -- Change of Font  (Read 303 times)

Legacy_the.gray.fox

  • Full Member
  • ***
  • Posts: 214
  • Karma: +0/-0
Journal "Quest" sub-windows -- Change of Font
« on: July 24, 2011, 02:30:39 am »


               Hello.
I need assistance.


Consider the in-game Journal interface.
More specifically, consider the first two tabs, those that display the list of quests.
I am interested in two specific sub-windows of them tabs:

1) the "header" wherein the Quest Name appears.
2) the "rollover" box into which the Quest Text appears (toggled on and off by clicking the Quest Name header).

Of these two windows I want to change the name of the Font in use, which defaults to [fnt_galahad14].
I have designed my own font.

I have extracted all of the [jnl_*.gui] resources, in search of the 2 specific references to galahad14 to be changed in order to make the 2 windows adopt _my_ font.
In many attempts I ended up changing every occurrence of galahad14 into my font... and indeed my font has been adopted by every string of text displayed anywhere within the Journal... EXCEPT the very two sub-windows I am interested in???

Is this some kind of joke?

Fearing that the font in use by those two sub-windows is not named galahad14 like I believed, I have then substituted my custom font to the very [fnt_galahad14] resource.
When next I launched the game, all windows using galahad14 were now using my custom font... INCLUDING the two Journal  sub-windows I am after.

This demonstrates that the 2 windows I seek do use galahad14.

But it also means that those two sub-windows are not defined within any of the [jnl_*.gui] resources.
It makes no sense, unless...

... Looking at more in-game interfaces, I then notice that the sub-windows I want to modify are similar to those adopted in the Spellbook interface. Those used to create the headers for the Tiers of spells.

So maybe the windows I want are associated with the spellbook, and just reused by the Journal?
I search for every [*.gui] resource that seems to be spellbook-related... but again I do not find the definitions for the two sub-windows I want.

I would say that those windows are not defined externally (yet another hardcoded thing, of all the bad luck?).
But maybe I am wrong? -- I sure hope I am.

Does anybody know where those 2 windows are defined?


-fox
               
               

               
            

Legacy_the.gray.fox

  • Full Member
  • ***
  • Posts: 214
  • Karma: +0/-0
Journal "Quest" sub-windows -- Change of Font
« Reply #1 on: July 25, 2011, 06:29:00 pm »


               Hm.
No response so far -- Maybe I asked at the wrong people?

I have done some research.
Seeking occurrences of ASCII string "galahad" within [nwmain.exe] has returned 2 hits.
A change in the 1st one (or was it the 2nd one?) does impact the 2 sub-windows I talked about in the previous post. A change in the other one reference shall affect, instead, the galahad font used within the Character Sheet.

Looks like the only way to modify the 2 Journal sub-windows I want, without altering the executable _and_ without ill-affecting every in-game interface that makes use of galahad is to embed into the original [fnt_galahad14] a second set of characters.

To this end I will borrow the indices above 127... but it is an ugly workaround.
I would prefer to use a dedicated font for the job.
If anyone knows how to do it I will hear him gladly.


-fox