Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
46 changes: 46 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,52 @@ jobs:
tag_name: ${{ steps.extract_tag.outputs.tag_name }}
files: ./projects/*.zip

build-aarch64:
runs-on: ubuntu-26.04-arm
container:
image: monkeyx/retro_builder:arm64
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.7

- name: Install required libraries
run: |
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
apt update
apt upgrade -y
apt install -y make pkgconf libsdl2-dev libasound2 libasound2-dev python3-pil librtmidi-dev unzip zip curl jq
env:
DEBIAN_FRONTEND: "noninteractive"

- name: Build AARCH64
working-directory: projects
run: |
make PLATFORM=X64
mv lgpt.x64 lgpt.aarch64

- name: Package build
working-directory: projects
run: |
TAG=$(curl "https://api.github.com/repos/djdiskmachine/lgpt-resources/tags" | jq -r '.[0].name')
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
unzip lgpt-resources.zip
mv lgpt-resources-${TAG}/*/ ./resources/packaging
rm -rf lgpt-resources*
./resources/packaging/lgpt_package.sh

- name: Extract Git tag name
id: extract_tag
run: echo "tag_name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
env:
GITHUB_REF: ${{ github.ref }}

- name: Upload build release
uses: softprops/action-gh-release@v2.4.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ steps.extract_tag.outputs.tag_name }}
files: ./projects/*.zip

build-x64:
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Recommended reading to get you started:
|-------------|---------------|--------------|------------|--------------------------------------|
| PSP | NO | NO | YES | [See notes](projects/resources/PSP/INSTALL_HOW_TO.txt) |
| DEB | YES | YES | YES | |
| AARCH64 | YES | YES | YES | |
| X64 | YES | YES | MAYBE | |
| X86 | YES | YES | YES | |
| STEAM | YES | YES | MAYBE | |
Expand Down
37 changes: 37 additions & 0 deletions projects/resources/AARCH64/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<CONFIG>
<DUMPEVENT value="YES"/>
<AUTO_LOAD_LAST value="YES"/> <!-- change to disable auto loading -->
<SCREENMULT value="2"/> <!-- increase screen size -->
<!--
<KEY_A value="key:0:x"/>
<KEY_B value="key:0:z"/>
<KEY_LSHOULDER value="key:0:a" />
<KEY_RSHOULDER value="key:0:s" />

<KEY_UP value="key:0:up" />
<KEY_DOWN value="key:0:down" />
<KEY_LEFT value="key:0:left" />
<KEY_RIGHT value="key:0:right" />

<KEY_START value="key:0:return" />
-->
<!-- Default colors below -->
<!-- Default colors below -->
<BACKGROUND value = "1D0A1F" />
<FOREGROUND value = "F5EBFF" /> <!-- Text and cursor in cursor -->
<BORDER value = "FF00DD" /> <!--Dialog Border-->
<HICOLOR1 value = "B750D1" /> <!-- Highlight color 1 -->
<HICOLOR2 value = "DB33DB" /> <!-- Highlight color 2 -->
<SONGVIEW_FE value = "A55B8F" /> <!-- Color of the chain "FE" in song screen-->
<SONGVIEW_00 value = "853B6F" /> <!-- Color of the chain "00" in song screen-->
<CURSORCOLOR value = "FF00DD" /> <!--Cursor color-->
<PLAYCOLOR value = "FF00DD" /> <!--Cursor color-->
<MUTECOLOR value = "F5EBFF" /> <!-- Text and cursor in cursor -->
<ROWCOLOR1 value = "BA28F9" /> <!--Row count color 1 -->
<ROWCOLOR2 value = "FF00FF" /> <!--Row count color 2-->
<ALTROWNUMBER value = "4"/> <!--How many rows of each ROWCOLOR-->
<ALTROWNUMBER value = "4"/>
<FONTTYPE value = '0' /> <!-- '0':original '1':digital '2':monster 'CUSTOM': load custom_font.xml-->
<COL_TITLE value = "853B6F" /> <!-- Color of the column title -->

</CONFIG>
61 changes: 61 additions & 0 deletions projects/resources/AARCH64/mapping.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!--
MAPPING FOR KEYBOARDS
belongs in location of binary
-=-=These keys might not match your controller!=-=-
enable DUMPEVENT to help with mapping
-->
<MAPPINGS>

<!--
EXAMPLE
maps the button "q" to left shoulder
maps the button "w" to right shoulder
-->
<MAP src="key:0:q" dst="/event/lshoulder" />
<MAP src="key:0:w" dst="/event/rshoulder" />

<MAP src="key:0:up" dst="/event/up" />
<MAP src="key:0:down" dst="/event/down" />
<MAP src="key:0:left" dst="/event/left" />
<MAP src="key:0:right" dst="/event/right" />

<MAP src="key:0:a" dst="/event/b" />
<MAP src="key:0:s" dst="/event/a" />
<MAP src="key:0:space" dst="/event/start" />
<!--
EXAMPLE
maps the button "8" to left shoulder
maps the button "6" to right shoulder
-->
<MAP src="but:0:8" dst="/event/rshoulder" />
<MAP src="but:0:6" dst="/event/lshoulder" />

<MAP src="but:0:0" dst="/event/up" />
<MAP src="but:0:2" dst="/event/down" />
<MAP src="but:0:3" dst="/event/left" />
<MAP src="but:0:1" dst="/event/right" />

<MAP src="but:0:0" dst="/event/a" />
<MAP src="but:0:1" dst="/event/b" />
<MAP src="but:0:4" dst="/event/start" />

<!--
Macro 1
Stop Phrase (Selected phrase cue stop)
<MAP src="but:0:3" dst="/event/rshoulder" />
<MAP src="but:0:3" dst="/event/start" />
-->
<!--
Macro 2
Queue Phrases (Current row Phrases cue play)
<MAP src="but:0:2" dst="/event/lshoulder" />
<MAP src="but:0:2" dst="/event/start" />
-->
<!--
Macro 3
Solo phrase (hold to solo, release to unsolo)
Warning: will do weirdness if combined with other buttons! Use with caution ;)
<MAP src="but:0:5" dst="/event/a" />
<MAP src="but:0:5" dst="/event/rshoulder" />
-->
</MAPPINGS>
1 change: 1 addition & 0 deletions projects/resources/packaging/lgpt_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ collect_resources() { #1PLATFORM #2lgpt.*-exe
zip -9 ../../$PACKAGE -jq $CONTENTS && cd -
}

collect_resources AARCH64 lgpt.aarch64
collect_resources PSP EBOOT.PBP
collect_resources DEB lgpt.deb-exe
collect_resources X64 lgpt.x64
Expand Down
Loading