{"id":22680673,"url":"https://github.com/marcometer/pokemon_replay_recorder","last_synced_at":"2026-02-26T06:45:29.966Z","repository":{"id":266539101,"uuid":"898636823","full_name":"MarcoMeter/pokemon_replay_recorder","owner":"MarcoMeter","description":"Just a simple replay recorder","archived":false,"fork":false,"pushed_at":"2025-02-19T08:45:55.000Z","size":774,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T22:41:26.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/MarcoMeter.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}},"created_at":"2024-12-04T18:45:57.000Z","updated_at":"2025-02-19T08:45:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"026713f8-2814-4630-af69-31cf7bc065c6","html_url":"https://github.com/MarcoMeter/pokemon_replay_recorder","commit_stats":null,"previous_names":["marcometer/pokemon_replay_recorder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoMeter%2Fpokemon_replay_recorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoMeter%2Fpokemon_replay_recorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoMeter%2Fpokemon_replay_recorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoMeter%2Fpokemon_replay_recorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarcoMeter","download_url":"https://codeload.github.com/MarcoMeter/pokemon_replay_recorder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248510001,"owners_count":21116131,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-12-09T19:14:30.420Z","updated_at":"2026-02-26T06:45:24.931Z","avatar_url":"https://github.com/MarcoMeter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install\n\n`conda create -n poke_replay python=3.11 --yes`\n\n`conda activate poke_replay`\n\n`pip install -r requirements.txt`\n\n# Known Issues\n\nOn MacOS, you might need to uninstall pysdl2-dll.\n\n`pip uninstall pysdl2-dll`\n\n# Add ROM\n\nThe Pokémon Red Rom should be located at the path `./PokemonRed.gb`. Otherwise specify the path using `--rom my_rom.gb`.\n\n# Record playthrough\n\n`python play.py --name my_replay.json`\n\nControls:\n\n```\naction_mapping = {\n    pygame.K_UP: 3,\n    pygame.K_DOWN: 0,\n    pygame.K_LEFT: 1,\n    pygame.K_RIGHT: 2,\n    pygame.K_a: 4, # A\n    pygame.K_s: 5, # B\n    pygame.K_RETURN: 6,\n}\n```\n\nNote that the key A is used for `A` and the key S is used for `B`. Change this to your likings. I did this because of the different local keyboard layouts.\n\nWhen done recording, press `ESC`, `Ctrl + C`, or just quit.\n\nYou may also resume a saved playthrough as follows:\n\n`python play.py --name my_replay_resume.json --resume my_replay.json`\n\nDuring the playthrough, you can press `P` to capture a screenshot or press `O` to save the state.\n\n# Replay\n\n`python replay.py --name example_replay.json`\n\nor headless\n\n`python replay.py --name example_replay.json --headless`\n\n# Recording Instructions\n\n- Play untill receiving TM Dig (ensure to beat Misty and get Badge 2 as well)\n- No need to speed run\n- No need to play absolutely precise\n- Your strategy can be pretty free after all\n- Out of scope:\n    - Completing the pokedex\n    - Using the storage system\n- (Optional: You can proceed further in the main story if you want to keep recording.) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcometer%2Fpokemon_replay_recorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcometer%2Fpokemon_replay_recorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcometer%2Fpokemon_replay_recorder/lists"}