Skip to content

Commit

Permalink
Add support for OSS-Cosmic Amnesia (#992)
Browse files Browse the repository at this point in the history
  • Loading branch information
d10sfan authored Sep 11, 2023
1 parent 744bc1c commit 4ae79a4
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 1 deletion.
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 @@ -7829,6 +7829,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 @@ -9387,6 +9407,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 @@ -9636,4 +9666,4 @@
"value": "Supports steam achivements."
}
]
}
}

0 comments on commit 4ae79a4

Please sign in to comment.