1. Click here to join our community discord server.

How to Create a .cfg File

Discussion in 'General Discussion' started by erik, Nov 29, 2012.

  1. erik

    erik MG Donor

    Have had lots of questions about this...

    Some gamers like to have .cfg files with code/lines they pasted-in from
    places like gamebanana.com (they don't compile .vpk's there and, instead, make you use scripts or .cfg's.)

    Usually, addons can be just downloaded in .vpk format and put in the addons folder.

    However, pasting information into a .cfg file can be tricky.

    It's a simple process... just have to do it properly.

    1.) In the file folder you want to put the .cfg file in, right-click in an empty space. Choose "New..." then "Text Document..."

    2.) When you "save" the document, make sure you choose "ALL FILE TYPES" in the 2nd bar. Then manually type your filename and end it with .cfg.

    3.) Refresh the folder you're in and make sure it's truly a .cfg file. How to verify? Right click on the file you saved, choose "properties" and make sure the extension is .cfg, NOT .txt.

    4.) Example of right file: samplename.cfg; NOT samplename.cfg.txt.

    Screenshot

    [​IMG]