<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.obsidianconflict.net/?action=history&amp;feed=atom&amp;title=Decompiling_Left_4_Dead_Models%2Fzh-hans</id>
		<title>Decompiling Left 4 Dead Models/zh-hans - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.obsidianconflict.net/?action=history&amp;feed=atom&amp;title=Decompiling_Left_4_Dead_Models%2Fzh-hans"/>
		<link rel="alternate" type="text/html" href="https://wiki.obsidianconflict.net/?title=Decompiling_Left_4_Dead_Models/zh-hans&amp;action=history"/>
		<updated>2026-06-29T04:25:56Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.obsidianconflict.net/?title=Decompiling_Left_4_Dead_Models/zh-hans&amp;diff=1264&amp;oldid=prev</id>
		<title>HeadCrabD: Created page with &quot;== 反编译之前 ==  Decompiling Left 4 Dead models is a very annoying process and takes some time to figure everything out. This tutorial only covers decompiling the models fo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.obsidianconflict.net/?title=Decompiling_Left_4_Dead_Models/zh-hans&amp;diff=1264&amp;oldid=prev"/>
				<updated>2011-10-19T04:50:48Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== 反编译之前 ==  Decompiling Left 4 Dead models is a very annoying process and takes some time to figure everything out. This tutorial only covers decompiling the models fo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== 反编译之前 ==&lt;br /&gt;
&lt;br /&gt;
Decompiling Left 4 Dead models is a very annoying process and takes some time to figure everything out. This tutorial only covers decompiling the models for editing in a 3d program. There are plenty of tutorials that cover the rest of the process.&lt;br /&gt;
&lt;br /&gt;
To start, you will need the following programs/tools:&lt;br /&gt;
&lt;br /&gt;
* '''GCFScape:''' http://nemesis.thewavelength.net/index.php?p=25&lt;br /&gt;
* '''L4DMDLMod:''' http://l4dmods.com/downloads/l4dmdlmod.zip&lt;br /&gt;
* '''Cannonfodders Model Decompiler v0.4.1:''' http://www.chaosincarnate.net/cannonfodder/download.php?id=mdldecompiler.041.rar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setting Up Files &amp;amp; Folders ==&lt;br /&gt;
&lt;br /&gt;
* Install/configure [http://nemesis.thewavelength.net/index.php?p=25 GCFScape]&lt;br /&gt;
&lt;br /&gt;
* Place mdldecompiler.exe ([http://www.chaosincarnate.net/cannonfodder/mdldecompiler.php Cannonfodders Model Decompiler v0.4.1]) in your &amp;quot;...\sourcesdk\bin\ep1\bin&amp;quot; folder. ''(renaming it to &amp;quot;mdldecompiler041&amp;quot; isn't a bad idea)''&lt;br /&gt;
&lt;br /&gt;
* Create the following folders wherever you please (If you know what you're doing you don't have to do this):&lt;br /&gt;
 left4deadmodels\&lt;br /&gt;
 left4deadmodels\extracted&lt;br /&gt;
 left4deadmodels\fixed&lt;br /&gt;
 left4deadmodels\decompiled&lt;br /&gt;
&lt;br /&gt;
* Create a folder for each model in the &amp;quot;decompiled&amp;quot; folder, otherwise you'll keep overwriting files. Example:&lt;br /&gt;
 left4deadmodels\decompiled\model_1&lt;br /&gt;
 left4deadmodels\decompiled\model_2&lt;br /&gt;
 left4deadmodels\decompiled\model_3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Extracting &amp;amp; Fixing ==&lt;br /&gt;
&lt;br /&gt;
* Open up [http://nemesis.thewavelength.net/index.php?p=25 GCFScape], go to File &amp;gt; Open and find &amp;quot;.\steam\steamapps\common\left 4 dead\left4dead\pak01_dir.vpk&amp;quot;. When you find the model you want to decompile, extract it to your left4deadmodels\extracted folder you created earlier. Leave [http://nemesis.thewavelength.net/index.php?p=25 GCFScape] open as you will need it again soon for the models materials.&lt;br /&gt;
* Now you can run L4DMDLMod. MDL File is the mdl file in your left4deadmodels\extracted folder. You want to &amp;quot;Save data for decompiling to&amp;quot; your left4deadmodels\fixed folder. Click MOD MDL!, and when it completes exit L4DMDLMod.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Decompiling ==&lt;br /&gt;
&lt;br /&gt;
'''Note: [http://www.chaosincarnate.net/cannonfodder/mdldecompiler.php Cannonfodders Model Decompiler v0.4.1] does not work on all Windows Vista PC's. If this process doesn't work, ask a friend with XP to do this for you.'''&lt;br /&gt;
&lt;br /&gt;
* Run mdldecompiler041.exe ([http://www.chaosincarnate.net/cannonfodder/mdldecompiler.php Cannonfodders Model Decompiler v0.4.1]) in your &amp;quot;...\sourcesdk\bin\ep1\bin&amp;quot; folder.&lt;br /&gt;
*If you get an error similar to:&lt;br /&gt;
 Extra App ID set to 211, but no SteamAppID&lt;br /&gt;
You will need to go to your &amp;quot;.\steam\steamapps\[steamid]\half-life 2\hl2\gameinfo.txt&amp;quot; and comment out the ToolsAppID line like so:&lt;br /&gt;
 '''//'''ToolsAppId                        211&lt;br /&gt;
* If it shows the error again try doing the same thing for your Counterstrike: Source gameinfo.txt and the gameinfo.txt in your &amp;quot;.\sourcesdk\launcher&amp;quot; folder.&lt;br /&gt;
* &amp;quot;Choose Model File&amp;quot; should point to the mdl file you wish to decompile in your left4deadmodels\fixed folder. &amp;quot;Choose Output Directory&amp;quot; should point to the models decompiled folder. (Ex. left4deadmodels\decompiled\model_1). Uncheck &amp;quot;Use Steam File Access&amp;quot; then press Extract. Repeat this for each mdl file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Materials ==&lt;br /&gt;
&lt;br /&gt;
* Now that the models are decompiled, you can look in each of their qc files for the materials they use.&lt;br /&gt;
* Use [http://nemesis.thewavelength.net/index.php?p=25 GCFScape] to extract them to the corresponding models folder (Ex. left4deadmodels\decompiled\model_1).&lt;br /&gt;
* Open the qc again and find the line beginning with $cd. Change the path to &amp;quot;.\&amp;quot;, which points to the folder the qc file and materials resides in.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can now do what you will with your decompiled Left 4 Dead models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Miscellaneous_Tutorials]]&lt;/div&gt;</summary>
		<author><name>HeadCrabD</name></author>	</entry>

	</feed>