• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

build/H29-Jan-2021-2,1761,225

bzip2/H07-May-2022-44,37940,871

etc/H29-Jan-2021-673612

games/H29-Jan-2021-4,4013,801

gwlua/H29-Jan-2021-27,64725,061

gwrom/H29-Jan-2021-801477

lua/H29-Jan-2021-23,48816,605

retroluxury/H29-Jan-2021-19,85813,784

src/H29-Jan-2021-2,4291,031

.gitignoreH A D29-Jan-2021294 2522

.gitlab-ci.ymlH A D29-Jan-20214.7 KiB199162

.travis.ymlH A D29-Jan-2021702 3736

LICENSEH A D29-Jan-2021868 127

MakefileH A D29-Jan-202126 21

Makefile.libretroH A D29-Jan-202113.4 KiB461364

README.mdH A D29-Jan-20213 KiB6038

README.md

1# gw-libretro
2
3**gw-libretro** is a [libretro](http://www.libretro.com/) core that runs Game & Watch simulators.
4
5It 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.
6
7The 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.
8
9The [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/).
10
11## Changelog
12
13### 1.6.3
14
15* Fixed the first sprite layer being set to 0 instead of 16383.
16
17### 1.6.2
18
19* Fixed call to undefined method `showmenu`.
20* Fixed calculating the center of the screen when zoom is on.
21
22### 1.6.1
23
24* Added label position fine tuning to avoid they being on top of each other.
25
26### 1.6.0
27
28* Added support for mouse and touch screens.
29  * All buttons can be activated with clicks and taps
30  * Gameplay buttons can be activated even when the screen is zoomed
31  * Added help for hot zones when then screen is zoomed
32* Added `iszoomed` to `system`.
33
34### 1.5.1
35
36* Fixed a crash while trying to play a sound without associated data, now it errors with a stack trace.
37
38### 1.5.0
39
40* Avoided buttons being pressed when the menu or the controller are active.
41* Added ability to pause and resume audio playback.
42* Pause the timers and the audio when the game is not active.
43
44### 1.4.0
45
46* Removed the `constcast.cpp` aberration, the core is now pure C.
47* Added the core version to `version.c.templ`.
48* Exposed core version to Lua code (helps to add new features and fixes in a backwards compatible way):
49  * `system.GW_VERSIONSTR`, a string containing the full version, i.e. `"1.4.0"`
50  * `system.GW_VERSION`, a number containing the full version as `major << 16 | minor << 8 | patch`, i.e. `0x010400`
51  * `system.GW_MAJOR`, `system.GW_MINOR`, and `system.GW_PATCH`
52* Fixed Galaxy II, Motor Cross, and Tron throwing errors when used with previous versions of the core.
53
54### 1.3
55
56* 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.
57* Added proper credits in the controller help overlay.
58* Fixed sounds not looping in Galaxy II, Motor Cross, and Tron.
59* Fixed the transparency settings of some images. It fixes some artifacts around the buttons and some backgrounds having the wrong color.
60