Author Topic: Help finding Text size file?  (Read 408 times)

TommyClaws

  • Traveller
  • *
  • Posts: 10
    • View Profile
Help finding Text size file?
« on: October 20, 2011, 01:28:18 am »
Can someone give me some tips on how to mod the text size larger?
I'm really having trouble reading the chat window.
At the moment I go back and forth between max/min my chat window just to see around it.
I see a lot of skin mods here, but nothing dealing specifically with text size.
Help!

~~

I'm hoping there is just some value/percent in a .cfg or .ini file somewhere.
(I understand there is an increase by windowsize option in game that would change how this is normally written.)
After browsing through all 3 .cfg files though, I've given myself a headache.
« Last Edit: October 20, 2011, 01:46:55 am by TommyClaws »

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Re: Help finding Text size file?
« Reply #1 on: October 20, 2011, 02:04:46 am »
Right-click the chat window, check "Scale font" to enable font scaling for the chat window at all.

There is a file 'planeshift.cfg' with an entry 'Font.ScalePercent', but it is in your user account's application data folder.

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

TommyClaws

  • Traveller
  • *
  • Posts: 10
    • View Profile
Re: Help finding Text size file?
« Reply #2 on: October 20, 2011, 03:06:09 am »
Right-click the chat window, check "Scale font" to enable font scaling for the chat window at all.

There is a file 'planeshift.cfg' with an entry 'Font.ScalePercent', but it is in your user account's application data folder.


I see the data folder, but not the .cfg you mention. 
There are many .cfg here with instructions on scale if I was using an alternate font, but I can't seem to find the one with the line I need to adjust the current font.    :(

There is one folder named PlaneShift>Data>Config>fontplex but that didn't seem...hmm I will keep looking.

TommyClaws

  • Traveller
  • *
  • Posts: 10
    • View Profile
Re: Help finding Text size file?
« Reply #3 on: October 20, 2011, 03:53:01 am »
No luck.  I give up for now.
I hope we can find a solution, because I can't game like this.



And yes, I know I'm using a large widescreen size/aspect that I'd prefer not to reduce.
« Last Edit: October 20, 2011, 03:56:32 am by TommyClaws »

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Re: Help finding Text size file?
« Reply #4 on: October 20, 2011, 04:44:37 am »
1) Did the font size change when you enabled font scaling?
__

2) What operating system are you using?
  • Windows: Open the address "%APPDATA%\PlaneShift" in your Windows Explorer or "Run..." dialog.
  • Linux: Look in ~/.PlaneShift (hidden in your home path).

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

TommyClaws

  • Traveller
  • *
  • Posts: 10
    • View Profile
Re: Help finding Text size file?
« Reply #5 on: October 20, 2011, 07:29:50 am »
1) For that screenshot, Scale Mode actually made the text slightly smaller than default mode.  If I widen the chat window though, it does scale larger.
__

2) What operating system are you using?
  • Windows: Open the address "%APPDATA%\PlaneShift" in your Windows Explorer or "Run..." dialog.

Aha, thanks! 
I knew I had to be missing these file locations, but I didn't see them last time I hunted/queried.  :-[

Yet, this file has the same options as others ".ScaleFont = true"
I can't seem to find a line with the starting font size, or a scale percent value I can change. 
« Last Edit: October 20, 2011, 07:41:14 am by TommyClaws »

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Re: Help finding Text size file?
« Reply #6 on: October 20, 2011, 08:04:39 am »
If you can't find it in "%APPDATA%\PlaneShift\planeshift.cfg", you could add it (but search for it to avoid double entries, this file is not sorted alphabetically).

I have "Font.ScalePercent = 90" in it — you might like to try e.g. "Font.ScalePercent = 120".

There is no guarantee that it is still used and interpreted; if not, it should be ignored as "unknown and unused", thus not provoke issues...

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

TommyClaws

  • Traveller
  • *
  • Posts: 10
    • View Profile
Re: Help finding Text size file?
« Reply #7 on: October 20, 2011, 09:02:03 am »
If you can't find it in "%APPDATA%\PlaneShift\planeshift.cfg", you could add it (but search for it to avoid double entries, this file is not sorted alphabetically).

I've been triple checking myself, scrolling through it manually, then I use the 'Find' option in WordPad with different words, and I still come up with nothing.
I tried adding the line, nothing.  Retitled and added it, still nothing.

I don't know why this one thing has become impossible for me!
So you are using Win?  It doesn't make sense why mine would be so different (I'm Win Vista x64, but still).

Oh well, I appreciate all the help. 
I'll have to come up with another solution I guess.

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Re: Help finding Text size file?
« Reply #8 on: October 20, 2011, 09:10:52 am »
Well, a forum is not a chat ... the best matching answers may take a while. The real developers may have better tips than me.

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

bilbous

  • Guest
Re: Help finding Text size file?
« Reply #9 on: October 20, 2011, 10:09:39 am »
you could try playing with the styles.xml file. It is in the data/gui subdirectory of the directory you installed the game into.
Quote
    <!-- Font used for all standard (non-editable, non-clickable) text -->
    <style name="Standard Font">
    <font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="121" g="147" b="42" size="9" shadow="no"  />
    </style>

might be the lines you want to change. as you can see mine defaults to size 9

I would further suggest that you define a new style to make the change and then change the location that calls it to refer to your custom definition.

Quote
   
    <style name="Custom Font">
    <font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="121" g="147" b="42" size="14" shadow="no"  />
    </style>

Then in the same file change
Quote
    <style name="Standard TextBox" inherit="Standard Font""Custom Font" >
    </style>

I'm not positive this will work for you as I have not tried it myself.