Skip to content

Commit

Permalink
New Port: rRootage
Browse files Browse the repository at this point in the history
  • Loading branch information
Cebion committed Oct 21, 2024
1 parent 5308112 commit e7e7c42
Show file tree
Hide file tree
Showing 106 changed files with 2,507 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ports/rrootage/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Notes
Thanks to [Kenta Cho & fellow Contributors](https://github.com/abagames/rrootage) for making this awesome shmup!

## Controls

| Button | Action |
|--|--|
|DPAD| Steer|
|A| Laser / Accept|
|B| Special Weapon / Change Mode|
|Y| Pause|


## Compile

```shell
https://github.com/Cebion/rrootage_pm
cd rrootage_pm/src
make
```
13 changes: 13 additions & 0 deletions ports/rrootage/gameinfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<gameList>
<game>
<path>./rRootage.sh</path>
<name>rRootage</name>
<desc>rRootage is an arcade-style vertical shooting game, with music to match. Avoid the barrage of bullets and destroy the enemy's battle ship with your laser. rRootage has 40 levels, each playable in four different modes.</desc>
<releasedate>20030101T000000</releasedate>
<developer>Kenta Cho</developer>
<publisher>Self-Published</publisher>
<genre>Shmup</genre>
<image>./rrootage/screenshot.png</image>
</game>
</gameList>
31 changes: 31 additions & 0 deletions ports/rrootage/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 3,
"name": "rrootage.zip",
"items": [
"rRootage.sh",
"rrootage"
],
"items_opt": [],
"attr": {
"title": "rRootage",
"porter": [
"Cebion"
],
"desc": "rRootage is an arcade-style vertical shooting game, with music to match. Avoid the barrage of bullets and destroy the enemy's battle ship with your laser. rRootage has 40 levels, each playable in four different modes.",
"desc_md": null,
"inst": "Ready to run!",
"inst_md": null,
"genres": [
"action",
"arcade"
],
"image": null,
"rtr": true,
"exp": false,
"runtime": null,
"reqs": [],
"arch": [
"aarch64"
]
}
}
46 changes: 46 additions & 0 deletions ports/rrootage/rRootage.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/rrootage
CONFDIR="$GAMEDIR/conf"
BINARY=rr

> "$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 TEXTINPUTINTERACTIVE="Y"

#bind_directories ~/.local/share/trigger-rally $GAMEDIR/conf/.local/share/trigger-rally

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 -fullscreen
pm_finish
25 changes: 25 additions & 0 deletions ports/rrootage/rrootage/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
License

Copyright 2003 Kenta Cho. All rights reserved.

Redistribution and use in source and binary forms,
with or without modification, are permitted provided that
the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20 changes: 20 additions & 0 deletions ports/rrootage/rrootage/LICENSE_gl4es.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2016-2018 Sebastien Chevalier
Copyright (c) 2013-2016 Ryan Hileman

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
22 changes: 22 additions & 0 deletions ports/rrootage/rrootage/LICENSE_sdl1.2compat.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (C) 1997-2024 Sam Lantinga <slouken@libsdl.org>

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.



