Skip to content

.github/workflows/cmake-multi-platform.yml - #85

Open
Kritsadaaun wants to merge 546 commits into
sergiou87:dev/github-action-vitafrom
Kritsadaaun:master
Open

Kritsadaaun wants to merge 546 commits into
sergiou87:dev/github-action-vitafrom
Kritsadaaun:master

Conversation

@Kritsadaaun

Copy link
Copy Markdown

No description provided.

sergiou87 added 30 commits June 8, 2020 09:33
… (tile=40) to be visible with some custom graphics
… devices for memory "beyond the level borders"
sergiou87 and others added 22 commits March 30, 2026 22:04
Exclude LEVEL.L* files from CRLF conversion and add CI validation.

Updates .gitattributes to mark **/LEVEL.L* as binary (-text) so CRLF conversion won't corrupt fixed-size level assets. Adds a GitHub Actions step that runs scripts/validate-level-files.sh, and adds that script which verifies LEVEL.LST and LEVEL.L## files are exactly 3108 bytes in resources and tests/OpenSupaplex-tests, failing the build if sizes differ.
Update project version strings and metadata to 7.2.2 for multiple platforms (3DS, macOS, Switch, PS3, Vita, Wii, Wii U, src globals). Add a new Linux release entry for v7.2.2 and update platform-specific release dates/identifiers. Also simplify the Switch appstore changelog to a brief FIXED note.
Match loc_4E1A1's word comparison by requiring an infotron with zero
state before Murphy can collect it while moving down.

Add a falling-infotron replay that must fail and a one-tile stationary
control that must succeed, both verified against SpeedFix 6.3. Run the
regression suites with explicit expected exit codes so crashes cannot
satisfy expected-failure cases.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Match loc_4E5BA by keeping Murphy's vacated cell as reserved Space
until downward collection finishes. Marking it as Base allowed debug B
to clear it early, letting a zonk enter and then be erased by movement
cleanup, which could incorrectly open a route to the exit.

Add a replay proven to fail in SpeedFix 6.3 but succeed before this fix,
plus a one-tile positive control. A test-only keyboard adapter supplies
the frame-34 B key because debug keys are not stored in demo streams.
Build and run both debug regression suites in CI.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Match SpeedFix 6.3's byte comparison at loc_48011: a zonk may roll
right into a 0x9999 reservation when the tile above it is a zonk,
regardless of that upper zonk's animation state. The extra state-zero
check delayed the roll and caused otherwise valid replays to fail.

Make the byte operand explicit in the assembly reference, verified
against the unmodified executable's instruction at CS:1400. Add a
minimal two-zonk solution and a one-tile positive control, both proven
successful in the original game under DOSBox.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Keep the assembly source unchanged and record the verified SpeedFix 6.3
operand-width evidence only in regression documentation. Retain the C
zonk-roll fix and its original-backed replay coverage.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Compare the full 16-bit byte offset used by the original sub_4F2AF
routine instead of dividing stored coordinates before comparison.
Division rounded odd, nonmatching records down to real port positions
and could incorrectly enable gravity or change freeze flags.

Add an original-backed replay whose odd record must be ignored and a
one-byte matching-position control that must enable gravity. The former
succeeds in SpeedFix 6.3 but failed before this fix; the control fails
in both engines. Keep the assembly reference unchanged.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Use the same signed tile-index type as Murphy so red disks planted
above an empty top border address the existing pre-playfield padding.
The unsigned position wrapped tile -49 to 65487, updating unrelated
memory instead of placing the disk and allowing invalid replay wins.

Add an original-backed failing replay and a longer-input successful
control. Verify negative positions and legacy unsigned savegame values
still load correctly. Leave the assembly reference unchanged.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Match sub_4A61F's tile-byte comparison: hardware remains immune to an
explosion regardless of its state byte. The extra state-zero condition
could destroy existing pre-playfield hardware and kill Murphy when
walking through an empty top border.

Add an original-backed replay that bumps the existing 0x8E06 hardware
word at tile -300 and returns to the exit, plus a no-bump control. No
tile states are injected and the assembly reference stays unchanged.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Model the original contiguous level words and explosion timer bytes
with two views of one allocation. Border movement can interpret timer
bytes as tiles; separate C arrays lost that alias and accessed unrelated
memory beyond the level-state allocation.

Keep the existing array views and serialized sizes intact so legacy
savegames still load. Assert the original two-byte tile and timer-offset
layout at initialization.

Add an original-backed replay that enters an exit represented by timer
bytes 07 00 and a one-tile control that leaves the timer clear. Leave
the assembly reference unchanged.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Match loc_4E1A9's full-word cmp ax,7 by checking both the exit tile
and its state. The missing state check allowed Murphy to complete a
level through a nonzero-state tile that the original game rejects.

Add a replay that generates exit word 0x0707 through two explosion
timers and a one-tile control that generates usable exit word 0x0007.
Both outcomes were verified in unmodified SpeedFix 6.3 under DOSBox.
Leave the assembly reference unchanged.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Match the original AX subtraction before unsigned timestamp comparison
in level, player, and ranking scrolling and level-set rotation. C integer
promotion kept negative subtraction results instead of wrapping at 16
bits, stalling menu autorepeat when the frame counter wrapped.

Add a 177-frame mouse-input trace recorded from unmodified SpeedFix 6.3
across its natural counter wrap and a 65-frame nonwrapping control.
Replay their original counter observations against all seven C handlers
in the automatic test suite. Keep the assembly reference unchanged.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Replace the duplicated current-player time totals with the original
lexicographic comparator: progress descending, then hours, minutes, and
seconds ascending. Preserve signed-byte sort keys and stable equal-time
ordering while keeping displayed time bytes unsigned.

Add player-file cases captured from the unmodified original menu,
covering each time field, long-hour signed ordering, stable ties,
completed players, current-player rank, and distinct-progress control.
Run the ranking adapter in the automatic regression suite.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Join the worker removed from the queue instead of joining the next
worker. Otherwise an untracked worker can finish after suite totals
are recorded, omitting a case or its failure from the result.

Add a deterministic pending-worker scheduler regression and run it
before the CI test build. This was exposed while validating the new
eight-case Hall of Fame regression suite.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
Interpret hours, minutes, and seconds as signed bytes for insertion
comparisons, matching the original JL instructions while preserving
unsigned stored and displayed time values.

Add eight cases captured from unmodified SpeedFix v6.3 after completing
the actual final level. Cover the 127/128-hour boundary, 200- and
255-hour counterexamples, and normal time-field insertion controls.
Wire the adapter into the automatic regression suite and CI build.

Copilot-Session: 0874adb5-cd69-4c8a-8cd0-71f2f9f7201f
gameControllerEmulateMouse read only the left analog stick, so on a
controller without one (many handhelds, such as the TrimUI Brick) the menu
cursor could not be moved, though the directional pad already moves Murphy.
The pad now moves the cursor at about half the stick's full speed when the
stick is not pushed.
@Kritsadaaun
Kritsadaaun marked this pull request as draft November 20, 2026 10:49
@Kritsadaaun
Kritsadaaun marked this pull request as ready for review November 20, 2026 10:49
@Kritsadaaun
Kritsadaaun marked this pull request as draft November 20, 2026 11:08
@Kritsadaaun
Kritsadaaun changed the base branch from master to dev/github-action-vita November 21, 2026 13:06
@Kritsadaaun Kritsadaaun reopened this Nov 21, 2026
@Kritsadaaun
Kritsadaaun marked this pull request as ready for review November 21, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.