Skip to content

Commit

Permalink
Merge pull request #777 from Cebion/bloboats
Browse files Browse the repository at this point in the history
New Port: Bloboats
  • Loading branch information
kloptops authored Oct 13, 2024
2 parents d65b231 + f17d900 commit ed68af6
Show file tree
Hide file tree
Showing 134 changed files with 6,540 additions and 0 deletions.
46 changes: 46 additions & 0 deletions ports/bloboats/Bloboats.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/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

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

get_controls

GAMEDIR=/$directory/ports/bloboats
CONFDIR="$GAMEDIR/conf/"
BINARY=bloboats

> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1

mkdir -p "$GAMEDIR/conf"

export LD_LIBRARY_PATH="$GAMEDIR/libs.${DEVICE_ARCH}:$LD_LIBRARY_PATH"
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"
export XDG_DATA_HOME="$CONFDIR"
export TEXTINPUTINTERACTIVE="Y"

cd $GAMEDIR

if [ -f "${controlfolder}/libgl_${CFW_NAME}.txt" ]; then
source "${controlfolder}/libgl_${CFW_NAME}.txt"
else
source "${controlfolder}/libgl_default.txt"
fi

$GPTOKEYB "$BINARY" -c ./$BINARY.gptk &
pm_platform_helper $GAMEDIR/$BINARY
./$BINARY -f --resolution=${DISPLAY_WIDTH}x${DISPLAY_HEIGHT}

pm_finish
22 changes: 22 additions & 0 deletions ports/bloboats/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Notes
Thanks to [Gonéri Le Bouder & Contributors](http://bloboats.dy.fi/about.php) for making this awesome game!

## Controls

| Button | Action |
|--|--|
|DPAD| Steer Board|
|A| Thrust|
|B| Reverse Thrust|
|Y| Jump|
|X| Turn Around|
|L1/R1 | Zoom in/out|
|L2| Pause|

## Compile

```shell
git clone https://github.com/Cebion/bloboats_pm
cd bloboats_pm
make
```s
Binary file added ports/bloboats/bloboats/bloboats
Binary file not shown.
2 changes: 2 additions & 0 deletions ports/bloboats/bloboats/bloboats.dirs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
datadir ./data
privatedir ./conf
34 changes: 34 additions & 0 deletions ports/bloboats/bloboats/bloboats.gptk
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
back = esc
start = enter

a = t
b = r
x = space
y = c

l1 = r
l2 = p
r1 = f
r2 = \"

up = up
down = down
left = left
right = right

left_analog_up = up
left_analog_down = down
left_analog_left = left
left_analog_right = right

right_analog_up = \"
right_analog_down = \"
right_analog_left = \"
right_analog_right = \"

deadzone_mode = scaled_radial
deadzone = 2000
deadzone_scale = 8
deadzone_delay = 16
mouse_scale = 512
mouse_delay = 16
21 changes: 21 additions & 0 deletions ports/bloboats/bloboats/conf/config.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
resolution 41943520
decoration 2
currentplayer 0
showghost 1
sounds 1
key 116
key 114
key 276
key 275
key 99
key 32
key 102
key 114
key 112
zoomlevel 1.000000
newtimes 0
music 0
musicvol 6
soundvol 10
fullscreen 0
fps 0
1 change: 1 addition & 0 deletions ports/bloboats/bloboats/conf/ghost/ghost.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This directory will contain a record for the best time of every level.
Binary file added ports/bloboats/bloboats/conf/ghost/meri2.brc
Binary file not shown.
198 changes: 198 additions & 0 deletions ports/bloboats/bloboats/conf/levels.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
TUTORIAL_1
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
TUTORIAL_2
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
EASY_GOING
CE 12.535000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
PARTS_OF_LAND
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
TENTACLE_BATH
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
LITTLE_SHALLOW
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
BIG_RACE
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
LOW-FLYING
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
MULTI_BUMP
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
MOCCASIN
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
BEFORE_THREE
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
SMOIDWORLD
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
TWO_PATHS
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
IRON_CAVE
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
TWIST
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
DOUBLE_JUMP
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
TENTACLE_BASE
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
HV-ARENA
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
NONE 599.000000
Binary file added ports/bloboats/bloboats/conf/records/last.brc
Binary file not shown.
1 change: 1 addition & 0 deletions ports/bloboats/bloboats/conf/records/records.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This directory will contain records saved in the game.
Loading

0 comments on commit ed68af6

Please sign in to comment.