<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://codresearch.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bad+Luck+Brian</id>
	<title>COD Engine Research - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://codresearch.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bad+Luck+Brian"/>
	<link rel="alternate" type="text/html" href="https://codresearch.dev/index.php/Special:Contributions/Bad_Luck_Brian"/>
	<updated>2026-06-05T22:38:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://codresearch.dev/index.php?title=Rawfile_Asset&amp;diff=434</id>
		<title>Rawfile Asset</title>
		<link rel="alternate" type="text/html" href="https://codresearch.dev/index.php?title=Rawfile_Asset&amp;diff=434"/>
		<updated>2014-05-10T21:51:28Z</updated>

		<summary type="html">&lt;p&gt;Bad Luck Brian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Assets]]&lt;br /&gt;
[[Category:CoD4]]&lt;br /&gt;
[[Category:MW2]]&lt;br /&gt;
[[Category:MW3]]&lt;br /&gt;
[[Category:Ghosts]]&lt;br /&gt;
[[Category:WaW]]&lt;br /&gt;
[[Category:BO1]]&lt;br /&gt;
[[Category:BO2]]&lt;br /&gt;
&lt;br /&gt;
The rawfile asset is used for a variety of things, usually with an extension identifying the type of rawfile. The rawfile asset itself has changed very little, while the actual rawfiles stored have changed. Keep in mind that Infinity Ward games past Call of Duty 4 compress their rawfiles using the same zlib compression that the FFs used. Keep in mind that every zone ends with a rawfile of the source FFs name that contains any compilation errors for that zone (usually none). &lt;br /&gt;
=== GSC Rawfiles ===&lt;br /&gt;
Call of Duty 4, Modern Warfare 2, and Black Ops 1 stored these script files as just basic rawfiles. After the GSC based mods that were important in the Modern Warfare 2 modding scene on TU6, TU7 removed the GSC processing and stores the precompiled gscs in the executable. Black Ops 1 uses rawfile based script files as well, except with security checks when connecting to other clients. After this, all games began using a script file asset that is very similar to the rawfile, except only used to the precompiled GSC scripts.&lt;br /&gt;
=== Vision Rawfiles ===&lt;br /&gt;
These are used to store global lighting settings that determine how the maps appears. Typically they simply set dvars, however on later CoDs they have additional commands. They are stored as basic text files at &amp;quot;raw/vision/&amp;quot;. For example, here is &amp;quot;vision/mp_shipment.vision&amp;quot; from Modern Warfare 2.&lt;br /&gt;
 r_glow                    &amp;quot;1&amp;quot;&lt;br /&gt;
 r_glowRadius0             &amp;quot;0&amp;quot;&lt;br /&gt;
 r_glowBloomCutoff         &amp;quot;0&amp;quot;&lt;br /&gt;
 r_glowBloomDesaturation   &amp;quot;0&amp;quot;&lt;br /&gt;
 r_glowBloomIntensity0     &amp;quot;0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 r_filmEnable				&amp;quot;1&amp;quot;&lt;br /&gt;
 r_filmContrast				&amp;quot;0.87104&amp;quot;&lt;br /&gt;
 r_filmBrightness			&amp;quot;0&amp;quot;&lt;br /&gt;
 r_filmDesaturation			&amp;quot;0.352396&amp;quot;&lt;br /&gt;
 r_filmInvert				&amp;quot;0&amp;quot;&lt;br /&gt;
 r_filmLightTint				&amp;quot;1.10838 1.10717 1.15409&amp;quot;&lt;br /&gt;
 r_filmDarkTint				&amp;quot;0.7 0.928125 1&amp;quot;&lt;br /&gt;
=== Shock and Rumble Rawfiles ===&lt;br /&gt;
These files are similar to vision files in that they set temporary dvars. They are often used at similar times. Shock files have a &amp;quot;.shock&amp;quot; extension and are stored as basic text files at &amp;quot;raw/shock/&amp;quot;. They are used for slowing the player down and adding a noise (usually a ringing noise), typically used in radiation exposure and near-death explosions. There are 2 types of rumble files, the primary rumble files (extensionless) and rumble graph files (.rmb extension), both of which are stored as basic text files at &amp;quot;raw/rumble/&amp;quot;. &lt;br /&gt;
=== Miscellaneous Rawfiles ===&lt;br /&gt;
There are several rawfiles that do not fit in any of the above categories. For instance the &amp;quot;video/cin_playlist.txt&amp;quot; contains the bik video playlist for the main multiplayer menu. It contains a number on the first line with the number of videos in the playlist following by the playlist. For example,&lt;br /&gt;
 1&lt;br /&gt;
 cod_intro&lt;br /&gt;
