Repository navigation
macOS Support
Isllan Toso edited this page Nov 21, 2026
·
1 revision
Bullet supports both Intel (x86_64-apple-darwin) and Apple Silicon (aarch64-apple-darwin) Macs with strict #[cfg(target_os = "macos")] isolation so Windows behavior remains completely untouched.
-
Bundle Layout: Recognizes macOS
.appbundles (/Applications/League of Legends.app/Contents/LoL/Game,~/Applications/..., and/Users/Shared/Riot Games/Metadata). -
Executables & Lockfile: Searches for
LeagueofLegends,LeagueClientUx, andLeagueClientwithout.exesuffixes, walking.app/Contents/LoLancestors to locatelockfileor falling back to/bin/pscommand-line credential recovery. -
Build Stamp & Version:
game_version::read_time_date_stampdetects 64-bit Mach-O headers (0xFEEDFACF/0xCAFEBABE) and computes a deterministic FNV-1a header stamp to trigger automaticOverlayCacheinvalidation on game patches. -
Main-Thread UI: On macOS, AppKit/winit requires the event loop on the main thread;
bullet-apprunsbullet_platform::run_interface_on_main_threadon the main thread while the Tokio async runtime executes on a dedicated worker thread.
-
Dual-Architecture Support: Parses 64-bit Mach-O headers (
__TEXT.__text,__TEXT.__stubs,__DATA.__la_symbol_ptr, andLC_DYLD_INFOlazy bindings) for bothCPU_TYPE_X86_64(Intel / Rosetta 2) andCPU_TYPE_ARM64(Apple Silicon). -
In-Memory Redirection: Locates
_fopenandwad_verify, patcheswad_verifyto return1, and redirects.clientarchive opens to the native WAD overlay via a short symlink (/tmp/bullet_ovl/). -
Elevation Handling: Uses
osascriptadministrator authorization via--macos-patcher <prefix> --pid <pid>only whentask_for_pidrequires elevated privileges.
Architecture & Domain
Client & Asset Pipeline
Platform & Security