Skip to content

Commit 29daed6

Browse files
Add GameBoy Laucher
1 parent d4f2d22 commit 29daed6

3 files changed

Lines changed: 40 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "Gameboy Launcher",
3+
"publisher": "MicroPythonOS",
4+
"short_description": "Classic handheld games",
5+
"long_description": "Plays Gameboy ROMs (.gb, .gbc) from internal storage or SD card. Place them in /roms/gb/. Uses ducalex's retro-go port. Supports zipped ROMs too.",
6+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.gameboy_launcher/icons/com.micropythonos.gameboy_launcher_0.1.0_64x64.png",
7+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.gameboy_launcher/mpks/com.micropythonos.gameboy_launcher_0.1.0.mpk",
8+
"fullname": "com.micropythonos.gameboy_launcher",
9+
"version": "0.1.0",
10+
"category": "games",
11+
"activities": [
12+
{
13+
"entrypoint": "assets/gb_launcher.py",
14+
"classname": "GameboyLauncher",
15+
"intent_filters": [
16+
{
17+
"action": "main",
18+
"category": "launcher"
19+
}
20+
]
21+
}
22+
]
23+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
from mpos import Activity, Intent
2+
from retrogo_launcher import RetroGoLauncher
3+
4+
5+
class GameboyLauncher(Activity):
6+
7+
def onCreate(self):
8+
self.startActivity(
9+
Intent(activity_class=RetroGoLauncher)
10+
.putExtra("title", "Choose your Gameboy ROM:")
11+
.putExtra("roms_subdir", "gb")
12+
.putExtra("partition_label", "retro-core")
13+
.putExtra("boot_name", "gb")
14+
.putExtra("game_name", "GB")
15+
.putExtra("file_extensions", (".gb", ".gbc", ".zip"))
16+
)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../com.micropythonos.doom_launcher/assets/retrogo_launcher.py

0 commit comments

Comments
 (0)