PlaneShift
Development => PlaneShift Mods => Topic started by: TommyClaws on October 20, 2011, 08: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.
-
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.
-
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.
-
No luck. I give up for now.
I hope we can find a solution, because I can't game like this.
(http://i1206.photobucket.com/albums/bb460/Tclaws/smalltext.jpg)
And yes, I know I'm using a large widescreen size/aspect that I'd prefer not to reduce.
-
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).
-
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.
-
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...
-
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.
-
Well, a forum is not a chat ... the best matching answers may take a while. The real developers may have better tips than me.
-
you could try playing with the styles.xml file. It is in the data/gui subdirectory of the directory you installed the game into.
<!-- 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.
<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
<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.