Releasing A Portal 2 Map: Difference between revisions
Jump to navigation
Jump to search
Tip:As an added convenience, a folder can also be dragged onto a shortcut of '
Tip:Because of the bug you can also rename the vmf file pak0#_dir.vpk (make sure you don't use the number 1 for valve is already using it) and put it in the common\portal2\portal2 folder or any of the portal2_dlc folders.
Note:If you have the Sixense MotionPack DLC, you will most likely have to create the folder in '
Note:The last Website is for PeTI maps
m (pak01.vpk -> pak01_dir.vpk) |
(Use a messagebox here) |
||
Line 4: | Line 4: | ||
}} | }} | ||
{{ | {{messagebox | ||
|text = '''The VPK addon system is no longer functional as of the Peer Review update released on Oct. 4, 2011. No information has been given as to why this was changed/broken.''' | |||
|small = Individual maps can be [[Portal 2 vote page|released via the Steam Workshop]], and custom VPKs can be installed by renaming it to <code>pak01_dir.vpk</code> and placing it in a new DLC folder, such as portal2_dlc3. | |||
|image = [[File:Red x.png|link=]] | |||
|bdcolor = #B22222 | |||
}} | |||
Now that you have made your brilliant map you need a way to get this out to the public. If your map happens to have custom content such as sounds, scripts and materials the best way to release it is putting it inside a [[VPK]]. This collects all of your content into a single file and makes it easy to distribute. | Now that you have made your brilliant map you need a way to get this out to the public. If your map happens to have custom content such as sounds, scripts and materials the best way to release it is putting it inside a [[VPK]]. This collects all of your content into a single file and makes it easy to distribute. |
Revision as of 17:32, 26 April 2020

The VPK addon system is no longer functional as of the Peer Review update released on Oct. 4, 2011. No information has been given as to why this was changed/broken.
Individual maps can be released via the Steam Workshop, and custom VPKs can be installed by renaming it to
Individual maps can be released via the Steam Workshop, and custom VPKs can be installed by renaming it to
pak01_dir.vpk
and placing it in a new DLC folder, such as portal2_dlc3.Now that you have made your brilliant map you need a way to get this out to the public. If your map happens to have custom content such as sounds, scripts and materials the best way to release it is putting it inside a VPK. This collects all of your content into a single file and makes it easy to distribute.
Creating the VPK
- Create a folder and label it with your addon name.
- This folder should now mimic the structure of the '
Portal 2\portal2\
' folder. - Start with adding a folder called
maps
and add in your compiled .BSP. - If you have any scripts be sure it lies in the same relative folder inside
scripts\vscripts
. - The same applies for
sounds
andmaterials
. - Inside '
Portal 2\bin\
' there is an executable called 'vpk.exe
'. Drag your folder you created in step 1 onto this executable. - You will now have a .VPK file in the same folder with the same name.

vpk.exe
' (provided in Portal 2) in any location.
Installing the VPK

Portal 2\portal2_sixense.
'- Create a folder in '
Portal 2\portal2\
' calledaddons
. - Place your .VPK file inside the
addons
folder. - If Portal 2 was running during step 2, type the following in the console:
update_addon_paths
. Otherwise, skip to the next step. - To load a single player map, type in the console:
map mymap
and replace mymap with the name of your map. - To load a Co-op map, start a Co-op game with your friend, once you enter the hub type in console:
changelevel mymap
replace mymap with the name of your map.
Useful Websites
You can upload your map in many websites. Here are some of them:
- http://www.thinking.withportals.com
- http://www.map-factory.org (Down)
- http://www.portal2maps.net (Broken)
- http://www.moddb.com/games/portal-2
- http://steamcommunity.com/app/620/workshop/

You can also Upload them to file-sharing websites like Rapidshare or Mediafire.