This project includes code from dr_mp3 ( https://github.com/mackron/dr_libs )
which can be treated as public domain or MIT-0 licensed, at your option.
Empty file.
Binary file added ports/rrootage/rrootage/gl4es.aarch64/libGL.so.1
Binary file not shown.
Binary file added ports/rrootage/rrootage/images/smoke.bmp
Binary file not shown.
Binary file added ports/rrootage/rrootage/images/star.bmp
Binary file not shown.
Binary file added ports/rrootage/rrootage/images/title.bmp
Binary file not shown.
Binary file added ports/rrootage/rrootage/libs.aarch64/libGLU.so.1
Binary file not shown.
Binary file not shown.
Binary file not shown.
57 changes: 57 additions & 0 deletions ports/rrootage/rrootage/morph/6gt.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" ?>
<!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">

<bulletml type="vertical"
xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">

<action label="top">
<wait>1</wait>
<fire>
<bullet>
<direction type="relative">0</direction>
<actionRef label="ofs">
<param>120</param>
</actionRef>
</bullet>
</fire>
<fire>
<bullet>
<direction type="relative">0</direction>
<actionRef label="ofs">
<param>0</param>
</actionRef>
</bullet>
</fire>
<fire>
<bullet>
<direction type="relative">0</direction>
<actionRef label="ofs">
<param>-120</param>
</actionRef>
</bullet>
</fire>
<vanish/>
</action>

<action label="ofs">
<changeSpeed>
<speed>3+$rank*1</speed>
<term>1</term>
</changeSpeed>
<changeDirection>
<direction type="relative">$1</direction>
<term>1</term>
</changeDirection>
<wait>2</wait>
<changeDirection>
<direction type="relative">0-$1</direction>
<term>1</term>
</changeDirection>
<changeSpeed>
<speed>1</speed>
<term>1</term>
</changeSpeed>
<wait>1</wait>
</action>

</bulletml>
35 changes: 35 additions & 0 deletions ports/rrootage/rrootage/morph/[Guwange]_round_4_boss_eye_ball.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" ?>
<!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">

<bulletml type="vertical"
xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">

<action label="top">
<repeat> <times>1+$rank*1.5</times>
<action>
<wait>50-$rank*10</wait>
<fire>
<direction type="relative">90</direction>
<bulletRef label="acc"/>
</fire>
<wait>50-$rank*10</wait>
<fire>
<direction type="relative">-90</direction>
<bulletRef label="acc"/>
</fire>
</action>
</repeat>
</action>

<bullet label="acc">
<speed>0.1</speed>
<action>
<wait>10</wait>
<changeSpeed>
<speed>0.6+$rank*0.1</speed>
<term>20</term>
</changeSpeed>
</action>
</bullet>

</bulletml>
30 changes: 30 additions & 0 deletions ports/rrootage/rrootage/morph/[ketsui]_r1_boss_bit_shot.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" ?>
<!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">

<bulletml type="vertical"
xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">

<action label="top">
<repeat><times>1+$rank*4</times>
<action>
<fire>
<direction type="relative">0</direction>
<bulletRef label="accel"/>
</fire>
<wait>12</wait>
</action>
</repeat>
</action>

<bullet label="accel">
<speed>0.1</speed>
<action>
<wait>16</wait>
<changeSpeed>
<speed>0.8</speed>
<term>60</term>
</changeSpeed>
</action>
</bullet>

</bulletml>
34 changes: 34 additions & 0 deletions ports/rrootage/rrootage/morph/[ketsui]_r4_boss_change_aim.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" ?>
<!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">

<bulletml type="vertical"
xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">

<action label="top">
<changeSpeed>
<speed>0.2</speed>
<term>10+$rank*25</term>
</changeSpeed>
<wait>10+$rank*25</wait>
<fire>
<speed>0.2</speed>
<bulletRef label="accel"/>
</fire>
<vanish/>
</action>

<bullet label="accel">
<action>
<changeDirection>
<direction>0</direction>
<term>10</term>
</changeDirection>
<wait>6</wait>
<changeSpeed>
<speed>1+$rank*0.3</speed>
<term>20</term>
</changeSpeed>
</action>
</bullet>

</bulletml>
35 changes: 35 additions & 0 deletions ports/rrootage/rrootage/morph/aim_accel_90deg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" ?>
<!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">

<bulletml type="vertical"
xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">

<action label="top">
<changeSpeed>
<speed>0.2</speed>
<term>20+$rank*16</term>
</changeSpeed>
<wait>20+$rank*16</wait>
<fire>
<direction type="relative">90</direction>
<bulletRef label="accel"/>
</fire>
<fire>
<direction>0</direction>
<bulletRef label="accel"/>
</fire>
<vanish/>
</action>

<bullet label="accel">
<speed>0.2</speed>
<action>
<changeSpeed>
<speed>1</speed>
<term>60</term>
</changeSpeed>
</action>
</bullet>


</bulletml>
Loading

0 comments on commit e7e7c42

Please sign in to comment.