Commit Graph
405 Commits
Author SHA1 Message Date
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 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 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 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 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 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 3c157d2675 chore: fix publish script 2026-10-18 22:55:30 +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 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 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
soarqin ac16794f07 fix(uxassist): honor sandbox station stock disposal
Let native dismantling choose whether to return or discard station contents instead of refunding them unconditionally before dismantling.

Refs #98
2026-10-11 03:25:31 +08:00
soarqin 99bcf7fa5f docs(uxassist): sync bilingual feature and usage documentation 2026-10-11 03:09:24 +08:00
soarqin 6a292e0816 fix(uxassist): honor saved building options at startup 2026-10-10 23:45:16 +08:00
soarqin 6845b0c56f fix(uxassist): align Dark Fog item IDs, names, and icons
Correct Dark Fog item constants and use one definition for belt signal
names, icons, outputs, and exchange rates. Preserve the legacy signal and
saved-stock order and the equivalent single-material exchange ratios.

Rename the six embedded icons to match current English item names and
synchronize localization and resource references.

Validation: UXAssist Release build, item/name/icon/rate mapping checks,
and git diff --check.
2026-10-07 17:14:56 +08:00
soarqin 205cf55440 fix(uxassist): clear beacon markers on planet reset in 1.6.3 2026-10-06 15:47:28 +08:00
soarqin 9fc2723bca fix(uxassist): preserve vein count layout in 1.6.2 2026-10-01 15:25:34 +08:00
soarqin 12467b9345 fix(compat): support DSP 0.10.35.29104
Refresh publicized game references by generated content and patch the new per-operation terraform brush clamps.
2026-09-29 22:12:52 +08:00
soarqin b08eaf13b7 fix(uxassist): preserve title-screen background rendering
Require native hide-UI mode before suppressing the space scene, and exclude menu demos and combat cutscenes. Share the visibility check between render hooks and planet simulators.
2026-09-29 21:49:31 +08:00
soarqin e91ce4376b fix(uxassist): move vein counts before resource names 2026-09-27 19:36:04 +08:00
soarqin 94a6833aae fix(uxassist): restore native tips and align auto-cruise sliders 2026-09-26 16:15:20 +08:00
soarqin a87a6455a5 chore(uxassist,cheatenabler): update package icons 2026-09-26 01:44:09 +08:00
soarqin d6e92292d3 doc(UXAssist,CheatEnabler): update changelog 2026-09-25 17:22:59 +08:00
soarqin 1c5073c6ac fix(mods): restore architect mode and clear stale station panels
Restore architect inventory handling and use 999 virtual items,
including logistics bots, drones, and vessels.

Recycle removed station panels and refresh overlays independently
of typing guards.

Bump CheatEnabler to 2.4.6 and UXAssist to 1.6.1, with release
notes and synchronized package manifests.
2026-09-25 17:14:33 +08:00
soarqin d084f9cf75 fix(uxassist): UI fixes 2026-09-24 16:19:19 +08:00
soarqin 60d54ac918 fix(compat): restore wind coverage startup and entity hiding
Defer wind coverage changes until prefab data is ready and preserve retryable activation state.

Replace fixed raycast local slots with semantic entity-field matching and guard fallback paths.
2026-09-24 13:37:30 +08:00
soarqin 8a10fc909a doc(UXAssist): update changelog 2026-09-24 13:00:33 +08:00
soarqin 0f640eb75b chore: release UXAssist 1.6.0 and CheatEnabler 2.4.5
Update changelogs and bump versions for UXAssist and CheatEnabler.
UXAssist 1.6.0 adds Orbital Collector product limits, reworked
auto-cruise navigation, auto-construct improvements, and DSP
0.10.35.29057 compatibility. CheatEnabler 2.4.5 adds the illegal
dyson shells button, Terraform anyway updates, and DSP 0.10.35
compatibility.
2026-09-24 04:04:34 +08:00
soarqin ac4210fe5d fix(compat): support DSP 0.10.35.29057
Adapt UXAssist and CheatEnabler to the new terrain workflows, view modes, receiver inventory, and mineral-depletion API. Preserve crafting shortcuts, batch buyout visibility, soil progression, and saved brush safety.

Refresh game references and document compatibility changes. Release builds, static compatibility checks, behavior assertions, and diff checks pass; user testing is also confirmed.
2026-09-24 01:57:04 +08:00
soarqin b5019abb62 fix(uxassist): improve auto-construct obstacle recovery 2026-09-17 02:01:11 +08:00
soarqin fe9c771230 fix(automation): clear stale routes and guard native navigation
Clear auto-construction orders on teardown and planet changes without

overwriting manual orders, and reject auto-cruise startup while native

