[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111171":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":13,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":13,"lastSyncTime":28,"discoverSource":29},111171,"tmnt-port","cheviman\u002Ftmnt-port","cheviman","A native port of Konami's Teenage Mutant Ninja Turtles (1989 arcade), built on the verified decompilation tmntarcade-decomp: TMNT Arcade, the arcade game 1:1, and Splinter Way, made for home. Windows, Linux, macOS, Android, Nintendo Switch and Anbernic. Bring your own ROM set.",null,"C",133,4,2,0,18,80,11,63.1,"BSD 3-Clause \"New\" or \"Revised\" License",false,"main",true,[],"2026-11-21 17:01:56","2026-11-23 01:06:37","# Teenage Mutant Ninja Turtles — port\n\nKonami's 1989 arcade game *Teenage Mutant Ninja Turtles* as a native game for computers, the Nintendo Switch,\nAndroid and Anbernic's handhelds, built on its decompilation,\n[tmntarcade-decomp](https:\u002F\u002Fgithub.com\u002Fcheviman\u002Ftmntarcade-decomp): the game's programs in C, checked frame by\nframe against MAME in state, picture and sound. Two games come out of it:\n\n- **TMNT Arcade**: the arcade game as it is: coins, the test mode, four players.\n- **TMNT**: the console version, the arcade game made for playing at home.\n\nThis repository contains no game data: you bring your own ROM set (MAME's `tmnt`, World 4 Players), and the game\ntakes its assets out of it.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fconsole_title_menu.png\" width=\"32%\" alt=\"TMNT's menu under the title, in 16:9: ARCADE, SPLINTER WAY, MULTIPLAYER, OPTIONS, EXIT\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fconsole_four_turtles_wide.png\" width=\"32%\" alt=\"Four players on the street in 16:9, the Foot coming in from the right\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fconsole_options.png\" width=\"32%\" alt=\"OPTIONS: controls, difficulty, lives, demo sound, region, video, volume, sound test\">\n  \u003Cbr>\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fburning_apartment.png\" width=\"25%\" alt=\"Four turtles in April's burning apartment\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fshredder_takes_april.png\" width=\"25%\" alt=\"Shredder carries April off\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fkrang.png\" width=\"25%\" alt=\"Krang's android body\">\n\u003C\u002Fp>\n\n## Playing it\n\nDownload the package for Windows, Linux or macOS from the\n[releases](https:\u002F\u002Fgithub.com\u002Fcheviman\u002Ftmnt-port\u002Freleases) (on macOS TMNT Arcade comes in a package of its own,\n`tmnt-arcade-macos-universal.zip`). Keep `tmnt.zip` beside the game, or drop it on its window when it asks: the\nfirst time, it takes the assets out of it.\n\nEach device has a package of its own, its games without assets (Android's, when the release signs them), ready to\ntake them out of your `tmnt.zip` on the device, beside the tool that makes your own of them on a computer (for\nWindows, macOS and Linux):\n\n- **Nintendo Switch** (`tmnt-switch.zip`): `TMNT.nro` and `TMNT Arcade.nro` for the Homebrew Menu, with `tmnt.zip`\n  in `\u002Fswitch\u002Ftmnt\u002F` on the SD card; or TMNT NSP makes `TMNT.nsp` and `TMNT Arcade.nsp` for the HOME menu.\n- **Android** (`tmnt-android.zip`): TMNT APK makes `TMNT.apk` and `TMNT Arcade.apk` with the assets inside, signed\n  with a key of yours ([ports\u002Fandroid\u002Fapk](ports\u002Fandroid\u002Fapk\u002FREADME.md)); a release signed with the project's key also\n  has them in `ready\u002F`, without assets, with `tmnt.zip` in the app's folder.\n  Phones, tablets, and TVs with Android TV or Google TV (the Chromecast with Google TV too: its Android is 32-bit, and\n  the APKs have both kinds), in the TV's apps with a banner.\n- **Anbernic's H700 handhelds** (`tmnt-anbernic.zip`, RG40XX H...): the folder for PORTS, with `tmnt.zip` in\n  `PORTS\u002Ftmnt\u002F`; or TMNT Anbernic makes it with the assets inside.\n\nWhat a tool makes has the game's data in it: it is yours alone, never share it. Each package's `README.txt` says how.\n\nThe pre-release **testing**, in the releases too, has the next release's changes for the players to try before it comes\nout: made again at each change from the branch `testing`, TMNT's OPTIONS showing which (`V1.0.6-TEST12`). It may\nnot work yet; what you find goes in the issues.\n\n## The console version\n\n- **ARCADE**: the arcade's game with no coins: START brings a player in at any time, up to four, and on a\n  continue lets him pick his turtle again.\n- **SPLINTER WAY**: NORMAL (5 lives and 3 continues), BOSS RUSH (from one boss to the next, 5 lives and no\n  continues) and RONIN (one turtle against the enemies of a four-player game).\n- **MULTIPLAYER**: up to four computers on the local network in one game (below).\n- **OPTIONS**: controls for four players, difficulty, lives, demo sound, region (the NINJA or HERO title), video\n  (window, full screen, sharp, smooth, bilinear or CRT pixels, integer scale, WIDE 16:10, 16:9 or 20:9, VSYNC, FPS,\n  PRESS START blinking, still or off), volume, sound test.\n- **The pause** in a game: CONTINUE, RESTART, QUIT GAME.\n- And the Konami code on the menu.\n\n## Controls\n\n- **Keyboard**: the arrows move, Z or left Ctrl attacks, X or left Alt jumps, Enter is START; Escape pauses (and\n  goes back in the menus). F11 or Alt+Enter is the full screen, F3 the next kind of pixels. OPTIONS > CONTROLS\n  changes each player's keys and buttons.\n- **Game controller**: the pad or the left stick moves, A attacks, B jumps, Start is START; Back or Start pauses.\n  Each controller is a player, in the order they are plugged in (a TV's remote after them). One the game does not\n  know, or knows wrong, takes its line of [SDL_GameControllerDB](https:\u002F\u002Fgithub.com\u002Fmdqinc\u002FSDL_GameControllerDB)'s\n  format in `gamecontrollerdb.txt`, beside the game on Windows (in `~\u002F.local\u002Fshare\u002FTMNT` on Linux,\n  `~\u002FLibrary\u002FApplication Support\u002FTMNT` on macOS): the game reads it when it starts, and its line goes over the\n  game's own.\n- **TMNT Arcade**: 5 to 8 put a coin in each slot (a controller's Back, its player's), 9 is the service switch,\n  and a coin and the attack bring a turtle in.\n- **Android**: a stick where your left thumb lands, ATTACK and JUMP at the right, START (COIN in TMNT Arcade);\n  a controller hides them. Back pauses.\n- **A TV's remote** (Google TV, Android TV), in TMNT: the pad moves, OK attacks (and brings in a player who is not\n  playing, or continues), back jumps (and goes back in the menus); home pauses. A game controller is better.\n\n## MULTIPLAYER\n\nUp to four computers play one game on the same local network, a turtle each:\n\n1. MULTIPLAYER > NAME: your name, as the rooms show it.\n2. One computer picks HOST.\n3. The others pick JOIN, and the room.\n4. The host's START begins the game on all of them, with the host's settings.\n\nA computer that stops being heard leaves after 3 seconds, its turtle standing, and the game goes on. A firewall\nthat asks about the game should let it reach the private network. The rooms and the game's datagrams are\n[arcade-lan](https:\u002F\u002Fgithub.com\u002Fcheviman\u002Farcade-lan)'s, which the ports of other decompiled arcade games share.\n\n## Building it\n\nPython 3.10 or newer, CMake 3.20 or newer, a C11 \u002F C++17 compiler and SDL2 2.30 or newer (on Windows its\ndevelopment package for Visual C++ unpacked in `build\u002Fdownloads\u002Fsdl2\u002F`; elsewhere the system's, `libsdl2-dev` on\nDebian and Ubuntu; or `-DTMNT_STATIC_SDL2=ON` to build it from its source). Clone it with its submodules and build\nit:\n\n```bash\ngit clone --recursive https:\u002F\u002Fgithub.com\u002Fcheviman\u002Ftmnt-port\n```\n\n```bash\ncmake -S . -B build\u002Fcmake\n```\n\n```bash\ncmake --build build\u002Fcmake --config Release\n```\n\nBoth games land in `build\u002Fbin\u002F`, and take their assets out of `tmnt.zip` the first time (beside them, or in\n`rom\u002F`). How the port runs the game, its first run, the packages and the console version's checks are in\n[docs\u002Fport.md](docs\u002Fport.md); each device's build in `ports\u002FPLAN.md`; the console version's plan and what is done\nin `console\u002FPLAN.md`. The decompilation itself (its status, the tools, the assets' formats, the checks against\nMAME) is [tmntarcade-decomp](https:\u002F\u002Fgithub.com\u002Fcheviman\u002Ftmntarcade-decomp)'s README.\n\n## Supporting it\n\nThe games are free, and stay free. If you want to support the decompilations and the ports, there is\n[Patreon](https:\u002F\u002Fwww.patreon.com\u002FChevimanPorts), where supporters also have a say in what comes next, and\n[GitHub Sponsors](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fcheviman): entirely optional, nothing is locked behind either. If\nanyone asks you to pay for these games, it is not this project.\n\n## Legal\n\n- This project is licensed under the BSD 3-Clause License; see `LICENSE`.\n- The C in `src\u002F` is the game's programs decompiled into a new form: logic only, with names and comments written\n  for this project. No ROM contents (graphics, sound, data) and no extracted assets are distributed by this\n  project; they come from your own ROM set. The screenshots in `docs\u002Fscreenshots\u002F` show the game running from this\n  code.\n- `runtime\u002Fsrc\u002Fvideo.c`, `sound_chips.c` and `ym2151.c` follow the behaviour of MAME's `tmnt.cpp`, `k052109.cpp`,\n  `k051960.cpp`, `k007232.cpp` and `upd7759.cpp` and of ymfm's OPM (all BSD-3-Clause).\n- MULTIPLAYER's rooms and datagrams are [arcade-lan](https:\u002F\u002Fgithub.com\u002Fcheviman\u002Farcade-lan) (`lan\u002F`, a submodule),\n  BSD 3-Clause, whose terms are in `lan\u002FLICENSE`.\n- The game controllers' mappings are [SDL_GameControllerDB](https:\u002F\u002Fgithub.com\u002Fmdqinc\u002FSDL_GameControllerDB)'s\n  (`ports\u002Fsdl2\u002Fcontrollerdb`, zlib License), built into the games on the computers and Android.\n- The menus write with Kenney Mini and CONTROLS shows Kenney's Input Prompts (www.kenney.nl), CC0. The window\n  port links SDL2 (zlib License); the packages carry it inside the executables, with its terms and the ones above\n  in `licenses\u002F`. The icon is Raphael's face from a friend's mural (`ports\u002Fsdl2\u002Ficon\u002Fraphael_mural.png`; every\n  size made by `tools\u002Fmake_icon.py`), nothing of the game's.\n- *Teenage Mutant Ninja Turtles* is a trademark of its owner, and the arcade game is Konami's. This project is not\n  affiliated with or endorsed by either, nor by Nintendo, Google or Anbernic.\n","这是一个基于官方验证反编译代码的《忍者神龟》街机游戏（1989年科乐美出品）原生移植项目，完整复刻街机版与家用机版双版本。核心功能包括精准帧级同步的图形\u002F音频还原、四人本地联机支持、跨平台原生运行（Windows\u002FLinux\u002FmacOS\u002FAndroid\u002FSwitch\u002FAnbernic掌机），并采用ROM分离设计，用户需自行提供MAME兼容的tmnt.zip资源包。适用于怀旧游戏爱好者、复古游戏收藏者及多平台家庭娱乐场景，无需模拟器即可在现代设备上体验原汁原味的街机玩法。","2026-11-24 04:40:19","CREATED_QUERY"]