SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [REL]Bad weather fix for SH3 (https://www.subsim.com/radioroom/showthread.php?t=177507)

h.sie 12-25-11 05:52 AM

Yup, a Debugger or Disassembler is helpful.

Foxhound 12-25-11 09:35 AM

editing the EnvSim.act file
 
hello there h.side

how did you manage to open the EnvSim.act file in the first place? it's a code file. did you use a compiler to do so? is there a thread dealing with this topic?

h.sie 12-25-11 05:30 PM

it's a DLL (but renamed to .act) containing x86 machine code. I don't know whether one can find information about assembler coding and DLL in this forum, but in the WWW you can find tons of information. a compiler won't help you. use a debugger or similar to look into the code.

Foxhound 12-27-11 04:54 PM

DLL file?
 
thanks for the information h.side. i tried visual studio to open the file and it didn't provide any more insight than opening the file in HEX format. i didn't much effort into it by the way. but i have found a way to cheat SH3 with your file in a way. i start with the "standard" version and whenever i hit a storm, i save and quit, then i replace it with the "FORT" version. then i reload the game and the weather is always 5 m/s. nice for the gun deck. i repeat the process like for ever. i hope you forgive me.:up:

Foxhound 12-29-11 12:22 PM

request from h.side
 
i am not able to run any of the upgrade patches on my installation of SH3 so i am stuck with v.1.0.0.1. in this mod adjustment such as this

StormConditions=16,1;max wind speed [m/s], max rain intensity [0,1]

has no effect on the sub or the surface vessel. as i am using SH3 warship mod, i can't man the ship guns once the wind speed passes 7m/s. this is pretty crab sailing with the Bismarck and not being able to confront a pretty little destroyer (say for example HMS Foxhound). i request to tell me if there is way to eliminate the bad weather once and for all, because i am working on other aspects of the game (such as concentration fire). can you tell me where to manipulate inside the EnvSim.act dll file? i would be very thankful if you guide me.

h.sie 12-29-11 12:41 PM

@Foxhound: The bad weather fix only works with v1.4 or above of sh3.exe. You should update to v1.4 since many bugs have been fixed compared to v1.0.

Sorry, please understand that I cannot compress 5 years of education into an instant_course.pdf in assembler programming.

Foxhound 12-29-11 02:13 PM

h.side
 
i am fully aware of the gravity of the work you've done because i am a programmer of a sort myself. thanks for your attention. it's just that i see so many potentials in this game and i want to have a way to contribute.

Foxhound 12-31-11 06:07 AM

?
 
can't you tell me anything to start with? i am very studios. how can i manipulate the DLL? plz. i can't upgrade to V1.4.:damn:

SquareSteelBar 12-31-11 08:41 AM

Quote:

Originally Posted by Foxhound (Post 1812833)
... i can't upgrade to V1.4.:damn:

What is the prob?

http://www.subsim.com/radioroom/show...71&postcount=6

Foxhound 12-31-11 09:34 AM

to SquareSteelBar
 
you know i believe h.side has down a great job here on bad weather fixes and since i don't want to sabotage this thread with a completely different issue (if i haven't already done so) let's redirect to this page of subsim (the last page on the thread Silent Hunter 3 Will it run on Windows7? which hopefully could be found under this link:

http://www.subsim.com/radioroom/show...=1#post1812899

thanks

h.sie 12-31-11 09:56 AM

I decided not to give any instructions to hack the .exe and the .act's, since it has a high potential for destructive actions. Would be easy to install some TCP/IP routines in a .act and do disastrous things.

Once a malware is found in any .act , and I have to fear to get banned from this forum.

But I can help you to update your V1.0.0.1 to V1.6. This works with the Weather Fix.

Foxhound 12-31-11 03:31 PM

V1.6?
 
i am listening.:yeah:

h.sie 01-01-12 06:47 AM

Does anybody know whether the UBI patch to V1.4b affects only the sh3.exe file including the .act files or does it also update some other files (like .cfg, .dat, .sim and so on)

????

SquareSteelBar 01-01-12 07:04 AM

Many other files....


I'll send you a PM in a few minutes...

h.sie 01-02-12 04:39 AM

@Foxhound: The UBI patch only works on a unmodified, uncracked sh3 installation. Do you have one?

SquareSteelBar 01-02-12 05:35 AM

I asked that already in the thread he mentioned above:

http://www.subsim.com/radioroom/show...=1#post1812899

Foxhound 01-02-12 06:36 AM

thanks
 
thank you for your attention H.side. i guess the fault is mine. the original problem is about licensing and i think it would be for a while before i could get my hand on a verified licensed edition of the game. however i should say that the FORT bad weather fix (which you made) actually does work with V1.0.0.1 to my knowledge. it does reduce thunderstorm durations, however saving the game while using the file is pretty risky.

Foxhound 01-02-12 11:42 AM

RandomWindSpeedMax?
 
h.side, i know you said you are not gonna say anything about manipulating a DLL for possible sabotage attempts that this could lead to. but i was thinking if the value of "RandomWindSpeedMax" could be limited to for example 5m/s. this would eliminate the bad weather once and for all (this of course is not a bad weather fix). i ask you how could this be done in EnvSim.act file. and as you can see, i am not asking for you to give me a crash training course on diss assembly. it's not a process, it's just changing a value. is it feasible? i would e very happy if you give me some advice on that.:cry: i am sick of shadowing enemy task force with Scharnhorst for days and not being able to catch a cold about it just because WinSpeed is 8m/s and not 6m/s. thanks admiral.


All times are GMT -5. The time now is 10:18 PM.

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.