How to decompile Valve Portal Maps: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '== Introduction == In this step-by-step tutorial, you will learn how to decompile Valve's Portal maps. == Tutorial == # Install GCFScape (you can find out about it [[GCFSca…')
 
Line 5: Line 5:


# Install GCFScape (you can find out about it [[GCFScape|here]]).
# Install GCFScape (you can find out about it [[GCFScape|here]]).
# After you install GCFScape, go to <code>File&gt;&gt;Open</code>. Open <code>C:\Program Files\Steam\steamapps\''username''\portal content.gcf</code>. {{note|This may not be your directory. If it isn't, go to the discussion page and your questions will likely be answered.}}
# After you install GCFScape, go to <code>File&gt;&gt;Open</code>. Open <code>C:\Program Files\Steam\steamapps\''username''\portal content.gcf</code>.  
{{note|64-bit users will need to use Program Files (x86) instead.}}
{{note|Very old installations of Steam may be inside a Valve folder in Program files.}}
# Go to the <code>maps</code> folder.
# Go to the <code>maps</code> folder.
# The Portal map [[.bsp]] files are here. Right-click on the one you want, then click <code>Extract</code>.
# The Portal map [[.bsp]] files are here. Right-click on the one you want, then click <code>Extract</code> or drag the file from the GCF into a folder.
# Now, open [[VMEX]] and decompile the map. When you open it with the [[:Category:Hammer|Hammer Editor]], the map should be there.
# Now, open [[VMEX]] and decompile the map. You can then open it with the [[:Category:Hammer|Hammer Editor]], the file will be named originalname_d.vmf.


== See also ==
== See also ==

Revision as of 15:55, 9 October 2010

Introduction

In this step-by-step tutorial, you will learn how to decompile Valve's Portal maps.

Tutorial

  1. Install GCFScape (you can find out about it here).
  2. After you install GCFScape, go to File>>Open. Open C:\Program Files\Steam\steamapps\username\portal content.gcf.
Note.pngNote:64-bit users will need to use Program Files (x86) instead.
Note.pngNote:Very old installations of Steam may be inside a Valve folder in Program files.
  1. Go to the maps folder.
  2. The Portal map .bsp files are here. Right-click on the one you want, then click Extract or drag the file from the GCF into a folder.
  3. Now, open VMEX and decompile the map. You can then open it with the Hammer Editor, the file will be named originalname_d.vmf.

See also