Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
27d73c0
fix: update fceumm core's patch
pvaibhav Aug 8, 2026
e085c0d
fix: update mGBA core build
pvaibhav Aug 9, 2026
e1d9031
docs: add h700 port plan
pvaibhav Jul 8, 2026
c8dc572
feat(h700): add rg40xx beta platform
pvaibhav Jul 8, 2026
e1596f6
fix(h700): build picodrive core
pvaibhav Jul 8, 2026
fb74ab0
fix(h700): enable minarch runtime build
pvaibhav Jul 8, 2026
e17ec6c
fix(h700): use stock unzip in boot shim
pvaibhav Jul 8, 2026
9358e38
fix(h700): bundle runtime graphics libraries
pvaibhav Jul 8, 2026
9ceb0a1
test(h700): harden rg40xxv beta
pvaibhav Jul 8, 2026
415de24
fix(h700): close supplemental beta review gaps
pvaibhav Jul 8, 2026
2531799
fix(h700): remove stale UMP graphics dependency
pvaibhav Jul 8, 2026
f139740
fix(h700): remove SDL udev startup dependency
pvaibhav Jul 8, 2026
319b703
fix(h700): restore evdev input
pvaibhav Jul 8, 2026
4c1a6a9
fix(h700): repair picodrive clean core builds
pvaibhav Jul 8, 2026
f45890b
fix(h700): preserve bitmap alpha blits
pvaibhav Jul 8, 2026
8004139
Revert "fix(h700): preserve bitmap alpha blits"
pvaibhav Jul 8, 2026
0207493
fix(h700): bundle 64-bit libpng12 for SDL2_image
pvaibhav Jul 8, 2026
b81fda1
fix(h700): repair game launch under dash
pvaibhav Jul 8, 2026
85ebc5a
fix(h700): repair glitchy audio via dlopen'd ALSA
pvaibhav Jul 8, 2026
c58f0d1
docs(h700): restructure port plan into reference documentation
pvaibhav Jul 9, 2026
c175e86
docs(h700): update roadmap with alpha-blit resolution and UI findings
pvaibhav Jul 9, 2026
c2aee77
docs(h700): record rebase onto main as done
pvaibhav Jul 9, 2026
043327e
docs: record rg34xxsp h700 validation
pvaibhav Jul 9, 2026
0df7345
fix(h700): MENU short-tap no longer misreads as long-press
pvaibhav Jul 9, 2026
da658c3
docs: confirm h700 volume controls
pvaibhav Jul 9, 2026
49fd0c1
fix(h700): sleep/wake — suspend poweroff, wake bounce, lid sleep, res…
pvaibhav Jul 9, 2026
90b0d1b
fix(h700): display settings — persistence, defaults, dead sliders
pvaibhav Jul 9, 2026
9bd2315
docs(h700): record display settings fixes in port docs and roadmap
pvaibhav Jul 9, 2026
b6e579f
fix(h700): Files app — SDL joystick enumeration, button map, scaling,…
pvaibhav Jul 9, 2026
8580b94
fix(h700): don't open the built-in pad as an SDL joystick
pvaibhav Jul 9, 2026
4325abc
chore(h700): prepare alpha cleanup
pvaibhav Jul 9, 2026
3d47db5
feat(h700): port Bootlogo.pak from tg5040
pvaibhav Jul 9, 2026
1e9f30d
fix(h700): Input pak — per-device analog stick layout
pvaibhav Jul 9, 2026
836c909
docs(h700): Bootlogo pak user-tested on RG40XXV
pvaibhav Jul 9, 2026
a7874c1
fix(h700): hide unavailable Fn switch settings
pvaibhav Jul 9, 2026
8290d7f
docs(h700): record RG34XXSP alpha testing
pvaibhav Jul 9, 2026
165ed55
fix(h700): preserve embedded gzip payload
pvaibhav Jul 10, 2026
eda4926
fix(h700): correct RG28XX rotation handling
pvaibhav Jul 12, 2026
50edff7
fix(bootlogo): diagnostics and empty-state hardening
pvaibhav Jul 13, 2026
672edf8
fix(h700): add missing BUTTON_L4/R4 defines
pvaibhav Jul 13, 2026
31d661c
docs(h700): sync port docs with validated RG28XX and Bootlogo state
pvaibhav Jul 13, 2026
52871a9
fix(h700): re-suspend on wake if clamshell lid still closed
pvaibhav Jul 16, 2026
e922007
feat(h700): seamless HDMI output with hotplug
pvaibhav Jul 16, 2026
759fcc0
fix(h700): initialize the stock Bluetooth adapter
pvaibhav Jul 16, 2026
bf362cd
feat(h700): enable stock Bluetooth audio
pvaibhav Jul 16, 2026
e50ac7c
docs(h700): define alpha3 beta-entry gates
pvaibhav Jul 16, 2026
2e90e00
fix(build): preserve PicoDrive libretro platform
pvaibhav Jul 16, 2026
e2394f8
fix(h700): add missing FN button and USB platform stubs
pvaibhav Jul 20, 2026
b5c6607
docs(h700): simplify README.txt section
pvaibhav Jul 20, 2026
4c30865
docs(h700): beta1 test walkthrough and RC gates
pvaibhav Jul 20, 2026
2dfded6
fix(tg5040): skip BlueZ upgrade on h700
pvaibhav Jul 20, 2026
4b626b9
docs(h700): reorganize release and testing guidance
pvaibhav Jul 20, 2026
c96d153
fix(h700): allow auto governor to use full CPU range
pvaibhav Jul 20, 2026
8da09fb
fix(h700): restore Bluetooth audio output
pvaibhav Jul 20, 2026
c8d3035
build(h700): use dedicated h700-toolchain image
pvaibhav Jul 21, 2026
81c28fb
build(h700): use h700-toolchain with prebaked SDL2
pvaibhav Jul 21, 2026
0426539
chore(h700): remove SDL2 patch from source tree
pvaibhav Jul 21, 2026
88cae21
fix(h700): yet another Bluetooth bugfix
pvaibhav Jul 21, 2026
3b53e8f
fix(h700): fill the cube panel with 10 list rows
pvaibhav Jul 24, 2026
469dd2c
fix(h700): stop passing PLATFORM as a make argument to the guest build
pvaibhav Jul 24, 2026
24a150d
fix(h700): power off the AXP2202 explicitly instead of trusting the k…
pvaibhav Jul 25, 2026
5f088b4
fix(h700): scan out the framebuffer page HDMI actually renders into
pvaibhav Jul 26, 2026
ebe8c5b
feat(h700): drive the RGB LEDs on RG40XX H/V and RG CubeXX
pvaibhav Jul 26, 2026
87e75e9
feat(h700): detect the RG SP properly
pvaibhav Jul 28, 2026
43b3b45
feat(sleep): Enable Super Standby
pvaibhav Jul 29, 2026
97a5fa8
fix(gpu): pin the GPU to max speed
pvaibhav Aug 3, 2026
7a69255
fix(h700): enable PS1 stick clicks
pvaibhav Aug 8, 2026
2d62e56
fix: fceumm patch
pvaibhav Aug 8, 2026
d1c9e32
feat(h700): add displaycal defaults
pvaibhav Aug 9, 2026
42204f7
fix(h700): align 480p list spacing
pvaibhav Aug 9, 2026
a028d0e
build(h700): bundle curl for RetroAchievements
pvaibhav Aug 9, 2026
118211d
fix(h700): update mGBA core build
pvaibhav Aug 9, 2026
4057f54
docs(h700): bring the port docs up to date for rc8
pvaibhav Aug 15, 2026
e7b9e19
docs(h700): pull the H700 docs out of the tree
pvaibhav Aug 15, 2026
2151dbc
fix(h700): map DEVICE 1:1 to stock RGXX_MODEL SKUs
pvaibhav Aug 15, 2026
acc293c
docs(h700): align DEVICE docs and comments with SKU mapping
pvaibhav Aug 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
toolchain:
- tg5040
- tg5050
- h700

