Skip to content

Remove the in-game Dear ImGui Mod Menu - #39

Merged
Lynxifyy merged 3 commits into
mainfrom
chore/remove-in-game-menu
Nov 14, 2026
Merged

Lynxifyy merged 3 commits into
mainfrom
chore/remove-in-game-menu

Conversation

@Lynxifyy

@Lynxifyy Lynxifyy commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

What this changes

Removes the in-game Dear ImGui Mod Menu from the native library. The mod systems it fronted stay; only the menu UI goes.

Companion to ChimeraAnt-DEV/CaramelClient#184, which bumps this submodule and drops the Java-side wiring.

Removed

  • src/pl/menu/ — MenuHost, MenuRender, MenuFilter, MenuTheme, MenuWidgets, MenuJni (+ headers)
  • the pl::menu::Frame(...) call in PresentFrameEffect::OnPresentBoundary — the menu was the first thing the present boundary drew, before the present-frame effects
  • third_party/imgui/ (vendored Dear ImGui 1.91.5 + the GLES3 backend), whose only consumer was the menu
  • the imgui CMake target, its target_link_libraries(sweetloader … imgui) entry, and the NOTICE attribution block
  • tests/cosmetics/MenuFilterTest.cpp and its run_tests.sh entry

Kept

pl::render, pl::hooks, pl::runtime, pl::memory and the rest of the library are untouched.

Verification

  • bash tests/cosmetics/run_tests.sh — all host tests pass
  • scripts/check_sources_listed.py — sources, tests and the build list agree
  • scripts/check_pinned_deps.py — every fetched dependency is pinned by commit and attributed in NOTICE

…pack theme

The in-game Mod Menu is drawn by Dear ImGui on the game's own GL context
through the present hook. CaramelTheme/CaramelWidgets from the Caramel UI
pack are ported into pl/menu as MenuTheme/MenuWidgets, so the launcher and
the in-game menu share one design language.

Adds the two present-frame effects (frame generation, motion blur) on the
eglSwapBuffers detour: both blend the previous presented frame into the new
one, neither presents an extra frame, and the blur budget is clamped.
The in-game Mod Menu UI is deleted; the mod systems it fronted stay.

- drop src/pl/menu/* (MenuHost/Render/Filter/Theme/Widgets/Jni) and the
  pl::menu::Frame call in PresentFrameEffect::OnPresentBoundary
- drop the vendored third_party/imgui/ and its NOTICE attribution
- drop the imgui CMake target and the sweetloader link
- drop MenuFilterTest and its run_tests.sh entry
@Lynxifyy
Lynxifyy marked this pull request as ready for review November 14, 2026 21:00
@Lynxifyy
Lynxifyy merged commit 8b69236 into main Nov 14, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant