562 Commits
Author SHA1 Message Date
萌泪酱 74baa2428e docs: require R2 packages for UXAssist delivery 2026-11-16 09:06:15 +08:00
萌泪酱 9fb75f70b8 feat(uxassist): add a shortcut to reverse conveyor belts
- Add a Factory toggle and a configurable Alt+R shortcut for the built belt under the cursor.
- Reuse native reversal while preserving the belt inspector context and native limits.
- Add English and Chinese settings labels, usage notes, and changelog entries.
2026-11-16 09:06:15 +08:00
Jiesi LuoandClaude Fable 5.2 4c0ad9c27f fix(uxassist): keep stars and planets ahead of hives in auto-cruise escape
Weighting every containing obstacle by depth let a hive's 0.5 AU range
outweigh the planet right below the mecha, so a take-off under a hive
steered back into the ground.

Stars and planets keep their priority over hives, as before this branch:
while the mecha is inside any star or planet range, hives take no part.
Overlapping star and planet ranges are still left together, weighted by
depth; their safety margins are equal, so the nearest surface dominates.
Inside hive ranges only, the first containing hive is left, as before.

Add tools/tests/Test-AutoCruiseAvoidance.ps1: an offline check of the
avoidance heading for a plain take-off, a take-off under an overlapping
hive range, a take-off from a moon inside its gas giant's range, and a
hive on its own.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 09:05:47 +08:00
Jiesi LuoandClaude Fable 5.2 5e6cfe7fa5 fix(uxassist): auto-cruise leaves every obstacle the mecha is inside
ComputeDirection returned the escape heading of the first obstacle in the
list whose path radius contains the mecha. A mecha standing on a moon close
to its gas giant is inside two path radii at once (the moon's 2200 m and the
giant's 2800 m), and the giant comes first. Taking off from the moon's
giant-facing side, "away from the giant" points into the ground: the mecha
dives right after entering space, drops back under the game's landing rule,
takes off again, and so on.

Sum the inward directions of all obstacles that contain the mecha, each
weighted by how deep the mecha is inside it, and escape from that. The body
right below dominates near its surface. Route blocking is checked only when
the mecha is inside no obstacle, as before for a single obstacle.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 09:05:47 +08:00
soarqin a1ba5266bb docs: keep one-time audit evidence outside the repository
Preserve all twelve audit reports in the persistent delivery directory and remove their repository copies. Leave the reviewed implementation unchanged.

Assisted-by: Cindy (https://cindy.app)
2026-11-09 02:36:52 +08:00
soarqin ba2648a3e3 refactor: remove single-owner helpers and redundant plumbing
Return feature-only helpers to their owners, remove inactive scaffolding and duplicate state, and reuse existing calculation and UI work without changing public contracts or gameplay.

Record repository-wide coverage, justified retentions, independent reviews and validation, including baseline dashboard fixture failures.

Assisted-by: Cindy (https://cindy.app)
2026-11-09 02:36:52 +08:00
soarqin 325536fc79 fix(cheatenabler): require UXAssist 1.6.3 before loading
Align the runtime and package minimum with the official release that provides the shared production API. Keep official UXAssist 1.6.3 supported and document the dependency in both languages.

Assisted-by: Cindy (https://cindy.app)
2026-11-09 02:36:34 +08:00
soarqin ec00212669 fix(dustbin): move storage checkbox away from native labels
Refs: #105

Assisted-by: Cindy (https://cindy.app)
2026-11-09 02:33:50 +08:00
soarqin 64a23e9772 fix(cheatenabler): restore mecha and fleet invincibility
Patch the native mecha damage and shield consumers so an inlined Player.invincible getter cannot bypass protection. Replace the fleet damage matcher with target-type prefixes to cover both space paths.

Synchronize the English and Chinese documentation without changing version 2.4.8.
2026-11-04 20:46:44 +08:00
soarqin 2eae91fa18 fix(uxassist): restore tech-tree arrows across save changes
Grow missing connection arrows when Peace-mode filtering is restored, preserving existing controls and native connection updates. Record the fix in UXAssist 1.7.0 and synchronize the manifest and bilingual documentation.
2026-11-02 21:02:08 +08:00
soarqin d728e8b4ae fix(uxassist): preserve blueprint layout and add production bases 2026-11-02 21:00:52 +08:00
soarqin 8fbb244ba2 chore: release dustbin v1.5.0 2026-10-31 16:21:03 +08:00
soarqin d68329ff9a fix: ZipMod target 2026-10-31 15:45:55 +08:00
soarqin 6263775dc1 fix(uxassist): limit quick miner diagnostics to Debug builds 2026-10-31 15:35:59 +08:00
soarqin 3580e9623f chore: release CheatEnabler 2.4.8 and UXAssist 1.6.3 2026-10-31 15:29:47 +08:00
soarqin 35f5cfcdd8 feat(uxassist): abbreviate exact blueprint material rates
Use the largest K/M/G suffix that preserves existing display precision with at most one decimal place, falling back to ordinary numbers otherwise.

Cover all material categories and formatting boundaries, and update English and Chinese documentation.
2026-10-31 13:58:54 +08:00
soarqin 0cd6008673 fix(uxassist): keep quick miners within the selected vein group
Restrict layout coverage and miner vein lists to the selected group so nearby deposits of the same resource cannot attract placement. Preserve neighboring vein collision checks and enforce the three-node minimum after planned burials.

Tag debug snapshots with target-group semantics, validate group membership during replay, and synchronize the English and Chinese documentation.
2026-10-31 13:58:14 +08:00
soarqin 5f9c6e05cb fix(cheatenabler): defer instant construction until prologue ends 2026-10-26 23:20:26 +08:00
soarqin ca884fe6af fix(uxassist): name item ID constants after their items
The game-constant centralization attached wrong names to many item IDs, such
as Steel for Titanium Alloy (1107) and HydrogenFuelRod for the Electromagnetic
Matrix (6001). Every remaining usage relies on the IDs, which match the items
in the belt-signal proliferation tips, the matrix metadata types, and the Dark
Fog buy-out definitions. Rename the constants after their actual items and
current Dark Fog item names, and remove the mislabeled constants that only the
retired proliferator source table used. Item groups and compiled values are
unchanged.
2026-10-25 22:04:50 +08:00
soarqin 3ca7b62ec6 fix(cheatenabler): track signal belts by their owning planet
The belt hooks keyed signal belts by the local planet's factory index. Battlefield
Analysis Base drones can finish belts on other planets and Dark Fog attacks can
destroy them there, so such changes started or stopped generation on a belt of
the current planet, or were dropped while in space, and a destroyed remote belt
kept its signal entry for any belt later built in its place. Use the factory that
owns the CargoTraffic instead.
2026-10-25 22:01:05 +08:00
soarqin a6225cf750 fix(cheatenabler): keep the rare-recipe preference for belt statistics
The planner migration switched belt-signal upstream statistics to each item's
standard recipe. Capture the native RecipeProto.Explicit flag in the production
catalog and let the belt preset prefer explicit recipes again, which include the
rare-resource alternatives such as Graphene from Fire Ice and Diamond from
Kimberlite Ore. As before, explicit recipes that consume their own product
(X-ray Cracking and Reforming Refine) never supply an item, and natural items
stay raw. Proliferation modes now follow the selected recipe.
2026-10-25 22:01:05 +08:00
soarqin 6d86e1f5dd docs: consolidate production documentation
Move the blueprint description notes to the unreleased 1.6.3 entry and limit
them to user-visible behavior, list the feature in the README, condense the
production guidance in AGENTS.md to durable rules, and remove the completed
planning documents that duplicated the architecture reference.
2026-10-25 22:01:05 +08:00
soarqin 79c736d90c fix(cheatenabler): plan belt-signal statistics outside the logic tick
Signals can change inside the logic tick when drones finish a blueprint, so a
cache miss now queues the belt and the production planner runs from the next
frame update; the tick only applies cached rates. Document the recipe-based
upstream statistics in the unreleased changelog.
2026-10-25 22:01:05 +08:00
soarqin f0773ffb9b fix(production): correct blueprint power and planner edge cases
Read the Advanced Mining Machine speed stored with station settings in prebuild
and blueprint captures, and count charging power nodes such as Satellite
Substations at their idle draw. Skip recipes that consume their own product when
choosing an item's default recipe, so Refined Oil uses Plasma Refining instead
of Reforming Refine.

Run each planner recipe in one proliferation mode and report conflicting
explicit modes, keep material flows for recipe types the catalog does not know,
and attribute receiver warnings to their recipe. Compare simplex ratio ties
relatively and drive out near-zero artificials without amplifying residuals.
Bound the steady-state reduction so lossless cycles cannot stall blueprint
descriptions, and choose power units after rounding.

Remove redundant code: share the numeric and flow helpers, and drop the unused
IsExcessIntermediate threshold, legacy constructor and Capture overloads, the
multi-field updater, and the unused proliferator source table.
2026-10-25 22:01:05 +08:00
soarqin 6345562c66 build: exclude nested test artifacts from parent projects 2026-10-25 22:01:05 +08:00
soarqin e2b8433252 feat(uxassist): generate blueprint production descriptions
Add native blueprint description generation with proliferation controls, separate power categories, and steady-state material and research reporting.

Distinguish necessary coproducts from overbuild and fractional headroom, with regression checks and updated architecture documentation.

Validation: 464 ProductionCheck checks and Release builds of UXAssist, CheatEnabler, and UniverseGenTweaks.
2026-10-25 22:01:05 +08:00
soarqin cada02fbf4 feat(production): include logistics charging in black-box power 2026-10-25 22:01:05 +08:00
soarqin 51e90a8e1d fix(production): correct full-load capture and solver scaling
Stop capturing the transient miner output damper, apply the sandbox boost state to artificial stars as for launchers, and keep lens-free photon flows when no ray receiver is selected.

Scale the planner conservation check by each ledger row and normalize the simplex right-hand side so large rates no longer fail. Skip non-production objects before copying native settings, decode blueprints through the native paste path, and simplify analyzer mode resolution.

Update stale ProductionCheck expectations, add regression checks, and document the rules.
2026-10-25 22:01:05 +08:00
soarqin 97f032a5af feat(production): add shared planner and factory analysis
Add Proto-backed planning, fixed-building analysis, blueprint capture, and facility-specific material and power calculations.

Migrate belt-signal upstream statistics, include review fixes, and document the architecture and manual validation workflow.
2026-10-25 22:01:05 +08:00
soarqin 0915917c6f fix(uxassist): stabilize camera-relative night lighting 2026-10-25 14:11:31 +08:00
soarqin afe9b0e462 refactor(dustbin): simplify belt signal tracking
Remove the redundant capacity cache and use Array.Resize while preserving belt registrations and the serial factory-frame hook. TrashSystemGameTick overlaps inserter workers in the current game.

Refs #94
2026-10-25 13:57:19 +08:00
soarqin bffab3c7ca feat(uxassist): make quick miner restoration and burial optional 2026-10-21 02:49:59 +08:00
soarqin bc8a0b0189 perf(uxassist): speed up miner search and honor native clearances
Cache which seeds block each candidate for the replacement, repacking and refill passes, skip candidates that can no longer join a greedy pass, test repack option pairs only when reached, and reuse nearby nodes and obstacles across rotations at each candidate position. Recorded snapshots replay to identical layouts in sequential and parallel modes.

Exclude positions the game refuses near the landing capsule and EM Rail Ejectors, and keep buried nodes near Dark Fog Planetary Bases buried, as native reform does. Remove the unused placement limit, duplicate ground checks and per-miner GPU buffer syncs; debug snapshots move to schema 3 with clearance rejections.
2026-10-21 01:14:36 +08:00
soarqin 20a3a3a37e fix(uxassist): strengthen miner search and refill open placements 2026-10-21 00:46:19 +08:00
soarqin 3ed616ce80 feat(uxassist): add dense mining machine placement 2026-10-20 02:31:45 +08:00
soarqin 94e5c7884b fix(uxassist): restore vein protection patch activation
Pass the miner window's struct value to a matching helper while retaining ref parameters for statistics. This prevents invalid IL from rolling back the entire vein-protection patch group.
2026-10-19 22:59:08 +08:00
soarqin cc3863cfde chore: bump CheatEnabler to new version 2026-10-19 21:35:28 +08:00
soarqin 473c3c8fec feat(publish): resolve namespace from service account token 2026-10-19 17:58:54 +08:00
soarqin 3c157d2675 chore: fix publish script 2026-10-18 22:55:30 +08:00
soarqin 7e7d91e5b2 chore: remove obsoleted docs 2026-10-18 18:10:10 +08:00
soarqin 9f48923166 feat(publish): add local Thunderstore publishing script 2026-10-18 18:08:25 +08:00
soarqin e876db396a chore: update publicized dll 2026-10-18 18:07:11 +08:00
soarqin a7ddb395b2 fix(uxassist): prevent mining speed corruption with extended power
Keep the extended mining-speed calculation integer-valued so the native handler writes a valid speed. Guard the complete native arithmetic pattern and document the slider range and recovery steps.
2026-10-13 23:17:25 +08:00
soarqin 0015c16f0c fix: update mod compatibility for DSP 0.10.35.29131
Restore Ray Receiver buffer settings with the native integer intake check
and correct the displayed native buffer threshold.

Use VehiclePartProtoSet for LiveStreamAssist dictionary generation and
refresh offline text and icons from the current game installation.

Refresh compile-time game references and document the compatibility audit.
2026-10-12 18:35:24 +08:00
soarqin d90994d2ec docs: record the GitHub issue review and validation results 2026-10-11 04:09:19 +08:00
soarqin ededc3eeaf fix(uxassist): initialize alternating poles when enabling dragging
Initialize Tesla Tower previews on late enable, retry after data loading, and capture original pole prototypes only once for reliable restoration.

Refs #51
2026-10-11 04:00:56 +08:00
soarqin 4102597132 docs: record pending mod feature requests from GitHub issues 2026-10-11 03:53:07 +08:00
soarqin a741d7cb4b docs(cheatenabler): explain belt signal generator setup
Refs #81, #93
2026-10-11 03:53:06 +08:00
soarqin 2903019cb5 fix(uxassist): dismiss entity hover tips on opening pause menu
Clear the native hover target when the menu opens, since paused UI updates stop before general tips can dismiss it. Native hover tracking can reopen the tip after resuming.

Refs #76
2026-10-11 03:49:05 +08:00
soarqin 06a8445907 fix(uxassist): exclude protected veins from mining displays
Use productive veins for mining-rate estimates, resource analysis and hover counts without mutating miners or reserves. Keep zero-cost mining productive, including CheatEnabler infinite resources.

Refs #95
2026-10-11 03:48:04 +08:00