![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
04-21-11, 11:56 AM
|
#1 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
And i have a question about the 4gb patch, I had already added your hardcoded fixes and then heard that if I get the 4gb patch and add it that I may actually be able to run MFM without crashes. Well how do I get my sh3.exe back to its old self again?? Just change its file name to SilentHunterIII or what?? because when I ran the 4gb patch it said that the ShIII.exe was unkown (My guess is it detected it had been modified by the hardcode fixes patch) Unless the 4gb patch is included in the instalation of the latest version of the hardcode fixes?
|
|
04-21-11, 12:43 PM
|
#2 |
|
Sea Lord
![]() Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
|
Use HsieOptionsSelector to apply 4GB patch - it's included in the Patch Kit.
|
|
|
04-21-11, 12:44 PM
|
#3 | ||
|
Chief of the Boat
|
Quote:
Quote:
|
||
|
|
04-21-11, 03:26 PM
|
#4 |
|
Admiral
![]() |
@USNSRCaseySmith: As SqareSteelBar wrote: use Stieblers great HSieOptionsSelector to apply the 4GB patch.
Being able to modify hardcode opens all possibilities. In my tests for a bouyancy mod I could even make the Uboat fly. Wolfpacks are possible. One can even make sh3.exe to act like a table calculation instead of a Uboat sim. All can be done now - In theory! In practice I have to restrict on easy-to-fix realism related modifications. I won't spend any time for graphical stuff, because that's hard to do in assembler and in my opinion SH3's graphics are okay and I don't care wheather ships have long or short wakes or similar. Without SDK and with my restricted insight into the code, I can only change a game variable (say: speed) in dependency of another variable (say: windspeed). That's possible. Other stuff is much harder to do. Automatically moving the 1WO to the bridge, for example, took 2 months. Hope you like my fixes. h.sie |
|
|
04-21-11, 04:11 PM
|
#5 | |
|
Silent Hunter
![]() |
Quote:
![]() ![]() ![]() Wonderful work h.sie, I would never played without your patch !!! Best regards, Magic
__________________
|
|
|
|
04-21-11, 05:38 PM
|
#6 |
|
Grey Wolf
![]() Join Date: May 2005
Posts: 887
Downloads: 119
Uploads: 0
|
What a breakthrough! Amazing!!!
Unfortunately the readme, foR SOME reason, wont open . Ive downloaded 3 times but no txt program i have can run it... Can somebody explain, in laymen terms, how to install this patch without exploding my comp. Ive finally got my mods in order and would love to add this fix on top of my mods, without creating CTDs in current game. Of course i will install in port after my current patrol. |
|
|
04-21-11, 05:57 PM
|
#7 | |
|
Sea Lord
![]() Join Date: Nov 2007
Location: In sight of Stonehenge
Posts: 1,749
Downloads: 51
Uploads: 26
|
Quote:
Quick Manual: Patching SH3.EXE 1) Create empty Working Directory somewhere on your Disk (where you have write permission.) 2) Download latest V15_Patch-Kit archive and extract all contained files into the Working Directory. 3) Copy your original (unpatched) sh3.exe into that Working Directory. 4) Start Patch_SH3.bat. If your sh3.exe is compatible, it will be patched. Otherwise not. Before patching, the skript automatically makes a backup of your original file called sh3.old. 5) If step 4 was successful, your new sh3.exe contains ALL of the fixes! 6) Start HsieOptionsSelector.exe in order to individually enable/disable the fixes as you like. This tool also allows to apply the 4GB-Patch. 7) Install necessary additional files contained in the mod called Supplement to V15 (JSGME) using JSGME. 8) Copy patched sh3.exe back into your SH3-Installation (and store your original file sh3.old in case you don't like my work and want to reverse all changes) . Documentation / Information See 1st post of the Subsim-Thread http://www.subsim.com/radioroom/showthread.php?t=174225 See also help file HSIEoptions.chm. Important Notes · You MAY NOT use this patching system in order to disable any copy protection, because that is illegal. So before patching, please read the EULA of your software to find out if your sh3 version uses copy protection or not. · This patch adds code to sh3.exe. Some Antivirus-Programs maybe don't like this. · USE ON YOUR OWN RISK! Credits Many thanks to Stiebler for co-operation regarding some fixes and his comfortable HsieOptionsSelector. Hope you like it! h.sie Sorry
__________________
![]() All my mods are available at MediaFire: SH3 Mods Other modders SH3 mods SH4 Mods ...you can't please all of the people all of the time... |
|
|
|
04-21-11, 06:00 PM
|
#8 | |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Quote:
|
|
|
04-21-11, 10:18 PM
|
#9 |
|
Watch
![]() Join Date: Jan 2007
Posts: 30
Downloads: 648
Uploads: 0
|
Could it be possable to fix the lazy helmsmen bug?
|
|
|
04-22-11, 03:45 AM
|
#10 |
|
Admiral
![]() |
please describe the "lazy helmsman bug".....
|
|
|
04-22-11, 04:18 AM
|
#11 |
|
Hellas
![]() |
hello H.Sie ,
i think he means this time delay that officers have at executing orders. would be very nice (if it is easy 'fix') to make them execute immediatelly (especially the rudders orders time delay is very annoying) also, have a look , (if it easy to find out) to make the boat turning at the ordered new course (it is ending with 1 to 1,5 degrees off most of the times)
__________________
Knowledge is the only thing that nobody can ever take from you... ![]() Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods |
|
|
04-22-11, 08:33 AM
|
#12 |
|
Admiral
![]() |
I not seldom get requests via PM to mod some graphical stuff and my answer is NO. In order to give you an impression how hard this would be in assembler, I decided to post the assembler sources that are necessary for a simple graphical fix: Move the Watch Officer up to the bridge when surfacing. Maybe you understand now why I'm not cooperative.
//--------------------------------------------------------------- // Patch 7: // Automatically move 1WO on bridge when surfacing //--------------------------------------------------------------- patch7: cmp byte ptr [Move1WO_Switch],0FF // Test Patch ON/OFF switch jne patch7_ende // Local Definitions / Pointers define(Bridge_Status,05f6270) define(Bridge_Data,05f6238) define(BowQuarters_Status,05f6990) define(BowQuarters_Data,05f6958) define(SternQuarters_Status,05f6a74) define(SternQuarters_Data,05f6a3c) // Check if Officer-Slot on the bridge changes from invisible // to visible. Only in this case: Try to move 1WO to the bridge mov eax,[5449B0] // Prepare ptr to OfficerSlotBridgeVisible mov eax,[eax+100] // Prepare ptr to OfficerSlotBridgeVisible mov eax,[eax+1D38] // Prepare ptr to OfficerSlotBridgeVisible mov bh,[eax+8C] // Load OfficerSlotBridgeVisible -> BH mov bl,[OfficerSlotBridgeVisible_Old] // Load old value -> BL mov [OfficerSlotBridgeVisible_Old],bh // Save current value as old value cmp bx,0100 // Change from invisible to visible ?? jne patch7_ende // If not: exit patch // OfficerSlotBridgeVisible changed from invisible to visible. // First test if Officer Slot on bridge is empty. cmp [Bridge_Status],(int)-1 // Is Officer Slot on bridge is empty? jne patch7_ende // If not: exit patch // Check if Turm damage is < 0.9 (Observations showed that Turm damage can // be accessed via one of the following 2 pointers: // Ptr1: Static=5547D4 Offsets: 4,14,14 OR // Ptr2: Static=5547D4 Offsets: 14,14. // If the difference of the 2 addresses referenced by these 2 pointers is // smaller that 0x1000, then (according to observations), Ptr1 is the // correct pointer, otherwise Ptr2. mov eax,[5547D4] // Prepare Ptr1 and Ptr2 mov ebx,[eax+4] // Prepare Ptr1 mov ebx,[ebx+14] // Now [ebx+14] holds 1st possible address of Turm damage (Ptr1) mov ecx,[eax+14] // Now [ecx+14] holds 2nd possible address of Turm damage (Ptr2) // Now calculate eax = abs(ptr1-ptr2) = abs([ebx+14]-[ecx+14]) = abs(ebx-ecx) mov edx,ecx mov eax,ebx sub eax,edx cdq xor eax,edx // now eax = abs(ptr1-ptr2) // compare abs(ptr1-ptr2) with 0x1000 cmp eax,01000 jb short patch7_continue mov ebx,ecx // Use Ptr2 instead of Ptr1 patch7_continue: // [ebx+14] now holds the correct address of turm damage fld dword ptr [ebx+14] // Load Turm Damage -> FPU mov [esp-04],(float)0.9 // Load 0,9 for comparison fcomp dword ptr [esp-04] // Compare with 0,9 fstsw ax sahf jae patch7_ende // If Turm damage >= 0,9 : exit patch // Now: Officer Slot on bridge is empty and Turm Damage < 0,9 // Check if Bow Quarters contains an Officer cmp [BowQuarters_Status],(int)-1 // If there is no Officer in Bow Quarters je short Test_SternQuarters // Check if Stern Quarters contains Officer // Bow Quarters contains Officer. Move him to the bridge. mov esi,BowQuarters_Data // ptr to data transfer source -> ESI mov edi,Bridge_Data // ptr to data transfer destination -> EDI mov ecx,039 // 0x39 DWORDS to transfer cld // Increment ESI and EDI after each transfer repe movsd // Execute data transfer mov [BowQuarters_Status],(int)-1 // Set Bow Quarters status to "No Officer" mov [Bridge_Status],0 // Set Bridge status to "Officer present" jmp short Refresh_Crew_Screen // Refresh Crew Screen if necessary // Check if Stern Quarters contains an Officer Test_SternQuarters: cmp [SternQuarters_Status],(int)-1 // If there is no Officer in stern Quarters: je short patch7_ende // ... -> exit patch // Stern Quarters contains Officer. Move him to the bridge. mov esi,SternQuarters_Data // ptr to data transfer source -> ESI mov edi,Bridge_Data // ptr to data transfer destination -> EDI mov ecx,039 // 0x39 DWORDS to transfer cld // Increment ESI and EDI after each transfer repe movsd // Execute data transfer mov [SternQuarters_Status],(int)-1 // Set Stern Quarters status to "No Officer" mov [Bridge_Status],0 // Set Bridge status to "Officer present" jmp short Refresh_Crew_Screen // Refresh Crew Screen if necessary // Refresh Crew Screen if necessary Refresh_Crew_Screen: mov eax,[6307BC] // Prepare ptr to current screen ID cmp [eax+50],030 // Is Crew/Damage Screen visible jne short patch7_ende // If not: No refresh necessary. Exit // Crew Screen is visible. Do a refresh by changing to NavMap screen // and immediately switch back to Crew Screen mov ecx,[6307BC] // Prepare "Change Screen" call push 0 // Prepare "Change Screen" call push 0 // Prepare "Change Screen" call push 040024 // Choose "NavMap" call 50fef0 // call "Change Screen" mov ecx,[6307BC] // Prepare "Change Screen" call push 0 // Prepare "Change Screen" call push 0 // Prepare "Change Screen" call push 040030 // Choose "Crew Screen" call 50fef0 // call "Change Screen" patch7_ende: |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
