The Source engine is a 3D game engine developed by Valve Corporation. Its unique features include a large degree of modularity and flexibility, an artist-driven, shader-based renderer, accurate lip sync and facial expression technology, and a powerful, efficient and completely network-enabled physics system.

Report article RSS Feed HD Video Tutorial - Decompiling Maps

Learn how to use GCFScape and VMEX to extract and decompile an official Valve map to bring it into Hammer.

Posted by Silverfisk on May 24th, 2010
Intermediate Mapping/Technical.

Rundown
First we launch the game with the console enabled to find the name of the map we want. Then we download GCFScape and unpack it to our [...]/Steam/steamapps/ folder.

Then we use GCFScape to open up the desired GCF file and unpack the map we found the name of using the console earlier.

We then download VMEX and JRE 5 (Java Runtime Environment) which is required for VMEX to function. Then we install the JRE, unpack VMEX and use it to decompile the map which we then open up in Hammer.


Links
GCFScapeVMEXJRE 5

Please give me a comment telling me what you think.
Also, don't forget to give me tutorial requests!
Post comment Comments
ᎶʋƝʂℋɨƤ_ℳƘ_ƖƖ
ᎶʋƝʂℋɨƤ_ℳƘ_ƖƖ May 25 2010, 6:21am says:

This is VERY useful!

Thanks you very much!

+3 votes     reply to comment
Billlyy
Billlyy May 26 2010, 8:17pm replied:

Wish I could use this.. My hammer has no grid lines again

+3 votes     reply to comment
Jike
Jike Dec 5 2010, 8:17am replied:

Then you are using the wrong Engine Version. Mods belong into Source 2007. Every other Source Game except the old Half Life Conversions and Half-Life 2: Deathmatch belong into Source 2009. Launching a mod in Hammer from the wrong Engine Version results in losing the grid and overlays not working correctly. Generally, what happens is major upfuck...

+1 vote     reply to comment
Mesmaroth
Mesmaroth Jan 5 2013, 1:51am replied:

go to your gameinfo.txt change the steam app id game or what ever to from 420(EP2) to 218(OB) then you can see the grid

+1 vote     reply to comment
altercuca
altercuca May 25 2010, 7:23am says:

great work m8, thanks for this :D

+2 votes     reply to comment
Silverfisk
Silverfisk May 27 2010, 10:01am replied:

Thanks for your praise everyone!
I'm glad you like it.

+1 vote     reply to comment
cW#Ravenblood
cW#Ravenblood May 25 2010, 9:08am says:

Cool tutorial man!

+1 vote     reply to comment
Ichiman94
Ichiman94 May 25 2010, 12:01pm says:

off: what Os you use? vista or 7?
on: good tut

+1 vote     reply to comment
Silverfisk
Silverfisk May 27 2010, 9:55am replied:

off: I use Windows 7.
on: Thanks! :)

+1 vote     reply to comment
wazanator
wazanator May 25 2010, 4:20pm says:

Good tutorial as always :D

For people that are planning to use this:
Please keep in mind that most people do not like you decompiling there maps then blatantly stealing a part of it or changing something in it you feel needs to be changed and re-releasing it.

In short, decompile maps for education only :)

+2 votes     reply to comment
SysOp.
SysOp. May 26 2010, 5:38pm says:

Awesome! Although I don't develop for HL2, I always track your stuff mate.

And, yeah! Decompile only for information purposes!

+1 vote     reply to comment
Silverfisk
Silverfisk May 27 2010, 9:58am replied:

That's good to hear, thanks! :)
Like you and wazanator points out, you should only use decompiling for learning purposes.

+1 vote     reply to comment
ieatsofas
ieatsofas May 28 2010, 3:59pm says:

You have a speedy computer. =)

+1 vote     reply to comment
Silverfisk
Silverfisk May 28 2010, 5:50pm replied:

Hehe, I just cut the waiting parts out, not much learning going on there. ;P

+1 vote     reply to comment
MrCake
MrCake May 30 2010, 7:20am says:

what is your pc setup?

+1 vote     reply to comment
Silverfisk
Silverfisk Jun 8 2010, 1:22pm replied:

AMD 6400+ (dual core)
2GB RAM
Nvidia 9800GT

+1 vote     reply to comment
ericxianrocks
ericxianrocks Aug 3 2010, 12:35am says:

when i try to decompile it. The vmex.bat thing just closes .

+1 vote     reply to comment
Technodude010
Technodude010 Aug 27 2010, 12:17pm says:

Love your tutorials, the best. I have a request: A while ago i played a map called DM_Bridge and it hd alot of cars driving, same thing other day I saw cars driving in a sealed off part of de_nukein CS:S(right behind the CT spawn). Can you make a tutorial on how to do this, please?

+1 vote     reply to comment
bassetfilms
bassetfilms Dec 31 2010, 5:30pm says:

Thanks! this was really helpful!

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Platforms
Windows, PS3, X360, XBOX
Company
Valve
Contact
Send Message
Official Page
Valvesoftware.com
Licence
Commercial
Release Date
Released Oct 31, 2004
Engine Watch
Track this engine
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Engines
Source
Source Commercial Released Oct 31, 2004
Related Groups
Level Design Group
Level Design Group Hobbies & Interests group with 572 members
The Human Pond
The Human Pond Hobbies & Interests group with 9 members
Valve
Valve Developer & Publisher