{"id":49686638,"url":"https://github.com/diff3/pypandariaemu-def","last_synced_at":"2026-05-07T10:04:01.152Z","repository":{"id":353726102,"uuid":"1185764748","full_name":"diff3/PyPandariaEmu-def","owner":"diff3","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-25T07:14:15.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-25T09:19:32.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diff3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-18T23:23:02.000Z","updated_at":"2026-04-25T07:14:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/diff3/PyPandariaEmu-def","commit_stats":null,"previous_names":["diff3/pypandariaemu-def"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/diff3/PyPandariaEmu-def","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diff3%2FPyPandariaEmu-def","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diff3%2FPyPandariaEmu-def/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diff3%2FPyPandariaEmu-def/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diff3%2FPyPandariaEmu-def/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diff3","download_url":"https://codeload.github.com/diff3/PyPandariaEmu-def/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diff3%2FPyPandariaEmu-def/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32732349,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-07T10:03:59.628Z","updated_at":"2026-05-07T10:04:01.140Z","avatar_url":"https://github.com/diff3.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyPandariaEmu Data\n\nRuntime data repository for `PyPandariaEmu`.\n\nThis repo contains packet definitions, decoded reference JSON, promoted raw/debug packets and live captures. It does not contain server logic or proxy code.\n\n## Layout\n\n```text\ndata/\n├── captures/\n│   ├── debug/\n│   ├── json/\n│   └── focus/\n│       ├── debug/\n│       └── json/\n├── debug/\n├── def/\n└── json/\n```\n\n## Directories\n\n### `def/`\n\nDSL packet definitions.\n\n- one packet per file\n- file name matches opcode name\n- example: `CMSG_AUTH_SESSION.def`\n\nThese are the files used by the DSL runtime for decode and encode.\n\n### `json/`\n\nPromoted decoded reference payloads.\n\n- one file per opcode\n- usually created as `{}` first during promote\n- later filled with expected decoded structure if needed\n\nExample:\n\n- `json/CMSG_AUTH_SESSION.json`\n\n### `debug/`\n\nPromoted raw/debug packet artifacts.\n\n- one file per opcode\n- contains raw packet metadata, header data, hex dumps and debug-friendly fields\n\nExample:\n\n- `debug/CMSG_AUTH_SESSION.json`\n\n## Captures\n\n`captures/` holds live packet dumps created during runtime observation.\n\n### `captures/json/`\n\nLatest decoded packet per opcode.\n\n- overwritten on each new dump for the same opcode\n- intended for quick inspection of the latest seen packet\n\n### `captures/debug/`\n\nLatest raw/debug packet per opcode.\n\n- overwritten on each new dump for the same opcode\n- contains raw packet metadata and hex output\n\n### `captures/focus/json/`\n\nDecoded focus captures.\n\n- stores multiple packets\n- filenames include opcode, unix time and id\n\nExample:\n\n- `CMSG_AUTH_SESSION_1777777777_0001.json`\n\n### `captures/focus/debug/`\n\nRaw/debug focus captures.\n\n- same naming scheme as focus `json/`\n- used when you want to keep many copies of the same opcode instead of overwriting the latest one\n\n## Promote / Demote Flow\n\nPromote copies packet artifacts from `captures/` into the stable runtime folders:\n\n- `captures/debug/\u003cOPCODE\u003e.json` -\u003e `debug/\u003cOPCODE\u003e.json`\n- creates `def/\u003cOPCODE\u003e.def` with `{}`\n- creates `json/\u003cOPCODE\u003e.json` with `{}`\n\nFor focus captures, promote strips the timestamp/id suffix and promotes by opcode name.\n\nDemote removes the promoted files again from:\n\n- `def/`\n- `json/`\n- `debug/`\n\n## Sync\n\n`protocol sync` updates already promoted `debug/` and `json/` files from the latest matching capture files in `captures/`.\n\nIt does not rewrite `.def` files.\n\n## Naming Rules\n\n- opcode name is the canonical identity\n- promoted files use plain opcode name only\n- focus captures append `_unixtime_id`\n\n## Notes\n\n- `captures/` is transient runtime data\n- `def/`, `json/` and `debug/` are the stable promoted artifact set\n- `__init__.py` in `def/` is not a packet definition and should be ignored by packet lookup\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiff3%2Fpypandariaemu-def","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiff3%2Fpypandariaemu-def","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiff3%2Fpypandariaemu-def/lists"}