-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #526 from JanTrueno/Maldita-Castilla
Updated Port: Maldita Castilla
- Loading branch information
Showing
25 changed files
with
539 additions
and
174 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
24 changes: 0 additions & 24 deletions
24
ports/maldita.castilla/MalditaCastilla/malditacastilla.gptk
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/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 | ||
source $controlfolder/device_info.txt | ||
|
||
export PORT_32BIT="Y" | ||
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt" | ||
get_controls | ||
|
||
GAMEDIR="/$directory/ports/malditacastilla" | ||
cd $GAMEDIR | ||
|
||
# Exports | ||
export LD_LIBRARY_PATH="/usr/lib32:$GAMEDIR/libs" | ||
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig" | ||
export GMLOADER_DEPTH_DISABLE=1 | ||
export GMLOADER_SAVEDIR="$GAMEDIR/gamedata/" | ||
export GMLOADER_PLATFORM="os_windows" | ||
|
||
# We log the execution of the script into log.txt | ||
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
|
||
$ESUDO chmod 666 /dev/uinput | ||
$GPTOKEYB "gmloader" & | ||
$ESUDO chmod +x "$GAMEDIR/gmloader" | ||
./gmloader malditacastilla.apk | ||
|
||
# Cleanup | ||
$ESUDO kill -9 $(pidof gptokeyb) | ||
$ESUDO systemctl restart oga_events & | ||
printf "\033c" > /dev/tty0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Notes | ||
|
||
Big thanks to [Locomalito](https://locomalito.com/maldita-castilla.php) for creating this awesome game and licensing it! Also thanks to Krishenriksen for doing the original port. | ||
|
||
## Controls | ||
|
||
| Button | Action | | ||
|--|--| | ||
|A|Jump| | ||
|B|Fire| | ||
|D-pad|Move| | ||
|Start|Menu| | ||
|
||
|
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<gameList> | ||
<game> | ||
<path>./Maldita Castilla.sh</path> | ||
<name>Maldita Castilla</name> | ||
<desc>An arcade action video game developed by Locomalito and released in December 2012. The gameplay is inspired by the games Shinobi and Ghost and Goblins.</desc> | ||
<releasedate>20121212T000000</releasedate> | ||
<developer>Locomalito</developer> | ||
<genre>Action</genre> | ||
<image>./malditacastilla/cover.png</image> | ||
</game> | ||
</gameList> |
Oops, something went wrong.