Log in

View Full Version : Blur effect mod?


tylus
12-11-07, 06:24 PM
Maybe this has been posted before but...does anyone know of mod or way to clear away the blur effect that SH4 uses. I mean the blur that seems as a default of the game both inside the sub and outside in perfectly clear conditions. It seems that its the designers' attempt at giving SH4 a "memory" effect or something akin to old WWII footage. It's neat for a while, but I think I'd like to try a clean look for a change.

If anyone knows of a simple mod or cfg change, please advise. Thanks in advance.

panthercules
12-11-07, 08:24 PM
Maybe this has been posted before but...does anyone know of mod or way to clear away the blur effect that SH4 uses. I mean the blur that seems as a default of the game both inside the sub and outside in perfectly clear conditions. It seems that its the designers' attempt at giving SH4 a "memory" effect or something akin to old WWII footage. It's neat for a while, but I think I'd like to try a clean look for a change.

If anyone knows of a simple mod or cfg change, please advise. Thanks in advance.

If you're talking about what I think you are, that can be toggled off by unchecking the "post processing" (or something like that) item in the in-game video options screen - up around the first one in the left column of choices to check or uncheck.

If you're talking about something else, I have no clue.

fireship4
12-11-07, 09:11 PM
If you are talking about the grainy film-effect, the problem with toggling off post-processing is that I think it removes some other nice effects.

There are mods which only get rid of the grain effect, have a look at the mod list in the workshop. It is also done in many if not all of the supermods out there.

TheDarkWraith
12-11-07, 10:05 PM
I don't mean to trample on anyone's toes if this has been answered before but:

in \data\Library there is a file called cameras.dat. If you open it up in a hex editor and search for Dummy_Cam_Periscope you will find:

00002ECD 44 75 6D 6D 79 5F 43 61 6D 5F 50 65 72 69 73 63 Dummy_Cam_Perisc
00002EDD 6F 70 65 00 0A 00 00 00 FF FF FF FF 1D 00 00 00 ope.............
00002EED C6 0E 84 2F 3D C8 FB A0 62 C7 EE 1A 13 37 43 5C .../=...b....7C\
00002EFD 00 43 61 6D 55 73 65 72 44 61 74 61 00 06 00 00 .CamUserData....
00002F0D 00 00 00 00 00 4A 00 00 00 C6 0E 84 2F 3D C8 FB .....J....../=..
00002F1D A0 00 00 00 00 00 00 00 00 36 00 00 00 32 00 00 .........6...2..
00002F2D 00 43 61 6D 55 73 65 72 44 61 74 61 00 0B 00 00 .CamUserData....
00002F3D 00 43 61 6D 65 72 61 00 02 00 00 00 13 00 00 00 .Camera.........
00002F4D 50 72 65 76 69 6F 75 73 43 61 6D 65 72 61 00 02 PreviousCamera..
00002F5D 00 00 00 0A 00 00 00 FF FF FF FF 1F 00 00 00 52 ...............R
00002F6D D8 44 21 11 81 0F 77 62 C7 EE 1A 13 37 43 5C 00 .D!...wb....7C\.
00002F7D 43 61 6D 65 72 61 45 66 66 65 63 74 73 00 06 00 CameraEffects...
00002F8D 00 00 00 00 00 00 60 00 00 00 52 D8 44 21 11 81 ......`...R.D!..
00002F9D 0F 77 00 00 00 00 00 00 00 00 4C 00 00 00 48 00 .w........L...H.
00002FAD 00 00 43 61 6D 65 72 61 45 66 66 65 63 74 73 00 ..CameraEffects.
00002FBD 12 00 00 00 44 72 6F 70 73 44 75 72 61 74 69 6F ....DropsDuratio
00002FCD 6E 00 00 00 80 40 11 00 00 00 42 6C 75 72 44 75 n....@....BlurDu
00002FDD 72 61 74 69 6F 6E 00 00 00 40 40 0B 00 00 00 52 ration...@@....R
00002FED 61 64 69 75 73 00 8F C2 F5 3C adius....<

00008040 = How long in seconds (currently set to 4) the drops hang around (float32 value)
00004040 = Blur duration. How long the image is blurred. In seconds (currently set to 3 - once again a float32 value)
8FC2F53C = Radius (circle size?). This is a float32 value also.


will apply to obs_Periscope also.


:|\\

nvdrifter
12-11-07, 10:29 PM
I don't mean to trample on anyone's toes if this has been answered before but:

in \data\Library there is a file called cameras.dat. If you open it up in a hex editor and search for Dummy_Cam_Periscope you will find:

00002ECD 44 75 6D 6D 79 5F 43 61 6D 5F 50 65 72 69 73 63 Dummy_Cam_Perisc
00002EDD 6F 70 65 00 0A 00 00 00 FF FF FF FF 1D 00 00 00 ope.............
00002EED C6 0E 84 2F 3D C8 FB A0 62 C7 EE 1A 13 37 43 5C .../=...b....7C\
00002EFD 00 43 61 6D 55 73 65 72 44 61 74 61 00 06 00 00 .CamUserData....
00002F0D 00 00 00 00 00 4A 00 00 00 C6 0E 84 2F 3D C8 FB .....J....../=..
00002F1D A0 00 00 00 00 00 00 00 00 36 00 00 00 32 00 00 .........6...2..
00002F2D 00 43 61 6D 55 73 65 72 44 61 74 61 00 0B 00 00 .CamUserData....
00002F3D 00 43 61 6D 65 72 61 00 02 00 00 00 13 00 00 00 .Camera.........
00002F4D 50 72 65 76 69 6F 75 73 43 61 6D 65 72 61 00 02 PreviousCamera..
00002F5D 00 00 00 0A 00 00 00 FF FF FF FF 1F 00 00 00 52 ...............R
00002F6D D8 44 21 11 81 0F 77 62 C7 EE 1A 13 37 43 5C 00 .D!...wb....7C\.
00002F7D 43 61 6D 65 72 61 45 66 66 65 63 74 73 00 06 00 CameraEffects...
00002F8D 00 00 00 00 00 00 60 00 00 00 52 D8 44 21 11 81 ......`...R.D!..
00002F9D 0F 77 00 00 00 00 00 00 00 00 4C 00 00 00 48 00 .w........L...H.
00002FAD 00 00 43 61 6D 65 72 61 45 66 66 65 63 74 73 00 ..CameraEffects.
00002FBD 12 00 00 00 44 72 6F 70 73 44 75 72 61 74 69 6F ....DropsDuratio
00002FCD 6E 00 00 00 80 40 11 00 00 00 42 6C 75 72 44 75 n....@....BlurDu
00002FDD 72 61 74 69 6F 6E 00 00 00 40 40 0B 00 00 00 52 ration...@@....R
00002FED 61 64 69 75 73 00 8F C2 F5 3C adius....<