steps:
- name: Checkout
Expand All @@ -64,6 +65,7 @@ jobs:
toolchain:
- tg5040
- tg5050
- h700
core: ${{ fromJson(needs.core-matrix.outputs.cores) }}
steps:
- name: Checkout
Expand Down Expand Up @@ -124,6 +126,39 @@ jobs:
env:
PLATFORM: tg5050

- name: Download Cores (h700)
uses: actions/download-artifact@v4.3.0
with:
path: workspace/h700/cores/output/
pattern: core-h700-*
merge-multiple: true

- name: Build (h700)
run: make h700
env:
PLATFORM: h700

- name: Check H700 settings runtime links
run: |
docker run --rm --platform linux/arm64 -v "$PWD:/work" -w /work ubuntu:22.04 sh -ec '
apt-get update
apt-get install -y --no-install-recommends \
libegl1 \
libfreetype6 \
libgcc-s1 \
libglib2.0-0 \
libgles2 \
libjpeg-turbo8 \
liblzma5 \
libpng16-16 \
libstdc++6 \
libtiff5 \
libwebp7 \
libzstd1 \
zlib1g
sh ./workspace/h700/check-settings-ldd.sh
'

- name: Special
run: make special

Expand Down
36 changes: 35 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
toolchain:
- tg5040
- tg5050
- h700

