Changing CS:S Menu Font

A Tutorial for Counter-Strike: Source

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending modderfreak points.
  • Post: Give modderfreak your thoughts on this Tutorial.
  • Vote: Help modderfreak win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Resistance is futile...

Sign up

Already a Bananite? Login

After the release of my CS1.5 Menu Conversion loads of people asked how I changed the font of the CSS menu, so here you go. This tutorial will only cover how to use custom fonts and change their size, not how to change the colour etc. - there are other tutorials regarding these topics. Required ======== Programs:
  • GCF Scape
  • WordPad, Notepad or any similar editor
Other:
  • A working, updated CSS installation
  • The custom font you want to use in .ttf format
Changing the font ================= Extracting First of all, we need to extract the file "SourceScheme.res" out of the GCF archive:
  • For this, go to your "C:\Program Files\Steam\SteamApps\common\counter-strike source\cstrike" folder and open "cstrike\_pak\_dir.vpk".
  • Go to "root\hl2\resource\" and extract the file "SourceScheme.res".
Editing
  • Open up your "SourceScheme.res" file with WordPad, Notepad or any similar editor.
  • Search the line ""MenuLarge"", it will look like this:
    	"MenuLarge"
    	{
    		"1"
    		{
    			"name"		"Verdana"
    			"tall"		"16"
    			"weight"	"600"
    			"antialias" "1"
    		}
    	}
    
    The line "name" controls the font CSS uses to display the menu. You can now change it to the name of your custom font, in my example the font I use is named "adler":
    	"MenuLarge"
    	{
    		"1"
    		{
    			"name"		"adler"
    			"tall"		"16"
    			"weight"	"600"
    			"antialias" "1"
    		}
    	}
    
  • You can also change the size of the menu through editing the line "tall", in my example I wanted it very big therefore I changed it from 16 to 30:
    	"MenuLarge"
    	{
    		"1"
    		{
    			"name"		"adler"
    			"tall"		"30"
    			"weight"	"600"
    			"antialias" "1"
    		}
    	}
    
Now we need CSS to know where the font is located therefore it can load it at the startup: Scroll down to the end of the "SourceScheme.res" file, you will see these lines:
	//////////////////////// CUSTOM FONT FILES /////////////////////////////
	//
	// specifies all the custom (non-system) font files that need to be loaded to service the above described fonts
	CustomFontFiles
	{
		"1"		"resource/HALFLIFE2.ttf"
	}
Add a new line with your custom font name, in my case, it's still "adler". Notice that the number of the new line has to be in a row, therefore if you add it as a second font, you have to change the "1" to a "2":
	//////////////////////// CUSTOM FONT FILES /////////////////////////////
	//
	// specifies all the custom (non-system) font files that need to be loaded to service the above described fonts
	CustomFontFiles
	{
		"1"		"resource/HALFLIFE2.ttf"
		"2"		"resource/adler.ttf"
	
	}
}
Saving and files
  • Save your "SourceScheme.res" file in your Counter-Strike: Source resource folder, the path to it will look like this: "C:\Program Files\Valve\Steam\SteamApps\common\counter-strike source\cstrike\resource"
  • Don't forget to save your font there too!
You're done, if you followed every step right CSS will use a custom font for displaying the menu the next time you start it. Screenshot #2 shows how your "resource" folder should/could look like. Screenshot #3 is an example how your customized menu can look like ingame.

Posts

  • 4y
    DarkPower202 avatar
    Member Joined 4y
    164 points Ranked 20393rd
    Hello, _How did you change the text?_

    **Example :** Find Servers > Join Game
     avatar
    Mantra
  • 8y
    .:S.W.A.T:. avatar
    Member Joined 9y
    VERY COOL ! NOTHING TO SAY ! I can do it without GCF scape or something else ! WordPad ! LOl ! It helps me so much ! It do the game coolest then it is !

    10/10

    Real-Old SWAT-David avatar
    Mantra
    Real-Old SWAT-David
  • 8y
    It works perfectly! :D
    nice tutorial
    Bananite
  • 8y
    Esix Twoone avatar
    Member Joined 9y
    1,384 points Ranked 3401st
    Hi.. i have this VERY annoying CONSOLE font..
    make a tutorial of changeing that ^^
    i woud be grateful

    (ah, sorry.. got it myself..
    theres a line that says: "consoleText" lol..)
    So I've returned, after 3 yrs.
  • 8y
    modderfreak avatar
    Member Joined 12y
    232,564 points Ranked 13th
    3 medals 1 rare
    • Reached 50 subscribers Medal icon
    • Received thanks 5 times Medal icon
    • Reached 10 subscribers Medal icon
    Ugh, try running a consistency check?
    Respect is everything. avatar
    Mantra
    Respect is everything.
  • 8y
    KhamaleonCona avatar
    Member Joined 9y
    1,529 points Ranked 3082nd
    I need some advice or help, my Game Cache File Scape program seems to be unresponsive when clicking on the SourceScheme.res and ends up having to be closed down. Can you help me? I would be grateful and it be considered appreciated.
    A true mapper is a happy one. avatar
    Mantra
    A true mapper is a happy one.
  • 8y
    NgoodRavens avatar
    Member Joined 11y
    318 points Ranked 12547th
    Good tut also just to add something if you have the font installed into your windows you dont have to do the custom font at the bottom of the .res file but if you want to make it for someone else its a good idea
    Bananite
  • 9y
    SneezR avatar
    SneezR Offline
    Member Joined 9y
    Hmm I did everything step by step but my menu font didn't change :S
    Bananite
  • 9y
    Kazuya- avatar
    Kazuya- Offline
    Member Joined 10y
    231 points Ranked 16006th
    K sorry got it.

    8.8/10

    Want Some ? ~ Get some!
  • 9y
    modderfreak avatar
    Member Joined 12y
    232,564 points Ranked 13th
    3 medals 1 rare
    • Reached 50 subscribers Medal icon
    • Received thanks 5 times Medal icon
    • Reached 10 subscribers Medal icon
    Posted by Kazuya-

    Very good tutorial , well made and every step is noticed, very informative , but a bit complicated for beginners

    Take a close look at the difficulty level. It says intermediate, not beginner.
    Respect is everything. avatar
    Mantra
    Respect is everything.

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share
Sign up to access this!

Credits

Key Authors
modderfreak
Unknown

Submitter

modderfreak avatar
Member Joined 12y
232,564 points Ranked 13th
3 medals 1 rare
  • Reached 50 subscribers Medal icon
  • Received thanks 5 times Medal icon
  • Reached 10 subscribers Medal icon

modderfreak
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Details

Difficulty Level
Intermediate Difficulty

Attributes

Stats

Posts
33
Views
47,226
Date Added
10y
Date Modified
4y
Sign up to access this!

More from Submitter

WiPs by Submitter

More from Studio

WiPs by Studio

bcp.crwdcntrl.net tracking pixel