SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-29-08, 06:44 PM   #1
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default Edit game files without reload game?

Uhm, has anybody noticed you can edit at least some of the .dat (etc) files without needing to reload the game? I just played around with the Porpoise and I was only required to exit mission and start new mission but I never exited the game... I thought this wasn't possible?

Now this may not work for all files, but I was a bit amazed nonetheless as I always thought the files were locked, and/or loaded once... WTF?

[edit] Come to think this may be a fundamental change since patch 1.4. The devs made the game load faster, so I guess they removed (pre)loading and locking of most files only until they are really needed. Good stuff, and can seriously speed up mod testing

Last edited by skwasjer; 01-29-08 at 06:56 PM.
skwasjer is offline   Reply With Quote
Old 01-30-08, 03:37 AM   #2
sergbuto
Pacific Aces Dev Team
 
Join Date: Sep 2002
Location: Sweden
Posts: 1,331
Downloads: 15
Uploads: 0


Default

No, it is not a fundamental change since patch 1.4. It was always the case even in SH3. It is relatively easy to investigate in detail what files are loaded upon starting the game (like library and roster files) or files loaded only upon starting a mission/campaign.
__________________
Serg's SH4 and SH3 pages
sergbuto is offline   Reply With Quote
Old 01-30-08, 06:42 AM   #3
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

Ok cool, I really didn't know that, but hey, I haven't modded a single file or even started the game since game launch only until one and a half week ago
skwasjer is offline   Reply With Quote
Old 01-30-08, 01:19 PM   #4
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

With ProcessMonitor one can see all accesses to disk files, registry and processes
http://download.sysinternals.com/Fil...essMonitor.zip

- run ProcessMonitor
- execute SH4
- load a mission
- exit SH4
- and then set filter in ProcessMonitor to sh4.exe
Seeadler is offline   Reply With Quote
Old 01-30-08, 02:37 PM   #5
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

Sure, I know how to do this. I ment I didn't know about the game not locking/preloading (I guess I've been giving this idea by reading many posts in the past where people complain about reloading the game each time to test a mod).
skwasjer is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.