Skip to content

docs: refactor and rework guide - #250

Merged
Lynder063 merged 1 commit into
mainfrom
docs/refactor-guide
Dec 5, 2026
Merged

Lynder063 merged 1 commit into
mainfrom
docs/refactor-guide

Conversation

@Lynder063

Copy link
Copy Markdown
Member

Adds docs/contributing/refactor.md: how to clean up matched C without changing the built bytes or the original file split and order.

  • What a refactor never changes and what it may change
  • C rules from the Linux kernel style, SEI CERT C and other matching decomps (MM, OoT, Paper Mario, TWW, SOTN)
  • Comment rules from OpenRAC's CODING_CONVENTIONS.md section 6, in our /* */ form
  • New /* BUG: */ marker for game bugs we keep

Linked from docs/README.md and style.md. Docs only.

@bytematchdev

bytematchdev Bot commented Dec 5, 2026

Copy link
Copy Markdown

ByteMatch progress report

SCPS_150.37

Code matched 100.00% · 3.71 MB of 3.71 MB
Fuzzy match 100.00%
Functions 5,101 / 5,101
Units complete 140 / 140

No function changes.

SCES_509.16

Code matched 100.00% · 3.71 MB of 3.71 MB
Fuzzy match 100.00%
Functions 5,118 / 5,118
Data matched 100.00%
Units complete 141 / 141

No function changes.

SCUS_971.99

Code matched 100.00% · 3.55 MB of 3.55 MB
Fuzzy match 100.00%
Functions 4,244 / 4,244
Data matched 63.95%
Units complete 1,082 / 1,082

No function changes.

SCES_509.16_v1

Code matched 100.00% · 3.69 MB of 3.69 MB
Fuzzy match 100.00%
Functions 5,082 / 5,082
Units complete 140 / 140

No function changes.

Commit eeee007 · Ratchet & Clank on ByteMatch

@Lynder063
Lynder063 merged commit df077d6 into main Dec 5, 2026
4 checks passed
@Lynder063
Lynder063 deleted the docs/refactor-guide branch December 5, 2026 11:06
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