Just about every CoD game contains a &amp;quot;mp/playeranimtypes.txt&amp;quot; which contains an enum for all the animation types, used particularly in the weapon asset. Keep in mind there are many other .txt files and how they are processed varies with what they are used for. Another interesting rawfile in all the CoDs is the &amp;quot;mp/basemaps.arena&amp;quot;. That is used to store the list of maps to be used in the map list menu. Here is a single map definition from the Modern Warfare 2 .arena file.&lt;br /&gt;
 {&lt;br /&gt;
   map		&amp;quot;mp_highrise&amp;quot;&lt;br /&gt;
   longname	&amp;quot;MPUI_HIGHRISE&amp;quot;&lt;br /&gt;
   gametype	&amp;quot;dm war sab sab2 dom sd sd2 hc thc ctf koth&amp;quot;&lt;br /&gt;
   description	&amp;quot;MPUI_DESC_MAP_HIGHRISE&amp;quot;&lt;br /&gt;
   mapimage	&amp;quot;preview_mp_highrise&amp;quot;&lt;br /&gt;
   mapoverlay	&amp;quot;compass_overlay_map_blank&amp;quot;&lt;br /&gt;
   allieschar	&amp;quot;us_army&amp;quot;&lt;br /&gt;
   axischar	&amp;quot;opforce_airborne&amp;quot;&lt;br /&gt;
   environment	&amp;quot;urban&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
== Call of Duty 4 &amp;amp; World at War &amp;amp; Black Ops 1 &amp;amp; 2 ==&lt;br /&gt;
 struct RawFile&lt;br /&gt;
 {&lt;br /&gt;
   const char *name;&lt;br /&gt;
   int len;&lt;br /&gt;
   const char *buffer;&lt;br /&gt;
 };&lt;br /&gt;
Buffer&#039;s length is len plus one for the null byte at the end.&lt;br /&gt;
== Modern Warfare 2 &amp;amp; 3 &amp;amp; Ghosts ==&lt;br /&gt;
 struct RawFile&lt;br /&gt;
 {&lt;br /&gt;
   const char *name;&lt;br /&gt;
   int compressed_len;&lt;br /&gt;
   int decompressed_len;&lt;br /&gt;
   const char *buffer;&lt;br /&gt;
 };&lt;br /&gt;
Modern Warfare 2 rawfiles have the option to be compressed using minimum zlib compression or decompressed. If the rawfile is compressed, then buffer will be compressed data the size of compressed_len. If the rawfile isn&#039;t compressed, then compressed_len will be 0 and the length of buffer will be decompressed_len plus one for the null byte at the end.&lt;/div&gt;</summary>
		<author><name>Bad Luck Brian</name></author>
	</entry>
	<entry>
		<id>https://codresearch.dev/index.php?title=Rawfile_Asset&amp;diff=433</id>
		<title>Rawfile Asset</title>
		<link rel="alternate" type="text/html" href="https://codresearch.dev/index.php?title=Rawfile_Asset&amp;diff=433"/>
		<updated>2014-05-10T21:51:14Z</updated>

		<summary type="html">&lt;p&gt;Bad Luck Brian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Assets]]&lt;br /&gt;
