View Full Version : How to compare 2 .dat files?
mavmcleod
07-25-07, 07:28 AM
Hi everyone,
as I'm working with a lot of different mods I would like to implement some changes made in scene.dat from mod1 in scene.dat in mod2 (e.g. Improved Underwater Visibility Mod & 9km Visibility Mod).
Is there any tool (like winmerge for .cfg files) to compare two different .dat files and move the changes from one to the other?
Have to say that I'm not very experienced in hex-files.
Good hunting!
Maverick
Redwine
07-25-07, 09:50 AM
Hi everyone,
as I'm working with a lot of different mods I would like to implement some changes made in scene.dat from mod1 in scene.dat in mod2 (e.g. Improved Underwater Visibility Mod & 9km Visibility Mod).
Is there any tool (like winmerge for .cfg files) to compare two different .dat files and move the changes from one to the other?
Have to say that I'm not very experienced in hex-files.
Good hunting!
Maverick
You do not need too much skill, just open the .dat files using a Hexagecimnal Editor and click on number and change it.
Just open the 9km visibility mod files and add my changes manually.
Manual Editing :
Abrir el archivo Scene.dat con un editor hexagecimal, y modificar lo siguiente :
Open the Scene.dat file using a hexadecimal editor and modify the following :
1]
Valor Original/ Original Value : (-4)
0003da 6F 67 00 00 00 80 C0 00 @@....Fog....A.
Valor Visibilidad Bajo el Agua Mejorada/ Improved Underwater Visibility : (-3)
0003da 6F 67 00 00 00 40 C0 00 @@....Fog...@A.
2]
Valor Original/ Original value : (18)
0003da 6F 67 00 00 00 80 C0 00 00 90 41 00 ..A.PF<....UpLight
Valor Visibilidad Bajo el Agua Mejorada/ Improved Underwater Visibility : (30 m)
0003da 6F 67 00 00 00 40 C0 00 00 f0 41 00
Valor Visibilidad Bajo el Agua Mejorada/ Improved Underwater Visibility : (60 m)
0003da 6F 67 00 00 00 40 C0 00 00 70 42
Valor Visibilidad Bajo el Agua Mejorada/ Improved Underwater Visibility : (70 m)
0003da 6F 67 00 00 00 40 C0 00 00 8c 42
Valor Visibilidad Bajo el Agua Mejorada/ Improved Underwater Visibility : (100 m)
0003da 6F 67 00 00 00 40 C0 00 00 c8 42
3]
Valor Original/ Original Value : (120 m)
001b6a 00 00 f0 42 ..öB
4]
Valor Original/Original Value : (180 m)
001b6a 73 74 61 6e 63 65 00 00 00 34 43 MaxDistance…4C
Valor Visibilidad Bajo el Agua Mejorada/ Improved Underwater : (300 m)
001b6a 73 74 61 6e 63 65 00 00 00 96 43 MaxDistance….C
mavmcleod
07-25-07, 12:38 PM
Wow, from the author of one of my most liked mods!
Thanks a lot!
Maverick
Redwine
07-25-07, 01:02 PM
Wow, from the author of one of my most liked mods!
Thanks a lot!
Maverick
You are welcome ! :up:
This mod is related to underwater visibility, but you have another mod related to visibility, night visibility... may be you can found useful the Improved Nigth Visibility Mod too.
:up:
mavmcleod
07-25-07, 02:41 PM
Yeah!
I know and love that one, too.
HExedit finaly worked for me, now I will merge Night Visibility, 9km visi., underwater visi. and Living Breathing Ocean....:hmm:
And than the Japs will get it back! :arrgh!:
Good Huntin'!
Maverick
Mav87th
07-25-07, 05:04 PM
The program Araxis Merge does a good job of comparing up to three files of the sort.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.