steps:
- name: Checkout
Expand All @@ -83,6 +84,7 @@ jobs:
toolchain:
- tg5040
- tg5050
- h700
core: ${{ fromJson(needs.core-matrix.outputs.cores) }}
steps:
- name: Checkout
Expand Down Expand Up @@ -143,6 +145,39 @@ jobs:
env:
PLATFORM: tg5050

- name: Download Cores (h700)
uses: actions/download-artifact@v4.3.0
with:
path: workspace/h700/cores/output/
pattern: core-h700-*
merge-multiple: true

- name: Build (h700)
run: make h700
env:
PLATFORM: h700

- name: Check H700 settings runtime links
run: |
docker run --rm --platform linux/arm64 -v "$PWD:/work" -w /work ubuntu:22.04 sh -ec '
apt-get update
apt-get install -y --no-install-recommends \
libegl1 \
libfreetype6 \
libgcc-s1 \
libglib2.0-0 \
libgles2 \
libjpeg-turbo8 \
liblzma5 \
libpng16-16 \
libstdc++6 \
libtiff5 \
libwebp7 \
libzstd1 \
zlib1g
sh ./workspace/h700/check-settings-ldd.sh
'

- name: Special
run: make special

Expand Down Expand Up @@ -225,4 +260,3 @@ jobs:
## How to install/update
For a fresh installation, follow the instructions here: https://nextui.loveretro.games/getting-started/installation/
When updating from a previous release: https://nextui.loveretro.games/getting-started/updating/

2 changes: 1 addition & 1 deletion PAKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ There are two kinds of paks, emulators and tools. Emulator paks live in the Emus

Paks are platform specific. Inside the Emus and Tools folders you will find (or need to create) platform folders. Some platform folders are named after the target device (eg. "rgb30" for the Powkiddy RGB30), others use the device's internal name (eg. "tg5040" for the Trimui Smart Pro), other use an arbitrary shortname (eg. "trimui" for the Trimui Model S), all are completely lowercase. See the extras bundle for up-to-date supported platform folder names.

Some platforms have multiple devices with unique qualities. NextUI differentiates these devices from the base platform with the `DEVICE` envar. eg. the "rg35xxplus" platform has two unique devices "cube" for the RG CubeXX, and "wide" for the RG34xx. It also supports "hdmi" for when outputting to HDMI. A pak can choose to use or ignore this envar.
Some platforms have multiple devices with unique qualities. NextUI differentiates these with the `DEVICE` envar. On tg5040 that is `brick`, `brickpro`, or `smartpro`. On h700 it is an exact SKU id such as `rg40xxv`, `rg34xxsp`, or `rgcubexx` (full list in the H700 Pak porting wiki page). A pak can choose to use or ignore this envar.

# The types of emulator pak

Expand Down
19 changes: 13 additions & 6 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ endif

ifeq (,$(PLATFORMS))
#PLATFORMS = miyoomini trimuismart rg35xx rg35xxplus my355 tg5040 zero28 rgb30 m17 gkdpixel my282 magicmini
PLATFORMS = tg5050 tg5040
PLATFORMS = tg5050 tg5040 h700
endif

