Repository navigation
Domain Rules and Glossary
Isllan Toso edited this page Nov 21, 2026
·
1 revision
Bullet tracks the source of each selection via the exclusive SelectionOrigin enum (User, History, Random, Preset):
-
Manual Choice (
User): Always takes top priority. Auto-restoration (preset or historic) never overwrites a manual pick in the current lobby/champ select. -
Profile Preset (
Preset): Per-champion pinned skin inside the active profile (state/presets.json). Overrides historic restoration when no manual skin is chosen. -
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. -
Random Mode (
Random): Triggers once per champion atFINALIZATIONlock-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 == 0orskinId == championId * 1000) are never injected. -
Session Reset: Active targets are cleared when leaving Champ Select/Lobby and after match end (
clear_for_new_game).
-
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
>= 300exist only in thejade_*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.
-
Redirect Mods (~99.5% of lightweight mods): Small WAD (~3 KB) containing a
PROP.binwhoselinkedentries reference the installed game'sSkins/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
.binand asset copies frozen at creation time. -
Dangling Links (
Missing data: 0x0): Compatibility checks resolve everylinked.binpath againstgame_wads ∪ mod_entries(never against the game alone). Only confirmed dangling.binlinks cause loading-screen crashes and trigger refusal/repair; opaque assets (.tex,.scb,.anm,.skn,.skl) are patch-safe.
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
| 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). |
Architecture & Domain
Client & Asset Pipeline
Platform & Security