com.fiodor.pipdisabler):它是对 SetResolution 的 postfix 门控(不改写入参、不改字段),与本插件共存;被它抑制的镜内渲染不会触发本插件的冲突重试。OpticComponentUpdater 等与本插件不重叠的目标,无直接冲突。OpticComponentUpdater.CopyComponentFromOptic:本插件新增的 patch 目标是 OpticComponentUpdater.CopyComponentFromOptic(postfix);它与 Amands's Graphics(patch OpticComponentUpdater.Awake)、Fontaine's FOV Fix(patch OpticComponentUpdater.LateUpdate)目标不同、不重叠;本插件不 patch LateUpdate,因此不会与 FOV Fix 争抢每帧覆盖。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() 时设置一次,默认随画质档变化;可将「镜内贴图 mip 模式」设为「自定义」并用「Mip 偏差」覆盖它来调节。注意它改变的是常驻 mip 与上传/磁盘 I/O,且贴图品质为高时最多只能丢 2 级(偏差大于 2 会被截断),详见配置参考。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.OpticComponentUpdater.CopyComponentFromOptic: this plugin's new patch target is OpticComponentUpdater.CopyComponentFromOptic (postfix); it is different from and does not overlap Amands's Graphics (which patches OpticComponentUpdater.Awake) or Fontaine's FOV Fix (which patches OpticComponentUpdater.LateUpdate); this plugin does not patch LateUpdate, so it does not contend with FOV Fix for the per-frame override.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 defaults to a quality-dependent value; set "镜内贴图 mip 模式 | Scope Mip Mode" to "自定义" (custom) and override it with "Mip 偏差 | Mip Bias" to adjust. Note that it changes mip residency and upload/disk I/O, and at high texture quality at most 2 levels can be dropped (anything above 2 is truncated); see the configuration reference for details.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.