[[Category:CoD4]]&lt;br /&gt;
[[Category:MW2]]&lt;br /&gt;
[[Category:MW3]]&lt;br /&gt;
[[Category:Ghosts]]&lt;br /&gt;
[[Category:WaW]]&lt;br /&gt;
[[Category:BO1]]&lt;br /&gt;
[[Category:BO2]]&lt;br /&gt;
&lt;br /&gt;
The rawfile asset iis used for a variety of things, usually with an extension identifying the type of rawfile. The rawfile asset itself has changed very little, while the actual rawfiles stored have changed. Keep in mind that Infinity Ward games past Call of Duty 4 compress their rawfiles using the same zlib compression that the FFs used. Keep in mind that every zone ends with a rawfile of the source FFs name that contains any compilation errors for that zone (usually none). &lt;br /&gt;
=== GSC Rawfiles ===&lt;br /&gt;
Call of Duty 4, Modern Warfare 2, and Black Ops 1 stored these script files as just basic rawfiles. After the GSC based mods that were important in the Modern Warfare 2 modding scene on TU6, TU7 removed the GSC processing and stores the precompiled gscs in the executable. Black Ops 1 uses rawfile based script files as well, except with security checks when connecting to other clients. After this, all games began using a script file asset that is very similar to the rawfile, except only used to the precompiled GSC scripts.&lt;br /&gt;
=== Vision Rawfiles ===&lt;br /&gt;
These are used to store global lighting settings that determine how the maps appears. Typically they simply set dvars, however on later CoDs they have additional commands. They are stored as basic text files at &amp;quot;raw/vision/&amp;quot;. For example, here is &amp;quot;vision/mp_shipment.vision&amp;quot; from Modern Warfare 2.&lt;br /&gt;
 r_glow                    &amp;quot;1&amp;quot;&lt;br /&gt;
 r_glowRadius0             &amp;quot;0&amp;quot;&lt;br /&gt;
 r_glowBloomCutoff         &amp;quot;0&amp;quot;&lt;br /&gt;
 r_glowBloomDesaturation   &amp;quot;0&amp;quot;&lt;br /&gt;
 r_glowBloomIntensity0     &amp;quot;0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 r_filmEnable				&amp;quot;1&amp;quot;&lt;br /&gt;
 r_filmContrast				&amp;quot;0.87104&amp;quot;&lt;br /&gt;
 r_filmBrightness			&amp;quot;0&amp;quot;&lt;br /&gt;
 r_filmDesaturation			&amp;quot;0.352396&amp;quot;&lt;br /&gt;
 r_filmInvert				&amp;quot;0&amp;quot;&lt;br /&gt;
 r_filmLightTint				&amp;quot;1.10838 1.10717 1.15409&amp;quot;&lt;br /&gt;
 r_filmDarkTint				&amp;quot;0.7 0.928125 1&amp;quot;&lt;br /&gt;
=== Shock and Rumble Rawfiles ===&lt;br /&gt;
These files are similar to vision files in that they set temporary dvars. They are often used at similar times. Shock files have a &amp;quot;.shock&amp;quot; extension and are stored as basic text files at &amp;quot;raw/shock/&amp;quot;. They are used for slowing the player down and adding a noise (usually a ringing noise), typically used in radiation exposure and near-death explosions. There are 2 types of rumble files, the primary rumble files (extensionless) and rumble graph files (.rmb extension), both of which are stored as basic text files at &amp;quot;raw/rumble/&amp;quot;. &lt;br /&gt;
=== Miscellaneous Rawfiles ===&lt;br /&gt;
There are several rawfiles that do not fit in any of the above categories. For instance the &amp;quot;video/cin_playlist.txt&amp;quot; contains the bik video playlist for the main multiplayer menu. It contains a number on the first line with the number of videos in the playlist following by the playlist. For example,&lt;br /&gt;
 1&lt;br /&gt;
 cod_intro&lt;br /&gt;
