Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
41dc42c
feat(star-gate): exigir estrela no GitHub e remover LTK em favor do m…
Isllanrx Nov 14, 2026
eb58870
fix(deps): atualizar pulldown-cmark para 0.13.5 corrigindo RUSTSEC-20…
Isllanrx Nov 14, 2026
9d5832b
fix(inject): versionar glue nativo publico para o repo compilar sem o…
Isllanrx Nov 14, 2026
0fe9dc4
fix(deps): pulldown-cmark 0.13.6 cobrindo RUSTSEC-2026-0433 alem do 0414
Isllanrx Nov 14, 2026
1d57333
fix(app): versionar diagnostics native_integration para o repo public…
Isllanrx Nov 14, 2026
68899b9
style(inject): remover comentarios do glue nativo conforme regra zero…
Isllanrx Nov 14, 2026
0b9ff5c
test(inject): cobrir spawn_patcher para provider Mock e configuracoes…
Isllanrx Nov 14, 2026
1111dd6
style(inject): formatar assert do teste de configuracao nativa ausente
Isllanrx Nov 14, 2026
f87d8b9
docs(readme): padronizar as duas capturas no mesmo tamanho
Isllanrx Nov 14, 2026
dbceb0f
fix(release): restore the push trigger on main
Isllanrx Nov 14, 2026
b8d193d
fix(relay): force undici >= 7.30.1 to close dependabot advisories
Isllanrx Nov 14, 2026
663ad9d
ci(release): sign binaries with Certum SimplySign and validate file e…
Isllanrx Nov 16, 2026
20aec0e
feat(platform): read a process desktop and the PE file version
Isllanrx Nov 17, 2026
a2f085b
feat(bridge): add bullet-bridge and bullet-launcher
Isllanrx Nov 17, 2026
dbdd6bf
feat(inject): drive injection through the Mod Manager bridge
Isllanrx Nov 17, 2026
0cef66e
feat(app): use the bridge provider and check the Mod Manager install
Isllanrx Nov 17, 2026
489ab10
fix(classic): keep submesh-relative indices in form markers and merge…
Isllanrx Nov 17, 2026
3727ac7
feat(classic): rebase the slot 0 identity of generated skins
Isllanrx Nov 17, 2026
184a6ca
fix(star-gate): require an online star check and recheck it while Bul…
Isllanrx Nov 17, 2026
8a6bee4
build(release): package, sign and install the bridge tools
Isllanrx Nov 17, 2026
16cba70
Merge main into dev
Isllanrx Nov 17, 2026
cbf49dc
Merge main into dev
Isllanrx Nov 17, 2026
537c161
chore(repo): index the assets folder and translate a .gitignore note
Isllanrx Nov 17, 2026
28ffcc3
ci: restore the cargo cache on every run and save it only on push
Isllanrx Nov 17, 2026
46a400f
fix(release): unwrap the OTP path for Certum and align the pipeline w…
Isllanrx Nov 17, 2026
9abef52
Merge main into dev
Isllanrx Nov 17, 2026
39e5c3c
perf: faster cold load on hard drives, quieter match end, lighter Ctr…
Isllanrx Nov 17, 2026
4756177
Merge main into dev
Isllanrx Nov 17, 2026
4807330
fix(release): ship unsigned and stop install.ps1 from refusing on the…
Isllanrx Nov 17, 2026
9d9ac3c
fix(baseskin): structural SKL/SKN rebuild, Skin<n> event cleanup, and…
Isllanrx Nov 20, 2026
f6b5659
refactor: extract LTK bridge to private bullet_ltk repo and link in r…
Isllanrx Nov 20, 2026
22b123c
ci(release): authenticate private bullet_ltk checkout with read-only …
Isllanrx Nov 20, 2026
fcd10fe
chore(dev): align merge base with main
Isllanrx Nov 20, 2026
a626bc0
docs(readme): remove OpenSSF Scorecard badge
Isllanrx Nov 20, 2026
2800e49
feat: v13 native in-client UI, customize identity E2EE party sync, TF…
Isllanrx Nov 21, 2026
52f2f67
feat: fix Exalted/multi-form default submesh visibility, add 12-domai…
Isllanrx Nov 21, 2026
139d150
chore(dev): record origin/main merge base
Isllanrx Nov 21, 2026
507c734
docs(readme): remove LTK/Rose mentions, restore Windows CLI install, …
Isllanrx Nov 21, 2026
cf04bb8
docs: streamline README, Code of Conduct, Contributing, and Security …
Isllanrx Nov 21, 2026
ea241b1
docs(readme): keep only essentials, clear educational disclaimer, and…
Isllanrx Nov 21, 2026
debaa7f
fix(platform): read VS_FIXEDFILEINFO via bounds-checked slice instead…
Isllanrx Nov 21, 2026
7af7d8d
docs(readme): restore download, stars, release, and discord badges in…
Isllanrx Nov 21, 2026
398b2cc
chore(git): sync dev with origin/main after PR #64 squash merge
Isllanrx Nov 21, 2026
516b184
fix: universal LTK discovery, repair UI feedback, Windows CLI install…
Isllanrx Nov 22, 2026
556ad81
fix: harden cross-account UAC profile discovery, macOS cfg gates, CI …
Isllanrx Nov 22, 2026
d82f955
Merge branch 'main' into dev
Isllanrx Nov 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,12 @@ jobs:
}
$bytes = [System.IO.File]::ReadAllBytes((Resolve-Path $exe))
$text = [System.Text.Encoding]::UTF8.GetString($bytes)
if ($text -notmatch 'requestedExecutionLevel level="asInvoker"') { Write-Error 'asInvoker manifest missing'; exit 1 }
if ($text -match 'requireAdministrator') { Write-Error 'the executable requests elevation'; exit 1 }
if ($text -notmatch 'requestedExecutionLevel level="requireAdministrator"') { Write-Error 'requireAdministrator manifest missing'; exit 1 }
if ($text -match 'VCRUNTIME140') { Write-Error 'the C runtime is not linked statically'; exit 1 }
if ($text.Contains($env:USERPROFILE) -or $text.Contains($env:GITHUB_WORKSPACE)) { Write-Error 'build machine paths are embedded'; exit 1 }
$pe = [BitConverter]::ToInt32($bytes, 0x3C)
if ([BitConverter]::ToUInt32($bytes, $pe + 24 + 64) -eq 0) { Write-Error 'the PE checksum is not set'; exit 1 }
Write-Output "OK: $($info.ProductName) $($info.ProductVersion) by $($info.CompanyName), runs as invoker"
Write-Output "OK: $($info.ProductName) $($info.ProductVersion) by $($info.CompanyName), requests elevation on launch"

