![]() |
silent hunter 5 ultrawide camera fix
J'ai finalement trouvé le fov de la première personne, mais j'ai besoin d'un peu d'aide ....
comme vous le savez, dès que la résolution dépasse une certaine valeur, la caméra plante et aucune première personne 16: 9 n'est parfaite, 21 : 9 ça commence à avoir peur et 16: 3 rien! seulement noir! avec le moteur de triche j'ai réussi à trouver 2 valeurs qui corrigent ceci: 92 & 66 très difficile à trouver ........ tableau d'octet code: 5C420000AA420000003F0000C03F00 attention il y a 2 lignes identiques ... évidemment c'est la seconde! maintenant ce sont les 2 premiers! 5c & 42 (92 66) J'ai essayé plusieurs nombres, pour ma résolution 16:3 (5760x1080) et finalement trouvé 77 90 comme si par magie la vue à la première personne fonctionne et le format est correct! maintenant j'ai besoin d'automatiser cela, j'ai du mal avec les pointeurs, mais c'est déjà un grand pas en avant alors? idées ??? sh5 no mod and version 1.1.5 je viens de tester la version 1.2 ......c'est identique , enfin de la chance ! il faut trouver maintenant un moyen de caler tout cela avec CE.....je bloque un peu ici , mais tout n'est pas fini ! https://www.youtube.com/watch?v=5yhjD9XaNk8 |
the fov is exactely 55 in game
only change this and find your correct fov ! 55 fov is based on aob 5C420000AA420000003F0000C03F00 if you change first value 92 (5c n hexa) to 93 the fov value up to 55.25 change only 55 ex : for 5760x1080 i move 55 to 148 and the result is : 94430000AA420000003F0000C03F00 my script : [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 94 43 [DISABLE] place: db 5c 42 00 00 AA 42 00 00 00 3F 00 00 C0 3F 00 create 3 scripts fov1 , fov2 , fov3 sames values and clic on "execute asynchronous" add key for active & cut (the same for all scripts) work every times ! why 3 scripts ? the game find one or two or three aob , for working scan and select all correct values : 3 same script and clic right on this for "execute asynchronus" |
I'm very interested in this topic. I only speak English so I had to use Google Translate on the original post. I'm running the game at 2560x1080 and while the external views seem to work properly, the first person view is distorted badly. I've used Cheat Engine once before on Metal Gear 5 but it's been a while and I'm not very experienced with it. If someone can come up with a CE script for my 2560x1080 resolution that fixes the first person view I'd be forever grateful.:Kaleun_Cheers:
|
Quote:
I will test your resolution, and I will post the right values for it with my CE scipt to adapt for your values |
Quote:
your reso fov https://www.mediafire.com/convkey/b1...rv9tzrk9zg.jpg hack fov exemple https://www.mediafire.com/convkey/0f...hk9askg1zg.jpg http://www.mediafire.com/view/51x2ty...ormal.jpg/file 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 ? :O::O::O::O::O: after you can try : http://www.mediafire.com/file/aea41k..._sh5_.ahk/file 5760x1080 you can see gui hud centered ! https://www.mediafire.com/convkey/c1...tru2nrubzg.jpg |
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-,GAPuBKhXFu*}c+DV-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heatEntries> <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> |
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.:subsim: |
Quote:
|
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. |
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 ! |
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?
|
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 ! |
Quote:
your version ???? update or downgrade to 7.1 !!! |
v 7.2 I'll downgrade and see what happens. I can't find a clean source for 7.1, everything keeps flagging it as 'dangerous'.
|
Could you possibly make me a version of this using Cheat Engine 7.2? It would really help me out. I can't find an english version of 7.1 anywhere and the Polish versions I find are from unofficial sources and somewhat questionable. I'm trying to make my own trainer in 7.2 but I can't get the Debugger to work properly so I can make a pointer.
|
All times are GMT -5. The time now is 11:54 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.