Just about every CoD game contains a &amp;quot;mp/playeranimtypes.txt&amp;quot; which contains an enum for all the animation types, used particularly in the weapon asset. Keep in mind there are many other .txt files and how they are processed varies with what they are used for. Another interesting rawfile in all the CoDs is the &amp;quot;mp/basemaps.arena&amp;quot;. That is used to store the list of maps to be used in the map list menu. Here is a single map definition from the Modern Warfare 2 .arena file.&lt;br /&gt;
 {&lt;br /&gt;
   map		&amp;quot;mp_highrise&amp;quot;&lt;br /&gt;
   longname	&amp;quot;MPUI_HIGHRISE&amp;quot;&lt;br /&gt;
   gametype	&amp;quot;dm war sab sab2 dom sd sd2 hc thc ctf koth&amp;quot;&lt;br /&gt;
   description	&amp;quot;MPUI_DESC_MAP_HIGHRISE&amp;quot;&lt;br /&gt;
   mapimage	&amp;quot;preview_mp_highrise&amp;quot;&lt;br /&gt;
   mapoverlay	&amp;quot;compass_overlay_map_blank&amp;quot;&lt;br /&gt;
   allieschar	&amp;quot;us_army&amp;quot;&lt;br /&gt;
   axischar	&amp;quot;opforce_airborne&amp;quot;&lt;br /&gt;
   environment	&amp;quot;urban&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
== Call of Duty 4 &amp;amp; World at War &amp;amp; Black Ops 1 &amp;amp; 2 ==&lt;br /&gt;
 struct RawFile&lt;br /&gt;
 {&lt;br /&gt;
   const char *name;&lt;br /&gt;
   int len;&lt;br /&gt;
   const char *buffer;&lt;br /&gt;
 };&lt;br /&gt;
Buffer&#039;s length is len plus one for the null byte at the end.&lt;br /&gt;
== Modern Warfare 2 &amp;amp; 3 &amp;amp; Ghosts ==&lt;br /&gt;
 struct RawFile&lt;br /&gt;
 {&lt;br /&gt;
   const char *name;&lt;br /&gt;
   int compressed_len;&lt;br /&gt;
   int decompressed_len;&lt;br /&gt;
   const char *buffer;&lt;br /&gt;
 };&lt;br /&gt;
Modern Warfare 2 rawfiles have the option to be compressed using minimum zlib compression or decompressed. If the rawfile is compressed, then buffer will be compressed data the size of compressed_len. If the rawfile isn&#039;t compressed, then compressed_len will be 0 and the length of buffer will be decompressed_len plus one for the null byte at the end.&lt;/div&gt;</summary>
		<author><name>Bad Luck Brian</name></author>
	</entry>
	<entry>
		<id>https://codresearch.dev/index.php?title=Main_Page&amp;diff=432</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://codresearch.dev/index.php?title=Main_Page&amp;diff=432"/>
		<updated>2014-05-10T21:50:41Z</updated>

		<summary type="html">&lt;p&gt;Bad Luck Brian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
Welcome to the Call of Duty Engine research wiki. The goal of this site is to organize information on any Call of Duty file system, structure system, functions, etc. Hopefully this table will help you browse our site effectively.&lt;br /&gt;
&lt;br /&gt;
Never edited a wiki before? Check out the [//meta.wikimedia.org/wiki/Help:Contents User&#039;s Guide] and then come back. ;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;&#039;&#039;&#039;NOTE: Editing has been disabled by normal and anonymous users until admins are finished.&#039;&#039;&#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td colspan=&amp;quot;2&amp;quot; width=&amp;quot;50%&amp;quot; valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Research==&lt;br /&gt;
* [[:Category:Utilities|Basic Utilities]]&lt;br /&gt;
* [[:Category:FastFiles|FastFiles and Zones]]&lt;br /&gt;
* [[:Category:PAK Files|PAK Files]]&lt;br /&gt;
* [[:Category:Assets|Assets]]&lt;br /&gt;
* [[:Category:DVARs|DVARs]]&lt;br /&gt;
* [[:Category:Save Files|Save Files]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td colspan=&amp;quot;2&amp;quot; width=&amp;quot;25%&amp;quot; valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Infinity Ward Games==&lt;br /&gt;
* [[:Category:CoD4|Modern Warfare]]&lt;br /&gt;
* [[:Category:MW2|Modern Warfare 2]]&lt;br /&gt;
* [[:Category:MW3|Modern Warfare 3]]&lt;br /&gt;
* [[:Category:Ghosts|Ghosts]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td colspan=&amp;quot;2&amp;quot; width=&amp;quot;25%&amp;quot; valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
==Treyarch Games==&lt;br /&gt;
* [[:Category:WaW|World at War]]&lt;br /&gt;
* [[:Category:BO1|Black Ops]]&lt;br /&gt;
* [[:Category:BO2|Black Ops 2]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
== Editing Basics ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Localisation#Translation_resources Localise MediaWiki for your language]&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bad Luck Brian</name></author>
	</entry>
</feed>