###########################################################
Expand Down Expand Up @@ -103,15 +103,22 @@ endif
cp ./workspace/all/clock/build/$(PLATFORM)/clock.elf ./build/EXTRAS/Tools/$(PLATFORM)/Clock.pak/
cp ./workspace/all/minput/build/$(PLATFORM)/minput.elf ./build/EXTRAS/Tools/$(PLATFORM)/Input.pak/
cp ./workspace/all/settings/build/$(PLATFORM)/settings.elf ./build/EXTRAS/Tools/$(PLATFORM)/Settings.pak/
ifneq (,$(filter $(PLATFORM),tg5040 tg5050))
ifneq (,$(filter $(PLATFORM),tg5040 tg5050 h700))
cp ./workspace/all/ledcontrol/build/$(PLATFORM)/ledcontrol.elf ./build/EXTRAS/Tools/$(PLATFORM)/LedControl.pak/
cp ./workspace/all/bootlogo/build/$(PLATFORM)/bootlogo.elf ./build/EXTRAS/Tools/$(PLATFORM)/Bootlogo.pak/
ifeq ($(PLATFORM), tg5040)
# Limbo fix
cp ./workspace/$(PLATFORM)/poweroff_next/build/$(PLATFORM)/poweroff_next.elf ./build/SYSTEM/$(PLATFORM)/bin/poweroff_next
endif
endif
ifneq (,$(filter $(PLATFORM),tg5040 tg5050 my355))
ifeq ($(PLATFORM), h700)
# Limbo fix (AXP2202 needs an explicit software power-off)
cp ./workspace/$(PLATFORM)/poweroff_next/build/$(PLATFORM)/poweroff_next.elf ./build/SYSTEM/$(PLATFORM)/bin/poweroff_next
cp ./workspace/$(PLATFORM)/poweroff_next/build/$(PLATFORM)/reboot_next.elf ./build/SYSTEM/$(PLATFORM)/bin/reboot_next
endif
ifneq (,$(filter $(PLATFORM),tg5040 tg5050 h700))
cp ./workspace/all/bootlogo/build/$(PLATFORM)/bootlogo.elf ./build/EXTRAS/Tools/$(PLATFORM)/Bootlogo.pak/
endif
ifneq (,$(filter $(PLATFORM),tg5040 tg5050 h700 my355))
# Audio resampling
cp ./workspace/all/minarch/build/$(PLATFORM)/libsamplerate.* ./build/SYSTEM/$(PLATFORM)/lib/

Expand All @@ -125,7 +132,7 @@ ifneq (,$(filter $(PLATFORM),tg5040 tg5050 my355))
cp ./workspace/all/minarch/build/$(PLATFORM)/libchdr.so.* ./build/SYSTEM/$(PLATFORM)/lib/
cp ./workspace/all/minarch/build/$(PLATFORM)/libcrypto.so.* ./build/SYSTEM/$(PLATFORM)/lib/

ifeq ($(PLATFORM), tg5040)
ifneq (,$(filter $(PLATFORM),tg5040 h700))
# liblz4 for Rewind support
cp -L ./workspace/all/minarch/build/$(PLATFORM)/liblz4.so.1 ./build/SYSTEM/$(PLATFORM)/lib/
endif
Expand Down Expand Up @@ -265,7 +272,7 @@ package: tidy

# TODO: can I just add everything in BASE to zip?
# cd ./build/BASE && zip -r ../../releases/$(RELEASE_NAME)-base.zip Bios Roms Saves miyoo miyoo354 trimui rg35xx rg35xxplus gkdpixel miyoo355 magicx em_ui.sh MinUI.zip README.txt
cd ./build/BASE && zip -r ../../releases/$(RELEASE_NAME)-base.zip Bios Roms Saves Shaders Overlays trimui em_ui.sh MinUI.zip *.pakz README.txt
cd ./build/BASE && zip -r ../../releases/$(RELEASE_NAME)-base.zip Bios Roms Saves Shaders Overlays trimui h700 em_ui.sh MinUI.zip *.pakz README.txt
cd ./build/EXTRAS && zip -r ../../releases/$(RELEASE_NAME)-extras.zip Bios Emus Roms Saves Shaders Overlays Tools README.txt
echo "$(RELEASE_VERSION)" > ./build/latest.txt

Expand Down
31 changes: 20 additions & 11 deletions makefile.toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ endif
HOST_WORKSPACE=$(shell pwd)/workspace
GUEST_WORKSPACE=/root/workspace

GIT_IF_NECESSARY=toolchains/$(PLATFORM)-toolchain
INIT_IF_NECESSARY=toolchains/$(PLATFORM)-toolchain/.build
IMAGE_NAME=ghcr.io/loveretro/$(PLATFORM)-toolchain:latest
TOOLCHAIN_NAME=$(PLATFORM)

