local _, P = ... P.version = 5 P.release = "2026.11.22.1-beta.1" P.graphicsVersion = 2 P.layoutName = "Ruen UI - Clear ESDF" function P.IsOurLayout(layout) return layout and (layout.layoutName == P.layoutName or layout.layoutName == P.legacyLayoutName) end -- Save uses the full native layout list, including preset slots. Work on a -- detached copy: writing manager/systemInfo tables contaminates secure handlers. function P.CopyEditModeLayouts() local manager = EditModeManagerFrame if manager and manager.layoutInfo then return CopyTable(manager.layoutInfo) end return CopyTable(C_EditMode.GetLayouts()) end function P.SaveEditModeLayouts(info) C_EditMode.SaveLayouts(info) -- Saving persists the data; explicitly select it to refresh native systems -- now, rather than showing their previous settings until the next reload. if info.activeLayout then C_EditMode.SetActiveLayout(info.activeLayout) end -- A native layout reload restores ALL saved anchors and tracker height, -- even when the only change was an optional cooldown/meter setting. -- Reconcile owned control geometry before placing those optional viewers. if P.ReconcileControlGeometry then P.ReconcileControlGeometry() end end -- Values verified against Blizzard's Forever (Camelot) SettingsDefinitions. -- Quality sliders are zero-based; do not set the master preset afterward. P.graphics = { {"graphicsShadowQuality", 2}, -- Good {"graphicsSSAO", 1}, -- Low ambient shading; cheaper at 1440p {"graphicsComputeEffects", 2}, -- Good {"graphicsLightMode", 1}, -- Good secondary lighting {"graphicsLiquidDetail", 2}, -- Good legacy water {"graphicsPBRLiquidDetail", 1}, -- High new water {"graphicsTextureResolution", 2}, -- High {"graphicsParticleDensity", 2}, -- Good; keep combat cues {"graphicsSpellDensity", 0}, -- Essential {"graphicsProjectedTextures", 1}, {"graphicsDepthEffects", 0}, {"MSAAQuality", "0,0"}, -- No expensive multisampling/supersampling {"msaaAlphaTest", 0}, {"ffxAntiAliasingMode", 1}, -- Low-cost FXAA {"graphicsViewDistance", 3}, -- 4/10 to reduce CPU/draw-call load {"graphicsEnvironmentDetail", 3}, -- 4/10 {"graphicsGroundClutter", 4}, -- 5/10 grass distance {"groundEffectDensity", 24}, {"RenderScale", 1}, {"bloomUserMult", 0.4}, {"maxFPS", 60}, {"useMaxFPS", 1}, {"maxFPSBk", 15}, {"useMaxFPSBk", 1}, {"targetFPS", 60}, {"useTargetFPS", 1}, {"vsync", 0}, {"RAIDsettingsEnabled", 0}, -- Same tested profile in groups; no stale preset 2 } P.performance = { {"graphicsComputeEffects", 2}, {"graphicsLightMode", 1}, {"graphicsShadowQuality", 1}, {"graphicsSSAO", 1}, {"graphicsViewDistance", 2}, {"graphicsEnvironmentDetail", 2}, {"graphicsGroundClutter", 4}, {"groundEffectDensity", 24}, {"maxFPS", 45}, -- Cooler fallback for busy areas or long sessions {"RenderScale", 1}, -- Preserve clarity in the fallback too } P.gameplay = { {"profanityFilter", 0}, -- show chat without mature-language substitutions {"autoLootDefault", 1}, {"combinedBags", 1}, {"cameraSmoothStyle", 0}, {"cameraDistanceMaxZoomFactor", 4}, {"lockActionBars", 0}, {"countdownForCooldowns", 1}, {"UberTooltips", 1}, {"statusText", 1}, {"statusTextDisplay", "BOTH"}, {"showTargetOfTarget", 1}, {"raidFramesDisplayPowerBars", 1}, {"raidFramesDisplayOnlyHealerPowerBars", 0}, {"raidFramesDisplayClassColor", 1}, {"raidFramesDisplayAggroHighlight", 1}, {"raidFramesDisplayIncomingHeals", 1}, {"raidFramesHealthText", "perc"}, {"nameplateShowEnemies", 1}, {"nameplateShowAll", 1}, {"enablePings", 1}, {"cooldownViewerEnabled", 1}, {"showSwingTimer", 0}, {"Sound_EnableSoundWhenGameIsInBG", 1}, }