![]() |
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
|
![]()
Start by looking at the existing TweakFiles. I was doing this a lot yesterday as i tried to get the Zoom for the Scope thingy.
Example Quote:
Quote:
As you see in the MiniTweaker there is different things you can search for -Single -Double -Long -Integer -Byte So depending what you see in in the hex editor (use the INSPECTOR! so much easier, its a function that you can activate from the menu, there you can see what type of value each address holds, what it is in Single, byte etc etc). For example search,draught,1,single,>2,draughtSurfaced or search,draught,1,byte,>2,draughtSurfaced or search,draught,1,integer,>2,draughtSurfaced etc etc. You have to look for the stuff in a hex editor, i use the one that comes with the pack from Nvdrifter Once you start looking i think you will slowly understand what I am talking about. Took me a good 2-3h yesterday to sort a get the hang of it...still did not fix that zoom but :p Look at the stuff from Nvdrifter, try to understand what each code line does, read the tut that comes with the MiniTweaker from timetraveler... |
||
![]() |
![]() |
![]() |
#2 |
Samurai Navy
![]() Join Date: Feb 2007
Location: Pretty close to the big german cruiser Blücher in Norway
Posts: 568
Downloads: 29
Uploads: 0
|
![]()
Ok!
It seems quite complicated! But I guess I'll give it a try! Thanks a lot Captain Cox
__________________
![]() My SH4 releases compatible with SH4 1.5 and earlier: Kakemann and ATR-42's Silent Hunter 4 Music FIX Kakemann and Lurker_hlb3 Destroyer sensors and radar FIX Tutorial: How to add new music tracks to SH4 |
![]() |
![]() |
![]() |
#3 |
Sea Lord
![]() Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
|
![]()
Looks like that the first 1-2 hours sort of.
The trick is really to look in the Hex Editor and actually finding the stuff. To write the script is not that tricky as you simply write what you found, or rather point the script to the location that holds the value you found. What I found tedious is to try this stuff out as there can be many different locations that holds the value you are looking for, or at least look like it, untill you find it. |
![]() |
![]() |
![]() |
#4 | |
Admiral
![]() |
![]()
CaptainCox, I am new to modding and eventually planing to add a file mod to our list. The mod will change some .cfg files. I'm following a thread https://www.subsim.com/radioroom/showthread.php?t=110889 and it offers a sh4_ship.sim_tweak file that I gathered would need to be loaded. When I look to the SH4 root directories and bring up the .cfg files I want to change, and load the tweak file, I get an error for wrong path. Is it because I'm trying to access a .cfg file with a .sim file tweaker? How do I use the mini-tweaker? Do I need to at all, since the changes are to be made in .cfg files. Couldn't I just make my changes in notepad, save them to a rar file and have them on the internet for down load? Or am I not even close?
Another thing, if I am successful with producing a file, how do I go about having it user friendly with a mod enabler like JSGME?
__________________
The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813 USS Chesapeake Captain James Lawrence lay mortally wounded... Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Sea Lord
![]() Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
|
![]()
To edit .cgf you only need to look and modify stuff in the notepad, correct.
Do the stuff you want to modify and save the stuff in JSGME format, that way most ppl here will be able to just plug your mod in to the game with out the hassle of doing it manually. |
![]() |
![]() |
![]() |
#6 | |
Admiral
![]() |
![]()
Great , I think I can do this now!
![]() One more question, how do I save it in the JSGME format? Is that in his down load somewhere or must I get it from somewhere else. I've been to his website and I don't see a file converter.
__________________
The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813 USS Chesapeake Captain James Lawrence lay mortally wounded... Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Kakeman, the original SH3 Mini Tweaker searchlight.sim tweak file also works with the SH4 searchlight.sim game file. This file seems to be unchanged from SH3. So you don't have to create a new tweak file.
![]() |
![]() |
![]() |
#8 |
Sea Lord
![]() Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
|
![]()
Now you spoiled all the fun MAN! :p but thats a winner if I ever saw one
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|