Skip to content

Add complete local build and report command - #208

Merged
llesieur99 merged 1 commit into
OpenRAC:mainfrom
llesieur99:codex/rac4-build-all-20261203
Dec 4, 2026
Merged

llesieur99 merged 1 commit into
OpenRAC:mainfrom
llesieur99:codex/rac4-build-all-20261203

Conversation

@llesieur99

Copy link
Copy Markdown
Collaborator

Summary

  • Add tools/build_all.sh as the full local build entry point: validate both retail dumps and pinned isolated compiler profiles, build game C plus libgcc and libm, run the byte audit, and refresh US/PAL maps and reports.
  • Refuse linked output directories, clean isolated compiler scratch after each invocation, and choose bounded parallelism by default while allowing JOBS to override it.
  • Make tools/build_libm.sh fail when a configured source does not compile or its object is missing.
  • Document the full command in the README, contributor and agent workflows, and build guides; keep tools/build.sh for C-only iteration.
  • Add a CI syntax check for the four local build scripts. GitHub CI still validates committed reports; the private toolchain and retail dumps remain local.

Validation

  • bash -n passes in Git Bash and Ubuntu; the workflow YAML parses; git diff --check passes.
  • An intentional libm compiler error returns nonzero with its error visible.
  • Linked build output, missing newlib headers, and a missing pinned compiler profile are rejected before compilation; the profile test preserved existing objects.
  • Default and overridden JOBS preflights pass in Git Bash; the default also passes in Ubuntu.
  • Complete bash tools/build_all.sh run passed with default JOBS=8: 11,171 game objects, 11 libgcc objects, 26 libm objects, and zero nonempty libm compiler errors. US/PAL maps and reports are raw-byte identical to current main after regeneration.

@bytematchdev

bytematchdev Bot commented Dec 4, 2026

Copy link
Copy Markdown

ByteMatch progress report

SCES_532.85

Code matched 22.45% · 1.30 MB of 5.81 MB
Fuzzy match 23.60%
Functions 10,311 / 18,136
Units complete 5,555 / 5,613

No function changes.

SCUS_974.65

Code matched 21.58% · 1.25 MB of 5.78 MB
Fuzzy match 22.81%
Functions 10,067 / 18,172
Units complete 5,542 / 5,601

No function changes.

Commit bffd9fe · Ratchet: Deadlocked on ByteMatch

@llesieur99
llesieur99 merged commit e45c736 into OpenRAC:main Dec 4, 2026
1 check passed
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.

1 participant