GIT_IF_NECESSARY=toolchains/$(TOOLCHAIN_NAME)-toolchain
INIT_IF_NECESSARY=toolchains/$(TOOLCHAIN_NAME)-toolchain/.build
IMAGE_NAME=ghcr.io/loveretro/$(TOOLCHAIN_NAME)-toolchain:latest

CONTAINER_RUNTIME ?= $(shell command -v docker 2>/dev/null || command -v podman 2>/dev/null)
ifeq (,$(CONTAINER_RUNTIME))
Expand All @@ -28,18 +30,18 @@ LAST_RUNTIME := $(shell cat $(RUNTIME_MARKER) 2>/dev/null)
CURRENT_RUNTIME := $(notdir $(CONTAINER_RUNTIME))

all: $(INIT_IF_NECESSARY)
$(CONTAINER_RUNTIME) run -it --rm $(CONTAINER_MOUNT_OPTS) -v $(HOST_WORKSPACE):$(GUEST_WORKSPACE) $(IMAGE_NAME) /bin/bash
$(CONTAINER_RUNTIME) run -it --rm $(CONTAINER_MOUNT_OPTS) -v $(HOST_WORKSPACE):$(GUEST_WORKSPACE) -e PLATFORM=$(PLATFORM) -e UNION_PLATFORM=$(PLATFORM) $(IMAGE_NAME) /bin/bash -lc 'export PLATFORM=$(PLATFORM) UNION_PLATFORM=$(PLATFORM); cd $(GUEST_WORKSPACE); exec /bin/bash'

$(INIT_IF_NECESSARY): $(GIT_IF_NECESSARY)
cd toolchains/$(PLATFORM)-toolchain && make .build
cd toolchains/$(TOOLCHAIN_NAME)-toolchain && make .build

$(GIT_IF_NECESSARY):
mkdir -p toolchains
git clone https://github.com/LoveRetro/$(PLATFORM)-toolchain/ toolchains/$(PLATFORM)-toolchain
$(CONTAINER_RUNTIME) pull $(IMAGE_NAME) && touch toolchains/$(PLATFORM)-toolchain/.build
git clone https://github.com/LoveRetro/$(TOOLCHAIN_NAME)-toolchain/ toolchains/$(TOOLCHAIN_NAME)-toolchain
$(CONTAINER_RUNTIME) pull $(IMAGE_NAME) && touch toolchains/$(TOOLCHAIN_NAME)-toolchain/.build

clean:
cd toolchains/$(PLATFORM)-toolchain && make clean
cd toolchains/$(TOOLCHAIN_NAME)-toolchain && make clean

_runtime_check:
@if [ -n "$(LAST_RUNTIME)" ] && [ "$(LAST_RUNTIME)" != "$(CURRENT_RUNTIME)" ]; then \
Expand All @@ -55,17 +57,24 @@ _runtime_check:
fi; \
fi

# The platform reaches the guest build through the environment only, never as a
# `make PLATFORM=...` argument. A command-line variable lands in MAKEOVERRIDES and
# overrides same-named assignments in *every* recursive make, including each core's
# own `PLATFORM = libretro` (picodrive, pcsx_rearmed) — those then build without
# their libretro frontend and link to an entry-point-less stub. Environment values
# lose to a makefile assignment, which is what workspace/makefile expects.

build: $(INIT_IF_NECESSARY) _runtime_check
$(CONTAINER_RUNTIME) run --rm $(CONTAINER_MOUNT_OPTS) -v $(HOST_WORKSPACE):$(GUEST_WORKSPACE) -e COMPILE_CORES=$(COMPILE_CORES) $(IMAGE_NAME) /bin/bash -c '. ~/.bashrc && cd /root/workspace && make'
$(CONTAINER_RUNTIME) run --rm $(CONTAINER_MOUNT_OPTS) -v $(HOST_WORKSPACE):$(GUEST_WORKSPACE) -e COMPILE_CORES=$(COMPILE_CORES) -e PLATFORM=$(PLATFORM) -e UNION_PLATFORM=$(PLATFORM) $(IMAGE_NAME) /bin/bash -c '. ~/.bashrc && export PLATFORM=$(PLATFORM) UNION_PLATFORM=$(PLATFORM) && cd /root/workspace && make'
@echo "$(CURRENT_RUNTIME)" > $(RUNTIME_MARKER)

