Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into push
Browse files Browse the repository at this point in the history
  • Loading branch information
tabreturn committed Dec 17, 2024
2 parents 14bfd04 + 5873003 commit 2b8afc3
Show file tree
Hide file tree
Showing 119 changed files with 3,035 additions and 31 deletions.
7 changes: 3 additions & 4 deletions ports/alephone-marathon/Marathon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ else
fi

source $controlfolder/control.txt
source $controlfolder/device_info.txt
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"

get_controls
Expand All @@ -23,8 +22,7 @@ GAMEDIR="/$directory/ports/alephone-marathon"

cd $GAMEDIR

$ESUDO rm -rf ~/.alephone
$ESUDO ln -s $GAMEDIR/conf/.alephone ~/
bind_directories ~/.alephone $GAMEDIR/conf/.alephone

export DEVICE_ARCH="${DEVICE_ARCH:-aarch64}"

Expand All @@ -39,9 +37,10 @@ export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"

$ESUDO chmod 666 /dev/tty1
$ESUDO chmod 666 /dev/uinput

$GPTOKEYB "alephone" &
./alephone $GAMEDIR"/gamedata/Marathon"

$ESUDO kill -9 $(pidof gptokeyb)
$ESUDO systemctl restart oga_events &
printf "\033c" >> /dev/tty1
printf "\033c" >> /dev/tty1
5 changes: 2 additions & 3 deletions ports/alephone-marathon2/Marathon 2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ else
fi

source $controlfolder/control.txt
source $controlfolder/device_info.txt
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"

get_controls
Expand All @@ -23,8 +22,7 @@ GAMEDIR="/$directory/ports/alephone-marathon2"

cd $GAMEDIR

$ESUDO rm -rf ~/.alephone
$ESUDO ln -s $GAMEDIR/conf/.alephone ~/
bind_directories ~/.alephone $GAMEDIR/conf/.alephone

export DEVICE_ARCH="${DEVICE_ARCH:-aarch64}"

Expand All @@ -47,3 +45,4 @@ $ESUDO kill -9 $(pidof gptokeyb)
$ESUDO systemctl restart oga_events &
printf "\033c" >> /dev/tty1


6 changes: 2 additions & 4 deletions ports/alephone-marathoninfinity/Marathon Infinity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ else
fi

source $controlfolder/control.txt
source $controlfolder/device_info.txt
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"

get_controls
Expand All @@ -23,8 +22,7 @@ GAMEDIR="/$directory/ports/alephone-marathoninfinity"

cd $GAMEDIR

$ESUDO rm -rf ~/.alephone
$ESUDO ln -s $GAMEDIR/conf/.alephone ~/
bind_directories ~/.alephone $GAMEDIR/conf/.alephone

export DEVICE_ARCH="${DEVICE_ARCH:-aarch64}"

Expand All @@ -45,4 +43,4 @@ $GPTOKEYB "alephone" &

$ESUDO kill -9 $(pidof gptokeyb)
$ESUDO systemctl restart oga_events &
printf "\033c" >> /dev/tty1
printf "\033c" >> /dev/tty1
7 changes: 3 additions & 4 deletions ports/axiom.verge/Axiom Verge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi

source $controlfolder/control.txt
source $controlfolder/tasksetter

