{"id":17721530,"url":"https://github.com/mofosyne/GameboyPrinterSniffer","last_synced_at":"2025-03-14T05:31:45.266Z","repository":{"id":90348284,"uuid":"291304011","full_name":"mofosyne/GameboyPrinterSniffer","owner":"mofosyne","description":"Sniff packet Communications Between Real Gameboy And Real Gameboy Printer","archived":false,"fork":false,"pushed_at":"2022-06-21T18:32:48.000Z","size":139,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-11T15:17:13.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mofosyne.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}},"created_at":"2020-08-29T16:08:34.000Z","updated_at":"2024-09-24T21:47:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"90cc1743-8be7-41e2-827c-2c9cb51ed715","html_url":"https://github.com/mofosyne/GameboyPrinterSniffer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mofosyne%2FGameboyPrinterSniffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mofosyne%2FGameboyPrinterSniffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mofosyne%2FGameboyPrinterSniffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mofosyne%2FGameboyPrinterSniffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mofosyne","download_url":"https://codeload.github.com/mofosyne/GameboyPrinterSniffer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532517,"owners_count":20306151,"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-10-25T15:34:55.579Z","updated_at":"2025-03-14T05:31:45.258Z","avatar_url":"https://github.com/mofosyne.png","language":"C++","readme":"# Gameboy Printer Sniffer\n\nSniff packet Communications Between Real Gameboy And Real Gameboy Printer.\nThis repository contains test vectors in `./RealCapture/` to assist in\nemulating a real Gameboy printer.\n\nWritten by Brian Khuu, but happy to accept contributions.\n\nOriginally part of https://github.com/mofosyne/arduino-gameboy-printer-emulator\n\n## Purpose\n\nThis is a tool to help investigate Gameboy behavior by sitting\nbetween a real Gameboy and a real Gameboy printer.\n\nThis is a spinoff of the Arduino Gameboy Printer Emulator V2 redesign,\nwhere we were aiming for full support for all games now.\n\nTo do this, we needed the ground truth, thus we need to sniff the communication\nbetween a real Gameboy printer and a real Gameboy.\n\n## Telegram Gameboy Camera Chatroom\n\nGot telegram instant messaging and have some questions or need any advice, or just want to share? Invite link below:\n\nhttps://t.me/GameboyCamera\n\n## Structure\n\n* `./RealCapture/` : Real test vectors contributions from the community\n* `./gbp_sniffer/` : Ardunio sketch for capturing packets between a real Gameboy and Gameboy printer.\n\n\n## Usage of gbp_sniffer (arduino)\n\ngbp_sniffer is an arduino sketch, tested on an ardunio nano. To construct...\n\nSplit a cable and locate the GND, Serial Ouput, Serial Input and Clock.\n\nSolder these wires to the arduino using the pinout shown below.\n\nPlug a Gameboy and a printer to both ends of the cable. I've added auto detection\nroutine so you don't have to worry about which ends to plug it in.\n\nNext download `./gbp_sniffer/gpb_sniffer.ino` to your arduino nano.\nAfter that, open the serial console and set the baud rate to 115200 baud.\n\nYou can now send an image over to the real Gameboy and the serial console will\nshow the desired dump.\n\nThis will give you an output similar to those found in `./RealCapture/`.\n\n[To view the content, you can use the raw decoder found here](https://mofosyne.github.io/arduino-gameboy-printer-emulator/GameBoyPrinterDecoderJS/gameboy_printer_js_raw_decoder.html)\n\n### General Pinout\n\n```\nGameboy Original/Color Link Cable Pinout\n ___________\n|  6  4  2  |\n \\_5__3__1_/   (at cable)\n```\n\n| Arduino Pin | Gameboy Link Pin                 |\n|-------------|----------------------------------|\n|  unused     | Pin 1 : 5.0V                     |\n|  D4         | Pin 2 : Serial OUTPUT            |\n|  D3         | Pin 3 : Serial INPUT             |\n|  unused     | Pin 4 : Serial Data              |\n|  D2         | Pin 5 : Serial Clock (Interrupt) |\n|  GND        | Pin 6 : GND (Attach to GND Pin)  |\n\n\n\n## Thanks\n\n* Raphaël BOICHOT : For supplying real capture data in `./RealCapture/` folder\n\n\n","funding_links":[],"categories":["Game Boy Camera","游戏机相机","Printer hacks"],"sub_categories":["Retrieving images","检索图像"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmofosyne%2FGameboyPrinterSniffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmofosyne%2FGameboyPrinterSniffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmofosyne%2FGameboyPrinterSniffer/lists"}