![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 | ||
Sea Lord
![]() Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
|
[TUT] Converting Sh3 Tweaker Files Tut
TUTORIAL for Converting SH3 Tweak Files to SH4 Made By CAPTAIN COX ALL ORIGINAL WORK WAS DONE BY TIMETRAVELLER! Tools needed - Hexeditor. Try XVI32. Get it here http://www.chmaas.handshake.de/ - Windows Notepad - TIMETRAVELLER's SH3 TWEAKFILES. Get them here http://www.delraydepot.com/tt/TweakFiles.zip - The Original SH3 FILE (TO COMPARE WITH) - The Original SH4 FILE - Patience and LOTS OF COFEE! For this tutorial I am going to use the Tweakfile "$Splash_water.txt" Made by TIMETRAVELLER for SH3 Also copy C:\Program Files\Ubisoft\SilentHunterIII\data\Library\particles.dat to your Desktop And Copy C:\Program Files\Ubisoft\Silent Hunter 4 Wolves of the Pacific\Data\Library\particles.dat to a NEW FOLDER ON THE DESKTOP! or you will overwrite the one from SH3 Now we got all the components to start. Ok so lets start up that Hex-Editor. If you are using "XVI32" go to "Tools" and tic "Data inspector" Then go to "Tools/Options/Data inspector tick all the boxes there, short, integer...etc. This is where the values are shown. The value of the address you are at that is. You will see later on ![]() Also just to be sure go to "Tools/Options/Appearance and tic "Show Grid Lines" and " Use Blank to Display Control Characters" Ok now we are set i hope. Go to "File/Open/particles.dat ( the SH3 one on your Desktop) And you will see A LOT OF CODE...DON'T PANIC! its all ok ![]() ![]() Now what are we looking at here, well we have a sort of split screen, one window to the left (full of hex code, A4, 0D, 6D, etc etc) and another to the right (mq e 0 ') etc etc. Left=HEXCODE RIGHT=TEXT Ok, we are ready to rock. If you look at that "$Splash_water.txt" in your Notepad you will see that the first line of code is Quote:
The actual CODE starts at Quote:
![]() Now lets look for that using the Hexeditor. In the Hexeditor you have a "SEARCH TOOL" Looks like a MAGNIFYING GLASS As we are searching for "Splash_water" we put that in as "Text string" and hit ok. You should now be at "1103D" ![]() If you look at that "Splash_Water.txt Tweak file( Tweak File)" the first code should be at "absolute,byte,110CB,IsDensityModifierActive" ![]() lets look for that "ADRESS" "110CB" ![]() As you can see its TWO BYTES AFTER THE WORD "IsDensityModifierActive" (count the BOXES or GRID) So that is what we will do in the SH4 file as well. Count 2 BYTES (2 BOXES) and we will have our address. Lets check it out shall we. Load the SH4 Particle.dat (the one in the New Folder on your desktop...remember) in to the Hex_editor.File/Open/New folder/particles.dat Do a search (Looks like a MAGNIFYING GLASS) for "Splash_water" and you will end up at 1185A. ![]() Now look for "IsDensityModifierActive" and count 2 bytes (two boxes) and you will end up at 118E8. ![]() Now that is what we have to change the address to in the "$Splash_water.txt" tweak file like this ![]() Now do the rest as we did with the "IsDensityModifierActive" Next is "EmissionArea" at address "110DD" Load the SH3 Tweak File in to the HexEditor and do a search for "Splash_water" Look in the Right Window for "EmissionArea" It's at 110DD (2 bytes after the word "EmissionArea" ![]() So what do we do...? We go to our SH4 file in the new folder and look where that is at... ![]() look at that...its at 118FA. So we put that in our Tweakfile...etc etc. I hope you get the drift here. Basically all SH3 tweaker files can be converted like this. CREDITS TO TIMETRAVELLER!!!! for all the HARD WORK DOING THE MINITWEAKER+ALL THE TWEAKER FILES! Last edited by CaptainCox; 07-02-07 at 03:18 AM. |
||
![]() |
![]() |
|
|