About This File
This RAR file contains modified lithtech.exe files that fix the FOV issue in Might and Magic IX (2002). I don't recommend setting any ingame resolution through autoexec.cfg other than 800x600, since any other resolution, including other 4:3 ones, break the menus. So, a safer option is to set your native resolution in a DirectX wrapper like dgVoodoo2, along with 800x600 ingame. This means however, that HUD and menus will be stretched.
Supported aspect ratios: 5:4, 1.85:1, 2.39:1, 2.76:1, 12:3, 15:4, 15:9, 16:9, 16:10, 21:9 (2560x1080), 21:9 (3440x1440), 21:9 (3840x1600), 32:9, 32:10, 45:9, 48:9 and 48:10.
Tools used: OllyDbg, Cheat Engine, HxD.
Instructions:
1. Extract the lithtech.exe that corresponds to your aspect ratio to the main game folder, overwriting the original executable.
2. Start the game through the startup launcher executable (mm9.exe).
Instructions for other aspect ratios:
1. So, the LithTech engine declares FOV values as radians in a 32-bit float format. The hex location for horizontal FOV is in the address 00081956. Default horizontal FOV is 90º.
2. Open one of the modded lithtech.exe files in a hex editor like HxD (it will not work with the unmodded EXEs, it has to be with the ones from this fix).
3. Press Ctrl+G and go to the offset addresses in step 1.
4. Highlight the 4 pairs of values after where the cursor is positioned after doing the search for the addresses.
5. Use a degrees to radians converter like this one: https://www.rapidtables.com/convert/number/degrees-to-radians.html.
6. Enter your desired degrees.
7. Press "Convert".
8. Copy the radians result and go back to HxD.
9. Go to the "Data inspector" tab at the right side and paste the value in the "Single (float32)" row (Replace the dot with a comma, as HxD doesn't recognize floating point numbers with dots).
10. Press Enter and save the file. Your new horizontal FOV will be saved permanently.
Recommended Comments
There are no comments to display.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.