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
Super Mario 64: its own app in the releases and tests
Mason363d9b841e910bb
diff --git a/Makefile b/Makefileindex a48165a6..16d97169 100644--- a/Makefile+++ b/Makefile@@ -24,7 +24,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+BIG_APPS = Celeste HollowKnight Undertale ChampionIsland FinalEarth2 NumPowder NumBlocks NumDrive SubwaySurfers FiveNightsAtFreddys Doom BindingOfIsaac HillClimbRacing PlantsVsZombies SonicTheHedgehog CookieClicker LevelDevil SuperMario64# the calculator's space for installed apps (0x90200000 to 0x903F0000 in its flash)APP_SPACE = 2031616# Upsilon, the N0110 and N0115's custom software, gives .nwa apps less RAM: NumPlay-Upsilon.nwa has@@ -217,6 +217,7 @@ APP_pvz = games/pvz/output/pvz.nwa:PlantsVsZombies.nwaAPP_sonic = games/sonic/output/sonic.nwa:SonicTheHedgehog.nwaAPP_cookieclicker = games/cookieclicker/output/cookieclicker.nwa:CookieClicker.nwaAPP_leveldevil = games/leveldevil/output/leveldevil.nwa:LevelDevil.nwa+APP_sm64 = games/sm64/output/sm64.nwa:SuperMario64.nwaapps: | $(B)$(MAKE) -C games/numdash build NWLINK="node node_modules/nwlink/bin/nwlink"@@ -242,6 +243,7 @@ apps: | $(B)$(MAKE) -C games/sonic build NWLINK="$(NWLINK)"$(MAKE) -C games/cookieclicker build NWLINK="$(NWLINK)"$(MAKE) -C games/leveldevil build NWLINK="$(NWLINK)"+ $(MAKE) -C games/sm64 build NWLINK="$(NWLINK)"cd 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)))@@ -267,6 +269,7 @@ apps: | $(B)cp $(word 1,$(subst :, ,$(APP_sonic))) $(B)/apps/$(word 2,$(subst :, ,$(APP_sonic)))cp $(word 1,$(subst :, ,$(APP_cookieclicker))) $(B)/apps/$(word 2,$(subst :, ,$(APP_cookieclicker)))cp $(word 1,$(subst :, ,$(APP_leveldevil))) $(B)/apps/$(word 2,$(subst :, ,$(APP_leveldevil)))+ cp $(word 1,$(subst :, ,$(APP_sm64))) $(B)/apps/$(word 2,$(subst :, ,$(APP_sm64)))arm-none-eabi-strip --strip-unneeded $(B)/apps/Tetris.nwaSTD_APPS = $(foreach g,$(STD_GAMES),$(B)/apps/$(NWA_$(g)))@@ -333,5 +336,6 @@ clean:-$(MAKE) -C games/sonic clean-$(MAKE) -C games/cookieclicker clean-$(MAKE) -C games/leveldevil clean+ -$(MAKE) -C games/sm64 clean-cd games/tetris/tetris && $(CARGO) clean-$(foreach g,$(STD_GAMES),$(MAKE) -C games/$(g) clean;)diff --git a/tests/test_games.py b/tests/test_games.pyindex d4c60ffd..1a28f397 100644--- a/tests/test_games.py+++ b/tests/test_games.py@@ -197,6 +197,10 @@ GAMES = {"cookieclicker": ("CookieClicker.nwa", "cookieclicker.sav",presses((2500, "ok"), (3500, "ok"), (4000, "ok"), (4500, "ok")), 6500,presses((3000, "ok"), (3600, "ok")), 5500),+ # past the title and the keys (a new game): Peach's letter, Lakitu's flight to the castle, the warp pipe; Home.+ # Next time the title, the keys again from Shift, then the game (quitting with On/Off)+ "sm64": ("SuperMario64.nwa", "sm64.sav", presses((2500, "ok"), (4000, "ok"), (14000, "ok"), (17000, "ok")), 22000,+ presses((2500, "shift"), (4000, "ok"), (5000, "ok")), 9000),# 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,@@ -261,6 +265,9 @@ CHECKS = {# copy, it goes on"sonic": (lambda v: v[:4] == b"S1SV" and v[6] == 1 and v[7] == 0 and struct.unpack_from("<I", v, 28)[0] > 0,lambda v: v[:4] == b"S1SV" and v[6] == 1 and struct.unpack_from("<I", v, 28)[0] > 600),+ # the save chip (the N64's 512-byte EEPROM): its menu data's two copies signed ("HI", little-endian); after the+ # reinstall, from the copy, kept+ "sm64": (lambda v: len(v) == 512 and v[476:478] == b"IH" and v[508:510] == b"IH",) * 2,# a simulation saved ("NPWD"); after the reinstall, from the copy, it goes on and is saved again"numpowder": (lambda v: v[:4] == b"NPWD",) * 2,# a run banked ("HCR1", runs at 212) with a best on the Countryside (at 48); after the reinstall, from the copy,diff --git a/tools/release.py b/tools/release.pyindex 537d39b1..64d1d62b 100644--- a/tools/release.py+++ b/tools/release.py@@ -47,6 +47,9 @@ ALONE = {"big to share the calculator with NumPlay: install it on its own"),"isaac": ("The Binding of Isaac", "a whole run, from the Basement past Mom and her heart to Sheol and the Cathedral. ""Too big to share the calculator with NumPlay: install it on its own"),+ "sm64": ("Super Mario 64", "Peach's castle, its grounds and courtyard, and the first five courses with their "+ "stars: Bob-omb Battlefield, Whomp's Fortress, Jolly Roger Bay, Cool, Cool Mountain and Big Boo's Haunt, in "+ "3D. Too big to share the calculator with NumPlay: install it on its own"),"pvz": ("Plants vs. Zombies", "the whole Adventure, from the front lawn to the roof and Dr. Zomboss: 50 levels, 40 ""plants, 24 zombies, Crazy Dave, his shop and the Almanac. Too big to share the calculator with NumPlay: ""install it on its own"),