com.fiodor.pipdisabler):它是对 SetResolution 的 postfix 门控(不改写入参、不改字段),与本插件共存;被它抑制的镜内渲染不会触发本插件的冲突重试。OpticComponentUpdater 等与本插件不重叠的目标,无直接冲突。OpticSight.OnEnable / OpticSight.OnDisable / Player.FirearmController.ChangeAimingMode,并在 EFT.CameraControl.CameraManager 上调用 SSAAImpl.Switch / SetAntiAliasing / SetFSR2 / SetFSR3。它既不 patch OpticCameraManager.SetResolution,也不改 OpticFinalResolution,与本插件没有重叠的 patch 目标或共享状态,可以同时使用;效果叠加:镜外由 DERP 降,镜内由本插件降。注意两点:① DERP 自身在 DLSS/FSR 下进镜会黑屏闪烁(官方建议用 TAA + Sampling Downgrade 规避);② 两者同时降低分辨率时,镜片区域会被「双重降质」,通常比单独用任一都更糊。SSAA/SSAAImpl,镜内画面是其一部分;独立的镜内 FSR/DLSS 需要另挂一套组件,本插件不做。Init() 时设置一次,插件不做补偿。SetResolution 的模组可能冲突:若第三方 prefix 改写同一入参,插件检测到目标未生效后会暂停重试直至你更改目标值,避免反复重建 RenderTexture。test.yml(跑纯逻辑单测);发行包用 scripts/release.sh 本地一键发布。本插件涉及的游戏符号(
OpticCameraManager.SetResolution、OpticFinalResolution、_CamTex、SSAAOpticCurrent等)均直接取自本机安装的 SPT 4.1.x 实际Assembly-CSharp.dll反编译结果,而非公开资料。
===============================================================
com.fiodor.pipdisabler): it is a postfix gate on SetResolution (it neither rewrites the argument nor the field), so it coexists with this plugin; suppressed scoped rendering does not trigger this plugin's conflict retry.OpticComponentUpdater, etc.) that do not overlap this plugin, so there is no direct conflict.OpticSight.OnEnable / OpticSight.OnDisable / Player.FirearmController.ChangeAimingMode and calls SSAAImpl.Switch / SetAntiAliasing / SetFSR2 / SetFSR3 on EFT.CameraControl.CameraManager. It neither patches OpticCameraManager.SetResolution nor touches OpticFinalResolution, so it shares no patch target or state with this plugin and the two can run together; their effects stack: the exterior is lowered by DERP and the in-scope image by this plugin. Two caveats: (1) DERP itself black-flickers on scope transition under DLSS/FSR (the official advice is TAA + Sampling Downgrade); (2) when both lower resolution, the lens area is degraded twice and usually looks softer than with either alone.SSAA/SSAAImpl on the main camera and the scoped image is part of it; a truly independent in-scope FSR/DLSS would require attaching a second component, which this plugin does not do.Init(), and the plugin does not compensate.SetResolution: if a third-party prefix rewrites the same argument, the plugin detects the target not taking effect and pauses retries until you change the target, avoiding repeated RenderTexture rebuilds.test.yml (pure-logic unit tests); release packages are produced locally with scripts/release.sh.Every game symbol used here (
OpticCameraManager.SetResolution,OpticFinalResolution,_CamTex,SSAAOpticCurrent, …) was taken directly from decompiling the SPT 4.1.xAssembly-CSharp.dllinstalled on this machine, not from public sources.