La foresta

Come modificare il campo visivo (Campo visivo) nella foresta

Hai mai desiderato giocare con un FOV superiore a 95? Questa guida ti mostrerà come aumentare o abbassare i limiti del FOV in The Forest.

introduzione

In questa guida, Dimostrerò come regolare il limite FOV in The Forest. Per impostazione predefinita, il FOV è limitato ad un minimo di 60 and a maximum of 95 gradi. If you wish to use values beyond this range, you’ll need to modify the game files.

Installing dnSpy

To modify the FOV limit, you will need to edit the game files using dnSpy.

Iniziare, visit the latest release of dnSpy and scroll down to find the download links. Clicca su “dnSpy-net-win64.zipand extract all the files to a folder of your choice. You can delete these files once you’re finished with the fix.

Prossimo, launchdnSpy.exeto proceed with the following steps.

Opening the Game Files

Adesso, we’ll open the game file that requires editing.

Locate your “La foresta” game directory and navigate to: The Forest/TheForest_Data/Managed.

You can access the game directory by right-clicking on The Forest in Steam, selecting Properties, clicking on the Local Files tab, and choosing Browse.

All'interno del “Managed” cartella, you’ll find numerous .dll files. The only file you need to edit isAssembly-CSharp.dll”.

Drag and drop this file into dnSpy to open it.

Editing the FOV limits

Now we’ll delve into the trickier part of the process. We will be editing the code responsible for limiting the FOV values in the menu.

Primo, we need to locate the correct class that handles mouse input. This class is calledMenuOptions.

To find this class, navigate to the left side of dnSpy underAssembly-CSharp” -> “Assembly-CSharp.dll” -> “{ } -” -> “MenuOptions.

Prossimo, we need to decompile and edit the method calledCopySettingsFromGUI().” Per realizzare questo, expand the MenuOptions class and right-click onCopySettingsFromGUI().” Dal menu contestuale, Selezionare “Edit Method (C#)…”

In the new popup window, you will now be able to edit the code. Look for the following code line, which should be around line 160:

These values represent the limits for the FOV slider. The right value (predefinito 60) corresponds to the minimum FOV, while the left value (predefinito 35) represents the range. By adding these two values together, you obtain the maximum FOV value (60 + 35 = 95).

Suppose we want to set a new minimum FOV of 90 and a maximum of 130. In quel caso, we need to adjust the minimum (giusto valore) a 90 and the range to 40 (90 + 40 = 130) come segue:

After editing these values, clicca su “Compilelocated at the bottom right of the popup.

Tuttavia, we’re not done yet. We need to repeat this procedure for another function.

Questa volta, we want to editOnChangePreset().” Right-click on it and selectEdit Method (C#)” di nuovo.

Scroll down and locate the following line of code, which should be around line 470:

Simply insert the same values you used before (90 e 40 in our example). Once you’ve made the changes, clicca su “Compileat the bottom right.

The final step is to save the changes you made. Click on the save button in the toolbar, come mostrato nell'immagine qui sotto:

And click “OK” on the upcoming dialog:

Questa guida su La foresta è stato scritto da LNX. Puoi visitare la pubblicazione originale da questo collegamento. In caso di dubbi su questa guida, per favore non esitate a contattarci qui.

Circa l'autore