{"id":22553658,"url":"https://github.com/drhelius/geargrafx","last_synced_at":"2026-02-14T15:09:40.628Z","repository":{"id":215291881,"uuid":"738299030","full_name":"drhelius/Geargrafx","owner":"drhelius","description":"PC Engine / TurboGrafx-16 / SuperGrafx / PCE CD-ROM² emulator, debugger, and embedded MCP server for macOS, Windows, Linux, BSD and RetroArch.","archived":false,"fork":false,"pushed_at":"2026-02-11T19:19:12.000Z","size":16731,"stargazers_count":187,"open_issues_count":13,"forks_count":11,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-02-11T20:27:26.994Z","etag":null,"topics":["bsd","emulator","libretro","linux","macos","mcp","pc-engine","pcengine","raspberry-pi","raspberrypi","retroarch","supergrafx","turbografx","turbografx-16","vgm"],"latest_commit_sha":null,"homepage":"https://x.com/drhelius","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/drhelius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"drhelius","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2024-01-02T22:54:54.000Z","updated_at":"2026-02-11T19:19:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"289d05bc-094c-42ce-8285-f725acd80d06","html_url":"https://github.com/drhelius/Geargrafx","commit_stats":null,"previous_names":["drhelius/geargrafx"],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/drhelius/Geargrafx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drhelius%2FGeargrafx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drhelius%2FGeargrafx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drhelius%2FGeargrafx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drhelius%2FGeargrafx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drhelius","download_url":"https://codeload.github.com/drhelius/Geargrafx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drhelius%2FGeargrafx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29447771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T14:10:32.461Z","status":"ssl_error","status_checked_at":"2026-02-14T14:09:49.945Z","response_time":53,"last_error":"SSL_read: 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":["bsd","emulator","libretro","linux","macos","mcp","pc-engine","pcengine","raspberry-pi","raspberrypi","retroarch","supergrafx","turbografx","turbografx-16","vgm"],"created_at":"2024-12-07T18:10:38.924Z","updated_at":"2026-02-14T15:09:40.613Z","avatar_url":"https://github.com/drhelius.png","language":"C++","readme":"# Geargrafx\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/drhelius/Geargrafx/geargrafx.yml)](https://github.com/drhelius/Geargrafx/actions/workflows/geargrafx.yml)\n[![GitHub Releases)](https://img.shields.io/github/v/tag/drhelius/Geargrafx?label=version)](https://github.com/drhelius/Geargrafx/releases)\n[![commits)](https://img.shields.io/github/commit-activity/t/drhelius/Geargrafx)](https://github.com/drhelius/Geargrafx/commits/main)\n[![GitHub contributors](https://img.shields.io/github/contributors/drhelius/Geargrafx)](https://github.com/drhelius/Geargrafx/graphs/contributors)\n[![GitHub Sponsors](https://img.shields.io/github/sponsors/drhelius)](https://github.com/sponsors/drhelius)\n[![License](https://img.shields.io/github/license/drhelius/Geargrafx)](https://github.com/drhelius/Geargrafx/blob/main/LICENSE)\n[![Twitter Follow](https://img.shields.io/twitter/follow/drhelius)](https://x.com/drhelius)\n\nGeargrafx is a very accurate cross-platform TurboGrafx-16 / PC Engine / SuperGrafx / PCE CD-ROM² emulator written in C++ that runs on Windows, macOS, Linux, BSD and RetroArch, with an embedded MCP server for debugging and tooling.\n\nThis is an open source project with its ongoing development made possible thanks to the support by these awesome [backers](backers.md). If you find it useful, please consider [sponsoring](https://github.com/sponsors/drhelius).\n\nDon't hesitate to report bugs or ask for new features by [opening an issue](https://github.com/drhelius/Geargrafx/issues).\n\n\u003cimg src=\"http://www.geardome.com/files/geargrafx/geargrafx_debug_02.png\"\u003e\n\n## Downloads\n\n\u003ctable\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth\u003ePlatform\u003c/th\u003e\n      \u003cth\u003eArchitecture\u003c/th\u003e\n      \u003cth\u003eDownload Link\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd rowspan=\"4\"\u003e\u003cstrong\u003eWindows\u003c/strong\u003e\u003c/td\u003e\n      \u003ctd\u003eDesktop x64\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-desktop-windows-x64.zip\"\u003eGeargrafx-1.7.0-desktop-windows-x64.zip\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eDesktop ARM64\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-desktop-windows-arm64.zip\"\u003eGeargrafx-1.7.0-desktop-windows-arm64.zip\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eMCPB x64\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-mcpb-windows-x64.mcpb\"\u003eGeargrafx-1.7.0-mcpb-windows-x64.mcpb\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eMCPB ARM64\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-mcpb-windows-arm64.mcpb\"\u003eGeargrafx-1.7.0-mcpb-windows-arm64.mcpb\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd rowspan=\"5\"\u003e\u003cstrong\u003emacOS\u003c/strong\u003e\u003c/td\u003e\n      \u003ctd\u003eHomebrew\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003ebrew install --cask drhelius/geardome/geargrafx\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eDesktop Apple Silicon\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-desktop-macos-arm64.zip\"\u003eGeargrafx-1.7.0-desktop-macos-arm64.zip\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eDesktop Intel\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-desktop-macos-intel.zip\"\u003eGeargrafx-1.7.0-desktop-macos-intel.zip\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eMCPB x64\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-mcpb-macos-x64.mcpb\"\u003eGeargrafx-1.7.0-mcpb-macos-x64.mcpb\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eMCPB ARM64\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-mcpb-macos-arm64.mcpb\"\u003eGeargrafx-1.7.0-mcpb-macos-arm64.mcpb\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd rowspan=\"5\"\u003e\u003cstrong\u003eLinux\u003c/strong\u003e\u003c/td\u003e\n      \u003ctd\u003eDesktop Ubuntu 24.04 x64\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-desktop-ubuntu24.04-x64.zip\"\u003eGeargrafx-1.7.0-desktop-ubuntu24.04-x64.zip\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eDesktop Ubuntu 22.04 x64\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-desktop-ubuntu22.04-x64.zip\"\u003eGeargrafx-1.7.0-desktop-ubuntu22.04-x64.zip\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eDesktop Ubuntu 24.04 ARM64\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-desktop-ubuntu24.04-arm64.zip\"\u003eGeargrafx-1.7.0-desktop-ubuntu24.04-arm64.zip\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eMCPB x64\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-mcpb-linux-x64.mcpb\"\u003eGeargrafx-1.7.0-mcpb-linux-x64.mcpb\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eMCPB ARM64\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/releases/download/1.7.0/Geargrafx-1.7.0-mcpb-linux-arm64.mcpb\"\u003eGeargrafx-1.7.0-mcpb-linux-arm64.mcpb\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003cstrong\u003eRetroArch\u003c/strong\u003e\u003c/td\u003e\n      \u003ctd\u003eAll platforms\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://docs.libretro.com/library/geargrafx/\"\u003eLibretro core documentation\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003cstrong\u003eDev Builds\u003c/strong\u003e\u003c/td\u003e\n      \u003ctd\u003eAll platforms\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/drhelius/Geargrafx/actions/workflows/geargrafx.yml\"\u003eGitHub Actions\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n**Notes:**\n- **Windows**: May need [Visual C++ Redistributable](https://go.microsoft.com/fwlink/?LinkId=746572) and [OpenGL Compatibility Pack](https://apps.microsoft.com/detail/9nqpsl29bfff)\n- **Linux**: May need `libsdl3`\n\n## Features\n\n- Accurate emulation supporting the entire HuCard PCE / SGX catalog.\n- Support for CD-ROM², Super CD-ROM² and Arcade CD-ROM² systems.\n- Save states with preview.\n- Backup RAM and Memory Base 128 support.\n- Multi Tap (up to 5 players).\n- Standard Gamepad (2 buttons), Avenue Pad 3 (3 buttons, auto-configured based on game), Avenue Pad 6 (6 buttons).\n- Adjustable scanline count (224p, 240p or manual).\n- RGB or Composite color output.\n- Compressed rom and CD images support (pce, sgx, cue, zip and chd).\n- Music rom support: HES.\n- VGM recorder.\n- Internal database for automatic rom detection and hardware selection if `Auto` options are selected.\n- Supported platforms (standalone): Windows, Linux, BSD and macOS.\n- Supported platforms (libretro): Windows, Linux, macOS, Raspberry Pi, Android, iOS, tvOS, PlayStation Vita, PlayStation 3, Nintendo 3DS, Nintendo GameCube, Nintendo Wii, Nintendo WiiU, Nintendo Switch, Emscripten, Classic Mini systems (NES, SNES, C64, ...), OpenDingux, RetroFW and QNX.\n- Full debugger with just-in-time disassembler, CPU breakpoints, memory access breakpoints, code navigation (goto address, JP JR and JSR double clicking), debug symbols, automatic labels, memory editor, PSG inspector and video viewer including registers, tiles, sprites, backgrounds, CD-ROM sub-systems and both VDCs in SuperGrafx mode.\n- MCP server for AI-assisted debugging with GitHub Copilot, Claude, ChatGPT and similar, exposing tools for execution control, memory inspection, hardware status, and more.\n- Windows and Linux *Portable Mode*.\n- ROM loading from the command line by adding the ROM path as an argument.\n- ROM loading using drag \u0026 drop.\n- Support for modern game controllers through [gamecontrollerdb.txt](https://github.com/mdqinc/SDL_GameControllerDB) file located in the same directory as the application binary.\n\n## Tips\n\n### Basic Usage\n- **BIOS**: Geargrafx requires a BIOS to run CD-ROM games. It is possible to load any BIOS but the System Card 3.0 with md5 ```38179df8f4ac870017db21ebcbf53114``` is recommended.\n- **CD-ROM Images**: Geargrafx supports `chd`, zipped and unzipped `cue/bin`, `cue/img` and `cue/iso` images. `cue/iso + wav` is also supported when audio track format is 44100Hz, 16 bit, stereo. It does not support MP3 or OGG audio tracks.\n- **Mouse Cursor**: Automatically hides when hovering over the main output window or when Main Menu is disabled.\n- **Portable Mode**: Create an empty file named `portable.ini` in the same directory as the application binary to enable portable mode.\n\n### Debugging Features\n- **Docking Windows**: In debug mode, you can dock windows together by pressing SHIFT and dragging a window onto another.\n- **Multi-viewport**: In Windows or macOS, you can enable \"multi-viewport\" in the debug menu. You must restart the emulator for the change to take effect. Once enabled, you can drag debugger windows outside the main window.\n- **Debug Symbols**: The emulator automatically tries to load a symbol file when loading a ROM. For example, for ```path_to_rom_file.rom``` it tries to load ```path_to_rom_file.sym```. You can also load symbol files using the GUI or the CLI. It supports PCEAS (old and new format), wla-dx and vasm file formats.\n\n### Command Line Usage\n```\ngeargrafx [options] [game_file] [symbol_file]\n\nArguments:\n  [game_file]              Game file: accepts ROMs (.pce, .sgx, .hes), CUE (.cue) or ZIP (.zip)\n  [symbol_file]            Optional symbol file for debugging\n\nOptions:\n  -f, --fullscreen         Start in fullscreen mode\n  -w, --windowed           Start in windowed mode with menu visible\n      --mcp-stdio          Auto-start MCP server with stdio transport\n      --mcp-http           Auto-start MCP server with HTTP transport\n      --mcp-http-port N    HTTP port for MCP server (default: 7777)\n  -v, --version            Display version information\n  -h, --help               Display this help message\n```\n\n### MCP Server\n\nGeargrafx includes a [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) server that enables AI-assisted debugging through AI agents like GitHub Copilot, Claude, ChatGPT and similar. The server provides tools for execution control, memory inspection, breakpoints, disassembly, hardware status, sprite viewing, and more.\n\nFor complete setup instructions and tool documentation, see [MCP_README.md](MCP_README.md).\n\n## Build Instructions\n\n### Windows\n\n- Install Microsoft Visual Studio Community 2022 or later.\n- Open the Geargrafx Visual Studio solution `platforms/windows/Geargrafx.sln` and build.\n\n### macOS\n\n- Install Xcode and run `xcode-select --install` in the terminal for the compiler to be available on the command line.\n- Run these commands to generate a Mac *app* bundle:\n\n``` shell\nbrew install sdl3\ncd platforms/macos\nmake dist\n```\n\n### Linux\n\n- Ubuntu / Debian / Raspberry Pi (Raspbian):\n\nIf you are using Ubuntu 25.04 or later, you can install SDL3 directly. Use the following commands to build:\n\n``` shell\nsudo apt install build-essential libsdl3-dev libgtk-3-dev\ncd platforms/linux\nmake\n```\n\nFor older Ubuntu versions (22.04, 24.04), you need to build SDL3 from source first. Use the following commands to build both SDL3 and Geargrafx:\n\n``` shell\nsudo apt install build-essential cmake libgtk-3-dev\ngit clone --depth 1 --branch release-3.4.x https://github.com/libsdl-org/SDL.git /tmp/SDL3\ncmake -S /tmp/SDL3 -B /tmp/SDL3/build -DCMAKE_INSTALL_PREFIX=/usr -DSDL_TESTS=OFF -DSDL_EXAMPLES=OFF\ncmake --build /tmp/SDL3/build -j$(nproc)\nsudo cmake --install /tmp/SDL3/build\ncd platforms/linux\nmake\n```\n\n- Fedora:\n\n``` shell\nsudo dnf install @development-tools gcc-c++ SDL3-devel gtk3-devel\ncd platforms/linux\nmake\n```\n\n- Arch Linux:\n\n``` shell\nsudo pacman -S base-devel sdl3 gtk3\ncd platforms/linux\nmake\n```\n\n### BSD\n\n- FreeBSD:\n\n``` shell\nsu root -c \"pkg install -y git gmake pkgconf SDL3 lang/gcc gtk3\"\ncd platforms/bsd\ngmake\n```\n\n- NetBSD:\n\n``` shell\nsu root -c \"pkgin install gmake pkgconf SDL3 lang/gcc gtk3\"\ncd platforms/bsd\ngmake\n```\n\n### Libretro\n\n- Ubuntu / Debian / Raspberry Pi (Raspbian):\n\n``` shell\nsudo apt install build-essential\ncd platforms/libretro\nmake\n```\n\n- Fedora:\n\n``` shell\nsudo dnf install @development-tools gcc-c++\ncd platforms/libretro\nmake\n```\n\n## Contributors\n\nThank you to all the people who have already contributed to Geargrafx!\n\n[![Contributors](https://contrib.rocks/image?repo=drhelius/geargrafx)](https://github.com/drhelius/geargrafx/graphs/contributors)\n\n## License\n\nGeargrafx is licensed under the GNU General Public License v3.0 License, see [LICENSE](LICENSE) for more information.\n","funding_links":["https://github.com/sponsors/drhelius"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrhelius%2Fgeargrafx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrhelius%2Fgeargrafx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrhelius%2Fgeargrafx/lists"}