Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Topic on Talk:Hitman 2: Silent Assassin

Widescreen Hex Editing

16
RaTcHeT302 (talkcontribs)

I am so confused as to how someone managed to get the widescreen stuff working for Hitman 2, it's so frustrating.

Mirh (talkcontribs)

Wasn't there even another solution?

RaTcHeT302 (talkcontribs)

I honestly don't know.

Suicide machine (talkcontribs)

What is the issue exactly?

Sidenote: I've written a simple program that allows for easy byte replacement (basically same rule as UniWS). Hopefully if I can figure out the whole deal with Hitman 2, I'd publish it.

RaTcHeT302 (talkcontribs)
RaTcHeT302 (talkcontribs)
RaTcHeT302 (talkcontribs)

Actually maybe I should just keep fiddling around for a while longer, I just realized that in order to find the adress I wanted to I simply had to use Go To instead of Find... duh...

Mirh (talkcontribs)

Adjusting RenderD3D.dll, hitman2.exe, config.exe for resolution is pretty straightforward once you have this table

What I still miss is how the change D8F189411CC7412C0000803F8941308941348941 to D8F189411CC7412CAAAABA3F8941308941348941 would represent a FoV of 91°. Not to mention the other two tweaks.

RaTcHeT302 (talkcontribs)

I already knew that's the FOV, but I don't know how to translate it into Decimal.

Suicide machine (talkcontribs)

D8F189411CC7412C0000803F894130894134894

It's actually a float value representing 1.0. Here: http://www.h-schmidt.net/FloatConverter/IEEE754.html

You get: 0x3f800000. Reverse the order to get Little Endian - > 0x0000803F.

So it's probably some multiplier that affects the FOV. The guy changed it to 1.4583333 ;)

Question is how to find it in GOG file.

RaTcHeT302 (talkcontribs)

Ah, 8 bits. I didn't realize that's what I had to look for.

Suicide machine (talkcontribs)

Assuming there weren't any upgrades since GOG version was uploaded to TPB -> address: 00001779 (no, I'm not going to buy like a 3rd copy of H2SA, thank you very much).

Still, causes pretty major graphical glitches :/

-- EDIT -- OK, so I seem to somewhat be able to fix the issues, but that's using CheatEngine. It'd be nice to be able to do that using hex editing.

Mirh (talkcontribs)

Mhh, I don't know if you noticed GOG executable is packed.

See the other discussion in this talk page

Suicide machine (talkcontribs)

I missed that, but it doesn't matter much, as it doesn't seem to be related to FOV values.

RaTcHeT302 (talkcontribs)

I honestly don't know.