Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
459 commits
Select commit Hold shift + click to select a range
dfa5cef
Update README to clarify application purpose
saildot4k Apr 1, 2026
41b8832
Update README to remove supported targets section
saildot4k Apr 2, 2026
d0ffec8
add save ability to 3 scenes that were missing it.
saildot4k Apr 3, 2026
6044aad
save disables if revert config before saving scenes fixed last commit
saildot4k Apr 3, 2026
8aee629
fix fps drop when navigating or changing values
saildot4k Apr 3, 2026
77ee0e0
fix fps for a few scenes due to compute difference for if save would …
saildot4k Apr 3, 2026
38d0649
fix save button logic for OSDMenu cdrom options
saildot4k Apr 3, 2026
d5ca134
still trying to fix start button behavior to hide if revert before save
saildot4k Apr 3, 2026
f13b29c
attempt to fix arg scenes for save button reverting
saildot4k Apr 3, 2026
2c2a17c
fix disable showing results without needing to save
saildot4k Apr 3, 2026
7073679
fix disabling in osdmenu mbr paths
saildot4k Apr 3, 2026
7481494
FreeBoots have paths 1 screen earlier
saildot4k Apr 3, 2026
6a0fb05
in freeboots allow to move entries
saildot4k Apr 3, 2026
3ef4bb8
Merge pull request #13 from saildot4k/simplify-freeboot
saildot4k Apr 3, 2026
c631e00
add osd/hosd menu separators, disabling paths disables parent
saildot4k Apr 3, 2026
6401a92
enabling parent item re-enables all paths behind it
saildot4k Apr 3, 2026
15831db
Hide OSD/HOSD separator $!
saildot4k Apr 3, 2026
2dba03e
insert or edit separator goes to keyboard
saildot4k Apr 3, 2026
4864367
no extra trianlge press on parent to reenable when paths are disabled.
saildot4k Apr 3, 2026
9da5daa
if parent is disabled, child looks disabled and cannot be enabled til…
saildot4k Apr 3, 2026
7aad07c
add udpfs custom nhddl args
saildot4k Apr 3, 2026
f01f449
unify if parent is disabled, cannot disable children
saildot4k Apr 3, 2026
a08f302
fixx free*boots re-enabling child path
saildot4k Apr 4, 2026
5004bbe
trying to fix parent/child enable/disable model
saildot4k Apr 4, 2026
8b5f656
OSD/HOSD/MBR save usb path prefix as usb:/
saildot4k Apr 4, 2026
01004c2
OSDs save mx4sio as mx4sio:/ now instead of massX:/
saildot4k Apr 4, 2026
ae73a05
Merge pull request #14 from saildot4k/disabled-state-parent-tuning
saildot4k Apr 4, 2026
27215fd
refactor and harden save if iop reboot is required
saildot4k Apr 4, 2026
27e708c
fix save state regressions
saildot4k Apr 4, 2026
3025495
fix fps drop causing toggling or navigating to be slow
saildot4k Apr 4, 2026
ff43b0e
Fix save after MMCE/MX4SIO browse switches by restoring target device…
saildot4k Apr 4, 2026
37f47f8
scrollbars test
saildot4k Apr 4, 2026
ab127c2
add scroll bar 1px perimeter
saildot4k Apr 4, 2026
84d9ec8
Merge pull request #15 from saildot4k/scrollbars
saildot4k Apr 4, 2026
85fcf56
first test to fix hdd paths
saildot4k Apr 4, 2026
92f0217
Merge pull request #16 from saildot4k/fix-hdd-paths
saildot4k Apr 4, 2026
70717d6
manual entry populate with existing
saildot4k Apr 5, 2026
8a98b83
remember prior selected position
saildot4k Apr 5, 2026
4667be0
Merge pull request #17 from saildot4k/fix-manual-entry-populate-with-…
saildot4k Apr 5, 2026
d649ecd
attempt to fix hdd paths for self config
saildot4k Apr 6, 2026
02c92dc
if ran from hdd mount relative path
saildot4k Apr 6, 2026
c50d577
mount device if needed for reading self config on boot
saildot4k Apr 6, 2026
5f5dcc0
Merge pull request #18 from saildot4k/fix-hdd-self-config-path
saildot4k Apr 6, 2026
567af98
set hacked osdsys visual limits, add missing keyboard char
saildot4k Apr 6, 2026
7c9d713
fix eGSM remove, add glyphs support
saildot4k Apr 6, 2026
e7398df
fix glyphs showing bel tall rectangle, fix glyphs overflow with scrol…
saildot4k Apr 6, 2026
9ea67f3
remove glyph header, l1 r1 have acceleration
saildot4k Apr 6, 2026
99728cb
attempt glyph graphics
saildot4k Apr 6, 2026
8afd981
upload the rest of the bootrom glyphs
saildot4k Apr 6, 2026
1d6ddc7
glyph column organization
saildot4k Apr 6, 2026
b5c4d38
fix glyph overlay fps drop
saildot4k Apr 6, 2026
8fcd250
make glyphs 3 pages
saildot4k Apr 6, 2026
41a3b1f
Glyphs overlay size consistent
saildot4k Apr 6, 2026
8c368dc
glyph overlay stays open till cancel
saildot4k Apr 6, 2026
e0c68f4
Update text_input.lua
saildot4k Apr 7, 2026
91899b6
manual BEL choice for glyphs
saildot4k Apr 7, 2026
a727b8b
add glyph page 2 footer
saildot4k Apr 7, 2026
7d66859
glyph footer for colors
saildot4k Apr 7, 2026
ab1f9e1
make osdgsm and -gsm scenes consistent
saildot4k Apr 7, 2026
a7e0a8a
simplify freeboot config picker
saildot4k Apr 7, 2026
e3a9e6c
Add OSDGSM to HOSDMenu
saildot4k Apr 7, 2026
279ae0d
fix glyph overlay colums
saildot4k Apr 7, 2026
8b216a7
Merge pull request #19 from saildot4k/glyph-graphics
saildot4k Apr 7, 2026
0757c0e
Major refactor with regressions fixes
saildot4k Apr 7, 2026
2b41075
Fix glyphs page swapping, ticker, clamps on hacked osdsys and
saildot4k Apr 7, 2026
ea8a5ad
fix glyphs overlay to be consistent between pages
saildot4k Apr 7, 2026
2283be5
fix child scenes from being offset down 8 pixels
saildot4k Apr 7, 2026
2cf9f72
fix loading Free*Boot config file 2x
saildot4k Apr 7, 2026
964a092
glyphs overlay span 3 button slots
saildot4k Apr 7, 2026
897ad2f
glyphs overlay max horizontal cap to cancel button
saildot4k Apr 7, 2026
2602ddd
sample fps during more stable environment for pad accel
saildot4k Apr 7, 2026
df98dbd
add transition animations
saildot4k Apr 7, 2026
4c7bff5
add transitions to scene change
saildot4k Apr 7, 2026
51f1b35
tune animations more to desired effect
saildot4k Apr 7, 2026
87de850
transitions do not blank screen first
saildot4k Apr 7, 2026
c750a58
get rid of all transition blanks
saildot4k Apr 7, 2026
95dfbcc
do not transition logos
saildot4k Apr 7, 2026
593b0ba
more transition work
saildot4k Apr 8, 2026
5c7f06d
clamp transitions to 60 frames
saildot4k Apr 8, 2026
532433a
fix button tint hiding buttons
saildot4k Apr 8, 2026
c49131e
make logo stay on transition, remove fade
saildot4k Apr 8, 2026
352aa27
reverse zoom and try to fix cross dissolve end effect
saildot4k Apr 8, 2026
5795848
zoom in starts at 0.40
saildot4k Apr 8, 2026
6b7fb80
do not skip frr*boot device select going backwards
saildot4k Apr 8, 2026
17826e3
show BEL in text input
saildot4k Apr 8, 2026
ba5d4b2
glyph translations, glyph select button, better keyboard nav
saildot4k Apr 8, 2026
01ccda3
fix crash with adding select button for glyphs
saildot4k Apr 8, 2026
d0592b0
more natural keyboard wrap, wider spacebar
saildot4k Apr 8, 2026
7792a8f
fix glyphs overlay animation
saildot4k Apr 8, 2026
b681701
support keyboard cursor wraparound
saildot4k Apr 8, 2026
ca0221d
add logo animations
saildot4k Apr 8, 2026
b1287c1
try to fix joysticks to work
saildot4k Apr 8, 2026
1f55d72
joystick debug added
saildot4k Apr 8, 2026
88a7815
request joystick analog mode
saildot4k Apr 8, 2026
b4de420
compile with usleep instead of delaythread
saildot4k Apr 8, 2026
169a489
fix left stick pseudo 3d rotation
saildot4k Apr 8, 2026
4650e28
fix analog mode forced regression
saildot4k Apr 8, 2026
afa0cb1
fix atan lua math helper
saildot4k Apr 8, 2026
689fe3d
rotate around logo like an orbit
saildot4k Apr 8, 2026
f0a5837
decouple yaw and pitch for logo rotation
saildot4k Apr 8, 2026
5470646
respect left joystick plus/minus sign
saildot4k Apr 8, 2026
93adedd
move to quad based 3d perspective for logos
saildot4k Apr 8, 2026
01bd51b
recalculate center of logo during rotation
saildot4k Apr 8, 2026
d3ebd8c
removed left stick squash causing wierd distortions
saildot4k Apr 8, 2026
053eb75
change right stick behavior to move logo offset from radius origin
saildot4k Apr 8, 2026
6f1ba7a
logo rotate around orbit feel
saildot4k Apr 8, 2026
37d87f5
fix orbit feel
saildot4k Apr 8, 2026
2b34c5c
still working on orbit feel
saildot4k Apr 8, 2026
e593c61
limit right stick to 50 perc radius
saildot4k Apr 8, 2026
1e8fe4e
fix pole flip when past 90deg
saildot4k Apr 8, 2026
5844e53
rendering to a subdivided mesh path
saildot4k Apr 8, 2026
b7d2267
flip logos end to end as we navigate main menu
saildot4k Apr 9, 2026
7a33ba6
reverse main page navigation flip
saildot4k Apr 9, 2026
5bedb74
add flip transitions to scenes
saildot4k Apr 9, 2026
a528c69
fine tune flip transition
saildot4k Apr 9, 2026
0da553a
fine tuning flip transition
saildot4k Apr 9, 2026
39fcbc3
still tuning flip transition
saildot4k Apr 9, 2026
739d17e
try to fix flip transition again...
saildot4k Apr 9, 2026
18a4bce
still fixing flip transitions
saildot4k Apr 9, 2026
8a68f6c
fix slide transition
saildot4k Apr 9, 2026
26ebd2c
fix config file picker regression and try to fix flip
saildot4k Apr 9, 2026
9d4ff75
flip rotation momention conservation
saildot4k Apr 9, 2026
85b92a7
will flip transition ever work?
saildot4k Apr 9, 2026
95525c5
was missing quad transform for true 3d look
saildot4k Apr 9, 2026
814d16e
transitions should not change the deeper we go into ui
saildot4k Apr 9, 2026
dbc32e8
still working on flip transition
saildot4k Apr 9, 2026
601b58c
fix flip transition reverse bounce
saildot4k Apr 9, 2026
5b11157
make transitions consistent between pages and scenes. lower case 3 pi…
saildot4k Apr 9, 2026
c443e8f
fine tuning transitions dont show opts too soon
saildot4k Apr 9, 2026
aab9fe6
move lowercase char 2 pix to right
saildot4k Apr 9, 2026
5973989
fixed scene nav forward top, back last remembered position
saildot4k Apr 9, 2026
18cc40e
attempt to segregate button scene transitions
saildot4k Apr 9, 2026
aab404b
enforce button helper text does not inherit scene transition
saildot4k Apr 9, 2026
cb6fad0
fix button helper animations
saildot4k Apr 9, 2026
29af1c6
fix button hinting causing them to disappear
saildot4k Apr 9, 2026
263fef6
keyboard controls follow other button
saildot4k Apr 9, 2026
ec0832a
fix lua crash on keyboard display
saildot4k Apr 9, 2026
f3cc4e2
fix keyboard l1 r1 select animations
saildot4k Apr 9, 2026
05ff8d6
attempt keyboard transition fix and update langs for scene transition
saildot4k Apr 9, 2026
2724fb6
still working on keyboard button transition and gettting rid of butto…
saildot4k Apr 9, 2026
19631df
fix select disappearing too soon
saildot4k Apr 9, 2026
57d35f6
still trying to dial out button pop effect
saildot4k Apr 9, 2026
190d7ea
fix button tinting regression
saildot4k Apr 9, 2026
3b974c6
refactor animations and ortholinear keyboard
saildot4k Apr 10, 2026
6627823
fix keyboard wrap idea, make spacebar 1 wider to left
saildot4k Apr 10, 2026
685e73b
anchor keyboard header and input to left of keyboard
saildot4k Apr 10, 2026
82ebbdf
fix keyboard half fps drop
saildot4k Apr 10, 2026
cf5069b
fix cross dissolve button animations
saildot4k Apr 10, 2026
1ca7a69
move pipe key to end of 3rd row
saildot4k Apr 10, 2026
22d8d6f
dont calculate keyboard realestate every frame
saildot4k Apr 10, 2026
0349010
align keyboard and kick logos out of vram
saildot4k Apr 10, 2026
835171a
first keyboard press implementation
saildot4k Apr 10, 2026
8bb9cc8
keyboard button presses with user hold now
saildot4k Apr 10, 2026
3674163
fix keyboard button press color shift
saildot4k Apr 10, 2026
0d28285
fix button tint blackout regression
saildot4k Apr 10, 2026
cb71c67
fix buttons to show
saildot4k Apr 10, 2026
9bbbeab
Update build.yml
saildot4k Apr 10, 2026
0fbb277
new approach to darkening pad input buttons
saildot4k Apr 10, 2026
479a4ee
pressed buttons shrink from center
saildot4k Apr 10, 2026
8bbd942
shared cached projective transform path
saildot4k Apr 10, 2026
ccb2e20
fix keyboard font centering
saildot4k Apr 10, 2026
921fdc1
all buttons now animate pad press
saildot4k Apr 10, 2026
c8b95d7
fix keyboard fps drop
saildot4k Apr 10, 2026
4d97495
keyboard tuning
saildot4k Apr 10, 2026
905ec81
keyboard press timing fixes
saildot4k Apr 10, 2026
bb50f4b
still trying to fix keyboard responsiveness
saildot4k Apr 10, 2026
78e7aca
trying to make keyboard responsive
saildot4k Apr 10, 2026
b919688
holding cross on keyboard scene entry doesnt trigger animation
saildot4k Apr 10, 2026
8d136d7
Revert "holding cross on keyboard scene entry doesnt trigger animation"
saildot4k Apr 10, 2026
2f42c41
gate keyboard animation if enter is held entering scene
saildot4k Apr 10, 2026
9edde9a
harden to call textinput
saildot4k Apr 10, 2026
5335ee2
ignore dpad entry while enter is held
saildot4k Apr 10, 2026
9ac9edb
can test scene transitions
saildot4k Apr 10, 2026
1da44c5
fix transition crash
saildot4k Apr 11, 2026
43d7491
reintroduce quad path for flip transitions
saildot4k Apr 11, 2026
38cd9a5
flip transition further away
saildot4k Apr 11, 2026
e22e2e6
attempt flip transition to not jump back
saildot4k Apr 11, 2026
80e9fa0
make flip look further away
saildot4k Apr 11, 2026
ecaf9fb
flip a touch further away
saildot4k Apr 11, 2026
ade8722
refactor and fix glyphs per frame draw
saildot4k Apr 11, 2026
2fc540d
dont play with the sticks
saildot4k Apr 11, 2026
01697ef
use colors
saildot4k Apr 11, 2026
9b3d89d
update text
saildot4k Apr 11, 2026
97091d4
countdown timer forgiving
saildot4k Apr 12, 2026
fd1e741
fix unselected color to follow cnf
saildot4k Apr 12, 2026
3341b1a
update ui colors with name instead of values
saildot4k Apr 12, 2026
b6c13e5
Merge remote-tracking branch 'origin/main' into fix-configure-colors-…
Apr 12, 2026
519939b
Revert "Merge remote-tracking branch 'origin/main' into fix-configure…
saildot4k Apr 12, 2026
5f1cad0
make gsm scenes consistent
saildot4k Apr 12, 2026
c08e6c2
Merge pull request #21 from saildot4k/fix-configure-colors-for-theming
saildot4k Apr 12, 2026
44c02d0
fix egsm flow editing
saildot4k Apr 12, 2026
7f9f4c6
13 per joystick deadzone
saildot4k Apr 12, 2026
5b154a6
make font changes more friendly in ui
saildot4k Apr 15, 2026
65b70f8
try to fix button grid for less truncation
saildot4k Apr 15, 2026
dadbbcf
helper text consistency, keyboard button alignment
saildot4k Apr 15, 2026
a7d1d30
fixed global font size calc init
saildot4k Apr 15, 2026
552405f
still tuning per font size changes
saildot4k Apr 15, 2026
691a218
make font sizes common not scene driven
saildot4k Apr 15, 2026
4c8d207
fix keyboard button helper cache
saildot4k Apr 15, 2026
33e6cf0
still fixing font size fixes
saildot4k Apr 15, 2026
ba4a7a3
fix keyboard shoulder button transition anim
saildot4k Apr 15, 2026
afaa5e5
fix keyboard button animations
saildot4k Apr 15, 2026
3b690f8
still fixing keyboard shoulder transition anim
saildot4k Apr 15, 2026
967902a
fix keyboard fps drop
saildot4k Apr 15, 2026
492de7c
still attempting keyboard fps drop
saildot4k Apr 16, 2026
bd2f07c
still working on fps drop in keyboard scene
saildot4k Apr 16, 2026
4eb7f3d
still fixing fps drop in keyboard view
saildot4k Apr 16, 2026
52ec723
keyboard fps fixes still
saildot4k Apr 16, 2026
16b8c7b
removing keyboard dynamic width calc
saildot4k Apr 16, 2026
b5afd0e
shoulder row alignment fix
saildot4k Apr 16, 2026
e3e7668
glyphs overlay speedup
saildot4k Apr 16, 2026
77f88ff
re-tuning actions overlay alignment
saildot4k Apr 16, 2026
5e152e2
button grid static width
saildot4k Apr 16, 2026
2a738a9
fix CWD loading font and strings
saildot4k Apr 17, 2026
9c64d3f
give circle grid spot width till overscan area
saildot4k Apr 17, 2026
5dc81e4
re-add keyboard chars when glyphs overlay is drawn
saildot4k Apr 17, 2026
fe2a97a
Merge pull request #22 from saildot4k/font-width-change-friendly
saildot4k Apr 17, 2026
25e5e7c
fix color picker for text
saildot4k Apr 17, 2026
8bfd5f6
fix key value pairs to follow color picker
saildot4k Apr 17, 2026
ef361fe
button helper and keyboard uses selected color
saildot4k Apr 17, 2026
0385dff
revert colors
saildot4k Apr 17, 2026
7ead5d0
Merge pull request #23 from saildot4k/configurator-color-picker-fix
saildot4k Apr 17, 2026
397c48d
start button uses unselected color
saildot4k Apr 17, 2026
baa2018
Merge pull request #24 from saildot4k/configurator-color-picker-fix
saildot4k Apr 17, 2026
be94130
fix wraparound
saildot4k Apr 23, 2026
532f5e1
update BBLs mmce config path and readme
saildot4k Apr 23, 2026
6442d5a
update for ps2bbl lazy loading
saildot4k May 1, 2026
82ab067
reorder device list consistently
saildot4k May 1, 2026
7541a67
reorder devices, initial support for xfrom
saildot4k May 1, 2026
a2d44d1
fix finding config from mx4sio even with massX used, fix xfrom
saildot4k May 7, 2026
82d1c47
Remove deprecated PS2BBL options
saildot4k Jun 8, 2026
12c03ec
add keyboard layout options
saildot4k Jun 8, 2026
214e50f
use 1400 versions of mcman and padman till ps2sdk is fixed
saildot4k Jun 8, 2026
581ff6a
Merge pull request #26 from saildot4k/minor-fixes
saildot4k Jun 8, 2026
0e984d5
OSD custom defaults ease of resetting
saildot4k Jun 8, 2026
d170194
remove abnt2 keyboard layout
saildot4k Jun 9, 2026
b0577fa
Merge pull request #27 from saildot4k/update-for-ps2bbl-lazy-loading
saildot4k Jun 11, 2026
3f7a205
update what is supported for osdmenu config files
saildot4k Jun 17, 2026
1ba0f55
include latest mmceman as pre-compiled
saildot4k Jun 17, 2026
2c045b0
reorder osdmenu mbr into multiple pages
saildot4k Jun 17, 2026
b59466b
reorder game id options for consistency
saildot4k Jun 17, 2026
985e131
updatue hdd0/1 ata0/1 naming for osdmenu mbr
saildot4k Jun 17, 2026
a6d6f21
add xfrom and ataN hddN choices
saildot4k Jun 20, 2026
96d091d
hide items based on model
saildot4k Jun 21, 2026
976993d
hide fhdb, osdmenu mbr and hosdmenu if romver 0220 or greater
saildot4k Jun 21, 2026
80b4b4b
select on boot forces all shown
saildot4k Jun 21, 2026
0c8e2c5
add ghosttownus in credits
saildot4k Jun 21, 2026
0d7295b
fix credits header colors and tie to header name not row
saildot4k Jun 21, 2026
3072308
Merge pull request #28 from saildot4k/hide-items-based-on-model
saildot4k Jun 21, 2026
7fa2226
Merge pull request #29 from saildot4k/osdmenu-updates2
saildot4k Jun 21, 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
39 changes: 27 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
apk add cmake

- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: recursive

Expand All @@ -29,36 +29,51 @@ jobs:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git fetch --prune --unshallow

- name: Resolve build version
run: |
if [ "${GITHUB_REF_TYPE}" = "tag" ]; then
VERSION="${GITHUB_REF_NAME#v}"
else
VERSION="$(git describe --always --dirty --tags --exclude nightly)"
VERSION="${VERSION#v}"
fi
echo "CI_VERSION=${VERSION}" >> $GITHUB_ENV

- name: Compile non-VFS version
id: make
run: |
cmake -B build
cmake -B build -DAPP_VERSION_OVERRIDE=${{ env.CI_VERSION }} -DSAS_TITLE_VERSION=${{ env.CI_VERSION }}
cmake --build build

- name: Compile VFS version
id: make-vfs
run: |
cmake -B build -DEMBED_VFS=ON -DOUTDIR=release_vfs
cmake -B build -DEMBED_VFS=ON -DOUTDIR=release_vfs -DAPP_VERSION_OVERRIDE=${{ env.CI_VERSION }} -DSAS_TITLE_VERSION=${{ env.CI_VERSION }}
cmake --build build
rm -rf build

- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
if: steps.make.outcome == 'success'
with:
name: artifacts
path: |
release/**
release_vfs/**

- name: Get git describe
run: |
echo "GIT_VERSION=$(git describe --always --dirty --tags --exclude nightly)" >> $GITHUB_ENV

- name: Build release archive
run: |
cd release_vfs
zip -r ../osdmenu-configurator-${{ env.GIT_VERSION }}.zip ./*
rm -rf package
mkdir -p package
cp release_vfs/README.md package/README.MD
cp release_vfs/r3configurator.elf package/r3configurator.elf
cp release_vfs/title.cfg package/title.cfg
cp release_vfs/icon.sys package/icon.sys
cp release_vfs/copy.icn package/copy.icn
cp release_vfs/del.icn package/del.icn
cp release_vfs/list.icn package/list.icn
cd package
zip -r ../SYS_R3CONFIGURATOR.zip README.MD r3configurator.elf title.cfg icon.sys copy.icn del.icn list.icn

- name: Create nightly release
uses: "marvinpinto/action-automatic-releases@latest"
Expand All @@ -69,7 +84,7 @@ jobs:
prerelease: true
title: "Nightly build"
files: |
osdmenu-configurator-${{ env.GIT_VERSION }}.zip
SYS_R3CONFIGURATOR.zip

- name: Create stable release
uses: "marvinpinto/action-automatic-releases@latest"
Expand All @@ -78,5 +93,5 @@ jobs:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
files: |
osdmenu-configurator-${{ env.GIT_VERSION }}.zip
SYS_R3CONFIGURATOR.zip

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
build*/
release*/
.vscode/settings.json
/.codex
*.elf
build/
thirdparty/
TODO.md
# Created by https://www.toptal.com/developers/gitignore/api/macos,windows,linux

