Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.
C calculatorcalculator-gamescasiochesscrossy-roaddrive-madfx-cg50gamesgeometry-dashgraphing-calculatorndlessnumworksnumworks-appsnumworks-calculatornumworks-gamenumworks-gamestetristi-84-plus-ceti-nspire
Mr Bullet: README, pictures, wired into the build
Mason363a0c0a0a478d4
diff --git a/LICENSES/Zlib-Box2D.txt b/LICENSES/Zlib-Box2D.txtnew file mode 100644index 00000000..e99b7036--- /dev/null+++ b/LICENSES/Zlib-Box2D.txt@@ -0,0 +1,18 @@+Copyright (c) 2006-2013 Erin Catto http://www.gphysics.com++This software is provided 'as-is', without any express or implied+warranty. In no event will the authors be held liable for any damages+arising from the use of this software.++Permission is granted to anyone to use this software for any purpose,+including commercial applications, and to alter it and redistribute it+freely, subject to the following restrictions:++1. The origin of this software must not be misrepresented; you must not+claim that you wrote the original software. If you use this software+in a product, an acknowledgment in the product documentation would be+appreciated but is not required.+2. Altered source versions must be plainly marked as such, and must not be+misrepresented as being the original software.+3. This notice may not be removed or altered from any source distribution.+diff --git a/Makefile b/Makefileindex f59a887b..228d147a 100644--- a/Makefile+++ b/Makefile@@ -18,7 +18,7 @@ PY ?= python3CARGO ?= cargoB = build/data# Conventional games honor a configurable output directory; special layouts are kept local.-GAMES_REDIRECT = angrybirds badtime balatro blockblast breakout buckshot celeste championisland chess connectfour cookieclicker coreball dinorun donkeykong doodlejump doom dune famidash finalearth2 flappybird flappydunk fnaf fnaf2 fnaf3 fnaf4 fnf g2048 hillclimb hollowknight invaders isaac jetpackjoyride leveldevil mahjong meowdoku minesweeper monkeymart numblocks numpowder numvisuals pacman paperclips polytrack portal pvz rider snake snowrider sokoban solitaire sonic stickmanhook subway sudoku suika templerun tombofthemask towerblock turborush twoplayer undertale uno uttt+GAMES_REDIRECT = angrybirds badtime balatro blockblast breakout buckshot celeste championisland chess connectfour cookieclicker coreball dinorun donkeykong doodlejump doom dune famidash finalearth2 flappybird flappydunk fnaf fnaf2 fnaf3 fnaf4 fnf g2048 hillclimb hollowknight invaders isaac jetpackjoyride leveldevil mahjong meowdoku minesweeper monkeymart mrbullet numblocks numpowder numvisuals pacman paperclips polytrack portal pvz rider snake snowrider sokoban solitaire sonic stickmanhook subway sudoku suika templerun tombofthemask towerblock turborush twoplayer undertale uno utttGAMES_OUT = dinorunGAME_REDIRECT_ARG = $(if $(filter $(1),$(GAMES_OUT)),OUT=../../$(B)/games/$(1),BUILD_DIR=../../$(B)/games/$(1))# the RAM the oldest calculator software that runs apps gives them (23.2: 148928 bytes; 25.2 gives 153676).@@ -29,7 +29,7 @@ RAM_LIMIT = 148928# custom builds of Epsilon 25.2's source give apps less: 133652 bytes; every game fits there too, in NumPlay and on# its own (their big buffers are on the stack, 32 KB apart from that RAM, or in the RAM the software has left)CUSTOM_RAM = 133652-BIG_APPS = Celeste HollowKnight Undertale ChampionIsland FinalEarth2 NumPowder NumBlocks NumDrive SubwaySurfers FiveNightsAtFreddys Doom BindingOfIsaac HillClimbRacing PlantsVsZombies SonicTheHedgehog CookieClicker LevelDevil JetpackJoyride StickmanHook DonkeyKong Dune MonkeyMart TombOfTheMask UNO FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator Mahjong Rider SnowRider3D TempleRun FiveNightsAtFreddys2 FiveNightsAtFreddys3 FiveNightsAtFreddys4 Famidash UniversalPaperclips-French+BIG_APPS = Celeste HollowKnight Undertale ChampionIsland FinalEarth2 NumPowder NumBlocks NumDrive SubwaySurfers FiveNightsAtFreddys Doom BindingOfIsaac HillClimbRacing PlantsVsZombies SonicTheHedgehog CookieClicker LevelDevil JetpackJoyride StickmanHook DonkeyKong Dune MonkeyMart TombOfTheMask UNO FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator Mahjong Rider SnowRider3D TempleRun FiveNightsAtFreddys2 FiveNightsAtFreddys3 FiveNightsAtFreddys4 Famidash MrBullet UniversalPaperclips-French# the calculator's space for installed apps: from the end of its software (64 KiB aligned) to 64 KiB before the# end of its 4 MiB slot of flash, 0x903F0000. The software's size sets the start: 0x90200000 is the latest a# NumPlay counts on (1.94 MB, APP_SPACE); Epsilon 26.4 on an N0120 ends at 0x90180000 (2.44 MB, the@@ -47,7 +47,7 @@ XL_APP_SPACE = 6291456# the spaces the customizer website offers (kit.json "spaces"; tools/kit.py links a NumPlay at each)SPACES = std:$(APP_START):$(APP_END) e26:$(APP_START_26):$(APP_END) xl:$(APP_START):$(XL_END) xl26:$(APP_START_26):$(XL_END)# big games that must install on their own without Enlarged Extra Apps: make check holds them to APP_SPACE-APP_SPACE_APPS = HillClimbRacing FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips UniversalPaperclips-French BadTimeSimulator Mahjong SnowRider3D TempleRun Famidash+APP_SPACE_APPS = HillClimbRacing FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips UniversalPaperclips-French BadTimeSimulator Mahjong SnowRider3D TempleRun Famidash MrBullet# Upsilon, the N0110 and N0115's custom software, gives .nwa apps less RAM: NumPlay-Upsilon.nwa has# the games that fit it (NumPlay draws their text there: see launcher/src/compat.c)UPSILON_RAM = 107674@@ -337,6 +337,7 @@ APP_fnaf2 = $(B)/games/fnaf2/fnaf2.nwa:FiveNightsAtFreddys2.nwaAPP_fnaf3 = $(B)/games/fnaf3/fnaf3.nwa:FiveNightsAtFreddys3.nwaAPP_fnaf4 = $(B)/games/fnaf4/fnaf4.nwa:FiveNightsAtFreddys4.nwaAPP_famidash = $(B)/games/famidash/famidash.nwa:Famidash.nwa+APP_mrbullet = $(B)/games/mrbullet/mrbullet.nwa:MrBullet.nwa# the big games' modules are made from these (the kit)$(foreach g,$(XL_GAMES),$(eval MOD_$(g) = $$(word 1,$$(subst :, ,$$(APP_$(g))))))@@ -385,6 +386,7 @@ apps: | $(B)$(MAKE) -C games/fnaf3 build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/fnaf3$(MAKE) -C games/fnaf4 build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/fnaf4$(MAKE) -C games/famidash build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/famidash+ $(MAKE) -C games/mrbullet build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/mrbulletcd games/tetris/tetris && NWLINK="$(NWLINK)" $(CARGO) build --release --quietcp $(word 1,$(subst :, ,$(APP_numdash))) $(B)/apps/$(word 2,$(subst :, ,$(APP_numdash)))cp $(word 1,$(subst :, ,$(APP_crossyroad))) $(B)/apps/$(word 2,$(subst :, ,$(APP_crossyroad)))@@ -432,6 +434,7 @@ apps: | $(B)cp $(word 1,$(subst :, ,$(APP_fnaf3))) $(B)/apps/$(word 2,$(subst :, ,$(APP_fnaf3)))cp $(word 1,$(subst :, ,$(APP_fnaf4))) $(B)/apps/$(word 2,$(subst :, ,$(APP_fnaf4)))cp $(word 1,$(subst :, ,$(APP_famidash))) $(B)/apps/$(word 2,$(subst :, ,$(APP_famidash)))+ cp $(word 1,$(subst :, ,$(APP_mrbullet))) $(B)/apps/$(word 2,$(subst :, ,$(APP_mrbullet)))arm-none-eabi-strip --strip-unneeded $(B)/apps/Tetris.nwaSTD_APPS = $(foreach g,$(STD_GAMES),$(B)/apps/$(NWA_$(g)))@@ -519,5 +522,6 @@ clean:-$(MAKE) -C games/fnaf3 clean-$(MAKE) -C games/fnaf4 clean-$(MAKE) -C games/famidash clean+ -$(MAKE) -C games/mrbullet clean-cd games/tetris/tetris && $(CARGO) clean-$(foreach g,$(STD_GAMES),$(MAKE) -C games/$(g) clean;)diff --git a/docs/media/gallery/mrbullet.gif b/docs/media/gallery/mrbullet.gifnew file mode 100644index 00000000..25b4b989Binary files /dev/null and b/docs/media/gallery/mrbullet.gif differdiff --git a/docs/media/thumb_mrbullet.png b/docs/media/thumb_mrbullet.pngnew file mode 100644index 00000000..49a8bee8Binary files /dev/null and b/docs/media/thumb_mrbullet.png differdiff --git a/docs/play.md b/docs/play.mdindex 5a02d196..a5b4f3a6 100644--- a/docs/play.md+++ b/docs/play.md@@ -807,6 +807,22 @@ Your icon moves on by itself: jump over the spikes and reach the end. Hold the b<br clear="right">+## Mr Bullet++<img src="../games/mrbullet/docs/shot.png" width="320" align="right" alt="Mr Bullet">++| Key | What it does |+| --- | --- |+| **Up** and **Down** | Aim (hold to aim faster) |+| **Left** and **Right** | Turn round (Grenades: how hard you throw) |+| **OK** or **EXE** | Fire |+| **Back** | Pause (Resume, Restart, Levels, How to play, Quit game) |+| **Home** | Save and quit |++Shoot every spy in the level. Bullets bounce off walls, so aim at a wall to reach a spy you can't see, or knock a crate onto him. Glass breaks, red boxes explode, and a coloured switch makes its blocks vanish or appear. Use as few bullets as the level needs for three stars; the gold bullet is the last one. Grenades go off after 2.5 seconds. Don't hit the hostages, and in Friendly Fire don't let your own bullet come back at you.++<br clear="right">+## Portal Returns<img src="media/portal.gif" width="320" align="right" alt="Portal Returns: falling through a portal and flying across a test chamber">diff --git a/games/games.json b/games/games.jsonindex b7116273..0fddc5be 100644--- a/games/games.json+++ b/games/games.json@@ -1449,5 +1449,27 @@"repo": "https://github.com/Mason363/NumPlay/tree/main/games/famidash","default": false,"xl": true+ },+ {+ "id": "mrbullet",+ "rank": 37,+ "title": "Mr Bullet",+ "tagline": "Bounce the bullets, get the spies",+ "credit": "Based on Mr Bullet by Lion Studios",+ "top": "0x2AD4FF",+ "bottom": "0x4B5459",+ "accent": "0xE8392F",+ "colors": 16,+ "heap": 90112,+ "records": [+ "mrbullet.sav",+ "mrbullet_saves.py"+ ],+ "shots": [+ "docs/shot.png"+ ],+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/mrbullet",+ "default": false,+ "xl": true}]diff --git a/games/mrbullet/README.md b/games/mrbullet/README.mdnew file mode 100644index 00000000..244bbc45--- /dev/null+++ b/games/mrbullet/README.md@@ -0,0 +1,83 @@+> **Mr Bullet is a [NumPlay](../../README.md) game that comes on its own.** It is too big to fit next to NumPlay on the calculator. Get `MrBullet.nwa` from the [latest release](https://github.com/Mason363/NumPlay/releases/latest).++<p align="center">+ <img src="src/icon.png" width="84" alt="Mr Bullet icon">+</p>++<h1 align="center">Mr Bullet</h1>++<p align="center">+ <b>Bounce your bullets off the walls and get every spy, on the NumWorks calculator.</b><br>+ 596 levels: Classic, Grenades, Hostages and Friendly Fire.+</p>++<p align="center">+ <a href="https://github.com/Mason363/NumPlay/releases/latest/download/MrBullet.nwa"><b>Download MrBullet.nwa</b></a>+ · <a href="#controls">Controls</a>+</p>++<p align="center">+ <img src="../../docs/media/gallery/mrbullet.gif" width="640" alt="Mr Bullet: the first three levels, the third cleared with one bullet off the stairs">+</p>++## Highlights++* **The game's own levels:** 320 Classic levels, 84 Grenades, 84 Hostages and 108 Friendly Fire, read from Mr Bullet's level files.+* **The real physics:** Box2D, the engine the original runs on, set up as the original sets it up: the same gravity, steps and iterations, the same bullets, crates, balls and ragdolls. Bullets bounce off walls up to 20 times.+* **Everything in the levels:** glass that breaks, red boxes that explode, switches that make blocks vanish or appear, ropes a bullet cuts, swinging and moving platforms, heavy blocks and balls.+* **Ragdolls:** a spy hit by a bullet, a falling crate or a blast goes limp, as in the original.+* **The game's look:** its spies, hostages, Mr Bullet himself and the city behind them.+* **Stars:** clear a level with as few bullets as it needs for three stars. Every level's best is saved. Home saves and quits. Your progress is also copied into `mrbullet_saves.py`, so installing the app again doesn't erase it.++<table>+ <tr>+ <td align="center"><img src="docs/shot.png" width="390" alt="Three spies falling down the stairs"><br><sub>One bullet off the stairs</sub></td>+ <td align="center"><img src="docs/tower.png" width="390" alt="A tower of crates falling"><br><sub>The tower comes down</sub></td>+ </tr>+ <tr>+ <td align="center"><img src="docs/grenades.png" width="390" alt="A grenade's path"><br><sub>Grenades</sub></td>+ <td align="center"><img src="docs/hostages.png" width="390" alt="A shot past a hostage"><br><sub>Hostages</sub></td>+ </tr>+ <tr>+ <td align="center"><img src="docs/friendlyfire.png" width="390" alt="A shot in Friendly Fire"><br><sub>Friendly Fire</sub></td>+ <td align="center"><img src="docs/levels.png" width="390" alt="The levels"><br><sub>The levels</sub></td>+ </tr>+</table>++## How to play++Shoot every spy in the level. Aim with Up and Down, turn with Left and Right, and fire with OK. Bullets bounce off walls, so aim at a wall to reach a spy you can't see, or knock something onto him. Each level gives you a few bullets more than it needs: use as few as you can for three stars. The gold bullet is the last one and gives none.++In Grenades you throw grenades that go off after 2.5 seconds: Left and Right set how hard. In Hostages, don't hit the hostages. In Friendly Fire, don't let your own bullet come back at you.++Grenades opens at 50 stars, Hostages at 120 and Friendly Fire at 200.++## Controls++| Key | What it does |+| --- | --- |+| Up and Down | Aim (hold to aim faster) |+| Left and Right | Turn round (Grenades: how hard you throw) |+| OK | Fire |+| Back | Pause (Resume, Restart, Levels, How to play, Quit game) |+| Home | Save and quit |++## Good to know++* **On its own:** Mr Bullet is too big to fit next to NumPlay. Installing it from the NumWorks website swaps out NumPlay and the other apps, and installing NumPlay again swaps it back out. Your progress in each one is kept.+* **What's in:** the levels of version 5.58's Classic, Grenades, Hostages and Friendly Fire modes. The missions, seasons, mini games, duels, weapons and suits are not, nor the coins that buy them. There is no music or sound (the calculator has no speaker).+* **The screen:** the original is played upright, so its play field stands in the middle of the screen, with your bullets on the left and the keys on the right.+* **A crowded level:** when the calculator's memory runs short, spies fall stiff instead of limp and things may overlap for a moment.++## Credits++Inspired by Mr Bullet - Spy Puzzles by [Lion Studios](https://lionstudios.cc), made by 1Button, not affiliated with them. Go play the original.++* The levels, the characters' pictures, the background and the title come from the game's Android release, read by [tools/pack.py](tools/pack.py) into `src/data.bin`. Its rules and numbers follow the game's own code.+* The physics is [Box2D](https://box2d.org) 2.3.1 by Erin Catto (zlib license, see [src/box2d/License.txt](src/box2d/License.txt)), altered to fit the calculator's memory. The text uses NumPlay's **Nunito** font (SIL Open Font License).++Made by Mason Chen as part of NumPlay.++## License++The game's code is licensed under the GNU General Public License v3.0: see the `LICENSE` file at the root of the repository. Box2D keeps its zlib license. The game's pictures and levels keep their own terms (see Credits). Mr Bullet is a trademark of Lion Studios.diff --git a/games/mrbullet/docs/friendlyfire.png b/games/mrbullet/docs/friendlyfire.pngnew file mode 100644index 00000000..95af71c9Binary files /dev/null and b/games/mrbullet/docs/friendlyfire.png differdiff --git a/games/mrbullet/docs/grenades.png b/games/mrbullet/docs/grenades.pngnew file mode 100644index 00000000..a96d053fBinary files /dev/null and b/games/mrbullet/docs/grenades.png differdiff --git a/games/mrbullet/docs/hostages.png b/games/mrbullet/docs/hostages.pngnew file mode 100644index 00000000..ecab5f58Binary files /dev/null and b/games/mrbullet/docs/hostages.png differdiff --git a/games/mrbullet/docs/levels.png b/games/mrbullet/docs/levels.pngnew file mode 100644index 00000000..4e7df479Binary files /dev/null and b/games/mrbullet/docs/levels.png differdiff --git a/games/mrbullet/docs/shot.png b/games/mrbullet/docs/shot.pngnew file mode 100644index 00000000..b43cc52cBinary files /dev/null and b/games/mrbullet/docs/shot.png differdiff --git a/games/mrbullet/docs/title.png b/games/mrbullet/docs/title.pngnew file mode 100644index 00000000..8bd2c23cBinary files /dev/null and b/games/mrbullet/docs/title.png differdiff --git a/games/mrbullet/docs/tower.png b/games/mrbullet/docs/tower.pngnew file mode 100644index 00000000..0bd85628Binary files /dev/null and b/games/mrbullet/docs/tower.png differdiff --git a/games/mrbullet/src/data.bin b/games/mrbullet/src/data.binindex 2ff73631..0eea332a 100644Binary files a/games/mrbullet/src/data.bin and b/games/mrbullet/src/data.bin differdiff --git a/games/mrbullet/src/data.h b/games/mrbullet/src/data.hindex 38bd0e09..76a798cb 100644--- a/games/mrbullet/src/data.h+++ b/games/mrbullet/src/data.h@@ -17,11 +17,10 @@#define PIC_HOSTAGE_DEAD 9#define PIC_TITLE 10#define PIC_BULLET 11-#define PIC_GRENADE 12-#define PIC_STAR 13-#define PIC_STAR_BIG 14-#define PIC_PADLOCK 15-#define PIC_COUNT 16+#define PIC_STAR 12+#define PIC_STAR_BIG 13+#define PIC_PADLOCK 14+#define PIC_COUNT 15#define COLOURS_HERO {0x3AFA, 0x2237, 0xFE55, 0x21F4, 0x21F4, 0x0000}#define COLOURS_ENEMY {0x39E7, 0x2104, 0xFE55, 0x2104, 0x2104, 0x0000}#define COLOURS_HOSTAGE {0xFE54, 0xFE54, 0xFE54, 0x4228, 0x4228, 0x0000}diff --git a/games/mrbullet/src/draw.c b/games/mrbullet/src/draw.cindex b997ccf2..6ea99d96 100644--- a/games/mrbullet/src/draw.c+++ b/games/mrbullet/src/draw.c@@ -454,8 +454,10 @@ void draw_hud(const char *title, const char *keys1, const char *keys2) {int kind = i < g.shots ? 2 : (i == n - 1 ? 1 : 0);if (g.grenades) {if (y + 14 > gfx_y0 && y < gfx_y1) {- if (kind == 2) gfx_circle(x + 4, y + 8, 5, HEX(0x3A4756), 256);- else draw_pic(PIC_GRENADE, x - 2, y + 2);+ /* a grenade: its body and lever (the last one gold, as the bullets) */+ color_t c = kind == 2 ? HEX(0x3A4756) : kind == 1 ? HEX(0xF2B807) : HEX(0x55692F);+ gfx_circle(x + 4, y + 10, 5, c, 256);+ gfx_fill(x + 2, y + 2, 4, 3, kind == 2 ? HEX(0x3A4756) : HEX(0x2B3238));}} else if (y + 16 > gfx_y0 && y < gfx_y1) {bullet_icon(x, y, kind);@@ -471,7 +473,7 @@ void draw_hud(const char *title, const char *keys1, const char *keys2) {}}if (g.grenades) {- int x = FIELD_X0 + FIELD_W + 8, y = 40, h = 100;+ int x = FIELD_X0 + FIELD_W + 8, y = 30, h = 76;gfx_text(&np_font_small, x, y - 6, "Power", COL_MUTED, 256);gfx_rrect(x, y, 12, h, 3, COL_PANEL_LIGHT, 256);int f = (int)(g.power * (h - 4));diff --git a/games/mrbullet/tests/play.c b/games/mrbullet/tests/play.cindex 530dbda8..2ac40beb 100644--- a/games/mrbullet/tests/play.c+++ b/games/mrbullet/tests/play.c@@ -68,7 +68,9 @@ static void save_ppm(const char *path) {static void scene(void *ctx) {(void)ctx;draw_world(true);- draw_hud("Level 1", "Left Right", g.grenades ? "power" : "turn");+ char t[16];+ snprintf(t, sizeof t, "Level %d", g.level - res_mode_first(g.mode) + 1);+ draw_hud(t, "Left Right", g.grenades ? "power" : "turn");}static void picture(const char *name) {gfx_buf = (uint16_t *)strip;@@ -259,6 +261,15 @@ int main(int argc, char **argv) {}return 0;}+ if (argc >= 5 && !strcmp(argv[1], "try")) {+ /* which angles (degrees, by tenths) clear a level with one shot */+ int l = atoi(argv[2]) - 1;+ for (float a = (float)atof(argv[3]); a <= (float)atof(argv[4]); a += 0.5f) {+ int stars;+ printf("%.1f: %s\n", a, try_shot(l, a * 3.14159265f / 180, 0.55f, &stars) == ST_WON ? "cleared" : "-");+ }+ return 0;+ }if (argc >= 4 && !strcmp(argv[1], "bot")) {for (int l = atoi(argv[2]) - 1; l < atoi(argv[3]); l++) {int stars, a = solve(l, &stars);diff --git a/games/mrbullet/tools/pack.py b/games/mrbullet/tools/pack.pyindex e8e8cadd..36fa7736 100644--- a/games/mrbullet/tools/pack.py+++ b/games/mrbullet/tools/pack.py@@ -246,7 +246,6 @@ for name, body, head, dead in SKINS:add('TITLE', pic_bytes(scaled(img('Misc/title.png'), 230 / 800.0)))bullet = img('Misc/bullet.png')add('BULLET', pic_bytes(scaled(bullet, 14 / 310.0), colours=7))-add('GRENADE', pic_bytes(scaled(img('Misc/grenade.png'), 12 / 140.0), colours=7))star = img('Misc/star-md.png')add('STAR', pic_bytes(scaled(star, 20 / 162.0), colours=7))add('STAR_BIG', pic_bytes(scaled(star, 34 / 162.0), colours=11))diff --git a/tests/test_games.py b/tests/test_games.pyindex 749ec92d..8af4b85e 100644--- a/tests/test_games.py+++ b/tests/test_games.py@@ -316,6 +316,11 @@ GAMES = {presses((1500, "ok"), (2200, "ok"), (3000, "ok"), (4000, "ok"), (8000, "back"))+ [(5000, 7000, K["ok"])], 9000,presses((1500, "ok"), (2500, "ok")) + [(3500, 5500, K["ok"])], 6500),+ # the title's Play, Classic, the first level, how to play (the first time), then one bullet: the level cleared;+ # Home keeps its three stars. Next time, from the copy, the same level without the guide, quit with On/Off+ "mrbullet": ("MrBullet.nwa", "mrbullet.sav",+ presses((1500, "ok"), (2200, "ok"), (2900, "ok"), (3600, "ok"), (4300, "ok")), 7500,+ presses((1500, "ok"), (2200, "ok"), (2900, "ok")), 4500),# a level, its message, then play; then back to the level select"portal": ("PortalReturns.nwa", "portal.sav",presses((1500, "ok"), (2500, "ok"), (3500, "ok")) + every(4000, 7000, 400, "right", 300), 8000,@@ -386,7 +391,8 @@ COPIES = {"championisland": "champion_saves.py", "numblocks": "numblocks_saves.p"angrybirds": "angrybirds_saves.py", "polytrack": "polytrack_saves.py", "paperclips": "paperclips_saves.py","badtime": "badtime_saves.py", "mahjong": "mahjong_saves.py","rider": "rider_saves.py", "snowrider": "snowrider_saves.py", "templerun": "templerun_saves.py",- "fnaf2": "fnaf2_saves.py", "fnaf3": "fnaf3_saves.py", "fnaf4": "fnaf4_saves.py", "famidash": "famidash_saves.py"}+ "fnaf2": "fnaf2_saves.py", "fnaf3": "fnaf3_saves.py", "fnaf4": "fnaf4_saves.py", "famidash": "famidash_saves.py",+ "mrbullet": "mrbullet_saves.py"}def paperclips_ok(v):@@ -653,6 +659,9 @@ CHECKS = {# "FMD1", version 1: how to play read (flags at 5), time played (564); after the reinstall, from the copy, more"famidash": (lambda v: famidash_ok(v) and v[5] & 1 and struct.unpack_from("<I", v, 2100)[0] >= 7000,lambda v: famidash_ok(v) and v[5] & 1 and struct.unpack_from("<I", v, 2100)[0] >= 12000),+ # "MRB1", version 1, its size (1216): the first level's three stars (8), cleared (604), how to play read (1208);+ # after the reinstall, from the copy, the same+ "mrbullet": (lambda v: len(v) == 1216 and v[:4] == b"MRB1" and v[8] == 3 and v[604] == 1 and v[1208] == 1,) * 2,"breakout": (lambda v: len(v) == 12 and v[:2] == b"B\2" and v[4] == 1 and struct.unpack_from("<I", v, 8)[0] >= 10,lambda v: v[4] == 0 and struct.unpack_from("<I", v, 8)[0] >= 1), # best kept, shake off# Air Hockey and the easy computer chosen; then the normal computer and Tanks, the tallies of the six games keptdiff --git a/tools/release.py b/tools/release.pyindex c930fa8d..e8b77277 100644--- a/tools/release.py+++ b/tools/release.py@@ -64,6 +64,7 @@ ALONE = {"fnaf3": ("Five Nights at Freddy's 3", "Fazbear's Fright's six nights with Springtrap and the phantoms: the lure, the vents, the maintenance panel"),"fnaf4": ("Five Nights at Freddy's 4", "the bedroom's nights with the Nightmares: listen at the doors, the closet, the bed, Fun with Plushtrap"),"famidash": ("Famidash", "TFDSoft's Geometry Dash for the NES, made for the calculator: the 173 levels of Famidash HUGE, every mode, practice mode"),+ "mrbullet": ("Mr Bullet", "Lion Studios' spy puzzles: 596 levels of Classic, Grenades, Hostages and Friendly Fire, read from the game's own files"),}VARIANTS = [("NumPlay-Invisible.nwa", "The same app, hidden: a blank icon with no name"),