Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
58b1d5e
Add initial boilerplate
frysee Dec 10, 2025
0cc3464
Add tg5050 to CI builds
frysee Dec 10, 2025
bcff542
Basic UI works
frysee Dec 11, 2025
f6c375f
Drop modernize branch, we are back on main
frysee Dec 12, 2025
31eb26e
Enabled tg5040 target again
frysee Dec 12, 2025
ac6099a
Provide a fallback for symbolic ref when building on detached HEAD (e…
frysee Dec 12, 2025
a51a794
Revert make order
frysee Dec 12, 2025
b657f5a
Fix minarch build
frysee Dec 12, 2025
2ebe296
Fix FN switch/rumble motor gpios
frysee Dec 12, 2025
fa38645
Fix volume controls, display brightness
frysee Dec 12, 2025
4acda55
Fix remaining pixel format mismatches
frysee Dec 17, 2025
44edecc
Unified tg5040/5050 pixel formats
frysee Dec 17, 2025
8e03cf0
Added file manager
frysee Dec 17, 2025
760337e
Add L3/R3 to minput
frysee Dec 17, 2025
f6ce47e
Fix rumble motor activation path
frysee Dec 17, 2025
d632778
Shortened boot time a bit
frysee Dec 17, 2025
7353626
Fix Remove Loading.pak
frysee Dec 17, 2025
50ac6aa
Fix sound
frysee Dec 17, 2025
56b188f
Add back in tg5040
frysee Dec 17, 2025
42f8f80
Correct CPU frequencies and OPPs
frysee Dec 17, 2025
5548617
Fix build issue on CI
frysee Dec 17, 2025
b27aa86
Clean up settings for tg5050
frysee Dec 18, 2025
0f91294
Expose fan speed in settings
frysee Dec 18, 2025
ab50477
Add generic wifi implementation (no trimui libs this time)
frysee Dec 18, 2025
e0588ab
Fix missing fallbacks
frysee Dec 18, 2025
756a83a
Fix missing define
frysee Dec 18, 2025
0c7d7b2
Drastically improved boot time
frysee Dec 18, 2025
88aaa71
Settings startup time should be instant again
frysee Dec 18, 2025
df00660
Fix build
frysee Dec 18, 2025
5188d68
Fix suspend
frysee Dec 18, 2025
6f5f6ae
Move audiomon to common code, avoid duplication
frysee Dec 19, 2025
2e4dfed
Housekeeping, remove unused platform functions
frysee Dec 19, 2025
413e3e5
Started factoring out platform code thats not really device-specific
frysee Dec 19, 2025
311c3fa
Wifi: correctly manage dhcp
frysee Dec 19, 2025
160f405
Clean up mainui boot script a bit
frysee Dec 20, 2025
d7e1298
Fix render loop in various paks
frysee Dec 20, 2025
2342dd7
Add generic bluetooth implementation (no trimui libs this time)
frysee Dec 20, 2025
cf1aa08
Drop superfluous wifi/bt handling for off state, services are not aut…
frysee Dec 20, 2025
cddeaa5
Fix bt init and discovery
frysee Dec 22, 2025
f31aff4
Enable audiomon
frysee Dec 24, 2025
7b003b8
Add simplistic pairing agent for BT
frysee Dec 24, 2025
277293c
Fix: bluetooth connect/disconnect events being missed
frysee Dec 29, 2025
b499d9f
Feat: Designate new home button as additional Menu button (for now)
frysee Dec 29, 2025
50fc547
Fix: BT volume controls
frysee Dec 29, 2025
8870ffb
Fix: Rumble
frysee Dec 30, 2025
3b1ac62
Chore: Make the pill animation code slightly more readable (I said sl…
frysee Jan 8, 2026
e4fd554
Chore: Removed unused battery overlay code
frysee Jan 9, 2026
167dc35
Chore: Slightly more logging for Video init
frysee Jan 9, 2026
8bd2c95
Fix: Fake-08: Remove obsolete workaround
frysee Jan 9, 2026
8f7aee2
Chore: Remove unused stuff
frysee Jan 9, 2026
72b9a62
Fix: undefined behavior (overlapping memory regions)
frysee Jan 9, 2026
50729fc
Fix: double free (using font object from different threads)
frysee Jan 9, 2026
1963b92
Chore: migrate desktop platform code to use generic_video
frysee Jan 9, 2026
9f595ac
Fix: data race on battery status reporting
frysee Jan 9, 2026
74b0e3a
Fix: data race on wifi status, move to PWR context
frysee Jan 9, 2026
23f7a25
Fix: data race on condition variables that are still in use
frysee Jan 9, 2026
ea31723
Fix: thread leaks
frysee Jan 9, 2026
e7536a0
Fix: more threading issues
frysee Jan 9, 2026
c35f10b
Fix: remaining races and false-positives
frysee Jan 9, 2026
58833e7
Fix: tg5040 build
frysee Jan 9, 2026
d260751
Chore: Precreate overlays folders to avoid confusion
frysee Jan 9, 2026
ee753af
Chore: Removed irelevant special case
frysee Jan 9, 2026
21acdf3
Chore: Remove unmaintained code
frysee Jan 10, 2026
f5c7342
Chore: Compile at least one desktop core
frysee Jan 10, 2026
50ac2c4
Fix: data race in audio callback
frysee Jan 10, 2026
9763c0b
Feat: Add auto fan control daemon
frysee Jan 12, 2026
2add9b1
Feat: allow setting fixed speeds manually, hook up to msettings
frysee Jan 12, 2026
a2d5c43
Fix: attribution for GPLv2 (Knulli)
frysee Jan 12, 2026
684df69
Chore: formatting
frysee Jan 12, 2026
332fe2c
Chore: Disable cores for desktop target, no need to build them on CI …
frysee Jan 12, 2026
226714a
Fix shader reset mechanism and improve video color format handling
frysee Jan 12, 2026
fce48e5
Fix: removed misleading error message
frysee Jan 12, 2026
90bef47
Chore: Slight cleanup
frysee Jan 12, 2026
bd98045
Fix: Clean up all font resources properly
frysee Jan 12, 2026
338f1b6
Fix: skip hidden MacOS garbage when parsing folder content
frysee Jan 12, 2026
2f8e7b6
Chore: Remove unused variables
frysee Jan 13, 2026
49eb93d
Chore: Trim more unused crap out of minarch
frysee Jan 13, 2026
fdfaeea
Fix: Random game close on GBA
frysee Jan 13, 2026
412db06
Chore: A bit more cleanup, no functional changes
frysee Jan 13, 2026
2a89976
Fix: Reverted some code that was actually needed
frysee Jan 13, 2026
f4fa342
Fix: Disable fortification on newer gcc, which triggers some hard to …
frysee Jan 13, 2026
87bf8c6
Chore: Some leftovers
frysee Jan 13, 2026
2317e55
Chore: Keep the sanitizers in place for next time
frysee Jan 13, 2026
bc6bfd2
Chore: Replace printfs with LOG
frysee Jan 13, 2026
ba035b4
Fix: unbound framebuffer after swap
frysee Jan 13, 2026
b0f2789
Chore: Hide shader info in debug hud if no shader is active
frysee Jan 14, 2026
262280f
Fix: Speaker pop
frysee Jan 14, 2026
5a2f4b9
Fix: Build issue
frysee Jan 14, 2026
54faae3
Feat: Replace show.elf with something that can show flexible content
frysee Jan 14, 2026
30460ef
Fix: Desktop build
frysee Jan 14, 2026
33a1a39
Fix: Overlay hidden after scale change via shortcut
frysee Jan 14, 2026
c7145c3
Fix: Another data race on extracting games
frysee Jan 14, 2026
b337ca3
Chore: get tg5040 up to date again
frysee Jan 14, 2026
778f9d2
Chore: Reduce log spam a bit
frysee Jan 15, 2026
856b3d9
Fix: Remove explicit wifi init on tg5040, no longer needed
frysee Jan 15, 2026
6809aa5
Fix: Skip overlay load if no path given
frysee Jan 15, 2026
4239e31
Fix: Drop unused dependency
frysee Jan 15, 2026
7970c86
Fix: Properly kill backgrounded tasks
frysee Jan 15, 2026
449eca6
Chore: Cull AutoCpu steps
frysee Jan 15, 2026
a23bf26
Chore: Shader debugging
frysee Jan 15, 2026
6d558fc
Fix: Set a default text
frysee Jan 15, 2026
bcb0726
Fix: Hopefully improve shader flickering
frysee Jan 15, 2026
4373851
Chore: Refactor debug hud externs into a struct
frysee Jan 15, 2026
b37bcf6
Fix: Add missing glyphs
frysee Jan 15, 2026
0814010
Feat: Frame time tracking in debug hud
frysee Jan 15, 2026
6a90723
Feat: Uncapped fps when FFing with debug hud open
frysee Jan 15, 2026
4cc3932
Chore: Add profiler launch config (desktop)
frysee Jan 15, 2026
c4ce4bb
Chore: Add launch targets with two-core limit and gperftools
frysee Jan 15, 2026
c300417
Chore: Reduce debug hud in bench mode, render overhead taints profili…
frysee Jan 15, 2026
ef46c90
Chore: Bind L1 to tab to use as a FF button
frysee Jan 15, 2026
408e8bb
Chore: Optimize resampling code
frysee Jan 15, 2026
3b72bfd
Chore: Add tsan target for minarch debugging
frysee Jan 16, 2026
bea0c8d
Chore: A couple more desktop cores
frysee Jan 16, 2026
7ef0812
Fix: audio data race, thread leak
frysee Jan 16, 2026
2f3b131
Fix: prepareFrameThread synchronization (its not pretty)
frysee Jan 16, 2026
e90c618
Chore: ASAN desktop target
frysee Jan 16, 2026
3ea7e30
Chore: Suppress some false positives
frysee Jan 16, 2026
2cbb836
Chore: More launch target fuckery
frysee Jan 17, 2026
4413102
Feat: NEON-optimized RGB conversions (should probably just swizzle in…
frysee Jan 17, 2026
5c03606
Chore: Remove some dead code
frysee Jan 17, 2026
6bc0cf2
Fix: Crash on core sync
frysee Jan 18, 2026
b6c4324
Chore: Remove unneccesary reset function
frysee Jan 19, 2026
35a752e
Fix: Gauge background
frysee Jan 19, 2026
3dbb0d4
Fix: flickering due to overzealous property reset
frysee Jan 19, 2026
826aba5
Chore: Disable some performance logging
frysee Jan 19, 2026
310eea1
Chore: Remove references to old tearing options (no longer in use)
frysee Jan 19, 2026
aaac2f9
Fix: Actual display refresh rate of tg5050
frysee Jan 19, 2026
d34c23c
Fix: Cleaned up auto scaling code a bit, print actual cpu frequencies…
frysee Jan 20, 2026
d3e525a
Fix: desktop build
frysee Jan 21, 2026
682335e
Revert "Chore: Optimize resampling code"
frysee Jan 21, 2026
dcb2c8b
Fix: Debug HUD display issue
frysee Jan 21, 2026
ea564b4
Feat: NTP, Timezone management w/o uci
frysee Jan 21, 2026
6849f87
Feat: pin minarch to performance cores only
frysee Jan 21, 2026
96e06db
Fix: rendering issue with debug hud
frysee Jan 22, 2026
46e4b5f
Chore: Strip out benchmark mode
frysee Jan 22, 2026
f8e331f
Fix: Is the flicker fix actually a SDL Init bug and I wasted a week?
frysee Jan 22, 2026
7958b7b
Feat: Pack up overlays folders for basic structure
frysee Jan 22, 2026
c032048
Fix: Skip bluez upgrade if already there
frysee Jan 22, 2026
f500e41
Squashed commit of the following:
frysee Jan 26, 2026
336d023
Chore: Bring up my355 to latest
frysee Jan 29, 2026
3525bbb
Fix: more tools and libs
frysee Feb 1, 2026
200912f
Fix: libs
frysee Feb 2, 2026
f8a29f3
Chore: Add my355 to ci
frysee Feb 2, 2026
6f5ec4b
Merge branch 'main' into my355-latest
frysee Feb 2, 2026
fc62bf8
Chore: Merge cleanup
frysee Feb 2, 2026
9d05705
Fix: gearcoleco patch
frysee Feb 2, 2026
244c76e
Chore: speed up CI until we are ready to merge
frysee Feb 2, 2026
5154881
Fix: Revert accidential change to tg5050 patch
frysee Feb 2, 2026
9a342d1
Fix: build
frysee Feb 2, 2026
3a06080
Fix: gearcoleco
frysee Feb 2, 2026
0b50e5a
Fix: squash tools/lib deployment for initial payload install
frysee Feb 2, 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
14 changes: 14 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
- my355

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

- name: Download Cores (my355)
uses: actions/[email protected]
with:
path: workspace/my355/cores/output/
pattern: core-my355-*
merge-multiple: true

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

- name: Special
run: make special

Expand Down
71 changes: 36 additions & 35 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 my355
endif

###########################################################
Expand Down Expand Up @@ -51,11 +51,11 @@ deploy: setup $(PLATFORMS) special package
adb push ./build/BASE/MinUI.zip /mnt/SDCARD && adb shell reboot

all: setup $(PLATFORMS) special package done

shell:
make -f $(TOOLCHAIN_FILE) PLATFORM=$(PLATFORM)

name:
name:
@echo $(RELEASE_NAME)

build:
Expand All @@ -78,7 +78,7 @@ endif

system:
make -f ./workspace/$(PLATFORM)/platform/makefile.copy PLATFORM=$(PLATFORM)

# populate system
ifneq ($(PLATFORM), desktop)
cp ./workspace/$(PLATFORM)/keymon/keymon.elf ./build/SYSTEM/$(PLATFORM)/bin/
Expand Down Expand Up @@ -128,7 +128,18 @@ ifeq ($(PLATFORM), tg5050)
cp ./workspace/all/minarch/build/$(PLATFORM)/liblzma.* ./build/SYSTEM/$(PLATFORM)/lib/
cp ./workspace/all/minarch/build/$(PLATFORM)/libzstd.* ./build/SYSTEM/$(PLATFORM)/lib/
endif

ifeq ($(PLATFORM), my355)
cp ./workspace/all/bootlogo/build/$(PLATFORM)/bootlogo.elf ./build/EXTRAS/Tools/$(PLATFORM)/Bootlogo.pak/

# lib dependencies
cp ./workspace/all/minarch/build/$(PLATFORM)/libcrypto.* ./build/SYSTEM/$(PLATFORM)/lib/
cp ./workspace/all/minarch/build/$(PLATFORM)/libsamplerate.* ./build/SYSTEM/$(PLATFORM)/lib/
# This is a bandaid fix, needs to be cleaned up if/when we expand to other platforms.
cp ./workspace/all/minarch/build/$(PLATFORM)/libzip.* ./build/SYSTEM/$(PLATFORM)/lib/
cp ./workspace/all/minarch/build/$(PLATFORM)/libbz2.* ./build/SYSTEM/$(PLATFORM)/lib/
cp ./workspace/all/minarch/build/$(PLATFORM)/liblzma.* ./build/SYSTEM/$(PLATFORM)/lib/
cp ./workspace/all/minarch/build/$(PLATFORM)/libzstd.* ./build/SYSTEM/$(PLATFORM)/lib/
endif

ifeq ($(PLATFORM), desktop)
cores:
Expand All @@ -145,30 +156,21 @@ cores: # TODO: can't assume every platform will have the same stock cores (platf
cp ./workspace/$(PLATFORM)/cores/output/picodrive_libretro.so ./build/SYSTEM/$(PLATFORM)/cores
cp ./workspace/$(PLATFORM)/cores/output/snes9x_libretro.so ./build/SYSTEM/$(PLATFORM)/cores
cp ./workspace/$(PLATFORM)/cores/output/pcsx_rearmed_libretro.so ./build/SYSTEM/$(PLATFORM)/cores

# extras
cp ./workspace/$(PLATFORM)/cores/output/a5200_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/A5200.pak
cp ./workspace/$(PLATFORM)/cores/output/prosystem_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/A7800.pak
cp ./workspace/$(PLATFORM)/cores/output/stella2014_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/A2600.pak
cp ./workspace/$(PLATFORM)/cores/output/handy_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/LYNX.pak
ifeq ($(PLATFORM), trimuismart)
cp ./workspace/miyoomini/cores/output/fake08_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/P8.pak
else ifeq ($(PLATFORM), m17)
cp ./workspace/miyoomini/cores/output/fake08_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/P8.pak
else ifneq ($(PLATFORM),gkdpixel)
cp ./workspace/$(PLATFORM)/cores/output/fake08_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/P8.pak
endif
cp ./workspace/$(PLATFORM)/cores/output/mgba_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/MGBA.pak
cp ./workspace/$(PLATFORM)/cores/output/mgba_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/SGB.pak
cp ./workspace/$(PLATFORM)/cores/output/mednafen_pce_fast_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/PCE.pak
cp ./workspace/$(PLATFORM)/cores/output/pokemini_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/PKM.pak
cp ./workspace/$(PLATFORM)/cores/output/race_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/NGP.pak
cp ./workspace/$(PLATFORM)/cores/output/race_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/NGPC.pak
cp ./workspace/$(PLATFORM)/cores/output/fbneo_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/FBN.pak
ifneq ($(PLATFORM),gkdpixel)
cp ./workspace/$(PLATFORM)/cores/output/mednafen_supafaust_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/SUPA.pak
cp ./workspace/$(PLATFORM)/cores/output/mednafen_vb_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/VB.pak
endif
cp ./workspace/$(PLATFORM)/cores/output/cap32_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/CPC.pak
cp ./workspace/$(PLATFORM)/cores/output/puae2021_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/PUAE.pak
cp ./workspace/$(PLATFORM)/cores/output/prboom_libretro.so ./build/EXTRAS/Emus/$(PLATFORM)/PRBOOM.pak
Expand All @@ -182,7 +184,7 @@ endif
endif

common: build system cores

clean:
rm -rf ./build
make clean -f $(TOOLCHAIN_FILE) PLATFORM=$(PLATFORM) COMPILE_CORES=$(COMPILE_CORES)
Expand All @@ -191,43 +193,43 @@ setup: name
# ----------------------------------------------------
# make sure we're running in an input device
tty -s || echo "No tty detected"

# ready fresh build
rm -rf ./build
mkdir -p ./releases
cp -R ./skeleton ./build

# remove authoring detritus
cd ./build && find . -type f -name '.keep' -delete
cd ./build && find . -type f -name '*.meta' -delete
echo $(BUILD_HASH) > ./workspace/hash.txt

# copy readmes to workspace so we can use Linux fmt instead of host's
mkdir -p ./workspace/readmes
cp ./skeleton/BASE/README.txt ./workspace/readmes/BASE-in.txt
cp ./skeleton/EXTRAS/README.txt ./workspace/readmes/EXTRAS-in.txt

done:
# say "done" 2>/dev/null || true

special:
# setup miyoomini/trimui/magicx family .tmp_update in BOOT
mv ./build/BOOT/common ./build/BOOT/.tmp_update
# mv ./build/BOOT/miyoo ./build/BASE/
mv ./build/BOOT/miyoo ./build/BASE/
mv ./build/BOOT/trimui ./build/BASE/
# mv ./build/BOOT/magicx ./build/BASE/
# cp -R ./build/BOOT/.tmp_update ./build/BASE/miyoo/app/
cp -R ./build/BOOT/.tmp_update ./build/BASE/miyoo/app/
cp -R ./build/BOOT/.tmp_update ./build/BASE/trimui/app/
# cp -R ./build/BOOT/.tmp_update ./build/BASE/magicx/
# cp -R ./build/BASE/miyoo ./build/BASE/miyoo354
# cp -R ./build/BASE/miyoo ./build/BASE/miyoo355
#ifneq (,$(findstring my355, $(PLATFORMS)))
# cp -R ./workspace/my355/init ./build/BASE/miyoo355/app/my355
# cp -r ./workspace/my355/other/squashfs/output/* ./build/BASE/miyoo355/app/my355/payload/
#endif
cp -R ./build/BASE/miyoo ./build/BASE/miyoo355
ifneq (,$(findstring my355, $(PLATFORMS)))
cp -R ./workspace/my355/init ./build/BASE/miyoo355/app/my355
cp -r ./workspace/my355/other/squashfs/output/* ./build/BASE/miyoo355/app/my355/payload/
endif

tidy:
rm -f releases/$(RELEASE_NAME)-base.zip
rm -f releases/$(RELEASE_NAME)-base.zip
rm -f releases/$(RELEASE_NAME)-extras.zip
rm -f releases/$(RELEASE_NAME)-all.zip
# ----------------------------------------------------
Expand All @@ -240,20 +242,20 @@ tidy:
package: tidy
# ----------------------------------------------------
# zip up build

# move formatted readmes from workspace to build
cp ./workspace/readmes/BASE-out.txt ./build/BASE/README.txt
cp ./workspace/readmes/EXTRAS-out.txt ./build/EXTRAS/README.txt
rm -rf ./workspace/readmes

cd ./build/SYSTEM && echo "$(RELEASE_NAME)\n$(BUILD_HASH)" > version.txt
./commits.sh > ./build/SYSTEM/commits.txt
cd ./build && find . -type f -name '.DS_Store' -delete
mkdir -p ./build/PAYLOAD
mv ./build/SYSTEM ./build/PAYLOAD/.system
cp -R ./build/BOOT/.tmp_update ./build/PAYLOAD/
cp -R ./build/EXTRAS/Tools ./build/PAYLOAD/

cd ./build/PAYLOAD && zip -r MinUI.zip .system .tmp_update Tools
mv ./build/PAYLOAD/MinUI.zip ./build/BASE

Expand All @@ -269,20 +271,19 @@ package: tidy
# Move renamed .pakz files into base folder
mkdir -p ./build/BASE
mv $(VENDOR_DEST)/* ./build/BASE/

# 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 miyoo miyoo355 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

# compound zip (brew install libzip needed)
# compound zip (brew install libzip needed)
cd ./releases && zipmerge $(RELEASE_NAME)-all.zip $(RELEASE_NAME)-base.zip && zipmerge $(RELEASE_NAME)-all.zip $(RELEASE_NAME)-extras.zip

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

.DEFAULT:
# ----------------------------------------------------
# $@
@echo "$(PLATFORMS)" | grep -q "\b$@\b" && (make common PLATFORM=$@) || (exit 1)

2 changes: 1 addition & 1 deletion skeleton/BOOT/common/updater
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [ -z "$PLATFORM" ] && [ -f /usr/trimui/bin/runtrimui.sh ]; then
PLATFORM="tg5040"
fi

/mnt/SDCARD/.tmp_update/$PLATFORM.sh # &> /mnt/SDCARD/boot.txt
/mnt/SDCARD/.tmp_update/$PLATFORM.sh &> /mnt/SDCARD/boot.txt

# force shutdown so nothing can modify the SD card
echo s > /proc/sysrq-trigger
Expand Down
16 changes: 16 additions & 0 deletions skeleton/BOOT/miyoo/app/MainUI
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh

cd $(dirname "$0")

INFO=`cat /proc/cpuinfo 2> /dev/null`
case $INFO in
*"0xd05"*)
./my355.sh
;;
*"sun8i"*)
./my282.sh
;;
*"SStar"*)
./miyoomini.sh
;;
esac
3 changes: 3 additions & 0 deletions skeleton/BOOT/miyoo/app/keymon
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exit 0
26 changes: 26 additions & 0 deletions skeleton/BOOT/miyoo/app/my355.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/sh

cd $(dirname "$0")

SDCARD_PATH=/mnt/SDCARD
MIYOO_DIR=miyoo355

if [ ! -f /usr/miyoo/bin/runmiyoo-original.sh ]; then
if [ -d $SDCARD_PATH/.tmp_update/ ]; then
rm -rf $SDCARD_PATH/.tmp_update/
fi
my355/init.sh
fi

export PATH=/usr/miyoo/bin:/usr/miyoo/sbin:/usr/bin:/usr/sbin:/bin:/sbin
export LD_LIBRARY_PATH=/usr/miyoo/lib:/usr/lib:/lib


# .tmp_update/updater does the actual installation (and later, updating)
cp -rf .tmp_update $SDCARD_PATH/
rm -rf "$SDCARD_PATH/$MIYOO_DIR"
sync
$SDCARD_PATH/.tmp_update/updater

# under no circumstances should stock be allowed to touch this card
poweroff
15 changes: 15 additions & 0 deletions skeleton/EXTRAS/Emus/my355/FBN.pak/default.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-fbneo-vertical-mode = disabled
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
14 changes: 14 additions & 0 deletions skeleton/EXTRAS/Emus/my355/FBN.pak/launch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

EMU_EXE=fbneo
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"
18 changes: 18 additions & 0 deletions skeleton/EXTRAS/Emus/my355/GG.pak/default.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-picodrive_smstype = Game Gear
-picodrive_smsmapper = Auto
-picodrive_sound_rate = 44100
-picodrive_ramcart = disabled
-picodrive_dacnoise = disabled
-picodrive_input1 = 3 button pad
-picodrive_input2 = 3 button pad
-picodrive_fm_filter = off
-picodrive_audio_filter = disabled
-picodrive_overclk68k = disabled

bind Up = UP
bind Down = DOWN
bind Left = LEFT
bind Right = RIGHT
bind Button 1 = B
bind Button 2 = A
bind Pause = START
13 changes: 13 additions & 0 deletions skeleton/EXTRAS/Emus/my355/GG.pak/launch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/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"
HOME="$USERDATA_PATH"
cd "$HOME"
minarch.elf "$CORES_PATH/${EMU_EXE}_libretro.so" "$ROM" > "$LOGS_PATH/$EMU_TAG.txt" 2>&1
18 changes: 18 additions & 0 deletions skeleton/EXTRAS/Emus/my355/MGBA.pak/default.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
mgba_skip_bios = ON

bind Up = UP
bind Down = DOWN
bind Left = LEFT
bind Right = RIGHT
bind Select = SELECT
bind Start = START
bind A Button = A
bind B Button = B
bind A Turbo = NONE:X
bind B Turbo = NONE:Y
bind L Button = L1
bind R Button = R1
bind L Turbo = NONE:L2
bind R Turbo = NONE:R2
bind More Sun = NONE:L3
bind Less Sun = NONE:R3
14 changes: 14 additions & 0 deletions skeleton/EXTRAS/Emus/my355/MGBA.pak/launch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

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

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

EMU_TAG=$(basename "$(dirname "$0")" .pak)
ROM="$1"
mkdir -p "$BIOS_PATH/$EMU_TAG"
mkdir -p "$SAVES_PATH/$EMU_TAG"
HOME="$USERDATA_PATH"
cd "$HOME"
minarch.elf "$CORES_PATH/${EMU_EXE}_libretro.so" "$ROM" > "$LOGS_PATH/$EMU_TAG.txt" 2>&1
Loading
Loading