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

Add support for OSS-Cosmic Amnesia #992

Merged
merged 17 commits into from
Sep 11, 2023
Merged
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
7 changes: 7 additions & 0 deletions engines/oss-cosmic-amnesia/assets/run-amnesia.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

chmod +x Amnesia

cp -rfv ./lib/libIL.so ./lib/libIL.so.1

LD_LIBRARY_PATH="lib:$LD_LIBRARY_PATH" ./Amnesia "$@"
10 changes: 10 additions & 0 deletions engines/oss-cosmic-amnesia/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# CLONE PHASE
git clone https://github.com/OSS-Cosmic/AmnesiaTheDarkDescent.git source
pushd source
git checkout -f f8f905e
popd

# COPY PHASE
cp -rfv "assets/"* "$diststart/57300/dist"
4 changes: 4 additions & 0 deletions engines/oss-cosmic-amnesia/env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

export STEAM_APP_ID_LIST="57300"
export LICENSE_PATH="./source/LICENSE"
6 changes: 6 additions & 0 deletions engines/oss-cosmic-amnesia/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"dependencies": [
"devil"
]
}
32 changes: 31 additions & 1 deletion metadata/packagessniper_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7811,6 +7811,26 @@
"engine_name": "DREAMM",
"cloudNotAvailable": true,
"app_id": "557240"
},
{
"game_name": "Amnesia: The Dark Descent",
"download": [
{
"name": "oss-cosmic-amnesia-binaries",
"url": "https://github.com/OSS-Cosmic/AmnesiaTheDarkDescent/releases/download/v1015/",
"file": "Amnesia_linux_x68_64_v1015.zip"
}
],
"download_config": [
{
"strip_prefix": "amnesia/",
"download_name": "oss-cosmic-amnesia-binaries"
}
],
"command": "./run-amnesia.sh",
"engine_name": "OSS-Cosmic Amnesia",
"cloudNotAvailable": true,
"app_id": "57300"
}
],
"engines": [
Expand Down Expand Up @@ -9354,6 +9374,16 @@
"key": "closed_source"
}
]
},
{
"engine_link": "https://github.com/OSS-Cosmic/AmnesiaTheDarkDescent",
"version": "v1015",
"author": "d10sfan",
"author_link": "https://github.com/d10sfan",
"license": "GPLv3 & Apache-2.0",
"license_link": "https://github.com/OSS-Cosmic/AmnesiaTheDarkDescent/blob/master/LICENSE",
"controllerNotSupported": true,
"engine_name": "OSS-Cosmic Amnesia"
}
],
"default_engine": {
Expand Down Expand Up @@ -9603,4 +9633,4 @@
"value": "Supports steam achivements."
}
]
}
}