autopilot is active. Reduce AGENTS.md to durable project guidance.
2026-09-16 03:08:11 +08:00
soarqin b5cb9aefb9 fix(uxassist): correct auto-cruise sail frame, braking and lifecycle
visual_uvel subtracted the unblended planet velocity. PlayerMove_Sail and
PlayerNavigation.DetermineSailVelocity both fade that reference frame out with
altitude and drop it entirely above 600 m, and PlayerController.UpdateRotation
runs after the whole action loop and turns visual_uvel into the mecha heading
and the speed readout, so the mecha visibly misaimed while sailing near a
planet. Apply the same blend, and stop writing uRotation from the sail
postfix, which the game recomputes immediately afterwards anyway.

Fixed targets had no approach deceleration: the cruise always aimed at
maxSailSpeed and simply stopped at the arrival radius. PlayerMove_Sail only
hands over to PlayerMove_Fly below 75 m/s of planet-relative speed, so the
mecha could never land. Cap the speed from the remaining distance, apply the
brake directly as the original does instead of folding it into the turn
interpolation (which weakened it by up to 1/t), and release warp early enough
for that brake to settle, since the game's own warp guard only covers planets
and never stars.

Yield to the game's own autopilot: PlayerNavigation zeroes the movement input
inside PlayerMove_Sail and PlayerMove_Fly and drives uVelocity itself, so both
were fighting over the same state. AutoConstructPatch already did this.

Guard SpaceSector.dfHives, which Init never allocates and Import only
allocates when the save carries hive data; the game null-checks it everywhere
for that reason and this ran on every sailing tick.

Follow AutoCruiseEnabled with the Harmony patches so disabling the feature no
longer leaves a transpiler on the hot PlayerController.GameTick installed, and
require a resolvable target before starting so the feature cannot emit a
started and a stopped popup in the same frame.

Refresh the toggle button label wherever Checked is set directly, since
MyCheckButton.Checked only updates the colours and the label lives on the
OnChecked handlers; toggling by shortcut left it stale.

Rename the user-facing strings to auto-cruise so they stop colliding with the
game's own navigation feature, and clean up the region: fix the misspelled
safety-radius constants, invert and rename the precondition helper, drop the
unused Obstacle.Radius, raise the degenerate-vector epsilon, and convert the
file's mixed tab indentation to spaces.
2026-09-16 02:16:40 +08:00
soarqin 3a840e7b2d fix(uxassist): correct auto-construct settling, altitude and planning
Flight settling never ran its residual-speed check: the caller gated it on
the tick countdown, which always reached exactly zero, so the constant
thresholds were dead and the wait degraded into a fixed delay. Gate it on a
separate pending flag, bound it with a timeout, and re-issue the deferred
route with bypassBrake so a timeout cannot defer the same route again.

Arrival no longer keeps the detour altitude. The planner scores build-range
coverage at ConstructionFlightAltitude, so hovering at AvoidanceAltitude put
part of the counted ghosts out of drone reach.

Also fix four planning defects:

* the route corridor compared an angle against a sine, and could collapse
  instead of widening past 90 degrees;
* candidate near/far separation compared a difference of squared distances
  against a squared merge distance, so any slightly farther ghost claimed the
  far slot, and a displaced near candidate was dropped instead of demoted;
* the angular fan axes mixed the universal player rotation with planet-local
  positions;
* surface distances used chord length where great-circle length was meant.

Ghost eligibility now mirrors the material-delivery filter in
ConstructionModuleComponent.GameTick. A ghost rejected by constructableIdHash
or blocked by a nearby Dark Fog building can never clear itemRequired, so the
mecha would park on a site that makes no progress. The enemy probe is skipped
when the planet has no ground bases.

Drop the OrderNode.Stop in CancelAutoMotion: PlayerOrder.Clear() discards it
before PlayerOrder.GameTick can process it, and the actual braking comes from
PlayerMove_Fly decaying rtsVelocity. It only left a stray order gizmo at the
planet centre.

Untie the Harmony patch from AutoConstructButtonEnabled so hiding the button
cannot silently disable the feature, and throttle the enable diagnostics now
that enabling is an in-game action.

Extract the shared manual-movement input probe, name the obstacle layer mask,
reset a copied Localizer on the cloned count text, and drop the dead
representative-target guard.
2026-09-16 02:16:14 +08:00
soarqin b7564903d0 fix(uxassist): route construction through nearby ghosts
Select the closest eligible ghost in the approach corridor before flying to a selected site, and use spherical cross-track checks to avoid bypassing nearer construction work.
2026-09-16 01:35:36 +08:00
soarqin 27c6a959ad fix(uxassist): improve warp steering responsiveness
Top up the warp heading toward the requested direction after game rotation so the actual heading achieves the 1.6-degree-per-tick turn step. Reduce warp speed control during large heading errors while preserving manual warp speed input.
2026-09-16 00:49:11 +08:00
soarqin 7f9f0b62ae fix(uxassist): preserve satellite targeting near gas giants
Only avoid an orbiting parent when the direct target segment intersects it. Constrain its avoidance radius to stay outside the target and follow a heading-selected tangent before resuming direct approach.
2026-09-15 15:09:17 +08:00