Expand Down
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "modules/mmceman"]
path = modules/mmceman
url = https://github.com/ps2-mmce/mmceman.git
ignore = dirty
43 changes: 43 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Lua: Syntax Check",
"type": "shell",
"command": "bash",
"args": [
"${workspaceFolder}/tools/lua_syntax_check.sh"
],
"windows": {
"command": "powershell",
"args": [
"-NoProfile",
"-ExecutionPolicy",
"Bypass",
"-File",
"${workspaceFolder}/tools/lua_syntax_check.ps1"
]
},
"group": "test",
"presentation": {
"reveal": "always",
"panel": "shared",
"clear": true
},
"problemMatcher": [
{
"owner": "lua",
"fileLocation": [
"absolute"
],
"pattern": {
"regexp": "^(.*):(\\d+):\\s*(.*)$",
"file": 1,
"line": 2,
"message": 3
}
}
]
}
]
}
81 changes: 76 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ include($ENV{PS2SDK}/ps2dev.cmake)
project(osdmenu-configurator)

# Executable names
set(EE_BIN "osdmenu-configurator_unc.elf")
set(EE_BIN_PKD "osdmenu-configurator.elf")
set(EE_BIN "r3configurator_unc.elf")
set(EE_BIN_PKD "r3configurator.elf")

