Skip to content

Commit

Permalink
- add metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
tabreturn committed Oct 17, 2024
1 parent d295027 commit 053e60a
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 62 deletions.
46 changes: 0 additions & 46 deletions ports/iii/EXAMPLE_GM.SH

This file was deleted.

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

Thanks to [Yukon](https://yukonw.itch.io) for creating this fantastic game, which you can download free at [https://yukonw.itch.io/iii](https://yukonw.itch.io/iii)


## Controls

| Button | Action |
| ------ | ---------- |
| D-PAD | Left/right |
| UP | Interact |
| DOWN | Swap |
| A/B | Jump |
| Start | Pause/menu |
13 changes: 13 additions & 0 deletions ports/iii/gaminfo.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>./iii.sh</path>
<name>iii</name>
<desc>iii is a little "catroidvania" about a one-eyed cat leaving his comfort zone. Explore underground caverns, gain vision of other dimensions, help the inhabitants, and expand your horizons.</desc>
<releasedate>20170425T000000</releasedate>
<developer>Yukon</developer>
<publisher>Self-Published</publisher>
<genre>Adventure-Platformer</genre>
<image>./iii/screenshot.png</image>
</game>
</gameList>
24 changes: 8 additions & 16 deletions ports/iii/iii.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

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

if [ -d "/opt/system/Tools/PortMaster/" ]; then
Expand All @@ -10,18 +12,14 @@ else
controlfolder="/roms/ports/PortMaster"
fi

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

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

$ESUDO chmod 666 /dev/tty0
get_controls

GAMEDIR="/$directory/ports/iii"

export LD_LIBRARY_PATH="/usr/lib32:$GAMEDIR/libs"
export LD_LIBRARY_PATH="/usr/lib32:$GAMEDIR/libs:$LD_LIBRARY_PATH"
export GMLOADER_DEPTH_DISABLE=1
export GMLOADER_SAVEDIR="$GAMEDIR/gamedata/"
export GMLOADER_PLATFORM="os_linux"
Expand All @@ -37,18 +35,12 @@ cd $GAMEDIR
[ -f "./gamedata/game.unx" ] && mv gamedata/game.unx gamedata/game.droid

# Delete unneeded files
rm -f ./gamedata/*.dll ./gamedata/*.exe ./gamedata/*.ini

# Make sure uinput is accessible so we can make use of the gptokeyb controls
$ESUDO chmod 666 /dev/uinput
rm -f ./gamedata/*.exe

$GPTOKEYB "gmloader" -c ./iii.gptk &

$ESUDO chmod +x "$GAMEDIR/gmloader"

pm_platform_helper $GAMEDIR/gmloader
./gmloader game.apk

$ESUDO kill -9 $(pidof gptokeyb)
$ESUDO systemctl restart oga_events &
printf "\033c" > /dev/tty0

pm_finish
Binary file modified ports/iii/iii/game.apk
Binary file not shown.
Binary file modified ports/iii/iii/gamedata/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions ports/iii/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 3,
"name": "iii.zip",
"items": [
"iii.sh",
"iii"
],
"items_opt": [],
"attr": {
"title": "iii",
"porter": [
"tabreturn"
],
"desc": "iii is a little 'catroidvania' about a one-eyed cat leaving his comfort zone. Explore underground caverns, gain vision of other dimensions, help the inhabitants, and expand your horizons.",
"desc_md": null,
"inst": "Download the game (free) on itch.io (https://yukonw.itch.io/iii), extract it, and copy the game files to the port's gamedata folder.",
"inst_md": "Download the game (free) on [itch.io](https://yukonw.itch.io/iii), extract it, and copy the game files to the port's *gamedata* folder.",
"genres": [
"platformer",
"adventure"
],
"image": null,
"rtr": false,
"exp": false,
"runtime": null,
"reqs": [],
"arch": [
"armhf"
]
}
}
Binary file added ports/iii/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 053e60a

Please sign in to comment.