![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 | |
Swabbie
![]() Join Date: May 2015
Posts: 10
Downloads: 47
Uploads: 0
|
![]() Quote:
your reso fov ![]() hack fov exemple ![]() ![]() mon CE : http://www.mediafire.com/file/o9taor...ss/sh5.CT/file edit the 3 scripts and change only : db 94 43 to db 40 42 5c in bytes is 92 push this to 64 result 40 in hexa you can try more or less change in my ce your keys for activate or close this ! and create your trainer auto , for me AKH launch game & the script auto created in CE 7.1 sh5 last version , work on any mod ! the real fov is 55 ° in float , changed this to 48° for my exemple... you can find this on change only 92 to 93 (5c) in byte and search 55.25 in float ok ? ![]() ![]() ![]() ![]() ![]() after you can try : http://www.mediafire.com/file/aea41k..._sh5_.ahk/file 5760x1080 you can see gui hud centered ! ![]() Last edited by prouha; 11-12-20 at 05:36 AM. Reason: cool |
|
![]() |
![]() |
![]() |
#2 |
Bosun
![]() Join Date: Jun 2009
Posts: 68
Downloads: 10
Uploads: 0
|
![]()
OK, I edited the 3 scripts to this. Is this correct?
[ENABLE] Aobscan(_place,5c 42 00 00 AA 42 00 00 00 3F 00 00 C0 3F 00) label(place) registersymbol(place) _place: place: db 40 42 [DISABLE] place: db 5c 42 00 00 AA 42 00 00 00 3F 00 00 C0 3F 00 Is this correct? If so what do I do next, can you be very specific. "5c in bytes is 92 push this to 64 result 40 in hexa" How exactly do I do that? Do I change 5c in the scripts, or do I start SH5.CT and change it through Cheat Engine? Thanks for your help. Here is my SH5.ct file: <?xml version="1.0" encoding="utf-8"?> <CheatTable CheatEngineTableVersion="31"> <Forms> <CETrainer Class="TTrainerForm" Encoding="Ascii85">eN#/u):Zrz6ViMQ#9/OQj,}I-7a$ztt/kb3YCHiq,^A6Ix[0HdL,{$hpxyR2[z7fjo2H{e6unNKkN0]vI}M;[T*aOcL^l!AzEFA/BD_ZPWo%}LSI;td#@)#.^sAsgYxnKI]@..za6b-wMAwEZIXr.Qkl.,34iekBL+x/)wPAkLKAM-,GAP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ETrainer_1> </Forms> <CheatEntries> <CheatEntry> <ID>0</ID> <Description>"fov"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript Async="1">Code: [ENABLE] Aobscan(_place,5c 42 00 00 AA 42 00 00 00 3F 00 00 C0 3F 00) label(place) registersymbol(place) _place:* place: db 40 42 [DISABLE] place: db 5c 42 00 00 AA 42 00 00 00 3F 00 00 C0 3F 00 </AssemblerScript> <Hotkeys> <Hotkey> <Action>Activate</Action> <Keys> <Key>106</Key> </Keys> <ID>0</ID> </Hotkey> <Hotkey> <Action>Deactivate</Action> <Keys> <Key>105</Key> </Keys> <ID>1</ID> </Hotkey> </Hotkeys> </CheatEntry> <CheatEntry> <ID>1</ID> <Description>"fov1"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript Async="1">Code: [ENABLE] Aobscan(_place,5c 42 00 00 AA 42 00 00 00 3F 00 00 C0 3F 00) label(place) registersymbol(place) _place: place: db 40 42 [DISABLE] place: db 5c 42 00 00 AA 42 00 00 00 3F 00 00 C0 3F 00 </AssemblerScript> <Hotkeys> <Hotkey> <Action>Activate</Action> <Keys> <Key>106</Key> </Keys> <ID>0</ID> </Hotkey> <Hotkey> <Action>Deactivate</Action> <Keys> <Key>105</Key> </Keys> <ID>1</ID> </Hotkey> </Hotkeys> </CheatEntry> <CheatEntry> <ID>2</ID> <Description>"fov2"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript Async="1">Code: [ENABLE] Aobscan(_place,5c 42 00 00 AA 42 00 00 00 3F 00 00 C0 3F 00) label(place) registersymbol(place) _place: place: db 40 42 [DISABLE] place: db 5c 42 00 00 AA 42 00 00 00 3F 00 00 C0 3F 00 </AssemblerScript> <Hotkeys> <Hotkey> <Action>Activate</Action> <Keys> <Key>106</Key> </Keys> <ID>0</ID> </Hotkey> <Hotkey> <Action>Deactivate</Action> <Keys> <Key>105</Key> </Keys> <ID>1</ID> </Hotkey> </Hotkeys> </CheatEntry> </CheatEntries> <CheatCodes> <CodeEntry Color="20000000"> <Description>Code :fld dword ptr [esi+000019A0]</Description> <AddressString>PortalSystem.act+633F</AddressString> <Before> <Byte>C9</Byte> <Byte>D9</Byte> <Byte>5C</Byte> <Byte>24</Byte> <Byte>04</Byte> </Before> <Actual> <Byte>D9</Byte> <Byte>86</Byte> <Byte>A0</Byte> <Byte>19</Byte> <Byte>00</Byte> <Byte>00</Byte> </Actual> <After> <Byte>D8</Byte> <Byte>4C</Byte> <Byte>24</Byte> <Byte>20</Byte> <Byte>DE</Byte> </After> </CodeEntry> <CodeEntry Color="20000000"> <Description>fov</Description> <AddressString>PortalSystem.act+633F</AddressString> <Before> <Byte>C9</Byte> <Byte>D9</Byte> <Byte>5C</Byte> <Byte>24</Byte> <Byte>04</Byte> </Before> <Actual> <Byte>D9</Byte> <Byte>86</Byte> <Byte>A0</Byte> <Byte>19</Byte> <Byte>00</Byte> <Byte>00</Byte> </Actual> <After> <Byte>D8</Byte> <Byte>4C</Byte> <Byte>24</Byte> <Byte>20</Byte> <Byte>DE</Byte> </After> </CodeEntry> <CodeEntry Color="20000000"> <Description>Code :fld dword ptr [esi+000019A0]</Description> <AddressString>PortalSystem.act+633F</AddressString> <Before> <Byte>C9</Byte> <Byte>D9</Byte> <Byte>5C</Byte> <Byte>24</Byte> <Byte>04</Byte> </Before> <Actual> <Byte>D9</Byte> <Byte>86</Byte> <Byte>A0</Byte> <Byte>19</Byte> <Byte>00</Byte> <Byte>00</Byte> </Actual> <After> <Byte>D8</Byte> <Byte>4C</Byte> <Byte>24</Byte> <Byte>20</Byte> <Byte>DE</Byte> </After> </CodeEntry> </CheatCodes> <UserdefinedSymbols/> <LuaScript>--TRAINERGENERATORSTART-- --This is autogenerated code. Changing code in this block will --get erased and rewritten if you regenerate the trainer code --Uncomment the following line if this is a Cheat Table format trainer and you don't want CE to show (Tip, save as .CETRAINER alternatively) --hideAllCEWindows() RequiredCEVersion=7.1 if (getCEVersion==nil) or (getCEVersion()<RequiredCEVersion) then messageDialog('Please install Cheat Engine '..RequiredCEVersion, mtError, mbOK) closeCE() end addresslist=getAddressList() CETrainer.SEPERATOR.Visible=false getAutoAttachList().add("sh5.exe") gPlaySoundOnAction=false CETrainer.show() function AboutClick() showMessage(gAboutText) end gAboutText=[[This trainer was made by Cheat Engine www.cheatengine.org]] function CloseClick() --called by the close button onClick event, and when closing the form closeCE() return caFree --onClick doesn't care, but onClose would like a result end --TRAINERGENERATORSTOP-- </LuaScript> </CheatTable> Last edited by rfxcasey; 11-13-20 at 02:52 PM. |
![]() |
![]() |
![]() |
#3 |
Bosun
![]() Join Date: Jun 2009
Posts: 68
Downloads: 10
Uploads: 0
|
![]()
Well, good news and bad news. Overall good news though, I got the FOV working but not through the script. I started Silent Hunter 5 and loaded my save game so I'm standing on the bridge of the sub. Then I alt tab out of the game and I loaded Cheat Engine with no script. I clicked on 'select process to open', found SH5.exe, selected it and then clicked open. Next under the scan settings on the right I set the 'value type' to 'Array of byte'. Then under 'value' I ticked the 'Hex' checkbox and pasted in under 'value' '5C420000AA420000003F0000C03F00'. Next I clicked 'New Scan' and 2 results came up on the left, address '30034C3E' and address '3048BCB6' both of which had values of '5C420000AA420000003F0000C03F00'. So I right clicked on them, one at a time, and changed the first 2 bytes of both to '40 43' from their original value of '5C 42'.
Alt tabbed back into the game and like magic, the FOV is perfect, no stretching at all and all the button clicks line up with the buttons. It's BEAUTIFUL! Ah, I'm so happy I could kiss you guys. Only remaining issue is why the script isn't working. I'm no programmer so I'll need some help probably. I don't understand the code enough to know how to fix it. I can play now with the proper FOV but a automating everything, the script launching and the game starting, under one icon would be really great. ![]() |
![]() |
![]() |
![]() |
#4 | |
Bosun
![]() Join Date: Jun 2009
Posts: 68
Downloads: 10
Uploads: 0
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Bosun
![]() Join Date: Jun 2009
Posts: 68
Downloads: 10
Uploads: 0
|
![]()
Let me just add, when I start the trainer SH5.ct their is a box over the 'select process to open' button that is flashing green and red, is that normal?
Also, if I have to make my own trainer after changing the FOV manually, how do I do that? I don't know Cheat Engine well enough to create a trainer from my manual changes that work for me. |
![]() |
![]() |
![]() |
#6 |
Bosun
![]() Join Date: Jun 2009
Posts: 68
Downloads: 10
Uploads: 0
|
![]()
OK, maybe a clue, when I go into the memory viewer after starting the scripts, I see a lot of SH5.exe stuff so it looks like it's finding the executable BUT, at the top of the memory view window it says 'Symbols are being loading 0%' and never changes, is that a problem?
|
![]() |
![]() |
![]() |
#7 | |
Swabbie
![]() Join Date: May 2015
Posts: 10
Downloads: 47
Uploads: 0
|
![]() Quote:
your version ???? update or downgrade to 7.1 !!! |
|
![]() |
![]() |
![]() |
#8 | |
Swabbie
![]() Join Date: May 2015
Posts: 10
Downloads: 47
Uploads: 0
|
![]() Quote:
delete your cheat engine ! scan regedit for all trace... download only this version 7.1 and dont touch any setup "your cheat table is not affected by deleting , only program" verify the debugger in settings "use windows debugger" after is work ! for create trainer is in "File" clic on generate generic trainer lua.... but try this CE 7.1 and my ce scipt , is good and working ! Last edited by prouha; 11-14-20 at 04:23 AM. Reason: cool |
|
![]() |
![]() |
![]() |
#9 | |
Swabbie
![]() Join Date: May 2015
Posts: 10
Downloads: 47
Uploads: 0
|
![]() Quote:
test my script with cheat engine updated version 7.2 and dont work !!! downgrade to 7.1 and bingo !!! working ! try cheat engine v6.8.1 and.............working ! for me the 7.2 is very instable ,crash ....dont understand why... 7.1 is perfect , verify your version please ! Last edited by prouha; 11-14-20 at 04:06 AM. Reason: cool |
|
![]() |
![]() |
![]() |
|
|