Skip to content

Commit f951b15

Browse files
committed
Merge branch 'update-warzone2100' of github.com:luxtorpeda-dev/packages into update-warzone2100
2 parents 07d31e0 + 58673f9 commit f951b15

File tree

5 files changed

+264
-4
lines changed

5 files changed

+264
-4
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+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
cp -rfv ./zh104/generals.exe Generals104.exe

metadata/packagessniper_v2.json

Lines changed: 239 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8322,13 +8322,60 @@
83228322
"download": [
83238323
{
83248324
"name": "cnc-generals",
8325-
"url": "https://github.com/luxtorpeda-dev/packages/releases/download/cnc-generals-24/",
8326-
"file": "cnc-generals-common-24.tar.xz",
8325+
"url": "https://github.com/luxtorpeda-dev/packages/releases/download/cnc-generals-25/",
8326+
"file": "cnc-generals-common-25.tar.xz",
83278327
"cache_by_name": true
8328+
},
8329+
{
8330+
"name": "gentool",
8331+
"url": "https://www.gentool.net/download/",
8332+
"file": "GenTool_v8.9.zip"
8333+
},
8334+
{
8335+
"name": "controlbarhd",
8336+
"url": "https://www.gentool.net/download/controlbar/1.1/",
8337+
"file": "ControlBarHDZH_v1.1_English.zip"
8338+
},
8339+
{
8340+
"name": "zh104",
8341+
"url": "https://www.gentool.net/download/executables/",
8342+
"file": "GeneralsZH104EXE.zip"
8343+
}
8344+
],
8345+
"choices": [
8346+
{
8347+
"command": "./run-generals.sh",
8348+
"engine_name": "Fighter19 Generals Zero Hour Port",
8349+
"name": "Fighter19 Generals Zero Hour Port",
8350+
"download": [
8351+
"cnc-generals"
8352+
]
8353+
},
8354+
{
8355+
"command": "Generals104.exe",
8356+
"command_vars": {
8357+
"WINEDLLOVERRIDES": "d3d8=n,b;d3d9=n,b;"
8358+
},
8359+
"engine_name": "GenTool",
8360+
"name": "GenTool with HD Control Bar",
8361+
"download": [
8362+
"gentool",
8363+
"controlbarhd",
8364+
"zh104",
8365+
"cnc-generals"
8366+
],
8367+
"setup": {
8368+
"complete_path": "./gentool-ready",
8369+
"command": "./setup-gentool.sh"
8370+
},
8371+
"download_config": [
8372+
{
8373+
"extract_location": "./zh104",
8374+
"download_name": "zh104"
8375+
}
8376+
]
83288377
}
83298378
],
8330-
"command": "./run-generals.sh",
8331-
"engine_name": "Fighter19 Generals Zero Hour Port",
83328379
"cloudAvailable": true,
83338380
"cloudIssue": true,
83348381
"cloudIssueReason": "saves_not_compatible",
@@ -10058,6 +10105,134 @@
1005810105
}
1005910106
],
1006010107
"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+
"name": "c1-launcher",
10124+
"url": "https://github.com/luxtorpeda-dev/packages/releases/download/c1-launcher-1/",
10125+
"file": "c1-launcher-common-1.tar.xz",
10126+
"cache_by_name": true
10127+
}
10128+
],
10129+
"choices": [
10130+
{
10131+
"name": "C1-Launcher",
10132+
"download": [
10133+
"c1-launcher-binaries",
10134+
"c1-launcher"
10135+
],
10136+
"download_config": [
10137+
{
10138+
"extract_location": "c1-launcher/",
10139+
"download_name": "c1-launcher-binaries"
10140+
}
10141+
],
10142+
"setup": {
10143+
"complete_path": "./ready",
10144+
"command": "./setup-c1-launcher.sh"
10145+
},
10146+
"command": "Crysis.exe",
10147+
"engine_name": "C1-Launcher"
10148+
},
10149+
{
10150+
"name": "CryMP (32-bit)",
10151+
"download": [
10152+
"crymp"
10153+
],
10154+
"command": "../CryMP-Client32.exe",
10155+
"notices": [
10156+
{
10157+
"key": "uses_proton"
10158+
}
10159+
],
10160+
"engine_name": "CryMP"
10161+
},
10162+
{
10163+
"name": "CryMP (64-bit)",
10164+
"download": [
10165+
"crymp"
10166+
],
10167+
"command": "../CryMP-Client64.exe",
10168+
"notices": [
10169+
{
10170+
"key": "uses_proton"
10171+
}
10172+
],
10173+
"engine_name": "CryMP"
10174+
}
10175+
],
10176+
"app_id": "17300"
10177+
},
10178+
{
10179+
"game_name": "Crysis Warhead",
10180+
"download": [
10181+
{
10182+
"name": "c1-launcher-binaries",
10183+
"url": "https://github.com/ccomrade/c1-launcher/releases/download/v7/",
10184+
"file": "c1-launcher-v7-build.zip"
10185+
},
10186+
{
10187+
"name": "c1-launcher",
10188+
"url": "https://github.com/luxtorpeda-dev/packages/releases/download/c1-launcher-1/",
10189+
"file": "c1-launcher-common-1.tar.xz",
10190+
"cache_by_name": true
10191+
}
10192+
],
10193+
"choices": [
10194+
{
10195+
"name": "C1-Launcher",
10196+
"download": [
10197+
"c1-launcher-binaries",
10198+
"c1-launcher"
10199+
],
10200+
"download_config": [
10201+
{
10202+
"extract_location": "c1-launcher/",
10203+
"download_name": "c1-launcher-binaries"
10204+
}
10205+
],
10206+
"setup": {
10207+
"complete_path": "./ready",
10208+
"command": "./setup-c1-launcher.sh"
10209+
},
10210+
"command": "CrysisWarheadLauncher.exe",
10211+
"engine_name": "C1-Launcher"
10212+
}
10213+
],
10214+
"app_id": "17330"
10215+
},
10216+
{
10217+
"game_name": "Crysis Wars",
10218+
"download": [
10219+
{
10220+
"name": "cw-launcher",
10221+
"url": "https://github.com/jedi95/cw-launcher/releases/download/v8.0/",
10222+
"file": "cw-launcher-8.0.zip"
10223+
}
10224+
],
10225+
"choices": [
10226+
{
10227+
"name": "cw-launcher",
10228+
"download": [
10229+
"cw-launcher"
10230+
],
10231+
"command": "Crysis.exe",
10232+
"engine_name": "cw-launcher"
10233+
}
10234+
],
10235+
"app_id": "17340"
1006110236
}
1006210237
],
1006310238
"engines": [
@@ -11921,6 +12096,21 @@
1192112096
],
1192212097
"internal_engine_name": "iw3xo"
1192312098
},
12099+
{
12100+
"engine_link": "https://www.gentool.net",
12101+
"version": "8.9",
12102+
"author": "d10sfan",
12103+
"author_link": "https://github.com/d10sfan",
12104+
"license": "No license specified",
12105+
"license_link": "https://www.gentool.net",
12106+
"engine_name": "GenTool",
12107+
"notices": [
12108+
{
12109+
"key": "uses_proton"
12110+
}
12111+
],
12112+
"internal_engine_name": "gentool"
12113+
},
1192412114
{
1192512115
"engine_link": "https://github.com/SWRC-Modding/CT",
1192612116
"version": "2.12",
@@ -11965,6 +12155,51 @@
1196512155
}
1196612156
],
1196712157
"internal_engine_name": "dashfaction"
12158+
},
12159+
{
12160+
"engine_link": "https://github.com/ccomrade/c1-launcher",
12161+
"version": "v7",
12162+
"author": "mv",
12163+
"author_link": "https://github.com/mvoolt",
12164+
"license": "No license specified",
12165+
"license_link": "https://github.com/ccomrade/c1-launcher",
12166+
"engine_name": "C1-Launcher",
12167+
"notices": [
12168+
{
12169+
"key": "uses_proton"
12170+
}
12171+
],
12172+
"internal_engine_name": "C1-Launcher"
12173+
},
12174+
{
12175+
"engine_link": "https://github.com/jedi95/cw-launcher",
12176+
"version": "v8",
12177+
"author": "mv",
12178+
"author_link": "https://github.com/mvoolt",
12179+
"license": "No license specified",
12180+
"license_link": "https://github.com/jedi95/cw-launcher",
12181+
"engine_name": "cw-launcher",
12182+
"notices": [
12183+
{
12184+
"key": "uses_proton"
12185+
}
12186+
],
12187+
"internal_engine_name": "cw-launcher"
12188+
},
12189+
{
12190+
"engine_link": "https://github.com/crymp-net/crymp-client",
12191+
"version": "v23",
12192+
"author": "mv",
12193+
"author_link": "https://github.com/mvoolt",
12194+
"license": "No license specified",
12195+
"license_link": "https://github.com/crymp-net/crymp-client",
12196+
"engine_name": "CryMP",
12197+
"notices": [
12198+
{
12199+
"key": "uses_proton"
12200+
}
12201+
],
12202+
"internal_engine_name": "CryMP"
1196812203
}
1196912204
],
1197012205
"default_engine": {

0 commit comments

Comments
 (0)