Jump to content

Arthur's Quest: Battle for the Kingdom - FOV Fix


6 Screenshots

About This File

This RAR file contains modified CShell.dll files that fix the FOV issue in Arthur's Quest: Battle for the Kingdom (2002), as the game's engine, LithTech Talon, stretches the image at resolutions with an aspect ratio wider than 4:3, due to it having a constant horizontal FOV, no matter the resolution chosen.

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 CShell.dll that corresponds to your aspect ratio to the main game folder, overwriting the original executable.

2. Set your resolution in <path-to-game>/autoexec.cfg.

3. Look for the lines "GameScreenHeight", "SCREENHEIGHT", "SCREENWIDTH" and "GameScreenWidth".

4. Once in-game, don't go to the video options or the custom resolution is lost.

Instructions for other aspect ratios:

1. So, the LithTech engine declares FOV values with radians as 32-bit floats. The hex location for horizontal FOV is in the address 001AF741.

2. Open one of the modded CShell.dll files in a hex editor like HxD.

3. Press Ctrl+G and go to the offset address in step 1.

4. Highlight the 4 pairs of values after where the cursor is positioned after doing the search for the address.

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 (horizontal FOV).

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.

10. Press Enter and save the file. Your new horizontal FOV will be saved permanently.





User Feedback

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.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Found PCGamingWiki useful? Please consider making a Donation or visiting our Patreon.
  • Who's Online   1 Member, 0 Anonymous, 335 Guests (See full list)

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Member Statistics

    10,677
    Total Members
    3,870
    Most Online
    definedex
    Newest Member
    definedex
    Joined
×
×
  • Create New...