Skip to content

Commit

Permalink
New Port: Jet Set Willy
Browse files Browse the repository at this point in the history
  • Loading branch information
Cebion committed Feb 6, 2024
1 parent e24b450 commit fd9ff8a
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 0 deletions.
28 changes: 28 additions & 0 deletions ports/jetsetwilly/Jet Set Willy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash
# PORTMASTER: jetsetwilly.zip, Jet Set Willy.sh

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/jetsetwilly

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

cd $GAMEDIR

$ESUDO chmod 666 /dev/uinput
$GPTOKEYB "jetsetwilly" -c jetsetwilly.gptk &
SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig" ./jetsetwilly

$ESUDO kill -9 $(pidof gptokeyb)
$ESUDO systemctl restart oga_events &
printf "\033c" > /dev/tty0
21 changes: 21 additions & 0 deletions ports/jetsetwilly/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Notes
Thanks to Steve Clark and Matthew Smith for creating and porting this game this game

https://github.com/fawtytoo/JetSetWilly


## Controls

| Button | Action |
|--|--|
| Dpad | Move |
| A | Accept |
| B | Back |

## Compiling

```bash
git clone https://github.com/fawtytoo/JetSetWilly
modiify src/audio.c to int left[0], right[3];
make
```
Binary file added ports/jetsetwilly/jetsetwilly/jetsetwilly
Binary file not shown.
34 changes: 34 additions & 0 deletions ports/jetsetwilly/jetsetwilly/jetsetwilly.gptk
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
back = esc
start = enter

a = enter
b = space
x = m
y = tab

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 = \"
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
18 changes: 18 additions & 0 deletions ports/jetsetwilly/jetsetwilly/jetsetwilly_LICENCE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Copyright (C) 2021-2024 Steve Clark
Copyright (C) 1984 Matthew Smith (Software Projects)

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.
25 changes: 25 additions & 0 deletions ports/jetsetwilly/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 2,
"name": "jetsetwilly.zip",
"items": [
"Jet Set Willy.sh",
"jetsetwilly"
],
"items_opt": null,
"attr": {
"title": "Jet Set Willy",
"porter": [
"Cebion"
],
"desc": "Jet Set Willy is a flip-screen platform game in which the player moves the protagonist, Willy, from room to room in his mansion collecting objects. Unlike the screen-by-screen style of its prequel, the player can explore the mansion at will. Willy is controlled using only left, right and jump.",
"inst": "Ready to play",
"genres": [
"platformer"
],
"image": null,
"rtr": true,
"exp": false,
"runtime": null,
"reqs": []
}
}
Binary file added ports/jetsetwilly/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 fd9ff8a

Please sign in to comment.