Skip to content

Releases

WeatherTweaker v2.1.0

Choose a tag to compare

@Mitaska Mitaska released this 04 Jul 15:16

Added

  • Tabbed popup UI — controls are now split into Weather, Particles, and
    Scene tabs, with an emoji preset grid, a segmented Sun/Moon/Off control, and
    a refresh-rate badge in the header.
  • Aurora Quality setting (Low / Medium / High) for the revamped aurora.

Changed

  • Frame-rate independence is now built in and always on.
  • Preset-specific options (e.g. the aurora controls) only appear when that
    preset is selected, instead of always taking up space.

Performance

  • Standalone mode no longer runs the engine's hidden weather loop in parallel —
    roughly halving render cost when both are active.
  • Snow, fog, ember, hail, firefly, and star effects are sprite-cached, and the
    revamped aurora renders through a low-resolution layer, cutting per-frame work
    by an order of magnitude.

Fixed

  • Particles no longer die a third of the way down the screen or vanish at high
    Speed; slow effects (snow, sand, leaves) now cover the full surface and are
    released in a continuous flow instead of visible batches.
  • Particle density and placement are correct on high-DPI displays.
  • The color tint no longer disappears mid-stream, and several edge-case crashes
    and listener leaks around the popup have been resolved.
  • The popup no longer resizes when switching tabs or right after opening.

WeatherTweaker v2.0.0

Choose a tag to compare

@Mitaska Mitaska released this 26 Jun 21:31

Added

  • Standalone mode — new toggle that renders weather on the extension's own canvas, with no World State agent and no "Dynamic weather effects" setting required. It mounts and animates an independent canvas in the roleplay surface, porting the engine's particle, lightning, aurora, starfield/meteor, and sun/moon rendering so the look matches the default (greffé) mode. Standalone is a global preference (not per-chat) and is also offered on the popup's "not available" screen
  • Celestial Position slider — places the sun/moon along its sky arc (rising → peak → setting, 0–1), driving both horizontal position and height. Works in standalone, and in greffé mode by overriding the engine's time-of-day hour when Sun/Moon is forced; disabled for Auto/None

Changed

  • Toolbar button consistency — the button now mirrors the engine's getChatToolbarButtonClass, adding the keyboard focus-visible ring, using the engine's larger touch target in the mobile overflow menu, and setting type="button" + aria-label
  • Config-memo refresh — the host's weather config object is re-located on a throttled cadence, so forced overlay / lightning / celestial overrides survive World State weather and time updates instead of silently stopping after the first AI change
  • Per-frame work throttled — chat-switch detection and config refresh no longer run on every animation frame
  • Reset button moved to the bottom of the popup (was rendered mid-panel, between the Celestial and Aurora sections)
  • Persistence — the per-chat original-particle snapshot is no longer written to localStorage (it is ephemeral and random, and caused a needless write on every change)
  • Faithful rendering — createParticle / drawParticle and the sun/moon helpers are ported from the engine so forced presets and standalone output match the native effects

Fixed

  • Standalone animation speed / flash — thunderstorms over-flashed and Revamped Aurora moved too fast. Root cause: React re-rendering the roleplay surface detached the extension's canvas, triggering a re-attach that reset every animation counter to 0 — firing an immediate lightning strike and restarting the aurora each time. Fixed by reusing the same canvas element across re-renders and persisting animation state across (re)attach (measured: ~150 → ~3 strikes per 1500 frames). Affected all frame-counter effects (lightning, aurora, stars, meteors)
  • Toolbar button missing in some layouts — the button is now injected into every top-controls container (the engine renders several for responsive / compact layouts) using a class marker instead of a duplicate id, so it appears in whichever layout is visible
  • Removed an unused variable and a stale comment

WeatherTweaker v1.4.0

Choose a tag to compare

@Mitaska Mitaska released this 24 Jun 12:35

Added

  • Celestial body override — new "Show" dropdown (Auto / Sun / Moon / None) in the popup lets users force which celestial body renders, overriding the engine's time-of-day logic
  • Sun Rays toggle — checkbox to enable/disable animated sun rays independently of the celestial body
  • isClearSky override — celestial bodies now render in any weather (rain, snow, fog, etc.) instead of being suppressed by the engine's sky clarity check

Changed

  • Double-tint suppression — when the extension's custom color tint is active, the engine's native time-of-day tint is suppressed to prevent overlapping overlays
  • Lightning ownership — forced-weather thunderstorms now set the engine's lightning flag to false, leaving flash rendering entirely to the extension's own loop, eliminating double-flash artifacts
  • Double aurora rendering — native aurora particles are now cleared from the particle array when Revamped mode is enabled, preventing the engine's particles from showing underneath the custom aurora bands

WeatherTweaker v1.3.0

Choose a tag to compare

@Mitaska Mitaska released this 24 Jun 11:47

