<?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</id>
		<title>Decompiling Left 4 Dead Models - 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"/>
		<link rel="alternate" type="text/html" href="https://wiki.obsidianconflict.net/?title=Decompiling_Left_4_Dead_Models&amp;action=history"/>
		<updated>2026-05-10T13:47:16Z</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&amp;diff=1263&amp;oldid=prev</id>
		<title>HeadCrabD at 04:49, 19 October 2011</title>
		<link rel="alternate" type="text/html" href="https://wiki.obsidianconflict.net/?title=Decompiling_Left_4_Dead_Models&amp;diff=1263&amp;oldid=prev"/>
				<updated>2011-10-19T04:49:57Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:49, 19 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Languages}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Getting Started ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Getting Started ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>HeadCrabD</name></author>	</entry>

	<entry>
		<id>https://wiki.obsidianconflict.net/?title=Decompiling_Left_4_Dead_Models&amp;diff=338&amp;oldid=prev</id>
		<title>Shiftey: New page: == Getting Started ==  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 ...</title>
		<link rel="alternate" type="text/html" href="https://wiki.obsidianconflict.net/?title=Decompiling_Left_4_Dead_Models&amp;diff=338&amp;oldid=prev"/>
				<updated>2008-12-21T09:55:58Z</updated>
		
		<summary type="html">&lt;p&gt;New page: == Getting Started ==  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 ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Getting Started ==&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>Shiftey</name></author>	</entry>

	</feed>