Skip to content

gmRunner 0.2.0

Pre-release
Pre-release

Choose a tag to compare

@KliffDesaix KliffDesaix released this 29 Oct 18:19
· 10 commits to main since this release

Fixes from testing 0.1.0 with larger commercial games, and texture pages that load as they're needed (lower memory use and faster start-up).

File For
gmrunner-0.2.0-switch.nro Nintendo Switch homebrew: put it in sdmc:/switch/gmrunner/, games in sdmc:/switch/gmrunner/games/ (docs/SWITCH.md)
gmrunner-0.2.0-portmaster.zip PortMaster handhelds: unzip into the ports folder; games go in gmrunner/games/ (docs/PORTMASTER.md)
gmrunner-0.2.0-android.apk Android 7+, arm64 (sideload) (docs/MOBILE.md)
gmrunner-0.2.0-ios.ipa iOS 17+, unsigned: install with SideStore or AltStore (docs/MOBILE.md)
gmrunner-0.2.0-source.tar.gz the source of these builds (GPL 3.0 or later)
ffmpeg-7.1.1.tar.xz FFmpeg's source, linked into the PortMaster runner (LGPL)
NOTICE.txt, SHA256SUMS licences and third-party sources; checksums

Memory and loading

  • Texture pages are loaded when a game first draws from them, as GameMaker does, instead of all at start-up. Each room's pages are decoded together on several threads before its first frame. On devices with 2 GB of memory or less (PortMaster handhelds), the pages unused longest are dropped again past a quarter of the memory; GMR_TEXTURE_BUDGET_MB sets another limit. Large games no longer run a 1 GB handheld out of memory.
  • data.win is memory-mapped instead of copied (desktop, PortMaster, Android, iOS).
  • Peak memory on desktop for a large multi-chapter game: from 707 to 278 MB for one chapter, from 1,214 to 337 MB for another.

Fixes

  • Compound assignment to an element of a nested array (a[i][j] += 1) did nothing (a battle menu cursor couldn't move).
  • Old-style tiles on asset layers weren't elements of their layer: GameMaker's tile_layer_* compatibility scripts found none, and tiles a game hid, faded or moved stayed as they were.
  • Large music files opened with audio_create_stream were freed while waiting to play and then failed (silent music).
  • View following matches GameMaker when the border is half the view or more (a cutscene scrolled past the room).
  • action_move and action_move_point (a GameMaker 1.4 game softlocked in a cutscene).
  • window_set_position, window_center, window_set_cursor and the window size limits were replaced by no-ops; they work again.

New

  • Texture group functions: texture_prefetch, texture_flush, texturegroup_load / unload / get_status / get_*, sprite_prefetch / flush, draw_texture_flush.
  • Controllers: rumble (gamepad_set_vibration), light colour, axis dead zone, the d-pad as a hat.
  • mouse_clear, window_has_focus, environment_get_variable, os_get_language / os_get_region from the system locale, and show_message / show_question dialogs on desktop.

The Android build is signed with the gmRunner release key. Still a pre-release: not yet tested on all hardware. Not supported yet: YYC-compiled games, games that need Windows DLL extensions.