Skip to content

Fully match P2/mpeg - #286

Merged
545u merged 4 commits into
TheOnlyZac:mainfrom
SlyC00per:match-p2-mpeg-submit
Oct 22, 2026
Merged

545u merged 4 commits into
TheOnlyZac:mainfrom
SlyC00per:match-p2-mpeg-submit

Conversation

@SlyC00per

Copy link
Copy Markdown
Contributor

Fully matched P2/mpeg.

sha1sum checksum out/SCUS_971.98: OK

@545u 545u left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty nice but still this needs some work before I can merge this.

Comment thread include/mpeg.h Outdated
Comment thread include/mpeg.h Outdated
Comment thread include/mpeg.h Outdated
Comment thread include/mpeg.h Outdated
Comment thread include/mpeg.h Outdated
Comment thread src/P2/mpeg.c Outdated
Comment thread src/P2/mpeg.c Outdated
Comment thread src/P2/mpeg.c Outdated
Comment thread src/P2/mpeg.c Outdated
Comment thread src/P2/mpeg.c
@545u

545u commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

The checksum doesn't match.

- Move Sony SDK structures and prototypes into libmpeg.h, libipu.h, and spustrm.h
- Align struct member offsets to the left and replace raw padding with STRUCT_PADDING
- Replace in-file extern declarations with proper header includes (gs.h, sound.h, thread.h)
- Remove extern "C" from C++ functions and mangle symbols in symbol_addrs.txt
- Relocate all Doxygen docstrings from mpeg.c into include/mpeg.h
- Use STRUCT_OFFSET and void* for CMpeg::Execute() cutscene key
- Format control-flow curly braces
@545u

545u commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

The checksum still isn't matching the original executable. I am not going to merge this until you fix it. Maybe your AI agent secretly switched the checksum in your local repo.

@SlyC00per

Copy link
Copy Markdown
Contributor Author

Checksum should match now.

@545u

545u commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

This branch is 62 commits behind main. Could you update it so it doesn't cause any issues later? I want to clean this up a bit myself before I can merge this. Could you also please stop using AI to do most of the work? It isn't really the point of this project.

@545u
545u deployed to pr-build October 22, 2026 17:27 — with GitHub Actions Active
@545u
545u deployed to pr-build October 22, 2026 17:27 — with GitHub Actions Active

@545u 545u left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I think this suffices for now. This code still needs some cleanup later on (unknown variable names, unknown function names, etc). Thank you for your contribution.

@545u
545u merged commit 2fe82db into TheOnlyZac:main Oct 22, 2026
3 checks passed
@SlyC00per

Copy link
Copy Markdown
Contributor Author

Thanks for your help. I'll be better about being up to date when I push in the future.

This branch was successfully deployed

1 active deployment
pr-build — 7e952c78 Deployed Oct 22, 2026 by 545u via build-pr #512
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.

2 participants