Have you ever desired to play The Forest with a field of view (FOV) greater than 95? This guide will demonstrate how to adjust and expand the FOV limits in The Forest. W tym przewodniku, I will provide instructions on how to modify the FOV limit in The Forest. Domyślnie, the game restricts the FOV to a minimum of 60 and a maximum of 95 stopnie. If you want to utilize values outside of this range, you will need to make changes to the game files.
Installing dnSpy
To modify the FOV limit, you will need to use dnSpy to edit the game files.
Aby rozpocząć, visit the dnSpy repository’s latest release and locate the download links. Choose the appropriate link for “dnSpy-net-win64.zip” and extract all the files to a folder of your preference. You can delete these files once you have completed the necessary modifications.
After extracting the files, launch “dnSpy.exe” to proceed with the next steps.
Accessing the Game Files
Teraz, we will navigate to the game files that require editing.
Locate the directory where The Forest game is installed. You can find it by right-clicking on The Forest in your Steam library, selecting Properties, going to the Local Files tab, and clicking on the Browse button.
Within the game directory, navigate to the following path: The Forest/TheForest_Data/Managed.
Wewnątrz “Managed” falcówka, you will see various .dll files. The only file you need to edit is “Assembly-CSharp.dll”.
To open this file, simply drag and drop it into the dnSpy interface.
Editing the FOV limits
Now we will move on to the more intricate part of the process, where we will edit the code responsible for limiting the FOV values in the menu.
Pierwszy, we need to locate the appropriate class that handles mouse input. This class is named “MenuOptions.”
To find this class, navigate to the left side of dnSpy and expand “Assembly-CSharp” -> “Assembly-CSharp.dll” -> “{ } -” -> “MenuOptions.”
Następny, we will decompile and modify the “CopySettingsFromGUI()” metoda. Aby to zrobić, expand the MenuOptions class and right-click on “CopySettingsFromGUI().” From the context menu, wybierać “Edit Method (C#)…” kontynuować.
In the newly opened popup window, you will now have access to edit the code. Look for the specific code line, which should be approximately around line 160:
These values determine the limits for the FOV slider. The value on the right (domyślny 60) represents the minimum FOV, while the value on the left (domyślny 35) corresponds to the range. Adding these two values together gives you the maximum FOV value (60 + 35 = 95).
Let’s say we want to set a new minimum FOV of 90 and a maximum FOV of 130. W takim razie, we need to adjust the minimum (right value) Do 90 and the range to 40 (90 + 40 = 130) jak pokazano poniżej:
Once you have made the necessary adjustments to these values, kliknij “Compile” located at the bottom right of the popup window.
Jednakże, our task is not complete yet. We need to repeat this procedure for another function.
Tym razem, we will edit the “OnChangePreset()” metoda. Right-click on it and select “Edit Method (C#)” once again to proceed.
Scroll down and find the specific line of code, which should be approximately around line 470:
Simply insert the same values you used previously (90 I 40 in our example) in this line of code. After making the necessary changes, kliknij “Compile” located at the bottom right.
The final step is to save the modifications you have made. Aby to zrobić, click on the save button in the toolbar, which is depicted in the image below:
Następnie, trzask “OK” on the upcoming dialog to confirm the save.
To wszystko, co dzisiaj udostępniamy w tym celu Las przewodnik. Ten przewodnik został pierwotnie stworzony i napisany przez LNX. Na wypadek, gdybyśmy nie zaktualizowali tego przewodnika, możesz znaleźć najnowszą aktualizację, postępując zgodnie z tym połączyć.