[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"
get_controls

GAMEDIR="/$directory/ports/axiom-verge"
Expand All @@ -32,9 +32,7 @@ $ESUDO umount "$monofile" || true
$ESUDO mount "$monofile" "$monodir"

# Setup savedir
$ESUDO rm -rf ~/.local/share/AxiomVerge
mkdir -p ~/.local/share
ln -sfv "$GAMEDIR/savedata" ~/.local/share/AxiomVerge
bind_directories ~/.local/share/AxiomVerge "$GAMEDIR/savedata"

# Remove all the dependencies in favour of system libs - e.g. the included
# newer version of FNA with patcher included
Expand Down Expand Up @@ -68,3 +66,4 @@ unset LD_LIBRARY_PATH
printf "\033c" >> /dev/tty1
printf "\033c" > /dev/tty0


6 changes: 3 additions & 3 deletions ports/chasm/Chasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi

source $controlfolder/control.txt
source $controlfolder/tasksetter

[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"
get_controls

gameassembly="Chasm.exe"
Expand All @@ -34,8 +34,7 @@ $ESUDO umount "$monofile" || true
$ESUDO mount "$monofile" "$monodir"

# Setup savedir
$ESUDO rm -rf ~/.local/share/Chasm
ln -sfv "$gamedir/savedata" ~/.local/share/Chasm
bind_directories ~/.local/share/Chasm "$gamedir/savedata"

# Remove all the dependencies in favour of system libs - e.g. the included
# newer version of FNA with patcher included
Expand All @@ -60,3 +59,4 @@ $ESUDO umount "$monodir"
# Disable console
printf "\033c" >> /dev/tty1


Binary file not shown.
Binary file added ports/deltarune/deltarune/tools/libs/libogg.so.0
Binary file not shown.
Binary file not shown.
Binary file not shown.
39 changes: 39 additions & 0 deletions ports/gravityblocks/Gravity Blocks.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/bin/bash

XDG_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share}

if [ -d "/opt/system/Tools/PortMaster/" ]; then
controlfolder="/opt/system/Tools/PortMaster"
elif [ -d "/opt/tools/PortMaster/" ]; then
controlfolder="/opt/tools/PortMaster"
elif [ -d "$XDG_DATA_HOME/PortMaster/" ]; then
controlfolder="$XDG_DATA_HOME/PortMaster"
else
controlfolder="/roms/ports/PortMaster"
fi

source $controlfolder/control.txt
export PORT_32BIT="Y"

get_controls
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"

GAMEDIR="/$directory/ports/gravityblocks"

# We log the execution of the script into log.txt
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1
$ESUDO chmod +x $GAMEDIR/gmloader

cd "$GAMEDIR"

# Exports
export LD_LIBRARY_PATH="/usr/lib32:$GAMEDIR/lib:$LD_LIBRARY_PATH"
export GMLOADER_DEPTH_DISABLE=0
export GMLOADER_PLATFORM="os_windows"

$GPTOKEYB "gmloader" -c "gravityblocks.gptk" &

pm_platform_helper "$GAMEDIR/gmloader"
./gmloader gravityblocks.port

pm_finish
15 changes: 15 additions & 0 deletions ports/gravityblocks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Notes

Thanks to Soultie for making this game and allowing us to host it. Check the game's page at [Itch](https://soultie.itch.io/gravity-blocks-ludum-dare-51)


## Controls

| Button | Action |
|--|--|
|DPAD / LEFT STICK|Movement|
|A/B|Jump|
|Start|Pause|
|Select|Quit (on pause menu)|


14 changes: 14 additions & 0 deletions ports/gravityblocks/gameinfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<gameList>
<game>
<path>./Gravity Blocks.sh</path>
<name>Gravity Blocks</name>
<desc>Arcade style game where you collect coins and don't get smashed.
Made in only 7 hours for Ludum Dare 51! It wouldn't have taken so long, but I had beer with me.</desc>
<releasedate>20221008T000000</releasedate>
<developer>Soultie</developer>
<publisher>Soultie</publisher>
<genre>Arcade</genre>
<image>./gravityblocks/screenshot.png</image>
</game>
</gameList>
Binary file added ports/gravityblocks/gravityblocks/gmloader
Binary file not shown.
30 changes: 30 additions & 0 deletions ports/gravityblocks/gravityblocks/gravityblocks.gptk
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
back = esc
start = enter

a = space
b = space
x = \"
y = \"

r1 = \"
l1 = \"
r2 = \"
l2 = \"
r3 = \"
l3 = \"


up = w
down = s
left = a
right = d

left_analog_up = w
left_analog_down = s
left_analog_left = a
left_analog_right = d

right_analog_up = \"
right_analog_down = \"
right_analog_left = \"
right_analog_right = \"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added ports/gravityblocks/gravityblocks/lib/libzip.so.4
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 2b8afc3

Please sign in to comment.