Changing CS:S Menu Font

Credits

Submitter
  • P6: Merchant
    Points: 231,318
  • E1: Helper
    EF: 17
  • C1: Member
  • A6: Elder
    Account Age: 7 years
modderfreak (Creator/Co-creator)
Studio
Avenger Corp.™
Key Authors
modderfreak
Unknown

Rating

9.6/10
Based off 12 rating(s)

Additional Info

Genre
Other/Misc
Difficulty Level
Intermediate

Stats

Post Count
39
ViewCount
31,134
Date Added
5 years ago
Date Modified
6 months ago

Share

Embed Code
Code to use:

More embeddable images

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\Valve\Steam\SteamApps" folder and open "source engine.gcf".
  • 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*youraccountname*\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.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    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 !

    Real-Old SWAT-David
    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    It works perfectly! :D nice tutorial

    Bananite
    • P2: Drudge
      Points: 1,239
    • C1: Member
    • A4: Graduate
      Account Age: 4 years

    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..)

    IMMA FIRIN' MALAYSIA!!
    • P6: Merchant
      Points: 231,318
    • E1: Helper
      EF: 17
    • C1: Member
    • A6: Elder
      Account Age: 7 years

    Ugh, try running a consistency check?

    Respect is everything.
    • P2: Drudge
      Points: 1,529
    • E2: Guide
      EF: 27
    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    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.
    • P1: Beggar
      Points: 318
    • C1: Member
    • A5: Veteran
      Account Age: 5 years

    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
    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    Hmm I did everything step by step but my menu font didn't change :S

    Bananite
    • P1: Beggar
      Points: 206
    • C1: Member
    • A5: Veteran
      Account Age: 4 years

    K sorry got it.

    Want Some ? ~ Get some!
    • P6: Merchant
      Points: 231,318
    • E1: Helper
      EF: 17
    • C1: Member
    • A6: Elder
      Account Age: 7 years
    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.
    • P1: Beggar
      Points: 206
    • C1: Member
    • A5: Veteran
      Account Age: 4 years

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

    Want Some ? ~ Get some!