How To Download Csgo Map File For Hammer
CS:Become SDK How to Decompile Maps to Reverse Engineer and Improve Your Work
Category: Source: CSGO SDK
August 18, 2016
BSP is a compiled map file that Source Engine uses to run your map inside the game.
VMF is Valve Map Format file and it is the raw data of your map. VMF file is what you open up, salve and piece of work on within Hammer Source level editor.
All last, official maps within CS:Get are BSP map files. In lodge to open them within Hammer Source level editor, you have to decompile them and generate a .VMF file.
Decompiling is a process generating .VMF file from a compiled .BSP file.
Why would you desire to decompile?
Each map contains valuable lessons, tips and techniques waiting for you to acquire from.
Y'all can reverse engineer how a map was created, how it was optimized and which techniques were used to generate a specific result.
For instance, yous tin can learn how such expansive skybox was created on de_nuke:
Or how cs_italy was optimized:
It is important to annotation:
"Decompiled levels mimic the original source, they are not exact reproductions. This makes them useful for learning, measurement, and inspection, but not direct recompilation. The original source is ideal for reproductions or modifications." - From Valve Wiki
Disclaimer Earlier Decompiling Whatsoever Map
Merely decompile to learn and audit these maps to improve your own work.
You should not copy, recompile and release decompiled maps.
"Releasing reproductions, modifications, or approximations of some other's piece of work without permission nor credit is frowned upon and may be considered as a copyright violation." - From Valve Wiki
Downloading Decompiler
At that place are many decompilers available:
- EntSpy (view/edit entities of a BSP without recompiling)
- BSPSource (open source map decompiler for Source engine maps, based on VMEX) - the one we are going to use
- VMEX (decompiler for Source engine maps)
- MapFool (helps porting HL1 maps to Source)
- xwad (command-line tool to convert texture formats)
- BSP2MAP (for HL1 engine)
- WinBSPC (for HL1 engine)
- BSP Viewer (for HL1 engine)
Y'all can come across a full list and download links on official Valve Wiki hither.
We will cover BSPSource. It is what I personally utilize and it works with great with CS:GO maps.
Valve lists a few download links where to notice BSPSource decompiler. You lot tin can find it here on this page.
I cannot attest to the download links and their sources. Yous take all responsibility of download from them.
Go alee and download BSPSource decompiler.
Running BSPSource Decompiler
Extract BSPSource cipher/rar folder and open ane of the post-obit files:
- Windows: open bspsrc.bat or bspsrc.jar
- Linux/MacOS: open bspsrc.sh or bspsrc.jar
Double-click on bspsrc.jar to open up BSPSource GUI:
All you demand now is click on "Add" and wait for BSP file to decompile. But we are going to get through an extra step.
Getting Your BSP Map Files In Social club
Following section is option just important.
I do non like decompiling original BSP map files located in the default installation binder for CS:Go:
So I copy the BSP map files I want to decompile from "C:\Program Files (x86)\Steam\SteamApps\common\Counter-Strike Global Offensive\csgo\maps". I chose to copy cs_militia:
Go to sdk content folder located in "C:\Program Files (x86)\Steam\SteamApps\common\Counter-Strike Global Offensive\sdk_content":
Create a new folder named "decompiledmaps":
You tin name this folder anything you want.
Paste the copied .BSP map file into this new folder:
It is an actress safety step to avoid any issues that may come upward from decompiling original .BSP files.
Reason we chose sdk_content folder will exist credible later. "C:\Plan Files (x86)\Steam\SteamApps\common\Counter-Strike Global Offensive\sdk_content" directory is where Hammer Source level editor looks into to open .VMF files.
Decompiling Maps
Launch BSPSource:
Under Files tab click on "Add together":
Navigate to "C:\Program Files (x86)\Steam\SteamApps\common\Counter-Strike Global Offensive\sdk_content\decompiledmaps" and choose the copied BSP map file you want to decompile. Double click on the file or select multiple BSP files and click Open:
You volition encounter the added BSP file/s. Now click on "Decompile":
BSPSource will now ask where you want to relieve your decompiled map into. I kept information technology to the same directory "decompiledmaps":
Decompiler will run and generate a VMF file:
Opening Decompiled Maps
Launch Hammer Source Level editor:
Get to File > Open:
Choose decompiled .VMF file inside "decompiledmaps" folder:
Yous now take a decompiled map opened within the level editor that you tin can larn and report from:
Decompiling Maps That Contain Custom Props/Textures
Some maps may custom props and textures that were packed into the BSP file by the creators. These props and textures volition non show upwardly in the map subsequently decompiling.
You will experience error_props and blank textures if you decompile a map with these custom assets:
Y'all tin nonetheless learn from these maps. Delete the error props to see the map better.
Resource:
developer.valvesoftware.com/wiki/Decompiling_Maps
developer.valvesoftware.com/wiki/BSPSource
Read Next: CS:GO SDK How to Compile and Run Your First Map
How To Download Csgo Map File For Hammer,
Source: https://www.worldofleveldesign.com/categories/csgo-tutorials/csgo-decompiling-maps.php
Posted by: benefieldbeciong.blogspot.com

0 Response to "How To Download Csgo Map File For Hammer"
Post a Comment