{"id":28757524,"url":"https://github.com/libretro/gw-libretro","last_synced_at":"2025-06-17T03:11:01.591Z","repository":{"id":1052301,"uuid":"31514379","full_name":"libretro/gw-libretro","owner":"libretro","description":"A libretro core for Game \u0026 Watch simulators","archived":false,"fork":false,"pushed_at":"2024-10-21T17:03:12.000Z","size":4073,"stargazers_count":31,"open_issues_count":8,"forks_count":34,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-10-22T06:32:52.024Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libretro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2015-03-01T23:02:16.000Z","updated_at":"2024-10-21T17:03:17.000Z","dependencies_parsed_at":"2024-10-22T16:35:19.941Z","dependency_job_id":null,"html_url":"https://github.com/libretro/gw-libretro","commit_stats":{"total_commits":267,"total_committers":31,"mean_commits":8.612903225806452,"dds":"0.38576779026217234","last_synced_commit":"19a1cb3105ca4a82139fb4994e7995fd956f6f8d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/libretro/gw-libretro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libretro%2Fgw-libretro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libretro%2Fgw-libretro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libretro%2Fgw-libretro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libretro%2Fgw-libretro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libretro","download_url":"https://codeload.github.com/libretro/gw-libretro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libretro%2Fgw-libretro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260281856,"owners_count":22985633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-06-17T03:11:01.347Z","updated_at":"2025-06-17T03:11:01.573Z","avatar_url":"https://github.com/libretro.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gw-libretro\n\n**gw-libretro** is a [libretro](http://www.libretro.com/) core that runs Game \u0026 Watch simulators.\n\nIt runs simulators converted from source code for the games available at [MADrigal](http://www.madrigaldesign.it/sim/). Each simulator is converted with [pas2lua](https://github.com/leiradel/pas2lua), which was written specifically for this purpose, and uses [bstree](https://github.com/leiradel/bstree), which was also specifically written to obfuscate the generated Lua source code as per MADrigal's request.\n\nThe converted games are available at [libretro's buildbot site](https://bot.libretro.com/assets/cores/HandheldElectronicGame/). Unpack the zip and read the README.txt for instructions.\n\nThe [SNES controller](http://commons.wikimedia.org/wiki/File:SNES_controller.svg), the [hand cursor](https://commons.wikimedia.org/wiki/File:Pointing_hand_cursor_vector.svg), and the [Boxy Bold](http://opengameart.org/content/boxy-bold-font) font used in **gw-libretro** are released under the [CC0](http://creativecommons.org/publicdomain/zero/1.0/).\n\n## Changelog\n\n### 1.6.3\n\n* Fixed the first sprite layer being set to 0 instead of 16383.\n\n### 1.6.2\n\n* Fixed call to undefined method `showmenu`.\n* Fixed calculating the center of the screen when zoom is on.\n\n### 1.6.1\n\n* Added label position fine tuning to avoid they being on top of each other.\n\n### 1.6.0\n\n* Added support for mouse and touch screens.\n  * All buttons can be activated with clicks and taps\n  * Gameplay buttons can be activated even when the screen is zoomed\n  * Added help for hot zones when then screen is zoomed\n* Added `iszoomed` to `system`.\n\n### 1.5.1\n\n* Fixed a crash while trying to play a sound without associated data, now it errors with a stack trace.\n\n### 1.5.0\n\n* Avoided buttons being pressed when the menu or the controller are active.\n* Added ability to pause and resume audio playback.\n* Pause the timers and the audio when the game is not active.\n\n### 1.4.0\n\n* Removed the `constcast.cpp` aberration, the core is now pure C.\n* Added the core version to `version.c.templ`.\n* Exposed core version to Lua code (helps to add new features and fixes in a backwards compatible way):\n  * `system.GW_VERSIONSTR`, a string containing the full version, i.e. `\"1.4.0\"`\n  * `system.GW_VERSION`, a number containing the full version as `major \u003c\u003c 16 | minor \u003c\u003c 8 | patch`, i.e. `0x010400`\n  * `system.GW_MAJOR`, `system.GW_MINOR`, and `system.GW_PATCH`\n* Fixed Galaxy II, Motor Cross, and Tron throwing errors when used with previous versions of the core.\n\n### 1.3\n\n* Implemented a menu system to avoid weird button mappings. Now only the buttons used to play the game are mapped to the controller, all other buttons are accessed via the Select (cycle options) and Start (perform action) buttons.\n* Added proper credits in the controller help overlay.\n* Fixed sounds not looping in Galaxy II, Motor Cross, and Tron.\n* Fixed the transparency settings of some images. It fixes some artifacts around the buttons and some backgrounds having the wrong color.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibretro%2Fgw-libretro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibretro%2Fgw-libretro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibretro%2Fgw-libretro/lists"}