Color Correction .raw file

Avatar
Ace Ryder
45 Posts
Posted May 29, 2014
Does anyone know where the .raw file saves after you make a color correction in -tools mode? I found the original file itself, but I need the raw file for it to actually work in game. I ran a system search, no results. Worried it's not creating the file...(please don't say "use the global_ents instance")
Advertisement
Registered users don't see ads! Register now!
Avatar
HMW
806 Posts
Posted May 31, 2014
Replied 1 day later
They are saved in "materials/correction" by default, and will have the same name as the .vcc file you saved, but with a "raw" extension.
(There is also a duplicate file called "whatever.pwl.raw". I don't know what purpose those files serve, but I usually include them into the map's embedded content just to be sure.)

The color_correction entity in your map needs the full path relative to your game directory, including "materials".

Avatar
Ace Ryder
45 Posts
Posted May 31, 2014
Replied 22 minutes later
The place they are saving for me is as follows: C:\SteamLibrary\SteamApps\common\content\portal2_dlc2\materialsrc\correction. In this folder there are no .raw files accompanied with the .vcc file I created. I have checked the materials/correction folders of the portal2 folder, the portal 2 dlc1 folder, and the portal 2 dlc2 folder as well. None had anything.

UPDATE: It is in fact where it was being saved that caused the raw file to not exist. I changed the path to C:\SteamLibrary\SteamApps\common\Portal 2\portal2\materials\correction when saving the color correction, and the .raw file was created.

Avatar
Ace Ryder
45 Posts
Posted May 31, 2014
Replied 16 hours later
Actually now I'm having an issue packing it in to my map with pakrat. I am able to pack custom music, but not this new colorcorrection. Any help on that?
Avatar
Ace Ryder
45 Posts
Posted Jun 01, 2014
Replied 2 hours later
Ok... this is almost like a "let's-guide" now.
Apparently, if you click "add" on pakrat, and navigate to the folder with the color correction, and make sure it's checking for all file types, you can add all the files related to the new color correction. Then it will ask you if you want the paths to be set, and you press "Yes to all". After saving the BSP it should now have all the color corrections ready to be distributed.

Avatar
HMW
806 Posts
Posted Jun 06, 2014
Replied 5 days later
Yeah, Pakrat probably doesn't recognise the .raw as a file type that you might want to include, so you have to select it manually.
I'm glad to hear you got it to work!
Advertisement
Registered users don't see ads! Register now!