Portal 2 - Authoring Tools

From Valve Developer Community
Jump to navigation Jump to search
English (en)한국어 (ko)Русский (ru)中文 (zh)Translate (Translate)
This article is about a tool. For documentation of Portal 2 tools, see Portal 2 Documentation.
Authoring Tools.jpg

The Portal 2 Authoring Tools is a download containing files needed to make mods and Hammer-based maps for Portal 2. The Portal 2 Authoring Tools are available for free on Steam to all owners of the PC version of Portal 2. Note that most Portal 1 level design theory applies to Portal 2 as well. Newer information for Portal 2 may be found at Category:Portal 2 Level Design.

For more extended information, see the Level Design FAQ and Category:Level Design.

Downloading and Installation

To install the Portal 2 Authoring Tools:

  1. Open your Steam library (or click here to download)
  2. In the drop-down menu that says Games by default, check Tools if it isn't already.
  3. Double-click on the Portal 2 Authoring Tools entry.

The Portal 2 Authoring Tools will download to your computer via Steam. To open the launcher (pictured right), run it from the Steam library or a shortcut.

Linux compatibility

The Portal 2 Authoring Tools do not have native Linux support.
To run them on Linux regardlessly, do the following:

  • Set Portal 2 and Portal 2 Authoring Tools to run under Proton.
  • Add this launch option: PROTON_USE_WINED3D=1 %command%
Note.pngNote: Running Portal 2 through hammer with "Run Map" (F9), may result in visual bugs in the form of screen flickering.

Launcher Customization

Modified SDK Launcher using all three files associated
Custom SDK Launcher

The SDK Launcher opens if you run the Portal 2 Authoring Tools through steam or through the SDK Launcher executable in Portal2/bin. This allows you to open Hammer, Model Viewer, and Faceposer by default.

By editing "MediaList.txt, sdklauncher_dialog.res, and sdklauncher_scheme.res" under Portal2/bin/SDKLauncher, the SDK Launcher can be heavily customized.
Editing these files can be used to create a dark mode theme and more.

Extra items can be added to the list of items with custom icons.
All icons are located in the vgui folder within the SDKLauncher folder. More can be added through MediaList.txt but it is very important that the custom icon is exported with RLE compression turned off.

Example files with additional explanations. (Used for image below)

The SDK Launcher modified to have a dark theme and additional items.



Navigation