# Output directory
set(OUTDIR "release" CACHE STRING "Release directory")
Expand Down Expand Up @@ -58,11 +58,40 @@ if(GIT_FOUND)
ERROR_QUIET
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
execute_process(
COMMAND ${GIT_EXECUTABLE} rev-parse --short=12 HEAD
OUTPUT_VARIABLE GIT_COMMIT
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_QUIET
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
else()
set(GIT_VERSION "unknown")
set(GIT_COMMIT "unknown")
endif()

if(NOT GIT_VERSION)
set(GIT_VERSION "unknown")
endif()

if(NOT GIT_COMMIT)
set(GIT_COMMIT "unknown")
endif()

add_definitions(-DAPP_VERSION=\"${GIT_VERSION}\")
# App version shown in UI/splash:
# - defaults to git describe
# - can be overridden by CI/release jobs (e.g. 1.2.0)
set(APP_VERSION_OVERRIDE "" CACHE STRING "Optional override for displayed app version (e.g. 1.2.0)")
if(APP_VERSION_OVERRIDE STREQUAL "")
set(APP_VERSION_VALUE "${GIT_VERSION}")
else()
set(APP_VERSION_VALUE "${APP_VERSION_OVERRIDE}")
endif()
if(APP_VERSION_VALUE STREQUAL "")
set(APP_VERSION_VALUE "unknown")
endif()

add_definitions(-DAPP_VERSION=\"${APP_VERSION_VALUE}\")
add_definitions(-DLUA_USE_PS2)

if(ENABLE_DEBUG)
Expand Down Expand Up @@ -116,6 +145,28 @@ target_link_libraries(${EE_BIN}
mc
)

# SAS/title.cfg metadata configuration:
# - Version defaults to the app version shown in UI
# - Release date is generated at build time (ordinal format)
set(SAS_TITLE_VERSION "" CACHE STRING "Optional override for SAS/title.cfg Version field; defaults to app display version")
if(SAS_TITLE_VERSION STREQUAL "")
set(SAS_TITLE_VERSION_VALUE "${APP_VERSION_VALUE}")
else()
set(SAS_TITLE_VERSION_VALUE "${SAS_TITLE_VERSION}")
endif()

if(SAS_TITLE_VERSION_VALUE STREQUAL "")
set(SAS_TITLE_VERSION_VALUE "unknown")
endif()

set(SAS_TITLE_SOURCE "${CMAKE_SOURCE_DIR}/SAS/title.cfg")
set(SAS_TITLE_GENERATED "${CMAKE_CURRENT_BINARY_DIR}/generated/SAS/title.cfg")
set(SAS_TITLE_GEN_SCRIPT "${CMAKE_SOURCE_DIR}/cmake/generate_title_cfg.cmake")
set(SAS_ICON_SYS_SOURCE "${CMAKE_SOURCE_DIR}/SAS/icon.sys")
set(SAS_COPY_ICN_SOURCE "${CMAKE_SOURCE_DIR}/SAS/copy.icn")
set(SAS_DEL_ICN_SOURCE "${CMAKE_SOURCE_DIR}/SAS/del.icn")
set(SAS_LIST_ICN_SOURCE "${CMAKE_SOURCE_DIR}/SAS/list.icn")

# Strip ELF from debug symbols
# set_target_properties(${EE_BIN} PROPERTIES LINK_FLAGS "-s")

Expand All @@ -135,19 +186,39 @@ if(EMBED_VFS)
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory ${OUTDIR}/
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/README.md ${OUTDIR}/
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/r3configurator.cnf ${OUTDIR}/r3configurator.cnf
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/${EE_BIN_PKD} ${OUTDIR}/${EE_BIN_PKD}
COMMAND ${CMAKE_COMMAND} -DINPUT=${SAS_TITLE_SOURCE}
-DOUTPUT=${SAS_TITLE_GENERATED}
-DTITLE_VERSION=${SAS_TITLE_VERSION_VALUE}
-P ${SAS_TITLE_GEN_SCRIPT}
COMMAND ${CMAKE_COMMAND} -E copy ${SAS_TITLE_GENERATED} ${OUTDIR}/title.cfg
COMMAND ${CMAKE_COMMAND} -E copy ${SAS_ICON_SYS_SOURCE} ${OUTDIR}/icon.sys
COMMAND ${CMAKE_COMMAND} -E copy ${SAS_COPY_ICN_SOURCE} ${OUTDIR}/copy.icn
COMMAND ${CMAKE_COMMAND} -E copy ${SAS_DEL_ICN_SOURCE} ${OUTDIR}/del.icn
COMMAND ${CMAKE_COMMAND} -E copy ${SAS_LIST_ICN_SOURCE} ${OUTDIR}/list.icn
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMENT "Copying ELF to release directory"
COMMENT "Copying ELF and SAS assets to release directory root"
)
else()
add_custom_command(
TARGET ${EE_BIN}
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory ${OUTDIR}/
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/README.md ${OUTDIR}/
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/r3configurator.cnf ${OUTDIR}/r3configurator.cnf
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/${EE_BIN_PKD} ${OUTDIR}/${EE_BIN_PKD}
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/scripts ${OUTDIR}/scripts
COMMAND ${CMAKE_COMMAND} -DINPUT=${SAS_TITLE_SOURCE}
-DOUTPUT=${SAS_TITLE_GENERATED}
-DTITLE_VERSION=${SAS_TITLE_VERSION_VALUE}
-P ${SAS_TITLE_GEN_SCRIPT}
COMMAND ${CMAKE_COMMAND} -E copy ${SAS_TITLE_GENERATED} ${OUTDIR}/title.cfg
COMMAND ${CMAKE_COMMAND} -E copy ${SAS_ICON_SYS_SOURCE} ${OUTDIR}/icon.sys
COMMAND ${CMAKE_COMMAND} -E copy ${SAS_COPY_ICN_SOURCE} ${OUTDIR}/copy.icn
COMMAND ${CMAKE_COMMAND} -E copy ${SAS_DEL_ICN_SOURCE} ${OUTDIR}/del.icn
COMMAND ${CMAKE_COMMAND} -E copy ${SAS_LIST_ICN_SOURCE} ${OUTDIR}/list.icn
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMENT "Copying ELF and scripts to release directory"
COMMENT "Copying ELF, scripts, and SAS assets to release directory root"
)
endif()
Loading