Skip to content

Domain Rules and Glossary

Isllan Toso edited this page Nov 21, 2026 · 1 revision

Domain Rules and Glossary

Selection Precedence & Mode Rules

Bullet tracks the source of each selection via the exclusive SelectionOrigin enum (User, History, Random, Preset):

  1. Manual Choice (User): Always takes top priority. Auto-restoration (preset or historic) never overwrites a manual pick in the current lobby/champ select.
  2. Profile Preset (Preset): Per-champion pinned skin inside the active profile (state/presets.json). Overrides historic restoration when no manual skin is chosen.
  3. Historic Mode (History): Records only confirmed injections (InjectionStatus::Confirmed), never unconfirmed clicks. Clicking the marked historic skin again clears the selection and removes the champion's historic entry.
  4. Random Mode (Random): Triggers once per champion at FINALIZATION lock-in only if enabled, no window/preset/historic pick is active, and the client still shows the base skin (should_roll_random). Rolls across the champion's skins and chromas.
  • Base Skin Invariant: Base skins (skinId == 0 or skinId == championId * 1000) are never injected.
  • Session Reset: Active targets are cleared when leaving Champ Select/Lobby and after match end (clear_for_new_game).

Classic Rift (gameMode = JADE, Queue 3262)

  • Offset IDs: Classic Rift shifts champion IDs by +60000 (60000 + id) and skin/chroma IDs by +60000000 (60000000 + id). Library lookups normalize IDs before matching.
  • Exclusive Skins: Skins with skin number >= 300 exist only in the jade_* character tree.
  • Slot Overwrite: Instead of forcing slot 0 in the client carousel, Bullet writes both base slots (0, 301, 302) and the currently selected LCU slot together with companion actors (e.g., Tibbers, Puma form).
  • Custom mods and Party Mode skins do not apply to Classic Rift.

Patch Compatibility: Redirect vs. Content Mods

  • Redirect Mods (~99.5% of lightweight mods): Small WAD (~3 KB) containing a PROP .bin whose linked entries reference the installed game's Skins/SkinN.bin. Resolved at runtime, making them naturally resilient across patches unless Riot moves/empties the target .bin (e.g., into <Char>_Multi_Skins_*.bin).
  • Content Mods: Bundle full .bin and asset copies frozen at creation time.
  • Dangling Links (Missing data: 0x0): Compatibility checks resolve every linked .bin path against game_wads ∪ mod_entries (never against the game alone). Only confirmed dangling .bin links cause loading-screen crashes and trigger refusal/repair; opaque assets (.tex, .scb, .anm, .skn, .skl) are patch-safe.

Overlay Layering Order

When multiple mods are active, they merge in deterministic order (later entries win on conflict): Library / Selected Skin → Custom Skin Mod → Map → Font → Announcer → Other → Party Member Skins

Glossary

Term Meaning
LCU League Client Update local REST + WebSocket API.
WAD Riot archive format indexed by lowercase xxh64 path hash.
TOC WAD Table of Contents (starts at byte offset 272, 32 bytes per entry).
Type-4 Entry zstd-chunked WAD payload decoded stream-by-stream with .subchunktoc support.
PROP (.bin) Game property tree keyed by case-insensitive 32-bit FNV-1a hashes.
Carrier Base/library skin slot overlaid by a custom skin mod.
Dangling Link A .bin linked reference that resolves in neither the game nor the mod itself.
r3dlog Live game process log under <League>/Logs/GameLogs/ used for post-match stats & diagnostics.
StarGate GitHub OAuth Device Flow repository star check (bullet-app).

Clone this wiki locally