build-cores: $(INIT_IF_NECESSARY) _runtime_check
$(CONTAINER_RUNTIME) run --rm $(CONTAINER_MOUNT_OPTS) -v $(HOST_WORKSPACE):$(GUEST_WORKSPACE) -e COMPILE_CORES=$(COMPILE_CORES) $(IMAGE_NAME) /bin/bash -c '. ~/.bashrc && cd /root/workspace && make cores'
$(CONTAINER_RUNTIME) run --rm $(CONTAINER_MOUNT_OPTS) -v $(HOST_WORKSPACE):$(GUEST_WORKSPACE) -e COMPILE_CORES=$(COMPILE_CORES) -e PLATFORM=$(PLATFORM) -e UNION_PLATFORM=$(PLATFORM) $(IMAGE_NAME) /bin/bash -c '. ~/.bashrc && export PLATFORM=$(PLATFORM) UNION_PLATFORM=$(PLATFORM) && cd /root/workspace && make cores'
@echo "$(CURRENT_RUNTIME)" > $(RUNTIME_MARKER)

build-core: $(INIT_IF_NECESSARY) _runtime_check
ifndef CORE
$(error CORE is not set)
endif
$(CONTAINER_RUNTIME) run --rm $(CONTAINER_MOUNT_OPTS) -v $(HOST_WORKSPACE):$(GUEST_WORKSPACE) -e COMPILE_CORES=$(COMPILE_CORES) -e CORE=$(CORE) $(IMAGE_NAME) /bin/bash -c '. ~/.bashrc && cd /root/workspace && make core'
$(CONTAINER_RUNTIME) run --rm $(CONTAINER_MOUNT_OPTS) -v $(HOST_WORKSPACE):$(GUEST_WORKSPACE) -e COMPILE_CORES=$(COMPILE_CORES) -e CORE=$(CORE) -e PLATFORM=$(PLATFORM) -e UNION_PLATFORM=$(PLATFORM) $(IMAGE_NAME) /bin/bash -c '. ~/.bashrc && export PLATFORM=$(PLATFORM) UNION_PLATFORM=$(PLATFORM) && cd /root/workspace && make core'
@echo "$(CURRENT_RUNTIME)" > $(RUNTIME_MARKER)
15 changes: 14 additions & 1 deletion skeleton/BASE/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ TRIMUI SMART PRO / TRIMUI BRICK

Copy the "trimui" folder and "MinUI.zip" (without unzipping) to the root of the SD card.

ANBERNIC RG XX (H700) DEVICES

Copy "MinUI.zip" (without unzipping) to the root of the SD card.

Copy the "dmenu.bin" file (found inside the "h700" folder) to the root of your stock OS card's ROMS partition. You can delete it later to uninstall and return to stock.

IMPORTANT: In the stock OS, set the user interface theme to "old style" (default) — not "MU style 1" or "MU style 2", otherwise NextUI will not start.

MIYOO FLIP

Copy the "miyoo355" folder and "MinUI.zip" (without unzipping) to the root of the SD card. Put the SD card into the right slot (beneath the power button).
Expand All @@ -60,6 +68,11 @@ TRIMUI BRICK / BRICK PRO / SMART PRO S

Buttons with no action of their own can be assigned a pak to launch: L3/R3 on the Brick, L4/R4 on the Brick Pro, and HOME on the Brick Pro and Smart Pro S. Assign them under Settings > Assignments. Assignments only apply in the main menu, not in-game. HOME no longer acts as a second menu button.

ANBERNIC RG XX

Menu button: Quick menu
Select button: Game switcher

----------------------------------------
Quicksave & auto-resume

Expand Down Expand Up @@ -153,7 +166,7 @@ Not simple enough for you (or maybe your kids)? NextUI has a simple mode that hi
----------------------------------------
Advanced

