Skip to content

Commit 2b4f584

Browse files
authored
Merge pull request #2497 from Slayer366/main
2 parents c0cf04e + 6f7ae1f commit 2b4f584

56 files changed

Lines changed: 2392 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ports/tecnoballz/README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## Notes
2+
Thanks to the [TLK Games Team](https://linux.tlk.fr/games/TecnoballZ/) for creating this game and making it available for free!
3+
Thanks to Cebion for the original porting work for this game.
4+
5+
Source: [Slayer366](https://github.com/Slayer366/tecnoballz-pm)
6+
7+
The above source is comprised of the following sources with various fixes:
8+
[brunonymous](https://github.com/brunonymous/tecnoballz)
9+
[dmitrysmagin](https://github.com/dmitrysmagin/tecnoballz/tree/gcw0)
10+
[JORGETECH](https://github.com/JORGETECH/tecnoballz)
11+
[retrofirmware](https://github.com/retrofirmware/tecnoballz)
12+
13+
14+
## Controls (Dual thumbsticks)
15+
16+
| Button | Action |
17+
|--|--|
18+
|D-Pad/Left analog|Move|
19+
|Right analog|Mouse|
20+
|A|Space/Make selection|
21+
|B/Select|Esc/Cancel|
22+
|L1/L2|Right mouse button|
23+
|R1/R2|Left mouse button|
24+
25+
26+
## Controls (Less than 2 sticks)
27+
28+
| Button | Action |
29+
|--|--|
30+
|D-Pad|Move|
31+
|Left analog|Mouse|
32+
|A|Space/Make selection|
33+
|B/Select|Esc/Cancel|
34+
|L1/L2|Right mouse button|
35+
|R1/R2|Left mouse button|
36+
37+
38+
## Compile
39+
40+
```shell
41+
git clone https://github.com/Slayer366/tecnoballz-pm
42+
cd tecnoballz-pm
43+
./bootstrap
44+
./configure --enable-portmaster
45+
make -j$(nproc)
46+
```

ports/tecnoballz/TecnoballZ.sh

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
#!/bin/bash
2+
3+
XDG_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share}
4+
5+
if [ -d "/opt/system/Tools/PortMaster/" ]; then
6+
controlfolder="/opt/system/Tools/PortMaster"
7+
elif [ -d "/opt/tools/PortMaster/" ]; then
8+
controlfolder="/opt/tools/PortMaster"
9+
elif [ -d "$XDG_DATA_HOME/PortMaster/" ]; then
10+
controlfolder="$XDG_DATA_HOME/PortMaster"
11+
else
12+
controlfolder="/roms/ports/PortMaster"
13+
fi
14+
15+
source $controlfolder/control.txt
16+
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"
17+
get_controls
18+
19+
GAMEDIR="/$directory/ports/tecnoballz"
20+
CONFDIR="$GAMEDIR/conf"
21+
22+
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1
23+
24+
if [ ! -f "$controlfolder/7zzs.${DEVICE_ARCH}" ]; then
25+
pm_message "this port requires the latest portmaster to run, please go to https://portmaster.games/ for more info."
26+
sleep 5
27+
exit 1
28+
fi
29+
30+
# Extract game files on 1st run
31+
if [ ! -d "$GAMEDIR/data" ]; then
32+
"$controlfolder/7zzs.${DEVICE_ARCH}" x "$GAMEDIR/gamedata.7z" -o"$GAMEDIR/"
33+
sleep 1
34+
fi
35+
36+
bind_directories ~/.config/tlk-games "$GAMEDIR/conf/tlk-games"
37+
38+
export LD_LIBRARY_PATH="$GAMEDIR/libs.${DEVICE_ARCH}:$LD_LIBRARY_PATH"
39+
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"
40+
41+
$ESUDO cp "$GAMEDIR/tecnoballz.${DEVICE_ARCH}" "$GAMEDIR/tecnoballz"
42+
43+
$ESUDO chmod +x "$GAMEDIR/tecnoballz"
44+
45+
cd $GAMEDIR
46+
47+
$GPTOKEYB "tecnoballz" -c "./tecnoballz.gptk.$ANALOG_STICKS" &
48+
pm_platform_helper "$GAMEDIR/tecnoballz"
49+
./tecnoballz
50+
51+
pm_finish

ports/tecnoballz/gameinfo.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<gameList>
3+
<game>
4+
<path>./TecnoballZ.sh</path>
5+
<name>TecnoballZ</name>
6+
<desc>This is a Breakout or Arkanoid like game with a lot of bonus stages. You can buy weapons and bonus between stages. Sometimes you have to defeat a guardian.</desc>
7+
<image>./tecnoballz/screenshot.png</image>
8+
<releasedate>19910101T000000</releasedate>
9+
<developer>TLK Games</developer>
10+
<publisher>TLK Games</publisher>
11+
<genre>Arcade</genre>
12+
</game>
13+
</gameList>

ports/tecnoballz/port.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"version": 4,
3+
"name": "tecnoballz.zip",
4+
"items": [
5+
"TecnoballZ.sh",
6+
"tecnoballz"
7+
],
8+
"items_opt": [],
9+
"attr": {
10+
"title": "TecnoballZ",
11+
"porter": [
12+
"Cebion",
13+
"Slayer366"
14+
],
15+
"desc": "This is a Breakout or Arkanoid like game with a lot of bonus stages. You can buy weapons and bonus between stages. Sometimes you have to defeat a guardian.",
16+
"desc_md": null,
17+
"inst": "Ready to play!",
18+
"inst_md": null,
19+
"genres": [
20+
"arcade"
21+
],
22+
"image": null,
23+
"rtr": true,
24+
"exp": false,
25+
"runtime": [],
26+
"store": [],
27+
"availability": "full",
28+
"reqs": [],
29+
"arch": [
30+
"aarch64",
31+
"x86_64"
32+
],
33+
"min_glibc": ""
34+
}
35+
}

ports/tecnoballz/screenshot.png

48 KB
Loading
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
(tecnoballz-config
2+
;; the following options can be set to #t or #f:
3+
(fullscreen #f)
4+
(sound #t)
5+
(verbose #f)
6+
7+
;; window size 1 (low-res) or 2 (high-res):
8+
(resolution 1)
9+
10+
;; difficulty 1 (easy), 2 (hard), 3 (madness) or 4 (suicidal)
11+
(difficulty 1)
12+
13+
;; number of lives (1 to 9)
14+
(lives 8)
15+
16+
;; number of players (1 to 6)
17+
(players 1)
18+
19+
;; players names
20+
(player1 "PORTMA")
21+
(player2 "BUBUX2")
22+
(player3 "BUBUX4")
23+
(player4 "BUBUX5")
24+
(player5 "BUBUX6")
25+
(player6 "BUBUX7")
26+
)
1.47 MB
Binary file not shown.
202 KB
Binary file not shown.
218 KB
Binary file not shown.
58.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)