00008040 = How long in seconds (currently set to 4) the drops hang around (float32 value)
00004040 = Blur duration. How long the image is blurred. In seconds (currently set to 3 - once again a float32 value)
8FC2F53C = Radius (circle size?). This is a float32 value also.


will apply to obs_Periscope also.


:|\\

Hey, damn good find. :up:

TheDarkWraith
12-11-07, 10:34 PM
[quote=Racerboy]Hey, damn good find. :up:

I mod SH3 but SH4's files are SH3 files beefed up. Any questions look me up ;)

nvdrifter
12-11-07, 10:37 PM
[quote=Racerboy]Hey, damn good find. :up:
I mod SH3 but SH4's files are SH3 files beefed up. Any questions look me up ;)
Ok, I have a question. I noticed you know how to link up new sounds to triggers and stuff through hex editing. Do you think you can fix the missing voices, such 'Destroyer in Attack Run', and 'Depth Charges in the Water'? I have tried to link them all together, but I can't find the .dsd trigger files for those voices. I tried the voices .dat files, but they are hard-coded. Please help is you can.

TheDarkWraith
12-11-07, 10:42 PM
[quote=Racerboy]Hey, damn good find. :up:
I mod SH3 but SH4's files are SH3 files beefed up. Any questions look me up ;)
Ok, I have a question. I noticed you know how to link up new sounds to triggers and stuff through hex editing. Do you think you can fix the missing voices, such 'Destroyer in Attack Run', and 'Depth Charges in the Water'? I have tried to link them all together, but I can't find the .dsd trigger files for those voices. I tried the voices .dat files, but they are hard-coded. Please help is you can.

the voices will come from \data\Sound\Speech. They are .ogg files. Give me sec, I'll take a look at something. Have you checked to see if there is an .ogg file for the voices you say are missing?

depth charges in the water appear at \data\sound\speech\1
destroyer in attack run appear in all 9 folders :hmm:

Let me think about this one. PM me so we don't hijack this thread :yep:

Sorry about hijacking the thread temporarily! :oops:

nvdrifter
12-11-07, 10:49 PM
[quote=Racerboy]Hey, damn good find. :up:
I mod SH3 but SH4's files are SH3 files beefed up. Any questions look me up ;)
Ok, I have a question. I noticed you know how to link up new sounds to triggers and stuff through hex editing. Do you think you can fix the missing voices, such 'Destroyer in Attack Run', and 'Depth Charges in the Water'? I have tried to link them all together, but I can't find the .dsd trigger files for those voices. I tried the voices .dat files, but they are hard-coded. Please help is you can.
the voices will come from \data\Sound\Speech. They are .ogg files. Give me sec, I'll take a look at something. Have you checked to see if there is an .ogg file for the voices you say are missing?
Thank for helping. Yes, the .ogg voice files are there. I have tried everything, but couldn't get the voices to play when needed. I am worried that the voices were disabled in the sound.act file (which is hardcoded). Me, Ducimus, and others have been trying to find the files that trigger those voices, but no luck yet. Any ideas?

nvdrifter
12-11-07, 10:52 PM
Maybe we can continue our conversation in this thread: http://www.subsim.com/radioroom/showthread.php?t=126370

sevn_up
12-29-07, 03:19 PM
I don't mean to trample on anyone's toes if this has been answered before but:

in \data\Library there is a file called cameras.dat. If you open it up in a hex editor and search for Dummy_Cam_Periscope you will find:

00002ECD 44 75 6D 6D 79 5F 43 61 6D 5F 50 65 72 69 73 63 Dummy_Cam_Perisc
00002EDD 6F 70 65 00 0A 00 00 00 FF FF FF FF 1D 00 00 00 ope.............
00002EED C6 0E 84 2F 3D C8 FB A0 62 C7 EE 1A 13 37 43 5C .../=...b....7C\
00002EFD 00 43 61 6D 55 73 65 72 44 61 74 61 00 06 00 00 .CamUserData....
00002F0D 00 00 00 00 00 4A 00 00 00 C6 0E 84 2F 3D C8 FB .....J....../=..
00002F1D A0 00 00 00 00 00 00 00 00 36 00 00 00 32 00 00 .........6...2..
00002F2D 00 43 61 6D 55 73 65 72 44 61 74 61 00 0B 00 00 .CamUserData....
00002F3D 00 43 61 6D 65 72 61 00 02 00 00 00 13 00 00 00 .Camera.........
00002F4D 50 72 65 76 69 6F 75 73 43 61 6D 65 72 61 00 02 PreviousCamera..
00002F5D 00 00 00 0A 00 00 00 FF FF FF FF 1F 00 00 00 52 ...............R
00002F6D D8 44 21 11 81 0F 77 62 C7 EE 1A 13 37 43 5C 00 .D!...wb....7C\.
00002F7D 43 61 6D 65 72 61 45 66 66 65 63 74 73 00 06 00 CameraEffects...
00002F8D 00 00 00 00 00 00 60 00 00 00 52 D8 44 21 11 81 ......`...R.D!..
00002F9D 0F 77 00 00 00 00 00 00 00 00 4C 00 00 00 48 00 .w........L...H.
00002FAD 00 00 43 61 6D 65 72 61 45 66 66 65 63 74 73 00 ..CameraEffects.
00002FBD 12 00 00 00 44 72 6F 70 73 44 75 72 61 74 69 6F ....DropsDuratio
00002FCD 6E 00 00 00 80 40 11 00 00 00 42 6C 75 72 44 75 n....@....BlurDu
00002FDD 72 61 74 69 6F 6E 00 00 00 40 40 0B 00 00 00 52 ration...@@....R
00002FED 61 64 69 75 73 00 8F C2 F5 3C adius....<

00008040 = How long in seconds (currently set to 4) the drops hang around (float32 value)
00004040 = Blur duration. How long the image is blurred. In seconds (currently set to 3 - once again a float32 value)
8FC2F53C = Radius (circle size?). This is a float32 value also.


will apply to obs_Periscope also.


:|\\

Here is my question. I would like to get rid of the "drops" and the "blur" when moving the external camera or periscope from below water to above water. I just find this quite annoying. I am looking in a hex editor at the values that you described but I am not familiar with this stuff. How exactly do I get rid of the "drops" and "blur"? I appreciate any assistance with this.