NextUI can automatically run a user-authored shell script on boot. Just place a file named "auto.sh" in "/.userdata/<DEVICE>/". If you're on Windows, make sure your text editor uses Unix line-endings (eg. `\n`), these devices usually choke on Windows line-endings (eg. `\r\n`).
NextUI can automatically run a user-authored shell script on boot. Just place a file named "auto.sh" in "/.userdata/<PLATFORM>/" (eg. `/.userdata/h700/` or `/.userdata/tg5040/`). If you're on Windows, make sure your text editor uses Unix line-endings (eg. `\n`), these devices usually choke on Windows line-endings (eg. `\r\n`).

----------------------------------------
Thanks
Expand Down
8 changes: 7 additions & 1 deletion skeleton/BOOT/common/updater
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# NOTE: becomes .tmp_update/updater

INFO=`cat /proc/cpuinfo 2> /dev/null`
MODEL=`cat /proc/device-tree/model 2> /dev/null`
if echo "$MODEL" | grep -q "sun50iw9"; then
PLATFORM="h700" # Anbernic RG XX, Allwinner H700
fi
case $INFO in
*"sun8i"*)
if [ -d /usr/miyoo ]; then
Expand All @@ -21,7 +25,9 @@ case $INFO in
PLATFORM="tg5050" # Trimui Smart Pro S
;;
*"0xd03"*)
PLATFORM="zero28" # MagicX Mini Zero 28
if [ -z "$PLATFORM" ]; then
PLATFORM="zero28" # MagicX Mini Zero 28
fi
;;
*"0xd05"*)
PLATFORM="my355" # Miyoo Flip
Expand Down
19 changes: 19 additions & 0 deletions skeleton/EXTRAS/Emus/h700/32X.pak/default.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-picodrive_drc = enabled
-picodrive_sound_rate = 44100
-picodrive_smstype = Auto
-picodrive_smsfm = off
-picodrive_smsmapper = Auto
-picodrive_ggghost = off

bind Up = UP
bind Down = DOWN
bind Left = LEFT
bind Right = RIGHT
bind Mode = SELECT
bind Start = START
bind A Button = Y
bind B Button = X:B
bind C Button = A
bind X Button = B:L1
bind Y Button = L1:X
bind Z Button = R1
14 changes: 14 additions & 0 deletions skeleton/EXTRAS/Emus/h700/32X.pak/launch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

EMU_EXE=picodrive

###############################

EMU_TAG=$(basename "$(dirname "$0")" .pak)
ROM="$1"
mkdir -p "$BIOS_PATH/$EMU_TAG"
mkdir -p "$SAVES_PATH/$EMU_TAG"
mkdir -p "$CHEATS_PATH/$EMU_TAG"
HOME="$USERDATA_PATH"
cd "$HOME"
minarch.elf "$CORES_PATH/${EMU_EXE}_libretro.so" "$ROM" > "$LOGS_PATH/$EMU_TAG.txt" 2>&1
14 changes: 14 additions & 0 deletions skeleton/EXTRAS/Emus/h700/A2600.pak/default.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
bind Up = UP
bind Down = DOWN
bind Left = LEFT
bind Right = RIGHT
bind Select = SELECT
bind Start = START
bind X Button = X
bind Y Button = Y
bind B Button = B
bind A Button = A
bind L1 Button = L1
bind L2 Button = L2
bind R1 Button = R1
bind R2 Button = R2
15 changes: 15 additions & 0 deletions skeleton/EXTRAS/Emus/h700/A2600.pak/launch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh

EMU_EXE=stella2014
CORES_PATH=$(dirname "$0")

###############################

EMU_TAG=$(basename "$(dirname "$0")" .pak)
ROM="$1"
mkdir -p "$BIOS_PATH/$EMU_TAG"
mkdir -p "$SAVES_PATH/$EMU_TAG"
mkdir -p "$CHEATS_PATH/$EMU_TAG"
HOME="$USERDATA_PATH"
cd "$HOME"
minarch.elf "$CORES_PATH/${EMU_EXE}_libretro.so" "$ROM" > "$LOGS_PATH/$EMU_TAG.txt" 2>&1
14 changes: 14 additions & 0 deletions skeleton/EXTRAS/Emus/h700/A5200.pak/default.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
bind Up = UP
bind Down = DOWN
bind Left = LEFT
bind Right = RIGHT
bind Select = SELECT
bind Start = START
bind X Button = X
bind Y Button = Y
bind B Button = B
bind A Button = A
bind L1 Button = L1
bind L2 Button = L2
bind R1 Button = R1
bind R2 Button = R2
Loading
Loading