How to enable the developer console

Discussion in 'Euro Truck Simulator 2' started by MadDog, Feb 4, 2018.

  1. MadDog

    MadDog Beheerder Staff Member

    How to enable the developer console

    The developer console is not just a powerful tool to gain immediate access to certain game variables and commands for power users, mappers, modders and so on.
    It's also something your average user might want to have enabled for reporting bugs, taking screenshots (though the new photo edit mode is good for that as well) and for mod users who want to see if that new mod he installed has any issues. Errors will be shown in red in the console so you don't have to check your game log to know if the mod worked or not.

    What do i need to do to enable it?

    Don't worry, this isn't advanced at all. Just follow these 5 simple instructions.

    1. Locate your Euro Truck Simulator 2 home directory and config file

    The home directory is where all your settings, profiles, mods, save files and in game screenshots are stored.
    You can find it in your "My Documents\Euro Truck Simulator 2" folder.

    Fig 1. Your ETS 2 home directory with the config file to edit for developer console.
    [​IMG]

    2. Open the config file with Notepad

    Right click the file, select "Open with" and pick "Notepad". (If "Notepad" doesn't show up in the list then click on "Choose default program..." and find Notepad in there. (Post in thread if this is unclear to you)

    Fig 2. Open the config file with Notepad.
    [​IMG]

    3. Change two lines to enable developer console in game

    The two lines you need to change are:


    CODE: SELECT ALL

    uset g_developer "0" → Change the "0" to a "1"
    uset g_console "0" → Change the "0" to a "1"

    Fig 3. Edit the config file.
    [​IMG]

    4. Save the file

    In Notepad, click on "File" → "Save".

    Fig 4. Save the file.
    [​IMG]

    5. Run the game, open and close your console to ensure it works

    Start the game, press the "~" key (console key) to open and close the console.
    Due to the many many keyboard layouts in the world this key may not have a "~" character on it. Therefore, press the key that is depicted in Fig 5.

    Fig 5. The console open/close key.
    [​IMG]

    ALL DONE, YOU HAVE SUCCESSFULLY ENABLED DEVELOPER CONSOLE IN ETS 2!
     

Share This Page