Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Для RR надо в %LOCALAPPDATA%\Townfall\Saved\Config\Windows\ создать engine.ini и сделать замочек на файл только чтение:
- [SystemSettings]
- r.FilmGrain=0
- r.Tonemapper.GrainQuantization=0
- r.SceneColorFringeQuality=0
- r.NGX.DLSS.Enable=1
- r.NGX.DLSS.DenoiserMode=1
- r.Shadow.Denoiser=0
- r.Lumen.Reflections.BilateralFilter=0
- r.Lumen.Reflections.ScreenSpaceReconstruction=0
- r.Lumen.Reflections.Temporal=0
- r.Lumen.ScreenProbeGather.Temporal.MaxFramesAccumulated=12
- r.Lumen.DiffuseIndirect.Temporal.MaxFramesAccumulated=12
- В папке Townfall\Binaries\Win64\ue4ss\UE4SS-settings.ini:
- [EngineVersionOverride]
- MajorVersion = 5
- MinorVersion = 6
- DebugBuild = false
- [Debug]
- ConsoleEnabled = 0
- GuiConsoleEnabled = 0
- GuiConsoleVisible = 0
- [General]
- DefaultExecuteInGameThreadMethod = ProcessEvent
- [Hooks]
- HookEngineTick = 0
- В папке ue4ss\ создаем папку UE4SS_Signatures.
- Внутри создаем файл StaticConstructObject.lua со следующим содержимым:
- function print(...) end
- return 0x0
- В файле ue4ss\Mods\mods.txt отключаем всё лишнее, особенно сломанный ConsoleEnablerMod:
- ConsoleEnablerMod : 0
- CheatManagerEnablerMod : 0
- BPModLoaderMod : 0
- Keybinds : 0
- AutoRR : 1
- Создаем папку: ue4ss\Mods\AutoRR\Scripts\
- Создаем там файл main.lua:
- local UEHelpers = require("UEHelpers")
- RegisterHook("/Script/Engine.PlayerController:ClientRestart", function(Context)
- local PC = Context:get()
- if PC:IsValid() then
- local Kismet = StaticFindObject("/Script/Engine.Default__KismetSystemLibrary")
- if Kismet:IsValid() then
- Kismet:ExecuteConsoleCommand(PC, "r.NGX.DLSS.DenoiserMode 1", PC)
- print("[AutoRR] >>> Ray Reconstruction (RR) ACTIVATED! <<<")
- end
- end
- end)
- Для dlss FG:
- в папку Optiscaler/streamline скинуть файлы из streamline архива.
- https://github.com/RankFTW/rhi-repo/releases?page=2#release-streamline-2.14.1.0
Advertisement
Add Comment
Please, Sign In to add comment