cd: allow disk read
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 85
- Forks
- 8
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 20
Description
As of today, any game that wants to adopt PsyZ must create its own file handler to read game data out of an extracted image.
The developer must rely on the disk image set in Psyz_CdSetDiskPath to automatically resolve game's data like an emulator would do. This would drastically reduce the porting burden.
Alternatively, a developer should also rely to Psyz_CdSetReadCB to stub CD sectors to perform custom logic such as loading external assets.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Psyz_CdSetDiskPath and Psyz_CdSetReadCB entry points and reading the existing CD handling. Done means games can resolve data from the configured extracted disk image, while the read callback can provide custom CD sectors for external assets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100