glitchcraft
/glitchcraft
Tworzy i dekoduje kody Game Genie oraz ocenia, czy kod od znajomego lub ze strony jest bezpieczny.
- Autor
- c0ntracode ↗
- Repozytorium
- glitchcraft ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 93
- Skrypty
- 53
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 53 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/gg.py, scripts/glitchcraft/__init__.py, scripts/glitchcraft/cli.py, scripts/glitchcraft/core.py, scripts/glitchcraft/gb/__init__.py, scripts/glitchcraft/gb/codec.py, scripts/glitchcraft/gb/dis_sm83.py, scripts/glitchcraft/gb/rom.py
Co robi i kiedy
Tworzy i dekoduje kody Game Genie oraz ocenia, czy kod od znajomego lub ze strony jest bezpieczny.
Oryginalny opis (EN)
Use when the user wants a Game Genie cheat code made from a game ROM, wants a Game Genie code decoded or checked, or asks whether a code from a friend or a website is safe. Needs Claude Code and python3.
Jak działa
- Start
- First reply when the user gave no effect
- Building a code
- Vetting a code
- Every result has all five parts
- Before offering any code
Podgląd SKILL.md
--- name: glitchcraft description: Use when the user wants a Game Genie cheat code made from a game ROM, wants a Game Genie code decoded or checked, or asks whether a code from a friend or a website is safe. Needs Claude Code and python3. --- # Glitchcraft Scripts do the exact work. You reason over their output. Never encode, decode or compute an offset by hand. Run from this skill's directory as `python3 scripts/gg.py <command>`; the ROM path always comes first: `id ROM` · `decode ROM CODE...` · `vet ROM CODE...` · `make ROM --addr H --value H [--compare H] [--bank N]` · `xrefs ROM ADDR` · `disasm ROM ADDR COUNT` · `patch-copy ROM OUT CODE...` ## Start 1. Run `python3 --version`. If it fails, say so, say what to install, and stop short of any encoded letters. 2. Run `id ROM`. NES, SNES, Genesis, Game Boy / Game Boy Color and Game Gear / Master System are supported; for any other platform say "unsupported yet" and stop. 3. If `id` says "ROM format not recognized" (no valid header): ask for a clean dump. If the user goes on anyway, everything you produce is a **Guess**. 4. State the hash and your belief about the game (a SNES header carries a title, a NES file has none); ask the user to confirm game and revision. ## First reply when the user gave no effect Reply with what `id` found, one sentence on what you can likely do (counters and start values are usually findable from the ROM alone; timing and physics often need an emulator), and one question about the effect wanted. No code, even a remembered one. ## Building a code 1. Find the routine: `xrefs ROM ADDR` for the game variable (a RAM address or variable name from your memory of the game is a recollection; say so unless the ROM backs it), then `disasm ROM ADDR COUNT`. Start `disasm` at an address a listing already shows as an instruction start. Every byte you propose points at a listing line. 2. `make ROM --addr HEX --value HEX` returns the code and the original byte read from the file (`--compare HEX` gives the NES 8-letter and the Game Boy / Game Gear 9-digit forms; SNES and Genesis have no compare byte, and Genesis values are 16-bit words). Game Boy `4000`-`7FFF` and Game Gear / Master System `4000`-`BFFF` depend on the ROM bank: pass `--bank N` (decimal, or `0x20`) to `make`, `decode`, `disasm`, `vet` and `patch-copy`; an `xrefs` hit's bank is its file offset divided by `0x4000`. Ask the user which bank is live; do not choose one. 3. A value is often set at several addresses (one per way the game can start). List them all with `xrefs`, read each one's `disasm` context, and pick the one on the normal-start path; say which others exist. 4. Run `vet ROM CODE` on your own code before offering it. If the game shows an error or red screen after any patch, suspect a boot checksum: find the compare near the reset code and `vet` a second code that defeats it. 5. If only a RAM write can do it, say a Game Genie patches ROM reads, give the RAM address as information, and give no code. ## Vetting a code Run `decode` and one `vet` call with every code together, because codes that patch the same instruction only show their real effect combined. Write one sentence, "When X runs, Y happens", from the output alone; if `vet` prints a `target:` listing, say what that routine does. Then read the user's claim and say where it disagrees. ## Every result has all five parts 1. **Code**, and what it changes: address, original byte, new byte, from the script. 2. **Confidence**: a label below, plus what would raise it. 3. **Pre-mortem**: how this code could be wrong for this ROM, specific to it. 4. **How to test**, and what the user should see if it works. 5. **If it fails**: what to send back. | Label | Means | |---|---| | Confirmed | Seen working in an emulator or on hardware | | Traced | A disassembly listing explains the effect | | Inferred | Matches a common pattern, not traced | | Guess | Plausible, thin evidence | A label never exceeds its evidence; static work alone is at most Traced. Thin evidence still gets an answer, marked **Guess**. ## Before offering any code Check: other writers (`xrefs`), code or data, bank, revision, save RAM. Details: `references/nes.md`, `references/snes.md` (24-bit addresses; `; width unknown` means a guessed listing), `references/genesis.md` (word patches; `dc.w` means undecoded), `references/gb.md` (banks, header area, `ILLEGAL` opcodes), `references/sega8.md` (Z80 consoles, Game Boy code format; Master System codes are emulator-format; its "practical notes" cover finding the live bank), `references/emulator-recipes.md`, `references/troubleshooting.md`, `references/report-example.md`.
Pliki w paczce (93)
- .gitignore 1 KB
- LICENSE 1 KB
- README.md 8 KB
- SKILL.md 5 KB
- TESTING.md 6 KB
- docs/evals/banked-emulator-check.md 8 KB
- docs/evals/baseline-2026-11-12.md 11 KB
- docs/evals/gb-2026-11-12.md 2 KB
- docs/evals/gb-letters.md 6 KB
- docs/evals/genesis-2026-11-12.md 3 KB
- docs/evals/genesis-letters.md 3 KB
- docs/evals/ingame-earthbound.md 5 KB
- docs/evals/ingame-links-awakening.md 4 KB
- docs/evals/ingame-mega-man-2.md 5 KB
- docs/evals/ingame-pokemon-red.md 6 KB
- docs/evals/ingame-sonic-genesis-lives.md 5 KB
- docs/evals/ingame-sonic-gg-lives.md 5 KB
- docs/evals/ingame-sonic-gg-rings.md 4 KB
- docs/evals/ingame-super-mario-bros-3.md 3 KB
- docs/evals/real-roms-2026-11-12.md 4 KB
- docs/evals/scenarios.md 2 KB
- docs/evals/sega8-2026-11-12.md 3 KB
- docs/evals/sega8-letters.md 4 KB
- docs/evals/snes-2026-11-12.md 2 KB
- docs/evals/snes-letters.md 3 KB
- docs/evals/sonic-gg-check.md 5 KB
- docs/evals/with-skill-2026-11-12.md 9 KB
- references/emulator-recipes.md 2 KB
- references/gb.md 5 KB
- references/genesis.md 3 KB
- references/nes.md 2 KB
- references/report-example.md 1 KB
- references/sega8.md 9 KB
- references/snes.md 2 KB
- references/troubleshooting.md 4 KB
- scripts/gg.py 1 KB
- scripts/glitchcraft/__init__.py 1 KB
- scripts/glitchcraft/cli.py 10 KB
- scripts/glitchcraft/core.py 3 KB
- scripts/glitchcraft/vet.py 6 KB
- scripts/glitchcraft/gb/__init__.py 2 KB
- scripts/glitchcraft/gb/codec.py 2 KB
- scripts/glitchcraft/gb/dis_sm83.py 8 KB
- scripts/glitchcraft/gb/rom.py 4 KB
- scripts/glitchcraft/genesis/__init__.py 2 KB
- scripts/glitchcraft/genesis/codec.py 2 KB
- scripts/glitchcraft/genesis/dis68000.py 13 KB
- scripts/glitchcraft/genesis/rom.py 4 KB
- scripts/glitchcraft/nes/__init__.py 2 KB
- scripts/glitchcraft/nes/codec.py 2 KB
- scripts/glitchcraft/nes/dis6502.py 7 KB
- scripts/glitchcraft/nes/rom.py 4 KB
- scripts/glitchcraft/sega8/__init__.py 2 KB
- scripts/glitchcraft/sega8/codec.py 1 KB
- scripts/glitchcraft/sega8/dis_z80.py 14 KB
- scripts/glitchcraft/sega8/rom.py 5 KB
- scripts/glitchcraft/snes/__init__.py 2 KB
- scripts/glitchcraft/snes/codec.py 2 KB
- scripts/glitchcraft/snes/dis65816.py 8 KB
- scripts/glitchcraft/snes/rom.py 4 KB
- tests/_path.py 1 KB
- tests/test_cli.py 6 KB
- tests/test_core.py 2 KB
- tests/test_dis6502.py 4 KB
- tests/test_dis65816.py 6 KB
- tests/test_dis68000.py 7 KB
- tests/test_dis_sm83.py 5 KB
- tests/test_dis_z80.py 18 KB
- tests/test_gb_cli.py 9 KB
- tests/test_gb_codec.py 3 KB
- tests/test_gb_extra.py 16 KB
- tests/test_gb_rom.py 5 KB
- tests/test_genesis_cli.py 6 KB
- tests/test_genesis_codec.py 3 KB
- tests/test_genesis_rom.py 6 KB
- tests/test_nes_codec.py 2 KB
- tests/test_nes_rom.py 5 KB
- tests/test_platform_routing.py 5 KB
- tests/test_real_roms.py 7 KB
- tests/test_repo_hygiene.py 1 KB
- tests/test_sega8_cli.py 7 KB
- tests/test_sega8_codec.py 2 KB
- tests/test_sega8_extra.py 28 KB
- tests/test_sega8_rom.py 7 KB
- tests/test_snes_cli.py 5 KB
- tests/test_snes_codec.py 2 KB
- tests/test_snes_rom.py 5 KB
- tests/test_vet.py 4 KB
- tests/fixtures/gb_vectors.json 1 KB
- tests/fixtures/genesis_vectors.json 2 KB
- tests/fixtures/nes_vectors.json 1 KB
- tests/fixtures/sega8_vectors.json 1 KB
- tests/fixtures/snes_vectors.json 2 KB
Wersje
W bazie nie ma innych skilli o nazwie glitchcraft.
Migawka bazy z 13.11.2026 · wersja paczki b1db06d57f87 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100tool-genie-ai-templates
Importuje i porównuje wzorce umów z platformy Genie AI jako materiał referencyjny do własnego projektu, głównie w common law. - 100genie
Doradza w integracji i obsłudze konta Genie Business, bramki płatniczej Dialog Pay na Sri Lance, włącznie z webhookami i podpisami. - 100quicksight-to-aibi
Migruje dashboardy, analizy i tematy Q z Amazon QuickSight do dashboardów AI/BI w Databricks, z metric views i przestrzeniami Genie. - 100setup-genie3-remote-tool
Konfiguruje, uruchamia, waliduje i diagnozuje zdalne narzędzie ToolUniverse Genie 3, opcjonalnie z przekazaniem przez ToolUniverse Connect. - 100idea-genie
Wymyśla opcje poparte dowodami na to, co budować, albo poddaje pomysł testowi wytrzymałości, także przy porównywaniu opcji. - 100c64-rom-reference
Opisuje i weryfikuje ROM-y C64 i stacji 1541, czyli BASIC, KERNAL, generator znaków i DOS, przy analizie kodu 6502.