Skip to content

Commit 61ce22f

Browse files
authored
Add CryMP, c1-launcher and cw-launcher (#2295)
* Add C1-Launcher, cw-launcher and CryMP * Fix version for CryMP
1 parent 29b9e78 commit 61ce22f

File tree

4 files changed

+183
-0
lines changed

4 files changed

+183
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
if [[ "$SteamAppId" == "17300" ]]; then # Crysis
3+
for exe in Crysis CrysisDedicatedServer CrysisHeadlessServer EditorLauncher; do
4+
ln -sf "$PWD/c1-launcher/Crysis/Bin32/$exe.exe" "Bin32/"
5+
ln -sf "$PWD/c1-launcher/Crysis/Bin64/$exe.exe" "Bin64/"
6+
done
7+
elif [[ "$SteamAppId" == "17330" ]]; then # Crysis Warhead
8+
ln -sf "$PWD/c1-launcher/Crysis Warhead/Bin64/CrysisWarheadLauncher.exe" "Bin64/"
9+
else
10+
exit 1
11+
fi

engines/c1-launcher/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
# COPY PHASE
4+
cp -rfv assets/* "$diststart/common/dist/"

engines/c1-launcher/env.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"STEAM_APP_ID_LIST": [
3+
"17300",
4+
"17330"
5+
],
6+
"COMMON_PACKAGE": true
7+
}

metadata/packagessniper_v2.json

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10105,6 +10105,122 @@
1010510105
}
1010610106
],
1010710107
"app_id": "20530"
10108+
},
10109+
{
10110+
"game_name": "Crysis",
10111+
"download": [
10112+
{
10113+
"name": "c1-launcher-binaries",
10114+
"url": "https://github.com/ccomrade/c1-launcher/releases/download/v7/",
10115+
"file": "c1-launcher-v7-build.zip"
10116+
},
10117+
{
10118+
"name": "crymp",
10119+
"url": "https://github.com/crymp-net/crymp-client/releases/download/v23/",
10120+
"file": "crymp-client-v23-build.zip"
10121+
}
10122+
],
10123+
"choices": [
10124+
{
10125+
"name": "C1-Launcher",
10126+
"download": [
10127+
"c1-launcher-binaries",
10128+
"c1-launcher"
10129+
],
10130+
"download_config": [
10131+
{
10132+
"extract_location": "c1-launcher/",
10133+
"download_name": "c1-launcher-binaries"
10134+
}
10135+
],
10136+
"setup": {
10137+
"complete_path": "./ready",
10138+
"command": "./setup-c1-launcher.sh"
10139+
},
10140+
"command": "Crysis.exe",
10141+
"engine_name": "C1-Launcher"
10142+
},
10143+
{
10144+
"name": "CryMP (32-bit)",
10145+
"download": [
10146+
"crymp"
10147+
],
10148+
"command": "../CryMP-Client32.exe",
10149+
"notices": [
10150+
{
10151+
"key": "uses_proton"
10152+
}
10153+
],
10154+
"engine_name": "CryMP"
10155+
},
10156+
{
10157+
"name": "CryMP (64-bit)",
10158+
"download": [
10159+
"crymp"
10160+
],
10161+
"command": "../CryMP-Client64.exe",
10162+
"notices": [
10163+
{
10164+
"key": "uses_proton"
10165+
}
10166+
],
10167+
"engine_name": "CryMP"
10168+
}
10169+
],
10170+
"app_id": "17300"
10171+
},
10172+
{
10173+
"game_name": "Crysis Warhead",
10174+
"download": [
10175+
{
10176+
"name": "c1-launcher-binaries",
10177+
"url": "https://github.com/ccomrade/c1-launcher/releases/download/v7/",
10178+
"file": "c1-launcher-v7-build.zip"
10179+
}
10180+
],
10181+
"choices": [
10182+
{
10183+
"name": "C1-Launcher",
10184+
"download": [
10185+
"c1-launcher-binaries",
10186+
"c1-launcher"
10187+
],
10188+
"download_config": [
10189+
{
10190+
"extract_location": "c1-launcher/",
10191+
"download_name": "c1-launcher-binaries"
10192+
}
10193+
],
10194+
"setup": {
10195+
"complete_path": "./ready",
10196+
"command": "./setup-c1-launcher.sh"
10197+
},
10198+
"command": "CrysisWarheadLauncher.exe",
10199+
"engine_name": "C1-Launcher"
10200+
}
10201+
],
10202+
"app_id": "17330"
10203+
},
10204+
{
10205+
"game_name": "Crysis Wars",
10206+
"download": [
10207+
{
10208+
"name": "cw-launcher",
10209+
"url": "https://github.com/jedi95/cw-launcher/releases/download/v8.0/",
10210+
"file": "cw-launcher-8.0.zip"
10211+
}
10212+
],
10213+
"choices": [
10214+
{
10215+
"name": "cw-launcher",
10216+
"download": [
10217+
"cw-launcher"
10218+
],
10219+
"command": "Crysis.exe",
10220+
"engine_name": "cw-launcher"
10221+
}
10222+
],
10223+
"app_id": "17340"
1010810224
}
1010910225
],
1011010226
"engines": [
@@ -12027,6 +12143,51 @@
1202712143
}
1202812144
],
1202912145
"internal_engine_name": "dashfaction"
12146+
},
12147+
{
12148+
"engine_link": "https://github.com/ccomrade/c1-launcher",
12149+
"version": "v7",
12150+
"author": "mv",
12151+
"author_link": "https://github.com/mvoolt",
12152+
"license": "No license specified",
12153+
"license_link": "https://github.com/ccomrade/c1-launcher",
12154+
"engine_name": "C1-Launcher",
12155+
"notices": [
12156+
{
12157+
"key": "uses_proton"
12158+
}
12159+
],
12160+
"internal_engine_name": "C1-Launcher"
12161+
},
12162+
{
12163+
"engine_link": "https://github.com/jedi95/cw-launcher",
12164+
"version": "v8",
12165+
"author": "mv",
12166+
"author_link": "https://github.com/mvoolt",
12167+
"license": "No license specified",
12168+
"license_link": "https://github.com/jedi95/cw-launcher",
12169+
"engine_name": "cw-launcher",
12170+
"notices": [
12171+
{
12172+
"key": "uses_proton"
12173+
}
12174+
],
12175+
"internal_engine_name": "cw-launcher"
12176+
},
12177+
{
12178+
"engine_link": "https://github.com/crymp-net/crymp-client",
12179+
"version": "v23",
12180+
"author": "mv",
12181+
"author_link": "https://github.com/mvoolt",
12182+
"license": "No license specified",
12183+
"license_link": "https://github.com/crymp-net/crymp-client",
12184+
"engine_name": "CryMP",
12185+
"notices": [
12186+
{
12187+
"key": "uses_proton"
12188+
}
12189+
],
12190+
"internal_engine_name": "CryMP"
1203012191
}
1203112192
],
1203212193
"default_engine": {

0 commit comments

Comments
 (0)