Commit Graph
24 Commits
Author SHA1 Message Date
Momoko-Ayase 20a68b1c73 feat(gui): finalize native desktop release 1.4.0
Apply the reviewed five-language wording and action-button sizing fixes. Preserve serialized English messages and report wire values.

Honor configured resource limits during added-file identification, with regression tests for UI requests and native package inspection.

Build and package the CLI and desktop app together in CI and release archives, including the font license and usage instructions. Bump workspace and browser bindings to 1.4.0 without upgrading third-party dependencies.
2026-11-11 11:53:16 +08:00
Momoko-Ayase 5121ec8ee3 feat(gui): add a native desktop front end
senbei-gui is an egui window over the same engine the CLI runs, in
process. Files, folders, and Android packages go into an inputs list,
where unpack, dry run, and inspect run them with live progress, a
per-input log, and cancel between inputs. The detail pane shows what a
run found: recognition, routes, stages, validation, and digests; the
research evidence an inspection collects; a hex view of the original,
spliced, or restored bytes with regions and RVA navigation; a header and
section compare of input and restored image; and package entries.

Restored bytes from an inspection or dry run stay in memory for the
session, up to a per-input cap. Settings cover the display language, the
output folder, the log file, worker threads, folder probing, Android
limits, and that cap. The window shows the legal notice on first start.

The window speaks the five languages the CLI does, from a catalog
generated from the approved mockup wording. Its UI layer builds for
wasm32 behind a Backend trait; the native backend runs jobs on worker
threads. The crate is a workspace member but not a default one, so a
plain cargo build still builds only the CLI.
2026-11-10 02:09:21 +08:00
Momoko-Ayase 4853fe22c0 feat: localize console output and add a run observer
Engine errors, integrity findings, and driver outcomes carry message
codes from senbei-i18n, with their English unchanged, so reports, logs,
and --json stay byte-identical. Verbose pipeline steps go through a
progress sink instead of println!, and an error chain is translated
through its first coded cause.

The CLI takes the display language from SENBEI_LANG, or else from the
system's preferred UI language, and translates console text: usage
errors, help, per-file lines, the run summary, and the summary lines of
the inspect report. Structural research evidence and saved logs stay
English. When a translation leaves out context the English chain has,
the English follows on a muted line.

A front end can attach a RunObserver and a CancelToken to the Collector
to follow a run input by input, receive verbose steps as events, and
stop before the next input. A cancelled report says so. The CLI never
cancels, so its JSON is unchanged.
2026-11-08 02:41:04 +08:00
Momoko-Ayase 9481b0ccf9 feat(i18n): add the senbei-i18n message catalog
Every piece of user-facing text becomes a variant of Msg (engine and
driver messages), Step (verbose pipeline steps), Term (report values),
or Cli (command-line wording). Each language module renders every
variant, so a missing translation, an unknown placeholder, or a dropped
argument is a compile error.

