Call for contributions: save data and storage (libSceSaveData and friends)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Choose one scoped topic from the issue, such as mount variants in core/libs/prx/libSceSaveData/ or atomicity tests under core/libs/tests/. Read docs/dev/START_HERE.md and docs/dev/BUILD.md, then follow the relevant library entry points and test registration with add_test_executable. Done means the selected behavior is implemented or tested as described, with the savedata test runnable through ctest; the issue requests commenting before work starts.
由索引模型根据 Issue 内容生成。
描述
Call for contributions: save data and storage
Why
A title that cannot mount its save directory cannot get past its first save prompt, and a title that mounts it wrongly can lose the player's progress. Counted from the code: libSceSaveData.native has 58 implemented exports, 61 unimplemented and 14 that return success without effect; libSceSaveData has 18 unimplemented exports, three of them named (sceSaveDataGetUpdatedDataCountProspero, sceSaveDataMount5Prospero, sceSaveDataMountSysProspero2); libSceSaveDataDialog.native has 3 inert functions; libSceFios2 has 20.
What to pick
- Mount variants: the named Prospero mounts and the unnamed NIDs next to them (
core/libs/prx/libSceSaveData/,SaveDataFile.hpp). - Native save data: the 61 unimplemented exports, grouped by purpose: backup, transfer, parameters, icons, event queue (
core/libs/prx/libSceSaveData.native/). - Dialog: make the 3 inert dialog functions return what the console returns, with a host-side prompt only when the console shows one.
- Atomicity: save files are written on a power cut as often as at a menu. Write tests that check a save is never left half-written (rename-based commit,
fsync). - Silent stubs: review the 4 entries in the SaveData.native debt file.
Expected result
Save data that mounts, writes, reads, lists, backs up and deletes on a host directory the player can find, with console-accurate errors (space, existing mount, missing directory), and tests that need only a temporary directory.
How to test without our games
A guest test under core/libs/tests/ using a temporary directory as the save root, registered with add_test_executable, run with ctest --test-dir build -R savedata --output-on-failure. Kill the test program at random points to check atomicity.
Difficulty
Medium; hard for transfer and backup paths.
Who to ask
Ask in this issue; the maintainers read every comment.
Rules that apply to every call
- Comment on the issue before you start, so two people do not do the same work. One topic per pull request, against
AnyKyty. - Conventional Commits (
fix(libkernel): ...,feat(libScePad): ...,test(...),docs: ...). No comments in code. Nothing specific to one title: no title IDs, no data taken from a game, no per-title branches. - Every export either does exactly what it should or throws: an unimplemented export calls
NotImplemented_nid_no_patch(__func__). A silent stub is allowed only when it unblocks a title and only affects the UI; list it under "Silent stubs" in the library's file indocs/dev/debt/through a fragment (docs/dev/debt/changes/<branch>.md, seedocs/dev/TechnicalDebt.md). - Say where a behaviour comes from: public SDK headers and documentation, a published reverse-engineering write-up, or your own analysis of your own console's system modules. Do not post or attach firmware files, system modules or game files.
- Each test finishes in 30 s on the CI runners.
python3 tools/check_conventions.py --base origin/AnyKytymust pass before you push. - Build and test:
docs/dev/START_HERE.mdanddocs/dev/BUILD.md. CI runs the library tests on GitHub's runners (no GPU, no game) on Linux and Windows.
- 主要语言
- C++
- 星标
- 214
- 派生
- 7
- 平均合并
- 7 小时 53 分钟
- 30 天内合并 PR
- 280
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
simnJS/AnyPS5 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Call for contributions: Windows, AMD and Intel validation (run the tests on your hardware)可能已有人在做 @adam25136 今天认领。 未关闭area: tools-ci area: windows good first issue help wanted needs: AMD needs: Windows
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
kyty: kyty_shim_rt_context_pick fails pipeline creation with ErrorUnknown on AMD Windows (RX 6800)未关闭
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 1 天内回复
相似的 Issue
-
area:tests kind:test
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
? - Needs Triage bot_watch bug
难度 2/5 1-3 小时 新手友好度 78/100
NVIDIA/cudf-spark-jni#5594 ·
维护者通常 1 天内回复
-
Branch-master
难度 2/5 1-3 小时 新手友好度 78/100
TrinityCore/TrinityCore#32177 ·
维护者通常 10 天内回复
-
area:manager enhancement kind:ux P3 platform:windows
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复