- name: Save cargo registry & build
if: github.event_name == 'push' && steps.cargo-cache.outputs.cache-hit != 'true'
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,20 @@ jobs:
BULLET_REQUIRE_LTK: "1"
run: cargo xtask package

- name: Verify private LTK module linked into dist/bullet.exe
shell: pwsh
run: |
foreach ($f in @("dist/bullet.exe", "dist/tools/bullet_launcher.exe", "dist/tools/bullet_bridge.dll")) {
if (-not (Test-Path $f)) { throw "Missing required packaged artifact: $f" }
}
$text = [System.Text.Encoding]::ASCII.GetString([System.IO.File]::ReadAllBytes("dist/bullet.exe"))
foreach ($marker in @("bullet_launcher.exe", "ltk-manager.exe")) {
if (-not $text.Contains($marker)) {
throw "dist/bullet.exe is missing private LTK marker '$marker' (public stub was compiled)"
}
}
Write-Host "Verified dist/bullet.exe contains private LTK bridge module and tools"

- name: Build installer around that binary (cargo xtask installer --prebuilt)
run: cargo xtask installer --prebuilt

Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ Download [`Bullet-Setup-x64.exe`](https://github.com/Isllanrx/Bullet/releases/la
irm https://raw.githubusercontent.com/Isllanrx/Bullet/main/install.ps1 | iex
```

Or install with Cargo:

```powershell
cargo install --git https://github.com/Isllanrx/Bullet.git bullet-app --locked
```

### macOS (Intel `x86_64` & Apple Silicon)

Run in **Terminal**:
Expand Down Expand Up @@ -89,7 +83,7 @@ Inside our Discord server: **[discord.gg/e2dH2nUjd9](https://discord.gg/e2dH2nUj
No. Overlays are built separately and loaded in memory at match start. Your game files stay untouched.

**Does it require Administrator privileges or Pengu Loader?**
No. On Windows it runs as a standard user (`asInvoker`) and does not use Pengu Loader.
On Windows, Bullet asks for Administrator permission once on launch so switching between Window and Native In-Client modes never interrupts you with repeated UAC prompts. It does not use Pengu Loader.

**Can other players see my skin?**
Only locally, unless you and your friends enable **Party Mode** inside Bullet.
Expand Down
2 changes: 1 addition & 1 deletion crates/bullet-app/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fn main() {
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
Expand Down
16 changes: 15 additions & 1 deletion crates/bullet-app/src/boot/startup/injector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,21 @@ fn warn_if_manager_outdated(text: &bullet_platform::i18n::Text) {
bullet_platform::shell::message_box_warning(text.manager_outdated_title, &body);
}
ManagerInstallState::Missing => {
warn!("Mod Manager is not installed on this PC");
let desktop_roaming = bullet_platform::user_profile::local_app_data()
.ok()
.and_then(|p| p.parent().map(|a| a.join("Roaming")));
let appdata_exists = desktop_roaming
.into_iter()
.chain(std::env::var("APPDATA").ok().map(std::path::PathBuf::from))
.any(|dir| dir.join("dev.leaguetoolkit.manager").is_dir());
let env_override = std::env::var("BULLET_LTK_MANAGER")
.or_else(|_| std::env::var("LTK_MANAGER_EXE"))
.ok();
warn!(
appdata_profile_exists = appdata_exists,
env_override_set = env_override.is_some(),
"Mod Manager (ltk-manager.exe) was not found on this PC"
);
bullet_platform::shell::message_box_warning(
text.manager_missing_title,
text.manager_missing_body,
Expand Down
1 change: 1 addition & 0 deletions crates/bullet-app/src/boot/tray/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pub mod panel;
pub mod repair;
pub mod tasks;
33 changes: 16 additions & 17 deletions crates/bullet-app/src/boot/tray/panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ pub fn tray_status(
pub struct ReleaseNotices {
pub bullet: bullet_app::update_check::UpdateNotice,
pub custom_mods: bullet_app::mod_repair::CustomModsNotice,
pub repair: bullet_app::control_panel::RepairState,
}

pub fn panel_links_for(
Expand Down Expand Up @@ -110,6 +111,7 @@ pub fn panel_links_for(
.ok()
.map(|dir| bullet_app::stats::load_summary(&dir))
.unwrap_or_default(),
repair: notices.repair.snapshot(),
};
let snapshot = bullet_app::control_panel::snapshot(&facts, bullet_platform::i18n::text());
let failing: Vec<String> = snapshot
Expand Down Expand Up @@ -149,6 +151,8 @@ pub struct TrayActions {
pub links: bullet_platform::panel::PanelLinks,
pub mark_state: bullet_core::state::StateReceiver,
pub mark_live: bullet_app::live_game::LiveGame,
pub custom_mods: bullet_app::mod_repair::CustomModsNotice,
pub repair: bullet_app::control_panel::RepairState,
}

impl TrayActions {
Expand Down Expand Up @@ -310,25 +314,20 @@ impl TrayActions {
}
}
bullet_platform::tray::TrayEvent::RepairSkins => {
let mods = self.mods_dir.clone();
let state = self.state_dir.clone();
let game = bullet_platform::paths::discover_game_dir().unwrap_or_default();
drop(tokio::task::spawn_blocking(move || {
let report =
bullet_app::control_panel::repair_skins_and_mods(&mods, &state, &game);
info!(
repaired = report.repaired.len(),
incompatible = report.incompatible.len(),
"Manual skin and mod repair completed"
);
}));
super::repair::spawn_repair_skins(
self.repair.clone(),
self.custom_mods.clone(),
self.mod_roots.clone(),
self.state_dir.clone(),
self.notifier.clone(),
);
}
bullet_platform::tray::TrayEvent::RepairClient => {
let state = self.state_dir.clone();
drop(tokio::task::spawn_blocking(move || {
bullet_app::control_panel::repair_client(&state);
info!("Manual client and Bullet cache repair completed");
}));
super::repair::spawn_repair_client(
self.repair.clone(),
self.state_dir.clone(),
self.notifier.clone(),
);
}
bullet_platform::tray::TrayEvent::OpenRelease => {
let page = bullet_app::update_check::release_page();
Expand Down
65 changes: 65 additions & 0 deletions crates/bullet-app/src/boot/tray/repair.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
use std::path::PathBuf;

use tracing::info;

pub fn spawn_repair_skins(
repair_state: bullet_app::control_panel::RepairState,
custom_mods: bullet_app::mod_repair::CustomModsNotice,
mod_roots: Vec<PathBuf>,
state_dir: PathBuf,
notifier: bullet_platform::tray::TrayController,
) {
let text = bullet_platform::i18n::text();
if !repair_state.begin_skins(text.panel_repair_skins_running) {
return;
}
bullet_platform::panel::refresh_open_panel();
let game = bullet_platform::paths::discover_game_dir().unwrap_or_default();
drop(tokio::task::spawn_blocking(move || {
let report =
bullet_app::control_panel::repair_skins_and_mods(&mod_roots, &state_dir, &game);
if let Some(totals) = report.totals {
custom_mods.set(totals);
}
info!(
cleared = report.cleared_generated,
checked = report.checked,
repaired = report.repaired,
incompatible = report.incompatible,
game_found = report.game_found,
"Manual skin and mod repair completed"
);
let t = bullet_platform::i18n::text();
let (ok, message) = bullet_app::control_panel::format_skins_feedback(&report, t);
repair_state.finish_skins(ok, message.clone());
bullet_platform::panel::refresh_open_panel();
notifier.notify(t.panel_repair_skins, &message);
}));
}

pub fn spawn_repair_client(
repair_state: bullet_app::control_panel::RepairState,
state_dir: PathBuf,
notifier: bullet_platform::tray::TrayController,
) {
let text = bullet_platform::i18n::text();
if !repair_state.begin_client(text.panel_repair_client_running) {
return;
}
bullet_platform::panel::refresh_open_panel();
drop(tokio::task::spawn_blocking(move || {
let report = bullet_app::control_panel::repair_client(&state_dir);
info!(
cleared_caches = report.cleared_caches,
stopped_processes = report.stopped_processes,
reset_bridge = report.reset_bridge,
warnings = report.warnings.len(),
"Manual client and Bullet cache repair completed"
);
let t = bullet_platform::i18n::text();
let (ok, message) = bullet_app::control_panel::format_client_feedback(&report, t);
repair_state.finish_client(ok, message.clone());
bullet_platform::panel::refresh_open_panel();
notifier.notify(t.panel_repair_client, &message);
}));
}
59 changes: 8 additions & 51 deletions crates/bullet-app/src/diagnostics/control_panel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ use bullet_platform::panel::{PanelCheck, PanelSnapshot};

mod export;
mod redact;
mod repair;

pub use export::export_diagnostics;
pub use repair::{
REPAIR_STATE_BUSY, REPAIR_STATE_ERROR, REPAIR_STATE_IDLE, REPAIR_STATE_OK, RepairClientReport,
RepairSkinsReport, RepairState, format_client_feedback, format_skins_feedback, repair_client,
repair_skins_and_mods,
};

#[derive(Debug, Clone, PartialEq, Eq)]
pub enum ManagerStatus {
Expand Down Expand Up @@ -35,6 +41,7 @@ pub struct Facts {
pub update: Option<String>,
pub custom_mods: Option<crate::mod_repair::ScanSummary>,
pub stats: bullet_platform::panel::PanelStats,
pub repair: bullet_platform::panel::PanelRepair,
}

#[must_use]
Expand Down Expand Up @@ -96,6 +103,7 @@ pub fn snapshot(facts: &Facts, text: &Text) -> PanelSnapshot {
)
}),
stats: facts.stats.clone(),
repair: facts.repair.clone(),
checks: vec![
check(
text.check_injector,
Expand Down Expand Up @@ -173,56 +181,5 @@ pub fn tools_present(files: &[PathBuf]) -> bool {
files.iter().all(|file| file.is_file())
}

pub fn repair_skins_and_mods(
mods_dir: &std::path::Path,
state_dir: &std::path::Path,
game_dir: &std::path::Path,
) -> crate::mod_repair::RepairReport {
let _ = std::fs::remove_file(state_dir.join("mod_repair.json")); // ignore-ok: force fresh repair scan
if let Ok(data_dir) = bullet_platform::paths::data_dir() {
let generated_dir = data_dir.join("mods");
if let Ok(entries) = std::fs::read_dir(&generated_dir) {
for entry in entries.flatten() {
let name = entry.file_name();
if let Some(s) = name.to_str() {
if s.starts_with("std_") || s == "bullet_loading_name" {
let _ = std::fs::remove_dir_all(entry.path()); // ignore-ok: clear cached generated skin mod
}
}
}
}
}
let resolved_game = bullet_platform::paths::normalize_game_dir(game_dir)
.or_else(bullet_platform::paths::discover_game_dir)
.unwrap_or_else(|| game_dir.to_path_buf());
crate::mod_repair::repair_custom_mods(
&[mods_dir.to_path_buf()],
&resolved_game,
state_dir,
&|| false,
)
}

pub fn repair_client(state_dir: &std::path::Path) {
if let Ok(data_dir) = bullet_platform::paths::data_dir() {
for sub in ["staging", "overlay"] {
let _ = std::fs::remove_dir_all(data_dir.join(sub)); // ignore-ok: clear transient overlay/staging cache
}
}
let _ = std::fs::remove_file(state_dir.join("ltf_journal.json")); // ignore-ok: clear stale journal
#[cfg(windows)]
if let Ok(Some(pid)) = bullet_platform::process::ProcessFinder::find_any_process(&[
"ltk-manager.exe",
"LTK Manager.exe",
]) {
let _ = bullet_platform::process::terminate_process(pid); // ignore-ok: restart stalled mod manager
}
if let Ok(local_app) = std::env::var("LOCALAPPDATA") {
let bridge_dir = std::path::PathBuf::from(local_app).join("BulletBridge");
let _ = std::fs::remove_file(bridge_dir.join("port.txt")); // ignore-ok: reset bridge discovery
let _ = std::fs::remove_file(bridge_dir.join("token.txt")); // ignore-ok: reset bridge token
}
}

#[cfg(test)]
mod tests;
Loading
Loading