Added

  • Marinara Engine v2.0 compatibility — extension now uses the v2.0 manifest format (kind, version, config wrapper) and all CSS variables migrated from legacy fallbacks (#999, #6c63ff, etc.) to --marinara-chat-chrome-* design tokens (panel-muted, panel-border, panel-bg, panel-text, panel-title, panel-divider)
  • Seamless popup theming — popup card re-styled with the engine's marinara-chat-popover shell class, animate-message-in entrance animation, shadow-2xl shadow-black/40, and backdrop-blur-md glass effect, matching built-in panels exactly
  • marinara-chat-toolbar-button toolbar icon — toolbar button now uses the engine's shared marinara-chat-toolbar-button class with h-8 w-8 sizing and 15px icons, including proper hover/active border-background-text chrome tokens

Changed

  • DOM selectors updated for v2.0 layout — sidebar active chat detection targets --marinara-chat-chrome-highlight-bg instead of the legacy --sidebar-accent class; toolbar injection uses [data-roleplay-top-controls="right"] and overflow menu detection uses [data-chat-toolbar-overflow-menu] data attributes for stable querying
  • Popup header, title, and close button — replaced all inline styles with Tailwind classes matching the engine's NEUTRAL_PANEL_HEADER/TITLE/CLOSE_BUTTON pattern; header uses border-b border-[--marinara-chat-chrome-panel-divider] px-3 py-2.5, title uses text-xs font-semibold text-[--marinara-chat-chrome-panel-title], close button uses rounded-lg p-1.5 with hover transitions
  • Built-in CSS helpers — added .mt-divider, .mt-aurora-hdr, and .mt-help CSS classes that consume chrome panel tokens, replacing hardcoded inline borders and fallback colors
  • marinara.onCleanup guard — simplified from typeof marinara !== 'undefined' to marinara && marinara.onCleanup to match v2.0's scoped marinara parameter injection

Fixed

  • Form element styling in v2.0 — select and input borders now use --marinara-chat-chrome-input-border, background uses --marinara-chat-chrome-panel-bg, focus state uses box-shadow with --marinara-chat-chrome-focus-ring; range slider accent uses var(--primary) without fallback

Documentation

  • Minimum version requirement — updated from Marinara Engine ≥ v1.5.0 to ≥ v2.0.0

WeatherTweaker v1.2.1

Choose a tag to compare

@Mitaska Mitaska released this 29 May 15:33

Added

  • Mobile overflow menu injection — injectMobileMenuButton() detects the "..." popover on mobile and injects a copy of the WeatherTweaker button with data-mt-popover attribute

Fixed

  • Star preset compatibility on mobile — stars are now kept in an extension-owned starField array instead of the host's particle array, preventing the host's respawn logic (triggered on every canvas resize) from overwriting star positions and causing layout glitches
  • Button click propagation on mobile popovers — split click handling into onWeatherBtnClick which only stops propagation when not inside a mobile "..." overflow menu, preventing the menu from closing prematurely
  • Button state not updating in mobile popover — updateBtnState() now also queries #mt-popover-btn for active styling

Changed

  • Refactored button creation — extracted makeWeatherButton(), weatherBtnClass(), buildWeatherIcon() for reuse across desktop and mobile popover injection points

WeatherTweaker v1.2.0

Choose a tag to compare

@Mitaska Mitaska released this 29 May 00:03

Added

  • Two new weather presets — Starry Night (140 static stars, deep blue overlay) and Starry Showers (60 stars + shooting meteors), both with screen composite rendering and responsive star positioning via xRatio/yRatio
  • Twinkling star system — each star has a unique starBase (0.35–0.95), twinkleSpeed (0.003–0.011), and color variety (55% white, 23% blue-white, 14% warm, 8% red), with 7% chance of being a "bright" star
  • Diffraction spike rendering — bright stars render 4-point cross spikes via createLinearGradient
  • Shooting meteor system — tapered trails with radial head glow, randomized spawn rate (meteorRate), directional variance, fade-in/out lifecycle, and max concurrent cap (2)
  • drawStars() and drawShootingStars() — new functions integrated into the main modLoop() for continuous rendering

WeatherTweaker v1.1.0

Choose a tag to compare

@Mitaska Mitaska released this 16 May 16:11

Added

  • Revamped aurora rendering — custom band-based aurora drawn with screen composite operation and diagonal createLinearGradient, replacing the default particle effect when toggled on (drawAurora with 5-6 oscillating bands)
  • Three aurora style modes — Green (monochrome), Realistic (pink/violet → green), and Custom (user-selected base + accent colors via hexToRgba)
  • Aurora sub-menu in popup — Revamped toggle, Style dropdown, and color pickers (base + accent) with context-aware disabled states and ? tooltips (updateAuroraDisabled)
  • Adaptive band dimensions — band positions, widths, and amplitudes stored as canvas-width ratios, automatically adjusting to window resize

WeatherTweaker v1.0.1

Choose a tag to compare

@Mitaska Mitaska released this 16 May 00:06

Fixed

  • Atmospheric overlay tint now applies — Weather presets (rain blue, sandstorm warm, etc.) properly tint the background canvas instead of being silently ignored (locateRefs now unwraps React useMemo's [value, deps] array before checking hook state)
  • Lightning flash renders on thunderstorms — The extension paints its own lightning flash (rgba(220,230,255)) directly on the canvas after the engine's render loop, with the same timing (every ~7-20s, gentle decay)

Added

  • assets/demo.gif — animated demo in README

WeatherTweaker v1.0.0

Choose a tag to compare

@Mitaska Mitaska released this 15 May 12:20

Added

  • Per-chat config persistence — each RP chat stores its own settings (opacity, speed, presets, tint) and original-particle snapshot in localStorage, restored automatically on chat switch (saveChatState / loadChatState / swapChat in weatherTweaker.js)
  • Active chat detection — reads data-chat-id from the sidebar's selected conversation entry via the --sidebar-accent CSS class (findActiveChatId)
  • Help message in popup — when the weather <canvas> is absent, the popup now shows a friendly message directing users to enable Dynamic Weather Effects in Appearance settings and the World State agent in Roleplay HUD

Fixed

  • Cleanup leak — detach() now calls saveChatState(currentChatId) before clearing references, preventing loss of the current chat's settings when the component unmounts

Documentation

  • Features section: "Persistence" → "Per-chat persistence"
  • How it works section: expanded with particle manipulation breakdown and chat detection explanation
  • Requirements section: documents the need for Dynamic weather effects setting and World State agent