Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop the Egg Express #51

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions ports/stop_the_eggspress/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Notes

A simple remake of Stop the Express mashed up with Chuckie Egg graphics. Yes, it's a game based around a simple pun

Thanks to Steven Smith for releasing this game

https://stephensmith.itch.io/stop-the-eggspress


## Controls

| Button | Action |
|--|--|
|UP|Jump|
|DOWN|Down|
|LEFT|Left|
|RIGHT|Right|
|Enter|Enter|
|A|Fire|
|B|Fire|
|X|Enter|
|Y|Enter|


59 changes: 59 additions & 0 deletions ports/stop_the_eggspress/Stop The Egg Eggspress.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#!/bin/bash

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

source $controlfolder/control.txt

get_controls

GAMEDIR=/$directory/ports/stop_the_eggspress/
CONFDIR="$GAMEDIR/conf/"

# Ensure the conf directory exists
mkdir -p "$GAMEDIR/conf"

# Set the XDG environment variables for config & savefiles
export XDG_CONFIG_HOME="$CONFDIR"
export XDG_DATA_HOME="$CONFDIR"

cd $GAMEDIR

runtime="frt_3.5.2"
if [ ! -f "$controlfolder/libs/${runtime}.squashfs" ]; then
# Check for runtime if not downloaded via PM
if [ ! -f "$controlfolder/harbourmaster" ]; then
echo "This port requires the latest PortMaster to run, please go to https://portmaster.games/ for more info." > /dev/tty0
sleep 5
exit 1
fi

$ESUDO $controlfolder/harbourmaster --quiet --no-check runtime_check "${runtime}.squashfs"
fi

./text_viewer -f 24 -w -t "Stop the Egg Eggspress!" --input_file instructions.txt

# Setup Godot
godot_dir="$HOME/godot"
godot_file="$controlfolder/libs/${runtime}.squashfs"
$ESUDO mkdir -p "$godot_dir"
$ESUDO umount "$godot_file" || true
$ESUDO mount "$godot_file" "$godot_dir"
PATH="$godot_dir:$PATH"


export FRT_NO_EXIT_SHORTCUTS=FRT_NO_EXIT_SHORTCUTS

$ESUDO chmod 666 /dev/uinput
$GPTOKEYB "$runtime" -c "./stop_the_eggspress.gptk" &
SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig" "$runtime" --main-pack "stop_the_eggspress.pck"

$ESUDO umount "$godot_dir"
$ESUDO kill -9 $(pidof gptokeyb)
$ESUDO systemctl restart oga_events &
printf "\033c" > /dev/tty0
25 changes: 25 additions & 0 deletions ports/stop_the_eggspress/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 2,
"name": "stoptheeggspress.zip",
"items": [
"Stop The Egg Eggspress.sh",
"stop_the_eggspress"
],
"items_opt": [],
"attr": {
"title": "Stop The Egg Eggspress",
"porter": [
"monkeyx.net"
],
"desc": "A simple remake of Stop the Express mashed up with Chuckie Egg graphics. Yes, it's a game based around a simple pun.",
"inst": "Button Mappings for the game\n\nD Pad, Left stick and right stick for movement\n\nStart,X, and Y Button to start game\n\nA and B buttons to shoot an egg",
"genres": [
"platformer"
],
"image": null,
"rtr": true,
"exp": false,
"runtime": "frt_3.5.2.squashfs",
"reqs": []
}
}
Binary file added ports/stop_the_eggspress/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions ports/stop_the_eggspress/stop_the_eggspress/instructions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Button Mappings for the game

D Pad, Left stick and right stick for movement

Start,X, and Y Button to start game

A and B buttons to shoot an egg

To Close this dialogue.

Press B button and Down and then A Button
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
back = esc
start = enter

a = space
b = space
x = enter
y = enter

l1 = \"
l2 = \"
r1 = \"
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 = up
right_analog_down = down
right_analog_left = left
right_analog_right = right

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Hi Tim,

Yes, that's absolutely fine. I'm afraid I've never heard of the RGB30 or any of the other projects you mention, but the more options for gaming the better. (And if it's my games, so much the better! 😄)

Cheers,

Stephen


On Tue, 23 Jan 2024, 13:40 Tim wrote:

Hi Stephen,

I am a hobbyist game developer and came across some of your fab games on itch.io. I am in the process of creating some Godot games myself.

I also got an RGB30 (a small hand held linux device for Christmas) and found a project called portmaster that lets godot games run on the aarch64 device :)

I was hoping that it might be possible to include your pck files on that project so that people could try them out.

Please see post below as a request to include the game pck file on portmaster.

I'm part of a group of developers working on porting games to handheld Linux devices.
Our project is named PortMaster, and we also have an active Discord server. Recently, we've started adding various Godot games to these systems, and I'd love to include your games as well.
Although these devices have some limitations with OpenGL, games that use GLES3 and SDL generally run very smoothly. I've observed various homebrew sites simply distributing files without permission.

However, I firmly believe in reaching out to authors like you to ask for consent. It would be fantastic if you could grant us permission to include the .pck in the packages. Without your consent, users would
have to manually download the .pck files and add them themselves. Your games would undoubtedly be a superb addition to these handheld devices.

Please note, we are not looking to profit or take credit for any of the games. Our primary goal is to introduce more games to our beloved handheld devices, and we're also branching out to other ARM platforms.

Thank you for considering our request!

Best regards,
Tim
Binary file not shown.
Loading