-
-
Notifications
You must be signed in to change notification settings - Fork 110
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 #1296 from JanTrueno/interstatedrifter
New Port: Interstate Drifter 1999
- Loading branch information
Showing
22 changed files
with
907 additions
and
0 deletions.
There are no files selected for viewing
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,58 @@ | ||
#!/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 | ||
export PORT_32BIT="Y" | ||
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt" | ||
get_controls | ||
|
||
GAMEDIR=/$directory/ports/interstatedrifter | ||
|
||
# Enable logging | ||
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
|
||
cd "$GAMEDIR" | ||
|
||
# Set file permissions | ||
$ESUDO chmod +x "$GAMEDIR/gmloadernext.armhf" | ||
$ESUDO chmod +x "$GAMEDIR/tools/toolscript" | ||
$ESUDO chmod +x "$GAMEDIR/tools/7zzs" | ||
dos2unix "$GAMEDIR/tools/toolscript" | ||
|
||
# Patcher config | ||
export PATCHER_FILE="$GAMEDIR/tools/toolscript" | ||
export PATCHER_GAME="$(basename "${0%.*}")" | ||
export PATCHER_TIME="1 to 2 minutes" | ||
|
||
# Exports | ||
export LD_LIBRARY_PATH="/usr/lib:/usr/lib32:/$GAMEDIR/libs.armhf:$LD_LIBRARY_PATH" | ||
export PATH="$PATH:$GAMEDIR/tools" | ||
|
||
# Check for install_completed to skip patching | ||
if [ ! -f install_completed ]; then | ||
if [ -f "$controlfolder/utils/patcher.txt" ]; then | ||
source "$controlfolder/utils/patcher.txt" | ||
else | ||
pm_message "This port requires the latest version of PortMaster." | ||
exit 1 # Exit to prevent further execution | ||
fi | ||
else | ||
pm_message "Patching process already completed. Skipping." | ||
fi | ||
|
||
$GPTOKEYB "gmloadernext.armhf" & | ||
pm_platform_helper "$GAMEDIR/gmloadernext.armhf" | ||
./gmloadernext.armhf -c gmloader.json | ||
|
||
pm_finish |
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,31 @@ | ||
## Notes | ||
|
||
Thanks to: | ||
* [Ultimo Games](https://store.steampowered.com/developer/ultimogames) for creating this awesome game and making it free. Check out the game's storepage [here](https://store.steampowered.com/app/1383770/Interstate_Drifter_1999/). | ||
* JanTrueno for porting the game. | ||
* Sacredev for suggesting Interstate Drifter 1999 | ||
|
||
## Details: | ||
| Feature | Details | | ||
|--------------------|---------| | ||
| Ready to Run | No (Free) | | ||
| Engine/Framework | Gamemaker Studio 1 | | ||
| Architectures | 32bit | | ||
| Aspect ratio | 4:3 Locked | | ||
| Rumble support | No | | ||
| Tested versions | [Steam 1.4](https://store.steampowered.com/app/1383770/Interstate_Drifter_1999/) and [Itch 1.2](https://ultimogames.itch.io/id1999) | | ||
| Controls | Native | | ||
| Joysticks required | None | | ||
| DLC | **DOES NOT WORK** | | ||
|
||
|
||
## Controls | ||
|
||
| Button | Action | | ||
|--|--| | ||
|D-pad/L-stick/Shoulders|Steering| | ||
|A|Accept| | ||
|B|Cancel| | ||
|Y|Toot/Poop/Shoot| | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<gameList> | ||
<game> | ||
<path>Interstate Drifter 1999.sh</path> | ||
<name>Interstate Drifter 1999</name> | ||
<desc>Drift between the states, collect bits, beat rivals and get a high score.</desc> | ||
<releasedate>20200916T000000</releasedate> | ||
<developer>Ultimo Games</developer> | ||
<publisher>Ultimo Games</publisher> | ||
<genre>Racing</genre> | ||
<image>./interstatedrifter/cover.png</image> | ||
</game> | ||
</gameList> |
Empty file.
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,8 @@ | ||
{ | ||
"save_dir" : "saves", | ||
"apk_path" : "interstatedrifter.port", | ||
"show_cursor" : false, | ||
"disable_controller" : false, | ||
"disable_depth" : false, | ||
"force_platform" : "os_windows" | ||
} |
Binary file not shown.
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,17 @@ | ||
# What are those? | ||
|
||
Those are native Android libraries meant to be loaded into the guest environment, | ||
and the come from a [prebuilt AOSP image provided by google](https://ci.android.com/builds/branches/aosp-main/grid). | ||
|
||
# What are these files for then? | ||
|
||
They provide a similar-to-android implementation to all of the supported libraries, | ||
allowing us to make less guesswork, and provide more accurate renditions of a lot | ||
of those functionalities, specially for libc++ where a lot of guesswork was done | ||
in the past. | ||
|
||
OpenAL, OpenGL and libc.so are provided from the host (via thunking where needed) or | ||
via reimplementations. | ||
|
||
You still need a suitable GameMaker Android title/runner. You can source those from | ||
either [freeware Android APKs](https://itch.io) or finding a [suitable runner](https://gamemaker.io/account/runtimes) for hacking. |
Binary file added
BIN
+4.39 MB
ports/interstatedrifter/interstatedrifter/lib/armeabi-v7a/libc++_shared.so
Binary file not shown.
Binary file added
BIN
+43.9 KB
ports/interstatedrifter/interstatedrifter/lib/armeabi-v7a/libcompiler_rt.so
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.64 MB
ports/interstatedrifter/interstatedrifter/libs.armhf/libcrypto.so.1.1
Binary file not shown.
Binary file not shown.
93 changes: 93 additions & 0 deletions
93
ports/interstatedrifter/interstatedrifter/licences/LICENSE.7zzs.txt
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,93 @@ | ||
7-Zip-ZSTD | ||
~~~~~ | ||
License for use and distribution | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
7-Zip Copyright (C) 1999-2021 Igor Pavlov. | ||
7-Zip-ZSTD Copyright (C) 2016-2021 Tino Reichardt. | ||
|
||
The licenses for files are: | ||
|
||
1) 7z.dll: | ||
- The "GNU LGPL version 2.1 or later" as main license for most of the code | ||
- The "GNU LGPL version 2.1 or later" with "unRAR license restriction" for some code | ||
- The "BSD 3-clause License" for some code | ||
2) All other files: the "GNU LGPL". | ||
|
||
Redistributions in binary form must reproduce related license information from this file. | ||
|
||
Note: | ||
You can use 7-Zip-ZSTD on any computer, including a computer in a commercial | ||
organization. You don't need to register or pay for 7-Zip-ZSTD. | ||
|
||
|
||
GNU LGPL information | ||
-------------------- | ||
SPDX-License-Identifier: LGPL-2.1-or-later | ||
|
||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 2.1 of the License, or (at your option) any later version. | ||
|
||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
|
||
You can receive a copy of the GNU Lesser General Public License version 2.1 from | ||
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html | ||
|
||
|
||
|
||
|
||
BSD 3-clause License | ||
-------------------- | ||
SPDX-License-Identifier: BSD-3-Clause | ||
|
||
The "BSD 3-clause License" is used for the code in 7z.dll that implements LZFSE data decompression. | ||
That code was derived from the code in the "LZFSE compression library" developed by Apple Inc, | ||
that also uses the "BSD 3-clause License": | ||
|
||
---- | ||
Copyright (c) 2015-2016, Apple Inc. 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. | ||
|
||
3. Neither the name of the copyright holder(s) nor the names of any contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 | ||
COPYRIGHT OWNER 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. | ||
---- | ||
|
||
|
||
|
||
|
||
unRAR license restriction | ||
------------------------- | ||
|
||
The decompression engine for RAR archives was developed using source | ||
code of unRAR program. | ||
All copyrights to original unRAR code are owned by Alexander Roshal. | ||
|
||
The license for original unRAR code has the following restriction: | ||
|
||
The unRAR sources cannot be used to re-create the RAR compression algorithm, | ||
which is proprietary. Distribution of modified unRAR sources in separate form | ||
or as a part of other software is permitted, provided that it is clearly | ||
stated in the documentation and source comments that the code may | ||
not be used to develop a RAR (WinRAR) compatible archiver. | ||
|
||
|
||
-- | ||
Tino Reichardt |
Oops, something went wrong.