English is the wording Senbei already prints, copied verbatim. Simplified
Chinese, Traditional Chinese, Japanese, and Korean translate it. A
Message keeps the recorded English next to its optional code, so
reports, logs, and JSON stay English while a front end shows the
translation.
2026-11-08 02:24:29 +08:00
Momoko-Ayase 767eae2a79 test: add bounded fuzz targets and native-WASM parity 2026-11-05 22:20:09 +08:00
Momoko-Ayase 0961d23538 bump: 1.3.4 2026-11-04 20:26:17 +08:00
Momoko-Ayase b59d97c625 chore(deps): update dependencies and pin Rust 1.99.1
Upgrade zip to 9.3.0 in both lockfiles to address GHSA-m665-v7pm-7grj and refresh remaining dependencies. Align native and WASM Rust requirements and formatting.
2026-11-04 18:46:15 +08:00
Momoko-Ayase 31a0c4139c bump: 1.3.3 2026-10-24 21:33:59 +08:00
Momoko-Ayase 5bd1b0b07d chore: bump version to 1.3.2 2026-09-27 14:12:42 +08:00
Momoko-Ayase d6224e639c chore: bump version to 1.3.1 2026-09-10 20:58:44 +08:00
bfloat16 f862633512 chore: bump version to 1.3.0 2026-09-07 22:59:25 +08:00
bfloat16 53ef36c837 build: require Rust 1.98.1 2026-09-07 21:43:15 +08:00
bfloat16 776d246065 fix(scan): stream Android package targets 2026-09-06 22:25:41 +08:00
bfloat16 d436a200ba refactor: consolidate platform engines into senbei-engine 2026-09-06 19:31:19 +08:00
Momoko-Ayase cbfacbc31f Upgrade dependencies to latest stable
zip 0.6.6 -> 8.6.0 (the 0.6 line is unmaintained), aes 0.8 -> 0.9
(BlockCipherDecrypt trait replaces BlockDecrypt), sha2 0.10 -> 0.11
(Array no longer formats as hex; local hex_digest helpers). Outputs are
byte-identical across the upgrade: full golden corpus and Android corpus
sidecars all pass.
2026-09-02 03:19:06 +08:00
Momoko-Ayase d3dd1a8ff8 Merge Android (AArch64) shared-library restoration, bump to 1.2.0
Adds the Android protection-scheme pipeline: hollowed ELF64/AArch64
libraries are restored statically (stage-1/stage-2 module extraction,
container decode, dynamic-linker table rebuild), with app-package
(.apk/.apks/.xapk) container handling, cross-source content dedup, and
il2cpp metadata support for the Android variants (seeded RID permutation;
embedded XOR-wrapped blob extraction).

The single senbei CLI now routes single .so files, packages, and folders
by content; outputs follow the existing .unpack-infix naming under
<root>/unpack or --out. PE behavior is unchanged (35/35 goldens).
2026-09-02 03:09:21 +08:00
Momoko-Ayase 0c3f29f93a Split web/ into senbei-wasm crate + static assets
The Rust bindings move from web/src to a top-level senbei-wasm crate (still
outside the workspace, own Cargo.lock), matching the other senbei-* crates.
web/ keeps only the static frontend; wasm-pack emits the JS/wasm package into
web/pkg/ via --out-dir. JS glue renamed senbei_web -> senbei_wasm with the
crate.
2026-08-30 22:44:15 +08:00
Momoko-Ayase f80749ffd6 Merge bfloat16-senbei workspace restructure, bump to 1.1.0
Adopts the fork's workspace split (senbei-cli / senbei-crypto / senbei-io /
senbei-metadata / senbei-pe), its structured error taxonomy, entry-transform
and layout validation, PE32 dd8 key-formula selection with a skip floor, the
CRT entry-stub dd8 oracle, and the extensionless-file scan skip.

Kept from senbei on top of the restructure:
- ManagedExe detection/routing and the CLR (COR20 + BSJB) metadata restore
  in the EXE pipeline.
- The RET+int3 padding fingerprint as the primary dd8 padding signal, ahead
  of the mutated-position 0xCC fallback.
- docs/, .github/, samples/, tests/ (moved to senbei-cli/tests), and the
  web/ wasm frontend (rewired to the split crates), all of which the fork
  had dropped.
- The fork's README compatibility matrix is not taken: it names real games,
  which the public-repo hygiene rules forbid.
- The wasm32 localtime fallback in logfile and unpack_bytes_force_exe (the
  web app's trap-recovery entry point), both lost in the restructure.

Golden corpus: 35/35 byte-identical. clippy -D warnings clean; wasm32 check
clean for the full workspace.
2026-08-30 22:31:21 +08:00
Momoko-Ayase ef13419b93 Bump version to 1.0.1 2026-08-16 05:51:39 +08:00
bfloat16 7f827d6400 feat: add folder-based Android unpack workflow 2026-08-16 02:38:07 +08:00
bfloat16 131ced6db5 feat: add static stage extraction and metadata detection 2026-08-16 01:47:25 +08:00
bfloat16 b1d3699df3 feat: add static Android il2cpp restoration 2026-08-16 00:34:08 +08:00
bfloat16 e9ead4dc5f refactor: init 2026-08-11 14:19:56 +08:00
Momoko-Ayase 21cd151e15 First public commit 2026-08-09 00:08:31 +08:00