diff --git a/.eslintrc.yml b/.eslintrc.yml
index 7b69bbcd59..cc467f84f7 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -1,21 +1,68 @@
+---
+extends:
+ - eslint:recommended
+
+env:
+ nashorn: true
+
rules:
- indent: 4
-
+ valid-jsdoc: 2
+ comma-spacing:
+ - 2
+ - {before: false, after: true}
+ keyword-spacing:
+ - 2
+ - {before: true, after: true}
+ space-before-function-paren:
+ - 2
+ - {anonymous: always, named: never, asyncArrow: always}
+ no-trailing-spaces: 2
+ indent:
+ - 2
+ - 4
+ - {SwitchCase: 1, ArrayExpression: first}
+
globals:
- include: true
+ include: false
+ TYPE_ID: false
+ CATEGORY_ID: false
+ APPLICATION_ID: false
+ # java
+ Bean: false
# files
- mkdir: true
- fileExists: true
- cat: true
- cp: true
- getFileSize: true
- fileName: true
- lns: true
- remove: true
- touch: true
- writeToFile: true
- createTempFile: true
+ mkdir: false
+ fileExists: false
+ cat: false
+ cp: false
+ getFileSize: false
+ fileName: false
+ lns: false
+ remove: false
+ touch: false
+ tr: false
+ writeToFile: false
+ createTempFile: false
+ # classes
+ AppResource: false
+ CabExtract: false
+ Checksum: false
+ Downloader: false
+ Extractor: false
+ Resource: false
+ SetupWizard: false
+ Wine: false
+ WineShortcut: false
+ # quick scripts
+ CustomInstallerScript: false
+ InstallerScript: false
+ LocalInstallerScript: false
+ OnlineInstallerScript: false
+ QuickScript: false
+ SteamScript: false
+ UplayScript: false
+ ZipScript: false
# wine
- LATEST_DEVELOPMENT_VERSION: true
- LATEST_STABLE_VERSION: true
- LATEST_STAGING_VERSION: true
+ LATEST_DEVELOPMENT_VERSION: false
+ LATEST_STABLE_VERSION: false
+ LATEST_STAGING_VERSION: false
+ WINE_PREFIX_DIR: false
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000..85e7c1dfcb
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/.idea/
diff --git a/.travis.yml b/.travis.yml
index 8df46068e2..80833803f6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,36 @@
-before_install:
- - sudo apt-get -qq update
- - sudo apt-get install -y python-jsonschema python-pil gettext
+# avoid double builds on pull requests
+branches:
+ only:
+ master
-script:
- - python ./validate.py
+matrix:
+ include:
+ - stage: Update translations
+ before_install:
+ - sudo apt-get -qq update
+ - sudo apt-get install -y python-jsonschema python-pil gettext
+ script:
+ - python ./validate.py
+ after_success:
+ # push translation updates only for master (PR changes must be committed to master before they are taken into account)
+ - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./i18n/push_translations.sh; fi
-after_success:
- # push translation updates only for master (PR changes must be committed to master before they are taken into account)
- - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./i18n/push_translations.sh; fi
+ # Update JSDoc
+ - stage: Update JSDoc
+ script:
+ # push JSDoc updates only for master (PR changes must be committed to master before they are taken into account)
+ - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./push_jsdoc.sh; fi
+
+ # Check GitHub Pages
+ - stage: Check GitHub Pages
+ os: linux
+ language: ruby
+ rvm:
+ - 2.1
+ before_install: cd docs
+ script:
+ - bundle exec jekyll build
+ - bundle exec htmlproofer ./_site --only-4xx --check-favicon --check-html --assume-extension --file-ignore=/jsdoc/
env:
global:
diff --git a/Applications/Accessories/7-zip/Online/script.js b/Applications/Accessories/7-zip/Online/script.js
index 0c1fea448a..a8e49996ee 100644
--- a/Applications/Accessories/7-zip/Online/script.js
+++ b/Applications/Accessories/7-zip/Online/script.js
@@ -1,12 +1,12 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
- .name("7-zip")
- .editor("Igor Pavlov")
- .applicationHomepage("http://www.7-zip.org/")
- .author("ImperatorS79")
- .url("http://www.7-zip.org/a/7z1604.exe")
- .checksum("dd1cb1163c5572951c9cd27f5a8dd550b33c58a4")
- .category("Accessories")
- .executable("7zFM.exe")
- .go();
+ .name("7-zip")
+ .editor("Igor Pavlov")
+ .applicationHomepage("http://www.7-zip.org/")
+ .author("ImperatorS79")
+ .url("https://www.7-zip.org/a/7z1801.exe")
+ .checksum("d56bca4973b1d1aa5915c41dce318b077ce8b5b2")
+ .category("Accessories")
+ .executable("7zFM.exe")
+ .go();
diff --git a/Applications/Accessories/7-zip/Online/script.json b/Applications/Accessories/7-zip/Online/script.json
index 0b3cdfb785..d73bbeb0ef 100644
--- a/Applications/Accessories/7-zip/Online/script.json
+++ b/Applications/Accessories/7-zip/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Accessories/7-zip/application.json b/Applications/Accessories/7-zip/application.json
index 0f325577e3..a33b661a99 100644
--- a/Applications/Accessories/7-zip/application.json
+++ b/Applications/Accessories/7-zip/application.json
@@ -1,4 +1,5 @@
{
"name": "7-zip",
+ "id": "7zip",
"description": "7-Zip is a file archiver with a high compression ratio. 7-Zip is open source software. Most of the source code is under the GNU LGPL license. The unRAR code is under a mixed license: GNU LGPL + unRAR restrictions. You can use 7-Zip on any computer, including a computer in a commercial organization. You don't need to register or pay for 7-Zip."
}
diff --git a/Applications/Accessories/ImgBurn/Online/script.js b/Applications/Accessories/ImgBurn/Online/script.js
index f964f097c3..d7aa34e5ef 100644
--- a/Applications/Accessories/ImgBurn/Online/script.js
+++ b/Applications/Accessories/ImgBurn/Online/script.js
@@ -1,12 +1,12 @@
- include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
- .name("ImgBurn")
- .editor("Lightning UK!")
- .applicationHomepage("http://www.imgburn.com/")
- .author("ImperatorS79")
- .url("http://download.imgburn.com/SetupImgBurn_2.5.8.0.exe")
- .checksum("6fc013ed5944b13efc54648699ea80f304e37ad0")
- .category("Accessories")
- .executable("ImgBurn.exe")
- .go();
+ .name("ImgBurn")
+ .editor("Lightning UK!")
+ .applicationHomepage("http://www.imgburn.com/")
+ .author("ImperatorS79")
+ .url("http://download.imgburn.com/SetupImgBurn_2.5.8.0.exe")
+ .checksum("6fc013ed5944b13efc54648699ea80f304e37ad0")
+ .category("Accessories")
+ .executable("ImgBurn.exe")
+ .go();
diff --git a/Applications/Accessories/ImgBurn/Online/script.json b/Applications/Accessories/ImgBurn/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Accessories/ImgBurn/Online/script.json
+++ b/Applications/Accessories/ImgBurn/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Accessories/ImgBurn/application.json b/Applications/Accessories/ImgBurn/application.json
index 9092fe8c1a..e324b1e433 100644
--- a/Applications/Accessories/ImgBurn/application.json
+++ b/Applications/Accessories/ImgBurn/application.json
@@ -1,4 +1,5 @@
{
"name": "ImgBurn",
+ "id": "img_burn",
"description": "ImgBurn is a lightweight CD / DVD / HD DVD / Blu-ray burning application."
}
diff --git a/Applications/Accessories/Soundplant/Online/script.js b/Applications/Accessories/Soundplant/Online/script.js
index e8136799db..834ff287f0 100644
--- a/Applications/Accessories/Soundplant/Online/script.js
+++ b/Applications/Accessories/Soundplant/Online/script.js
@@ -1,15 +1,15 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
- .name("Soundplant")
- .editor("Marcel Blum")
- .applicationHomepage("http://soundplant.org/")
- .author("ImperatorS79")
- .url("http://soundplant.org/downloads/Soundplant45_Win_setup.exe")
- .checksum("df17f942189618219cd504beee1be0712f4e4e4e")
- .category("Accessories")
+ .name("Soundplant")
+ .editor("Marcel Blum")
+ .applicationHomepage("http://soundplant.org/")
+ .author("ImperatorS79")
+ .url("http://soundplant.org/downloads/Soundplant45_Win_setup.exe")
+ .checksum("df17f942189618219cd504beee1be0712f4e4e4e")
+ .category("Accessories")
.executable("Soundplant45.exe")
- .preInstall(function (wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.windowsVersion("win7");
})
- .go();
+ .go();
diff --git a/Applications/Accessories/Soundplant/Online/script.json b/Applications/Accessories/Soundplant/Online/script.json
index 8b598142f3..e61eb69c5e 100644
--- a/Applications/Accessories/Soundplant/Online/script.json
+++ b/Applications/Accessories/Soundplant/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Accessories/Soundplant/application.json b/Applications/Accessories/Soundplant/application.json
index c0bae8e78d..ce4e513cd4 100644
--- a/Applications/Accessories/Soundplant/application.json
+++ b/Applications/Accessories/Soundplant/application.json
@@ -1,4 +1,5 @@
{
"name": "Soundplant",
+ "id": "soundplant",
"description": "Soundplant turns your computer keyboard into a versatile, low latency sound trigger and playable instrument.
Via drag & drop, easily assign sound files of any format and length onto 72 keyboard keys, creating custom soundboards that put hours of instantly-playing audio at your fingertips with no extra hardware needed.
Soundplant is used for live music and sound effects, as a drum pad, as a unique electronic instrument, as an educational aid, and just for fun - in radio, television, theater, podcasting, presentations, studios, stadiums, classrooms, clubs, museums, and churches - by DJs, musicians, engineers, sound designers, composers, artists, teachers, magicians, puppeteers, comedians, public speakers, gamers, and more.
N.B.: Free version has some features unavailable, see http://soundplant.org/support.htm/"
}
diff --git a/Applications/Accessories/category.json b/Applications/Accessories/category.json
index b6efab51d9..3c2c78d9b3 100644
--- a/Applications/Accessories/category.json
+++ b/Applications/Accessories/category.json
@@ -1,4 +1,5 @@
{
"name": "Accessories",
+ "id": "accessories",
"type": "INSTALLERS"
}
diff --git a/Applications/Custom/LocalInstaller/Local/script.js b/Applications/Custom/LocalInstaller/Local/script.js
index 9577d0307e..619769f4ae 100644
--- a/Applications/Custom/LocalInstaller/Local/script.js
+++ b/Applications/Custom/LocalInstaller/Local/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
.editor("PlayOnLinux")
@@ -6,7 +6,7 @@ new LocalInstallerScript()
.author("Plata")
.category("Custom")
.wineUserSettings(true)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine, wizard) {
var versions = ["win7", "vista", "win2003", "winxp", "win2k", "winnt", "winme", "win98", "win95", "win31"];
var shownVersions = ["win7", "vista", "win2003", "winxp (recommended)", "win2k", "winnt", "winme", "win98", "win95", "win31"];
var selectedVersion = wizard.menu("Please select the wine windows version.", shownVersions, "winxp (recommended)");
diff --git a/Applications/Custom/LocalInstaller/Local/script.json b/Applications/Custom/LocalInstaller/Local/script.json
index 076ad2ef6b..8ef869d235 100644
--- a/Applications/Custom/LocalInstaller/Local/script.json
+++ b/Applications/Custom/LocalInstaller/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Custom/LocalInstaller/application.json b/Applications/Custom/LocalInstaller/application.json
index f8bdcde341..546e145a59 100644
--- a/Applications/Custom/LocalInstaller/application.json
+++ b/Applications/Custom/LocalInstaller/application.json
@@ -1,4 +1,5 @@
{
"name": "Local Installer",
+ "id": "local_installer",
"description": "The Local Installer allows you to install custom applications from your local computer."
}
diff --git a/Applications/Custom/OnlineInstaller/Online/script.js b/Applications/Custom/OnlineInstaller/Online/script.js
index 2c9baa74d1..166624284d 100644
--- a/Applications/Custom/OnlineInstaller/Online/script.js
+++ b/Applications/Custom/OnlineInstaller/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.editor("PlayOnLinux")
@@ -6,7 +6,7 @@ new OnlineInstallerScript()
.author("Plata")
.category("Custom")
.wineUserSettings(true)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine, wizard) {
var versions = ["win7", "vista", "win2003", "winxp", "win2k", "winnt", "winme", "win98", "win95", "win31"];
var shownVersions = ["win7", "vista", "win2003", "winxp (recommended)", "win2k", "winnt", "winme", "win98", "win95", "win31"];
var selectedVersion = wizard.menu("Please select the wine windows version.", shownVersions, "winxp (recommended)");
diff --git a/Applications/Custom/OnlineInstaller/Online/script.json b/Applications/Custom/OnlineInstaller/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Custom/OnlineInstaller/Online/script.json
+++ b/Applications/Custom/OnlineInstaller/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Custom/OnlineInstaller/application.json b/Applications/Custom/OnlineInstaller/application.json
index c03d82ff4b..51fb6f538e 100644
--- a/Applications/Custom/OnlineInstaller/application.json
+++ b/Applications/Custom/OnlineInstaller/application.json
@@ -1,4 +1,5 @@
{
"name": "Online Installer",
+ "id": "online_installer",
"description": "The Online Installer allows you to install custom applications from the Internet."
}
diff --git a/Applications/Custom/category.json b/Applications/Custom/category.json
index e392fcccfa..068cf676c0 100644
--- a/Applications/Custom/category.json
+++ b/Applications/Custom/category.json
@@ -1,4 +1,5 @@
{
"name": "Custom",
+ "id": "custom",
"type": "INSTALLERS"
}
diff --git a/Applications/Development/Notepad++/application.json b/Applications/Development/Notepad++/application.json
index a26401fae5..b8aa357759 100644
--- a/Applications/Development/Notepad++/application.json
+++ b/Applications/Development/Notepad++/application.json
@@ -1,4 +1,5 @@
{
"name": "Notepad++",
+ "id": "notepad_plus_plus",
"description": "Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.
Based on a powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment.
Source: http://notepad-plus.sourceforge.net/uk/site.htm"
}
diff --git a/Applications/Development/Notepad++/v7.2.2/script.js b/Applications/Development/Notepad++/v7.2.2/script.js
index e2a63f5ea3..25cce6f511 100644
--- a/Applications/Development/Notepad++/v7.2.2/script.js
+++ b/Applications/Development/Notepad++/v7.2.2/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("Notepad++")
diff --git a/Applications/Development/Notepad++/v7.2.2/script.json b/Applications/Development/Notepad++/v7.2.2/script.json
index 7619ed558c..c8b74e569a 100644
--- a/Applications/Development/Notepad++/v7.2.2/script.json
+++ b/Applications/Development/Notepad++/v7.2.2/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "v.7.2.2",
+ "id": "v_7_2_2",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Development/category.json b/Applications/Development/category.json
index 97d609a6b4..31eecc99dc 100644
--- a/Applications/Development/category.json
+++ b/Applications/Development/category.json
@@ -1,4 +1,5 @@
{
"name": "Development",
+ "id": "development",
"type": "INSTALLERS"
}
diff --git a/Applications/Games/18 Wheels of Steel Across America/Local/script.js b/Applications/Games/18 Wheels of Steel Across America/Local/script.js
index b86766757e..26b9a0d41c 100644
--- a/Applications/Games/18 Wheels of Steel Across America/Local/script.js
+++ b/Applications/Games/18 Wheels of Steel Across America/Local/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
.name("18 Wheels of Steel: Across America")
diff --git a/Applications/Games/18 Wheels of Steel Across America/Local/script.json b/Applications/Games/18 Wheels of Steel Across America/Local/script.json
index c94b0a174a..d20fe33e1d 100644
--- a/Applications/Games/18 Wheels of Steel Across America/Local/script.json
+++ b/Applications/Games/18 Wheels of Steel Across America/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/18 Wheels of Steel Across America/application.json b/Applications/Games/18 Wheels of Steel Across America/application.json
index f30828ad31..c9eea7574b 100644
--- a/Applications/Games/18 Wheels of Steel Across America/application.json
+++ b/Applications/Games/18 Wheels of Steel Across America/application.json
@@ -1,4 +1,5 @@
{
"name": "18 Wheels of Steel: Across America",
+ "id": "18_wheels_of_steel_across_america",
"description": "Heed the call of the open road, throw the gears in motion and take off in a tractor trailer. Drive faster than your competition, haul your cargo across the entire United States and feel the wind in your face as you control your own destiny. Blast the horn and build a career in the fast-paced world of trucking."
-}
\ No newline at end of file
+}
diff --git a/Applications/Games/Age of Empires II HD/Steam/script.js b/Applications/Games/Age of Empires II HD/Steam/script.js
index b835766bcd..5465558d8b 100644
--- a/Applications/Games/Age of Empires II HD/Steam/script.js
+++ b/Applications/Games/Age of Empires II HD/Steam/script.js
@@ -1,12 +1,12 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["utils", "functions", "filesystem", "files"]);
new SteamScript()
.name("Age of Empires II HD")
.editor("Skybox Labs, Hidden Path Entertainment, Ensemble Studios")
.author("Plata")
.appId(221380)
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
// skip broken launcher by replacing it with "AoK HD.exe"
var installPath = wine.prefixDirectory + "drive_c/" + wine.programFiles() + "/Steam/steamapps/common/Age2HD/";
var launcher = installPath + "Launcher.exe";
diff --git a/Applications/Games/Age of Empires II HD/Steam/script.json b/Applications/Games/Age of Empires II HD/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Age of Empires II HD/Steam/script.json
+++ b/Applications/Games/Age of Empires II HD/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Age of Empires II HD/application.json b/Applications/Games/Age of Empires II HD/application.json
index f1bbdedf22..136610a6fc 100644
--- a/Applications/Games/Age of Empires II HD/application.json
+++ b/Applications/Games/Age of Empires II HD/application.json
@@ -1,4 +1,5 @@
{
"name": "Age of Empires II HD",
+ "id": "age_of_empires_2_hd",
"description": "Age of Empires II has been re-imagined in high definition with new features, trading cards, improved AI, workshop support, multiplayer, Steamworks integration and more!"
}
diff --git a/Applications/Games/Age of Empires III: Complete Collection/Steam/script.js b/Applications/Games/Age of Empires III: Complete Collection/Steam/script.js
index 728bfe9cb0..cbb5ef6195 100644
--- a/Applications/Games/Age of Empires III: Complete Collection/Steam/script.js
+++ b/Applications/Games/Age of Empires III: Complete Collection/Steam/script.js
@@ -1,12 +1,12 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "mfc42"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "mfc42"]);
new SteamScript()
.name("Age of Empires® III: Complete Collection")
.editor("Microsoft Studios")
.author("Quentin PARIS")
.appId(105450)
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.mfc42();
wine.overrideDLL()
.set("native, builtin", ["pidgen"])
diff --git a/Applications/Games/Age of Empires III: Complete Collection/Steam/script.json b/Applications/Games/Age of Empires III: Complete Collection/Steam/script.json
index 4783164bea..d190707fb6 100644
--- a/Applications/Games/Age of Empires III: Complete Collection/Steam/script.json
+++ b/Applications/Games/Age of Empires III: Complete Collection/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Age of Empires III: Complete Collection/application.json b/Applications/Games/Age of Empires III: Complete Collection/application.json
index ef425414c0..144a612f7f 100644
--- a/Applications/Games/Age of Empires III: Complete Collection/application.json
+++ b/Applications/Games/Age of Empires III: Complete Collection/application.json
@@ -1,4 +1,5 @@
{
"name": "Age of Empires® III: Complete Collection",
+ "id": "age_of_empires_3_complete_collection",
"description": "Immerse yourself in the award-winning strategy experience. Microsoft Studios brings you three epic Age of Empires III games in one monumental collection for the first time. Command mighty European powers looking to explore new lands in the New World; or jump eastward to Asia and determine the outcome of its struggles for power."
}
diff --git a/Applications/Games/Assassin's Creed II/Steam/script.js b/Applications/Games/Assassin's Creed II/Steam/script.js
index 91d56fdc86..c0b3e04e88 100644
--- a/Applications/Games/Assassin's Creed II/Steam/script.js
+++ b/Applications/Games/Assassin's Creed II/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Assassin’s Creed II")
diff --git a/Applications/Games/Assassin's Creed II/Steam/script.json b/Applications/Games/Assassin's Creed II/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Assassin's Creed II/Steam/script.json
+++ b/Applications/Games/Assassin's Creed II/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Assassin's Creed II/application.json b/Applications/Games/Assassin's Creed II/application.json
index 9ad5274aa4..40a6313716 100644
--- a/Applications/Games/Assassin's Creed II/application.json
+++ b/Applications/Games/Assassin's Creed II/application.json
@@ -1,4 +1,5 @@
{
"name": "Assassin’s Creed II",
+ "id": "assassins_creed_2",
"description": "An epic story of family, vengeance and conspiracy set in the pristine, yet brutal, backdrop of a Renaissance Italy."
}
diff --git a/Applications/Games/Assassin's Creed III/Steam/script.js b/Applications/Games/Assassin's Creed III/Steam/script.js
index d750a64b87..4f52dd4cd0 100644
--- a/Applications/Games/Assassin's Creed III/Steam/script.js
+++ b/Applications/Games/Assassin's Creed III/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Assassin’s Creed® III")
diff --git a/Applications/Games/Assassin's Creed III/Steam/script.json b/Applications/Games/Assassin's Creed III/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Assassin's Creed III/Steam/script.json
+++ b/Applications/Games/Assassin's Creed III/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Assassin's Creed III/application.json b/Applications/Games/Assassin's Creed III/application.json
index 8464652d01..1b4f3bdfbb 100644
--- a/Applications/Games/Assassin's Creed III/application.json
+++ b/Applications/Games/Assassin's Creed III/application.json
@@ -1,4 +1,5 @@
{
"name": "Assassin’s Creed® III",
+ "id": "assassins_creed_3",
"description": "The American Colonies, 1775. It’s a time of civil unrest and political upheaval in the Americas. As a Native American assassin fights to protect his land and his people, he will ignite the flames of a young nation’s revolution. Assassin’s Creed® III takes you back to the American Revolutionary War, but not the one you’ve read about in history books..."
}
diff --git a/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js b/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js
index 2ec5d83e22..5a34657314 100644
--- a/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js
+++ b/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Assassin’s Creed® IV Black Flag™")
@@ -7,7 +7,7 @@ new SteamScript()
.appId(242050)
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
// the automatically installed Uplay version does not update properly
wine.uplay();
})
diff --git a/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.json b/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.json
+++ b/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Assassin's Creed IV Black Flag/application.json b/Applications/Games/Assassin's Creed IV Black Flag/application.json
index 91014a75cc..9ddfd0b931 100644
--- a/Applications/Games/Assassin's Creed IV Black Flag/application.json
+++ b/Applications/Games/Assassin's Creed IV Black Flag/application.json
@@ -1,4 +1,5 @@
{
"name": "Assassin’s Creed® IV Black Flag™",
+ "id": "assassins_creed_4_black_flag",
"description": "The year is 1715. Pirates rule the Caribbean and have established their own lawless Republic where corruption, greediness and cruelty are commonplace.Among these outlaws is a brash young captain named Edward Kenway."
}
diff --git a/Applications/Games/Assassin's Creed Revelations/Steam/script.js b/Applications/Games/Assassin's Creed Revelations/Steam/script.js
index 38cf9b6cf3..f2166612ec 100644
--- a/Applications/Games/Assassin's Creed Revelations/Steam/script.js
+++ b/Applications/Games/Assassin's Creed Revelations/Steam/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "uplay"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "uplay"]);
new SteamScript()
.name("Assassin's Creed® Revelations")
@@ -8,7 +8,7 @@ new SteamScript()
.appId(201870)
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.uplay();
})
.go();
diff --git a/Applications/Games/Assassin's Creed Revelations/Steam/script.json b/Applications/Games/Assassin's Creed Revelations/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Assassin's Creed Revelations/Steam/script.json
+++ b/Applications/Games/Assassin's Creed Revelations/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Assassin's Creed Revelations/application.json b/Applications/Games/Assassin's Creed Revelations/application.json
index d49aec08e3..b3617face6 100644
--- a/Applications/Games/Assassin's Creed Revelations/application.json
+++ b/Applications/Games/Assassin's Creed Revelations/application.json
@@ -1,4 +1,5 @@
{
"name": "Assassin's Creed® Revelations",
+ "id": "assassins_creed_revelations",
"description": "Ezio Auditore walks in the footsteps of the legendary mentor Altair, on a dangerous journey of discovery and revelation."
}
diff --git a/Applications/Games/Assassin's Creed Unity/Steam/script.js b/Applications/Games/Assassin's Creed Unity/Steam/script.js
index 5340d49a45..dca4c9e8c7 100644
--- a/Applications/Games/Assassin's Creed Unity/Steam/script.js
+++ b/Applications/Games/Assassin's Creed Unity/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Assassin’s Creed® Unity")
diff --git a/Applications/Games/Assassin's Creed Unity/Steam/script.json b/Applications/Games/Assassin's Creed Unity/Steam/script.json
index 622b5eb010..58879c3fa0 100644
--- a/Applications/Games/Assassin's Creed Unity/Steam/script.json
+++ b/Applications/Games/Assassin's Creed Unity/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/Assassin's Creed Unity/application.json b/Applications/Games/Assassin's Creed Unity/application.json
index eb6674f7ac..b05ef3d152 100644
--- a/Applications/Games/Assassin's Creed Unity/application.json
+++ b/Applications/Games/Assassin's Creed Unity/application.json
@@ -1,4 +1,5 @@
{
"name": "Assassin’s Creed® Unity",
+ "id": "assassins_creed_unity",
"description": "Assassin’s Creed® Unity tells the story of Arno, a young man who embarks upon an extraordinary journey to expose the true powers behind the French Revolution. In the brand new co-op mode, you and your friends will also be thrown in the middle of a ruthless struggle for the fate of a nation."
}
diff --git a/Applications/Games/Assassin's Creed/Steam/script.js b/Applications/Games/Assassin's Creed/Steam/script.js
index f124ebf2da..4c2008abb3 100644
--- a/Applications/Games/Assassin's Creed/Steam/script.js
+++ b/Applications/Games/Assassin's Creed/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Assassin's Creed™")
diff --git a/Applications/Games/Assassin's Creed/Steam/script.json b/Applications/Games/Assassin's Creed/Steam/script.json
index 24be916686..873d923c2d 100644
--- a/Applications/Games/Assassin's Creed/Steam/script.json
+++ b/Applications/Games/Assassin's Creed/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX", "LINUX"],
"free": false,
diff --git a/Applications/Games/Assassin's Creed/application.json b/Applications/Games/Assassin's Creed/application.json
index 342ae2942f..47adaaf67d 100644
--- a/Applications/Games/Assassin's Creed/application.json
+++ b/Applications/Games/Assassin's Creed/application.json
@@ -1,4 +1,5 @@
{
"name": "Assassin's Creed™",
+ "id": "assassins_creed",
"description": "Assassin's Creed™ is the next-gen game developed by Ubisoft Montreal that redefines the action genre. While other games claim to be next-gen with impressive graphics and physics, Assassin's Creed merges technology, game design, theme and emotions into a world where you instigate chaos and become a vulnerable, yet powerful, agent of change.
The setting is 1191 AD. The Third Crusade is tearing the Holy Land apart. You, Altair, intend to stop the hostilities by suppressing both sides of the conflict.You are an Assassin, a warrior shrouded in secrecy and feared for your ruthlessness. Your actions can throw your immediate environment into chaos, and your existence will shape events during this pivotal moment in history."
}
diff --git a/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js b/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js
index 34b2de83f0..572505c8e4 100644
--- a/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js
+++ b/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "uplay"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "uplay"]);
new SteamScript()
.name("Assassin’s Creed® Brotherhood")
@@ -8,7 +8,7 @@ new SteamScript()
.appId(48190)
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.uplay();
})
.go();
diff --git a/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.json b/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.json
index 4949df029b..335181a3ba 100644
--- a/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.json
+++ b/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX"],
"free": false,
diff --git a/Applications/Games/Assassin's Creed: Brotherhood/application.json b/Applications/Games/Assassin's Creed: Brotherhood/application.json
index 4f3f664b20..dba4a104c7 100644
--- a/Applications/Games/Assassin's Creed: Brotherhood/application.json
+++ b/Applications/Games/Assassin's Creed: Brotherhood/application.json
@@ -1,4 +1,5 @@
{
"name": "Assassin’s Creed® Brotherhood",
+ "id": "assassins_creed_brotherhood",
"description": "Live and breathe as Ezio, a legendary Master Assassin, in his enduring struggle against the powerful Templar order.
He must journey into Italy’s greatest city, Rome, center of power, greed and corruption to strike at the heart of the enemy. Defeating the corrupt tyrants entrenched there will require not only strength, but leadership, as Ezio commands an entire brotherhood of assassins who will rally to his side. Only by working together can the assassins defeat their mortal enemies and prevent the extinction of their order."
}
diff --git a/Applications/Games/Audiosurf/Steam/script.js b/Applications/Games/Audiosurf/Steam/script.js
index 27d1162d5c..84441ef921 100644
--- a/Applications/Games/Audiosurf/Steam/script.js
+++ b/Applications/Games/Audiosurf/Steam/script.js
@@ -1,14 +1,14 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "quicktime76"]);
-include(["Engines", "Wine", "Verbs", "corefonts"]);
-include(["Engines", "Wine", "Verbs", "tahoma"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "quicktime76"]);
+include(["engines", "wine", "verbs", "corefonts"]);
+include(["engines", "wine", "verbs", "tahoma"]);
new SteamScript()
.name("Audiosurf")
.editor("Dylan Fitterer")
.author("Brainzyy")
.appId(12900)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.quicktime76();
wine.corefonts();
wine.tahoma();
diff --git a/Applications/Games/Audiosurf/Steam/script.json b/Applications/Games/Audiosurf/Steam/script.json
index f580e49c01..7b8b852fcf 100644
--- a/Applications/Games/Audiosurf/Steam/script.json
+++ b/Applications/Games/Audiosurf/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX","LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Audiosurf/application.json b/Applications/Games/Audiosurf/application.json
index 987a39224a..137599008f 100644
--- a/Applications/Games/Audiosurf/application.json
+++ b/Applications/Games/Audiosurf/application.json
@@ -1,4 +1,5 @@
{
"name": "Audiosurf",
+ "id": "audiosurf",
"description": "Ride your music. Audiosurf is a music-adapting puzzle racer where you use your own music to create your own experience. The shape, the speed, and the mood of each ride is determined by the song you choose."
}
diff --git a/Applications/Games/BRINK/Steam/script.js b/Applications/Games/BRINK/Steam/script.js
index d827a871d1..7146b1868c 100644
--- a/Applications/Games/BRINK/Steam/script.js
+++ b/Applications/Games/BRINK/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("BRINK")
diff --git a/Applications/Games/BRINK/Steam/script.json b/Applications/Games/BRINK/Steam/script.json
index 82941879df..cda7753a66 100644
--- a/Applications/Games/BRINK/Steam/script.json
+++ b/Applications/Games/BRINK/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/BRINK/application.json b/Applications/Games/BRINK/application.json
index 32e4c6c90c..f70c55aa11 100644
--- a/Applications/Games/BRINK/application.json
+++ b/Applications/Games/BRINK/application.json
@@ -1,4 +1,5 @@
{
"name": "BRINK",
+ "id": "brink",
"description": "You decide the combat role you want to assume in the world of Brink as you fight to save yourself and mankind’s last refuge!"
}
diff --git "a/Applications/Games/Batman\342\204\242: Arkham Asylum/Steam/script.js" "b/Applications/Games/Batman\342\204\242: Arkham Asylum/Steam/script.js"
index bef614c6f6..7c0004a9a0 100644
--- "a/Applications/Games/Batman\342\204\242: Arkham Asylum/Steam/script.js"
+++ "b/Applications/Games/Batman\342\204\242: Arkham Asylum/Steam/script.js"
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Batman™: Arkham Asylum")
@@ -7,8 +7,8 @@ new SteamScript()
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.appId(35140)
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine, wizard) {
wine.UseGLSL("disabled");
wine.enableCSMT();
})
- .go();
+ .go();
diff --git "a/Applications/Games/Batman\342\204\242: Arkham Asylum/Steam/script.json" "b/Applications/Games/Batman\342\204\242: Arkham Asylum/Steam/script.json"
index 4ee39d18b6..a0bd82ce73 100644
--- "a/Applications/Games/Batman\342\204\242: Arkham Asylum/Steam/script.json"
+++ "b/Applications/Games/Batman\342\204\242: Arkham Asylum/Steam/script.json"
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git "a/Applications/Games/Batman\342\204\242: Arkham Asylum/application.json" "b/Applications/Games/Batman\342\204\242: Arkham Asylum/application.json"
index d7f02ae7f3..a2278812f1 100644
--- "a/Applications/Games/Batman\342\204\242: Arkham Asylum/application.json"
+++ "b/Applications/Games/Batman\342\204\242: Arkham Asylum/application.json"
@@ -1,4 +1,5 @@
{
"name": "Batman™: Arkham Asylum",
+ "id": "batman_arkham_asylum",
"description": "Experience what it’s like to be Batman and face off against Gotham's greatest villians. Explore every inch of Arkham Asylum and roam freely on the infamous island.
Critically acclaimed Batman: Arkham Asylum returns with a remastered Game of the Year Edition, featuring 4 extra Challenge Maps. The additional Challenge Maps are Crime Alley; Scarecrow Nightmare; Totally Insane and Nocturnal Hunter (both from the Insane Night Map Pack)."
}
diff --git "a/Applications/Games/Batman\342\204\242: Arkham City/Steam/script.js" "b/Applications/Games/Batman\342\204\242: Arkham City/Steam/script.js"
index 8c4d39ae40..4ee12aa20d 100644
--- "a/Applications/Games/Batman\342\204\242: Arkham City/Steam/script.js"
+++ "b/Applications/Games/Batman\342\204\242: Arkham City/Steam/script.js"
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Batman™: Arkham City")
@@ -7,8 +7,8 @@ new SteamScript()
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.appId(200260)
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine, wizard) {
wine.enableCSMT();
})
- .go();
-
+ .go();
+
diff --git "a/Applications/Games/Batman\342\204\242: Arkham City/Steam/script.json" "b/Applications/Games/Batman\342\204\242: Arkham City/Steam/script.json"
index 4ee39d18b6..a0bd82ce73 100644
--- "a/Applications/Games/Batman\342\204\242: Arkham City/Steam/script.json"
+++ "b/Applications/Games/Batman\342\204\242: Arkham City/Steam/script.json"
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git "a/Applications/Games/Batman\342\204\242: Arkham City/application.json" "b/Applications/Games/Batman\342\204\242: Arkham City/application.json"
index 6cc8845218..8169e8e268 100644
--- "a/Applications/Games/Batman\342\204\242: Arkham City/application.json"
+++ "b/Applications/Games/Batman\342\204\242: Arkham City/application.json"
@@ -1,4 +1,5 @@
{
"name": "Batman™: Arkham City",
+ "id": "batman_arkham_city",
"description": "Batman: Arkham City builds upon the intense, atmospheric foundation of Batman: Arkham Asylum, sending players flying through the expansive Arkham City - five times larger than the game world in Batman: Arkham Asylum - the new maximum security \"home\" for all of Gotham City's thugs, gangsters and insane criminal masterminds. Featuring an incredible Rogues Gallery of Gotham City's most dangerous criminals including Catwoman, The Joker, The Riddler, Two-Face, Harley Quinn, The Penguin, Mr. Freeze and many others, the game allows players to genuinely experience what it feels like to be The Dark Knight delivering justice on the streets of Gotham City."
}
diff --git "a/Applications/Games/Batman\342\204\242: Arkham Origins/Steam/script.js" "b/Applications/Games/Batman\342\204\242: Arkham Origins/Steam/script.js"
index 9176e5e16e..3fce329ecf 100644
--- "a/Applications/Games/Batman\342\204\242: Arkham Origins/Steam/script.js"
+++ "b/Applications/Games/Batman\342\204\242: Arkham Origins/Steam/script.js"
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Batman™: Arkham Origins")
@@ -6,9 +6,9 @@ new SteamScript()
.author("ImperatorS79")
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine, wizard) {
wine.enableCSMT();
//maybe needs xact
})
- .appId(209000)
+ .appId(209000)
.go();
diff --git "a/Applications/Games/Batman\342\204\242: Arkham Origins/Steam/script.json" "b/Applications/Games/Batman\342\204\242: Arkham Origins/Steam/script.json"
index 24be916686..873d923c2d 100644
--- "a/Applications/Games/Batman\342\204\242: Arkham Origins/Steam/script.json"
+++ "b/Applications/Games/Batman\342\204\242: Arkham Origins/Steam/script.json"
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX", "LINUX"],
"free": false,
diff --git "a/Applications/Games/Batman\342\204\242: Arkham Origins/application.json" "b/Applications/Games/Batman\342\204\242: Arkham Origins/application.json"
index b0864ce687..f3da5487ef 100644
--- "a/Applications/Games/Batman\342\204\242: Arkham Origins/application.json"
+++ "b/Applications/Games/Batman\342\204\242: Arkham Origins/application.json"
@@ -1,4 +1,5 @@
{
"name": "Batman™: Arkham Origins",
+ "id": "batman_arkham_origins",
"description": "Batman™: Arkham Origins is the next installment in the blockbuster Batman: Arkham videogame franchise. Developed by WB Games Montréal, the game features an expanded Gotham City and introduces an original prequel storyline set several years before the events of Batman: Arkham Asylum and Batman: Arkham City, the first two critically acclaimed games of the franchise. Taking place before the rise of Gotham City’s most dangerous criminals, the game showcases a young and unrefined Batman as he faces a defining moment in his early career as a crime fighter that sets his path to becoming the Dark Knight."
}
diff --git a/Applications/Games/Beyond Good and Evil/Uplay/script.js b/Applications/Games/Beyond Good and Evil/Uplay/script.js
index d560be38d5..300f6c4a71 100644
--- a/Applications/Games/Beyond Good and Evil/Uplay/script.js
+++ b/Applications/Games/Beyond Good and Evil/Uplay/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "UplayScript"]);
+include(["engines", "wine", "quick_script", "uplay_script"]);
new UplayScript()
.name("Beyond Good and Evil™")
diff --git a/Applications/Games/Beyond Good and Evil/Uplay/script.json b/Applications/Games/Beyond Good and Evil/Uplay/script.json
index 9db47efa04..f8c3cdfc80 100644
--- a/Applications/Games/Beyond Good and Evil/Uplay/script.json
+++ b/Applications/Games/Beyond Good and Evil/Uplay/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Uplay",
+ "id": "uplay",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Beyond Good and Evil/application.json b/Applications/Games/Beyond Good and Evil/application.json
index 24ea274042..30000daef8 100644
--- a/Applications/Games/Beyond Good and Evil/application.json
+++ b/Applications/Games/Beyond Good and Evil/application.json
@@ -1,4 +1,5 @@
{
"name": "Beyond Good and Evil™",
+ "id": "beyond_good_and_evil",
"description": "For centuries, the planet Hyllis has been bombarded by a relentless alien race. Skeptical of her government's inability to repel the invaders, a rebellious action reporter named Jade sets out to capture the truth."
}
diff --git a/Applications/Games/BioShock/Steam (Demo)/script.js b/Applications/Games/BioShock/Steam (Demo)/script.js
index f2a3912d2f..4eb71ae51f 100644
--- a/Applications/Games/BioShock/Steam (Demo)/script.js
+++ b/Applications/Games/BioShock/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("BioShock™ (Demo)")
diff --git a/Applications/Games/BioShock/Steam (Demo)/script.json b/Applications/Games/BioShock/Steam (Demo)/script.json
index 0c0f8295ec..50bbf5e14b 100644
--- a/Applications/Games/BioShock/Steam (Demo)/script.json
+++ b/Applications/Games/BioShock/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": true,
diff --git a/Applications/Games/BioShock/Steam/script.js b/Applications/Games/BioShock/Steam/script.js
index 76c315473b..4cbe3d2e04 100644
--- a/Applications/Games/BioShock/Steam/script.js
+++ b/Applications/Games/BioShock/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("BioShock™")
diff --git a/Applications/Games/BioShock/Steam/script.json b/Applications/Games/BioShock/Steam/script.json
index 622b5eb010..58879c3fa0 100644
--- a/Applications/Games/BioShock/Steam/script.json
+++ b/Applications/Games/BioShock/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/BioShock/application.json b/Applications/Games/BioShock/application.json
index 47652fc7b7..497b8a80f1 100644
--- a/Applications/Games/BioShock/application.json
+++ b/Applications/Games/BioShock/application.json
@@ -1,4 +1,5 @@
{
"name": "BioShock™",
+ "id": "bio_shock",
"description": "BioShock is a shooter unlike any you've ever played, loaded with weapons and tactics never seen. You'll have a complete arsenal at your disposal from simple revolvers to grenade launchers and chemical throwers, but you'll also be forced to genetically modify your DNA to create an even more deadly weapon: you. Injectable plasmids give you super human powers: blast electrical currents into water to electrocute multiple enemies, or freeze them solid and obliterate them with the swing of a wrench. No encounter ever plays out the same, and no two gamers will play the game the same way."
}
diff --git a/Applications/Games/Black Mesa/Steam/script.js b/Applications/Games/Black Mesa/Steam/script.js
index a9aeebfe17..6280b0c985 100644
--- a/Applications/Games/Black Mesa/Steam/script.js
+++ b/Applications/Games/Black Mesa/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Black Mesa")
diff --git a/Applications/Games/Black Mesa/Steam/script.json b/Applications/Games/Black Mesa/Steam/script.json
index 3a5d8f86ef..c48c3f0bb0 100644
--- a/Applications/Games/Black Mesa/Steam/script.json
+++ b/Applications/Games/Black Mesa/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX", "LINUX"],
"free": false,
diff --git a/Applications/Games/Black Mesa/application.json b/Applications/Games/Black Mesa/application.json
index 2ba0c8f005..824f1b53e2 100644
--- a/Applications/Games/Black Mesa/application.json
+++ b/Applications/Games/Black Mesa/application.json
@@ -1,4 +1,5 @@
{
"name": "Black Mesa",
+ "id": "black_mesa",
"description": "Relive Half-Life in this highly acclaimed, fan-made recreation"
}
diff --git a/Applications/Games/Blizzard app/Online/script.js b/Applications/Games/Blizzard app/Online/script.js
index 19d3a0c17a..6e713689da 100644
--- a/Applications/Games/Blizzard app/Online/script.js
+++ b/Applications/Games/Blizzard app/Online/script.js
@@ -1,6 +1,6 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "vcrun2015"]);
-include(["Engines", "Wine", "Verbs", "corefonts"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
+include(["engines", "wine", "verbs", "vcrun2015"]);
+include(["engines", "wine", "verbs", "corefonts"]);
new OnlineInstallerScript()
.name("Blizzard app")
@@ -11,7 +11,7 @@ new OnlineInstallerScript()
.category("Games")
.executable("Battle.net.exe")
.wineVersion(LATEST_DEVELOPMENT_VERSION)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.windowsVersion("winxp");
wine.vcrun2015();
wine.corefonts();
diff --git a/Applications/Games/Blizzard app/Online/script.json b/Applications/Games/Blizzard app/Online/script.json
index 008e4886be..7e710a3c62 100644
--- a/Applications/Games/Blizzard app/Online/script.json
+++ b/Applications/Games/Blizzard app/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Blizzard app",
+ "id": "blizzard_app",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": true,
diff --git a/Applications/Games/Blizzard app/application.json b/Applications/Games/Blizzard app/application.json
index f9ed01ed77..0b19354daf 100644
--- a/Applications/Games/Blizzard app/application.json
+++ b/Applications/Games/Blizzard app/application.json
@@ -1,4 +1,5 @@
{
"name": "Blizzard app",
+ "id": "blizzard_app",
"description": "The Blizzard desktop app is designed to improve your gaming experience. It’ll streamline your login and make it even easier to keep up with your friends!"
}
diff --git a/Applications/Games/Borderlands/Steam/script.js b/Applications/Games/Borderlands/Steam/script.js
index acfddb0654..de4f3e4caf 100644
--- a/Applications/Games/Borderlands/Steam/script.js
+++ b/Applications/Games/Borderlands/Steam/script.js
@@ -1,8 +1,8 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
- .name("Borderlands")
- .editor("Gearbox Software")
- .author("ImperatorS79")
- .appId(8980)
+ .name("Borderlands")
+ .editor("Gearbox Software")
+ .author("ImperatorS79")
+ .appId(8980)
.go();
diff --git a/Applications/Games/Borderlands/Steam/script.json b/Applications/Games/Borderlands/Steam/script.json
index 27187f8cbf..c48c3f0bb0 100644
--- a/Applications/Games/Borderlands/Steam/script.json
+++ b/Applications/Games/Borderlands/Steam/script.json
@@ -1,6 +1,6 @@
-
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX", "LINUX"],
"free": false,
diff --git a/Applications/Games/Borderlands/application.json b/Applications/Games/Borderlands/application.json
index 172834f3a4..2589295ffb 100644
--- a/Applications/Games/Borderlands/application.json
+++ b/Applications/Games/Borderlands/application.json
@@ -1,4 +1,5 @@
{
"name": "Borderlands",
+ "id": "borderlands",
"description": "Lock, Load, & Face the Madness
Get ready for the mind blowing insanity! Play as one of four trigger-happy mercenaries and take out everything that stands in your way!
With its addictive action, frantic first-person shooter combat, massive arsenal of weaponry, RPG elements and four-player co-op*, Borderlands is a breakthrough experience that challenges all the conventions of modern shooters. Borderlands places you in the role of a mercenary on the lawless and desolate planet of Pandora, hell-bent on finding a legendary stockpile of powerful alien technology known as The Vault."
}
diff --git a/Applications/Games/Braid/Steam (Demo)/script.js b/Applications/Games/Braid/Steam (Demo)/script.js
index 1b7a7854b0..5c7a6a4bfa 100644
--- a/Applications/Games/Braid/Steam (Demo)/script.js
+++ b/Applications/Games/Braid/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Braid (Demo)")
diff --git a/Applications/Games/Braid/Steam (Demo)/script.json b/Applications/Games/Braid/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Braid/Steam (Demo)/script.json
+++ b/Applications/Games/Braid/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Braid/Steam/script.js b/Applications/Games/Braid/Steam/script.js
index e6e15c484e..b6632a7ee0 100644
--- a/Applications/Games/Braid/Steam/script.js
+++ b/Applications/Games/Braid/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Braid")
diff --git a/Applications/Games/Braid/Steam/script.json b/Applications/Games/Braid/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Braid/Steam/script.json
+++ b/Applications/Games/Braid/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Braid/application.json b/Applications/Games/Braid/application.json
index c12c60cf99..6acd120240 100644
--- a/Applications/Games/Braid/application.json
+++ b/Applications/Games/Braid/application.json
@@ -1,4 +1,5 @@
{
"name": "Braid",
+ "id": "braid",
"description": "Braid is a puzzle-platformer, drawn in a painterly style, where you can manipulate the flow of time in strange and unusual ways. From a house in the city, journey to a series of worlds and solve puzzles to rescue an abducted princess."
}
diff --git a/Applications/Games/Burnout Paradise: The Ultimate Box/Steam/script.js b/Applications/Games/Burnout Paradise: The Ultimate Box/Steam/script.js
index 41bc092e82..c233427832 100644
--- a/Applications/Games/Burnout Paradise: The Ultimate Box/Steam/script.js
+++ b/Applications/Games/Burnout Paradise: The Ultimate Box/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Burnout™ Paradise: The Ultimate Box")
diff --git a/Applications/Games/Burnout Paradise: The Ultimate Box/Steam/script.json b/Applications/Games/Burnout Paradise: The Ultimate Box/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Burnout Paradise: The Ultimate Box/Steam/script.json
+++ b/Applications/Games/Burnout Paradise: The Ultimate Box/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Burnout Paradise: The Ultimate Box/application.json b/Applications/Games/Burnout Paradise: The Ultimate Box/application.json
index 96eeeadc1f..9db579cc07 100644
--- a/Applications/Games/Burnout Paradise: The Ultimate Box/application.json
+++ b/Applications/Games/Burnout Paradise: The Ultimate Box/application.json
@@ -1,4 +1,5 @@
{
"name": "Burnout™ Paradise: The Ultimate Box",
+ "id": "burnout_paradise_the_ultimate_box",
"description": "Paradise City is the largest and most dangerous setting yet for the best-selling Burnout series. The massive setting gives players an open-ended world to explore, as they race their vehicles through hundreds of miles of roads and underground passages with more than 70 different cars. Speed through the streets from event to event, racking up points that are saved to your Paradise City driver’s license. Earn the vaunted “Burnout” license by smashing through billboards, jumping ramps, and sustaining crashes with the improved damage system."
}
diff --git a/Applications/Games/CONSORTIUM/Steam/script.js b/Applications/Games/CONSORTIUM/Steam/script.js
index cb0f0ac6c7..2405b3e457 100644
--- a/Applications/Games/CONSORTIUM/Steam/script.js
+++ b/Applications/Games/CONSORTIUM/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("CONSORTIUM")
diff --git a/Applications/Games/CONSORTIUM/Steam/script.json b/Applications/Games/CONSORTIUM/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/CONSORTIUM/Steam/script.json
+++ b/Applications/Games/CONSORTIUM/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/CONSORTIUM/application.json b/Applications/Games/CONSORTIUM/application.json
index 42f5547b39..7790347d61 100644
--- a/Applications/Games/CONSORTIUM/application.json
+++ b/Applications/Games/CONSORTIUM/application.json
@@ -1,4 +1,5 @@
{
"name": "CONSORTIUM",
+ "id": "consortium",
"description": "A murder mystery, on a plane, in the future. You are Consortium Bishop Six, a global peacekeeper in the year 2042. Your actions define and inform the ongoing narrative."
}
diff --git a/Applications/Games/Caesar III/Local/script.js b/Applications/Games/Caesar III/Local/script.js
index c1a060179d..c602390cba 100644
--- a/Applications/Games/Caesar III/Local/script.js
+++ b/Applications/Games/Caesar III/Local/script.js
@@ -1,13 +1,13 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
-include(["Engines", "Wine", "Engine", "Object"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
+include(["engines", "wine", "engine", "object"]);
new LocalInstallerScript()
- .name("Caesar III")
- .editor("Impressions Games")
- .author("ImperatorS79")
- .category("Games")
+ .name("Caesar III")
+ .editor("Impressions Games")
+ .author("ImperatorS79")
+ .category("Games")
.executable("c3.exe")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.setVirtualDesktop(1280, 1024);
})
- .go();
+ .go();
diff --git a/Applications/Games/Caesar III/Local/script.json b/Applications/Games/Caesar III/Local/script.json
index d8e29cfd25..ba35ae4ec9 100644
--- a/Applications/Games/Caesar III/Local/script.json
+++ b/Applications/Games/Caesar III/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Caesar III/Steam/script.js b/Applications/Games/Caesar III/Steam/script.js
index 1dd90e0d70..e773a0379a 100644
--- a/Applications/Games/Caesar III/Steam/script.js
+++ b/Applications/Games/Caesar III/Steam/script.js
@@ -1,12 +1,12 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Engine", "Object"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "engine", "object"]);
new SteamScript()
- .name("Caesar III")
- .editor("Impressions Games")
- .author("ImperatorS79")
+ .name("Caesar III")
+ .editor("Impressions Games")
+ .author("ImperatorS79")
.appId(517790)
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.setVirtualDesktop(1280, 1024);
})
- .go();
+ .go();
diff --git a/Applications/Games/Caesar III/Steam/script.json b/Applications/Games/Caesar III/Steam/script.json
index a043f9c28e..9f60de64eb 100644
--- a/Applications/Games/Caesar III/Steam/script.json
+++ b/Applications/Games/Caesar III/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Caesar III/application.json b/Applications/Games/Caesar III/application.json
index 042424f24e..2467c7ddad 100644
--- a/Applications/Games/Caesar III/application.json
+++ b/Applications/Games/Caesar III/application.json
@@ -1,4 +1,5 @@
{
"name": "Caesar III",
+ "id": "caesar_3",
"description": "Hail Governor, your city awaits.
As a provincial governor charged with spreading the glory of Rome our mission is clear: build cities, foster trade and industry, make money. How you accomplish this is entirely up to you. Gain wealth and power, make a career out of pleasing the emperor, battle Barbarians and repel invaders or concentrate on building the next Eternal City. Fail and you’ll end up as lunch for the lions. Prove your strength of mind and spirit and you just may be crowned Caesar!"
}
diff --git a/Applications/Games/Call of Juarez Gunslinger/Steam (Demo)/script.js b/Applications/Games/Call of Juarez Gunslinger/Steam (Demo)/script.js
index fd52b341f7..aea22d28ad 100644
--- a/Applications/Games/Call of Juarez Gunslinger/Steam (Demo)/script.js
+++ b/Applications/Games/Call of Juarez Gunslinger/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Call of Juarez® Gunslinger (Demo)")
diff --git a/Applications/Games/Call of Juarez Gunslinger/Steam (Demo)/script.json b/Applications/Games/Call of Juarez Gunslinger/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Call of Juarez Gunslinger/Steam (Demo)/script.json
+++ b/Applications/Games/Call of Juarez Gunslinger/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Call of Juarez Gunslinger/Steam/script.js b/Applications/Games/Call of Juarez Gunslinger/Steam/script.js
index 00316b6aad..03a56b1afd 100644
--- a/Applications/Games/Call of Juarez Gunslinger/Steam/script.js
+++ b/Applications/Games/Call of Juarez Gunslinger/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Call of Juarez® Gunslinger")
diff --git a/Applications/Games/Call of Juarez Gunslinger/Steam/script.json b/Applications/Games/Call of Juarez Gunslinger/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Call of Juarez Gunslinger/Steam/script.json
+++ b/Applications/Games/Call of Juarez Gunslinger/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Call of Juarez Gunslinger/application.json b/Applications/Games/Call of Juarez Gunslinger/application.json
index 0aa022b901..d3c1ba9f0c 100644
--- a/Applications/Games/Call of Juarez Gunslinger/application.json
+++ b/Applications/Games/Call of Juarez Gunslinger/application.json
@@ -1,4 +1,5 @@
{
"name": "Call of Juarez® Gunslinger",
+ "id": "call_of_juarez_gunslinger",
"description": "From the dust of a gold mine to the dirt of a saloon, Call of Juarez® Gunslinger is a real homage to the Wild West tales. Live the epic and violent journey of a ruthless bounty hunter on the trail of the West’s most notorious outlaws."
}
diff --git a/Applications/Games/ChromaGun/Steam (Demo)/script.js b/Applications/Games/ChromaGun/Steam (Demo)/script.js
index 111a94ce88..2ded15cafa 100644
--- a/Applications/Games/ChromaGun/Steam (Demo)/script.js
+++ b/Applications/Games/ChromaGun/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("ChromaGun (Demo)")
diff --git a/Applications/Games/ChromaGun/Steam (Demo)/script.json b/Applications/Games/ChromaGun/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/ChromaGun/Steam (Demo)/script.json
+++ b/Applications/Games/ChromaGun/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/ChromaGun/Steam/script.js b/Applications/Games/ChromaGun/Steam/script.js
index 80a8f42168..61e3621606 100644
--- a/Applications/Games/ChromaGun/Steam/script.js
+++ b/Applications/Games/ChromaGun/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("ChromaGun")
diff --git a/Applications/Games/ChromaGun/Steam/script.json b/Applications/Games/ChromaGun/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/ChromaGun/Steam/script.json
+++ b/Applications/Games/ChromaGun/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/ChromaGun/application.json b/Applications/Games/ChromaGun/application.json
index 728324ca9c..913983593b 100644
--- a/Applications/Games/ChromaGun/application.json
+++ b/Applications/Games/ChromaGun/application.json
@@ -1,4 +1,5 @@
{
"name": "ChromaGun",
+ "id": "chroma_gun",
"description": "Welcome to ChromaTec’s test lab! You’re here to test our newest, state-of-the-art military-grade color-technology: The ChromaGun (patent pending)! Use it to try and solve our meticulously designed test chambers. The basic principle is as easy as applying it is complex: Exit the chambers via the exit doors. But be weary of the WorkerDroids in charge of maintaining the chambers. They’re not exactly what you and I would call “human friendly”.
Use the ChromaGun to colorize walls and WorkerDroids to progress in the chambers. WorkerDroids are attracted to walls of the same color. Using that mechanic, try to reach the exit door of each chamber. Some doors are more complicated to use than others: They can only be opened using door triggers and only stay open as long as the triggers are occupied. br>If all of this sounds like your brain can handle it, congratulations! You’re the perfect candidate for our test chambers!
That being said, welcome and good luck!"
}
diff --git a/Applications/Games/Civilization V/Steam/script.js b/Applications/Games/Civilization V/Steam/script.js
index f46fb546a9..c40df9a6e6 100644
--- a/Applications/Games/Civilization V/Steam/script.js
+++ b/Applications/Games/Civilization V/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Civilization V")
diff --git a/Applications/Games/Civilization V/Steam/script.json b/Applications/Games/Civilization V/Steam/script.json
index 29c227d918..da39f4ed74 100644
--- a/Applications/Games/Civilization V/Steam/script.json
+++ b/Applications/Games/Civilization V/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Civilization V/application.json b/Applications/Games/Civilization V/application.json
index 7eb8af3488..a784f7c697 100644
--- a/Applications/Games/Civilization V/application.json
+++ b/Applications/Games/Civilization V/application.json
@@ -1,4 +1,5 @@
{
"name": "Civilization V",
+ "id": "civilization_5",
"description": "In Civilization V, the player leads a civilization from prehistoric times into the future on a procedurally generated map, achieving one of a number of different victory conditions through research, exploration, diplomacy, expansion, economic development, government and military conquest."
-}
\ No newline at end of file
+}
diff --git a/Applications/Games/Clicker Heroes/Steam/script.js b/Applications/Games/Clicker Heroes/Steam/script.js
index 450eee8625..b1e37b014a 100644
--- a/Applications/Games/Clicker Heroes/Steam/script.js
+++ b/Applications/Games/Clicker Heroes/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Clicker Heroes")
diff --git a/Applications/Games/Clicker Heroes/Steam/script.json b/Applications/Games/Clicker Heroes/Steam/script.json
index 82941879df..cda7753a66 100644
--- a/Applications/Games/Clicker Heroes/Steam/script.json
+++ b/Applications/Games/Clicker Heroes/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Clicker Heroes/application.json b/Applications/Games/Clicker Heroes/application.json
index 7bf3449abf..d1b1edde54 100644
--- a/Applications/Games/Clicker Heroes/application.json
+++ b/Applications/Games/Clicker Heroes/application.json
@@ -1,4 +1,5 @@
{
"name": "Clicker Heroes",
+ "id": "clicker_heroes",
"description": "Ever wondered what one quadrillion damage per second feels like? Wonder no more! Embark on your quest to attain it today! Start out by clicking on the monster to kill them, and get their gold. Spend that gold on hiring new heroes and get more damage. The more damage you deal, the more gold you will get."
}
diff --git a/Applications/Games/Cogs/Steam (Demo)/script.js b/Applications/Games/Cogs/Steam (Demo)/script.js
index 33e78da32e..9f3cd0d36f 100644
--- a/Applications/Games/Cogs/Steam (Demo)/script.js
+++ b/Applications/Games/Cogs/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Cogs (Demo)")
diff --git a/Applications/Games/Cogs/Steam (Demo)/script.json b/Applications/Games/Cogs/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Cogs/Steam (Demo)/script.json
+++ b/Applications/Games/Cogs/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Cogs/Steam/script.js b/Applications/Games/Cogs/Steam/script.js
index 83e6c8d46a..43cce70a92 100644
--- a/Applications/Games/Cogs/Steam/script.js
+++ b/Applications/Games/Cogs/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Cogs")
diff --git a/Applications/Games/Cogs/Steam/script.json b/Applications/Games/Cogs/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Cogs/Steam/script.json
+++ b/Applications/Games/Cogs/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Cogs/application.json b/Applications/Games/Cogs/application.json
index f0a0117b14..03abd1f4fe 100644
--- a/Applications/Games/Cogs/application.json
+++ b/Applications/Games/Cogs/application.json
@@ -1,4 +1,5 @@
{
"name": "Cogs",
+ "id": "cogs",
"description": "Cogs is a puzzle game where players build machines from sliding tiles. Players can choose from 50 levels and 3 gameplay modes. New puzzles are unlocked by building contraptions quickly and efficiently."
}
diff --git a/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.js b/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.js
index 676ce61a90..cbc27e0331 100644
--- a/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.js
+++ b/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.js
@@ -1,6 +1,6 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Engines", "Wine", "Verbs", "d3dx9"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
+include(["engines", "wine", "engine", "object"]);
+include(["engines", "wine", "verbs", "d3dx9"]);
new LocalInstallerScript()
.name("Command and Conquer - Tiberium Wars")
@@ -10,7 +10,7 @@ new LocalInstallerScript()
.executable("CNC3.exe")
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.windowsVersion("winxp")
wine.d3dx9();
wine.enableCSMT();
diff --git a/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.json b/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.json
index cc98713fe7..81cf5a233e 100644
--- a/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.json
+++ b/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Command and Conquer - Tiberium Wars/application.json b/Applications/Games/Command and Conquer - Tiberium Wars/application.json
index 0312e22e81..61227c182c 100644
--- a/Applications/Games/Command and Conquer - Tiberium Wars/application.json
+++ b/Applications/Games/Command and Conquer - Tiberium Wars/application.json
@@ -1,4 +1,5 @@
{
"name": "Command and Conquer - Tiberium Wars",
+ "id": "command_and_conquer_tiberium_wars",
"description": "You are in command of the armies of either GDI or NOD with the fate of Earth in the balance."
}
diff --git a/Applications/Games/Consortium: The Tower/Steam (Demo)/script.js b/Applications/Games/Consortium: The Tower/Steam (Demo)/script.js
index 72945e5eeb..9619b57555 100644
--- a/Applications/Games/Consortium: The Tower/Steam (Demo)/script.js
+++ b/Applications/Games/Consortium: The Tower/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Consortium: The Tower (Demo)")
diff --git a/Applications/Games/Consortium: The Tower/Steam (Demo)/script.json b/Applications/Games/Consortium: The Tower/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Consortium: The Tower/Steam (Demo)/script.json
+++ b/Applications/Games/Consortium: The Tower/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Consortium: The Tower/Steam/script.js b/Applications/Games/Consortium: The Tower/Steam/script.js
index acccf2ba5f..adf1ad6dd9 100644
--- a/Applications/Games/Consortium: The Tower/Steam/script.js
+++ b/Applications/Games/Consortium: The Tower/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Consortium: The Tower")
diff --git a/Applications/Games/Consortium: The Tower/Steam/script.json b/Applications/Games/Consortium: The Tower/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Consortium: The Tower/Steam/script.json
+++ b/Applications/Games/Consortium: The Tower/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Consortium: The Tower/application.json b/Applications/Games/Consortium: The Tower/application.json
index 07bf91703d..06e3c77637 100644
--- a/Applications/Games/Consortium: The Tower/application.json
+++ b/Applications/Games/Consortium: The Tower/application.json
@@ -1,4 +1,5 @@
{
"name": "Consortium: The Tower",
+ "id": "consortium_the_tower",
"description": "A pure sci-fi single-player immersive simulation. Dive into a world shaped by YOUR choices! Explore, talk, fight or sneak through The Churchill Tower in 2042! Can you survive The Tower?"
}
diff --git a/Applications/Games/Crayon Physics/Online/script.js b/Applications/Games/Crayon Physics/Online/script.js
index a05c1e2aa2..2dcb718839 100644
--- a/Applications/Games/Crayon Physics/Online/script.js
+++ b/Applications/Games/Crayon Physics/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "ZipScript"]);
+include(["engines", "wine", "quick_script", "zip_script"]);
new ZipScript()
.name("Crayon Physics")
diff --git a/Applications/Games/Crayon Physics/Online/script.json b/Applications/Games/Crayon Physics/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Games/Crayon Physics/Online/script.json
+++ b/Applications/Games/Crayon Physics/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Crayon Physics/application.json b/Applications/Games/Crayon Physics/application.json
index 7653cbd504..956b7c8f24 100644
--- a/Applications/Games/Crayon Physics/application.json
+++ b/Applications/Games/Crayon Physics/application.json
@@ -1,4 +1,5 @@
{
"name": "Crayon Physics",
+ "id": "crayon_physics",
"description": "Crayon Physics is a mouse arcade game. You will have to draw lines and squares to move a ball. The aim is to catch the stars in the level. "
}
diff --git a/Applications/Games/DC Universe Online/Online/script.js b/Applications/Games/DC Universe Online/Online/script.js
index f60897551b..7789f9156b 100644
--- a/Applications/Games/DC Universe Online/Online/script.js
+++ b/Applications/Games/DC Universe Online/Online/script.js
@@ -1,6 +1,6 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "vcrun2012"]);
-include(["Engines", "Wine", "Verbs", "d3dx9"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
+include(["engines", "wine", "verbs", "vcrun2012"]);
+include(["engines", "wine", "verbs", "d3dx9"]);
new OnlineInstallerScript()
.name("DC Universe Online")
@@ -10,8 +10,8 @@ new OnlineInstallerScript()
.url("https://launch.daybreakgames.com/installer/DCUO_setup.exe")
.category("Games")
.executable("LaunchPad.exe")
- .preInstall(function(wine, wizard) {
- wine.vcrun2012();
- wine.d3dx9();
+ .preInstall(function (wine/*, wizard*/) {
+ wine.vcrun2012();
+ wine.d3dx9();
})
-.go();
+ .go();
diff --git a/Applications/Games/DC Universe Online/Online/script.json b/Applications/Games/DC Universe Online/Online/script.json
index a5f3ca8b36..4d06d94970 100644
--- a/Applications/Games/DC Universe Online/Online/script.json
+++ b/Applications/Games/DC Universe Online/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": true,
diff --git a/Applications/Games/DC Universe Online/application.json b/Applications/Games/DC Universe Online/application.json
index 98de38eab1..41dda00329 100644
--- a/Applications/Games/DC Universe Online/application.json
+++ b/Applications/Games/DC Universe Online/application.json
@@ -1,4 +1,5 @@
{
"name": "DC Universe Online",
+ "id": "dc_universe_online",
"description": "Sony's new MMORPG based on the DC universe. Be a hero or villain in 2 humongous cities."
}
diff --git a/Applications/Games/DOOM (2016)/Steam/script.js b/Applications/Games/DOOM (2016)/Steam/script.js
index a80518a8ad..a1501b230a 100644
--- a/Applications/Games/DOOM (2016)/Steam/script.js
+++ b/Applications/Games/DOOM (2016)/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("DOOM (2016)")
diff --git a/Applications/Games/DOOM (2016)/Steam/script.json b/Applications/Games/DOOM (2016)/Steam/script.json
index 622b5eb010..58879c3fa0 100644
--- a/Applications/Games/DOOM (2016)/Steam/script.json
+++ b/Applications/Games/DOOM (2016)/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/DOOM (2016)/application.json b/Applications/Games/DOOM (2016)/application.json
index 6c2a8ef644..1a7f7a32d0 100644
--- a/Applications/Games/DOOM (2016)/application.json
+++ b/Applications/Games/DOOM (2016)/application.json
@@ -1,4 +1,5 @@
{
"name": "DOOM (2016)",
+ "id": "doom_2016",
"description": "Developed by id software, the studio that pioneered the first-person shooter genre and created multiplayer Deathmatch, DOOM returns as a brutally fun and challenging modern-day shooter experience. Relentless demons, impossibly destructive guns, and fast, fluid movement provide the foundation for intense, first-person combat – whether you’re obliterating demon hordes through the depths of Hell in the single-player campaign, or competing against your friends in numerous multiplayer modes. Expand your gameplay experience using DOOM SnapMap game editor to easily create, play, and share your content with the world."
}
diff --git a/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/Steam/script.js b/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/Steam/script.js
index d8e07274e4..c8bc51dd53 100644
--- a/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/Steam/script.js
+++ b/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist")
diff --git a/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/Steam/script.json b/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/Steam/script.json
index 2dd7891898..03e6df2b05 100644
--- a/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/Steam/script.json
+++ b/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": true,
diff --git a/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/application.json b/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/application.json
index 83a0a73b23..28c382886f 100644
--- a/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/application.json
+++ b/Applications/Games/Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist/application.json
@@ -1,4 +1,5 @@
{
"name": "Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist",
+ "id": "dr_langeskov_the_tiger_and_the_terribly_cursed_emerald_a_whirlwind_heist",
"description": "A 15 minute heist game by Crows Crows Crows & Directed by William Pugh (The Stanley Parable). "
}
diff --git a/Applications/Games/Dragon Ball Xenoverse 2/Steam/script.js b/Applications/Games/Dragon Ball Xenoverse 2/Steam/script.js
index d09227de71..a91095e96d 100644
--- a/Applications/Games/Dragon Ball Xenoverse 2/Steam/script.js
+++ b/Applications/Games/Dragon Ball Xenoverse 2/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Dragon Ball Xenoverse 2")
@@ -8,7 +8,7 @@ new SteamScript()
.wineDistribution("staging")
.wineArchitecture("amd64")
.appId(454650)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.enableCSMT();
//might need dxfullsetup d3d11 and d3d_43 compiler, but test result is old (2.10)
})
diff --git a/Applications/Games/Dragon Ball Xenoverse 2/Steam/script.json b/Applications/Games/Dragon Ball Xenoverse 2/Steam/script.json
index eacb79a928..b914721abc 100644
--- a/Applications/Games/Dragon Ball Xenoverse 2/Steam/script.json
+++ b/Applications/Games/Dragon Ball Xenoverse 2/Steam/script.json
@@ -1,7 +1,8 @@
{
- "scriptName": "Steam",
- "compatibleOperatingSystems": ["MACOSX", "LINUX"],
- "testingOperatingSystems": ["MACOSX", "LINUX"],
- "free": false,
- "requiresPatch": false
+ "scriptName": "Steam",
+ "id": "steam",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": ["MACOSX", "LINUX"],
+ "free": false,
+ "requiresPatch": false
}
diff --git a/Applications/Games/Dragon Ball Xenoverse 2/application.json b/Applications/Games/Dragon Ball Xenoverse 2/application.json
index 3bff25cc06..8a32d9f3bd 100644
--- a/Applications/Games/Dragon Ball Xenoverse 2/application.json
+++ b/Applications/Games/Dragon Ball Xenoverse 2/application.json
@@ -1,4 +1,5 @@
{
"name": "Dragon Ball Xenoverse 2",
+ "id": "dragon_ball_xenoverse_2",
"description": "DRAGON BALL XENOVERSE 2 builds upon the highly popular DRAGON BALL XENOVERSE with enhanced graphics that will further immerse players into the largest and most detailed Dragon Ball world ever developed.
DRAGON BALL XENOVERSE 2 will deliver a new hub city and the most character customization choices to date among a multitude of new features and special upgrades."
}
diff --git a/Applications/Games/Dragon Ball Xenoverse/Steam/script.js b/Applications/Games/Dragon Ball Xenoverse/Steam/script.js
index d086d86b32..6d5e8613ac 100644
--- a/Applications/Games/Dragon Ball Xenoverse/Steam/script.js
+++ b/Applications/Games/Dragon Ball Xenoverse/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Dragon Ball Xenoverse")
diff --git a/Applications/Games/Dragon Ball Xenoverse/Steam/script.json b/Applications/Games/Dragon Ball Xenoverse/Steam/script.json
index eacb79a928..b914721abc 100644
--- a/Applications/Games/Dragon Ball Xenoverse/Steam/script.json
+++ b/Applications/Games/Dragon Ball Xenoverse/Steam/script.json
@@ -1,7 +1,8 @@
{
- "scriptName": "Steam",
- "compatibleOperatingSystems": ["MACOSX", "LINUX"],
- "testingOperatingSystems": ["MACOSX", "LINUX"],
- "free": false,
- "requiresPatch": false
+ "scriptName": "Steam",
+ "id": "steam",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": ["MACOSX", "LINUX"],
+ "free": false,
+ "requiresPatch": false
}
diff --git a/Applications/Games/Dragon Ball Xenoverse/application.json b/Applications/Games/Dragon Ball Xenoverse/application.json
index 9545032b7b..47e921ec83 100644
--- a/Applications/Games/Dragon Ball Xenoverse/application.json
+++ b/Applications/Games/Dragon Ball Xenoverse/application.json
@@ -1,4 +1,5 @@
{
"name": "Dragon Ball Xenoverse",
+ "id": "dragon_ball_xenoverse",
"description": "FOR THE FIRST TIME EVER, THE DRAGON BALL UNIVERSE IS COMING TO STEAM!
DRAGON BALL XENOVERSE revisits famous battles from the series through your custom Avatar, who fights alongside Trunks and many other characters. Will the strength of this partnership be enough to intervene in fights and restore the Dragon Ball timeline we know? New features include the mysterious Toki Toki City, new gameplay mechanics, new character animations and many other amazing features to be unveiled soon!"
}
diff --git a/Applications/Games/Druid Soccer/Online/script.js b/Applications/Games/Druid Soccer/Online/script.js
index 3b5cced71f..0d8c740299 100644
--- a/Applications/Games/Druid Soccer/Online/script.js
+++ b/Applications/Games/Druid Soccer/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "ZipScript"]);
+include(["engines", "wine", "quick_script", "zip_script"]);
new ZipScript()
.name("Druid Soccer")
diff --git a/Applications/Games/Druid Soccer/Online/script.json b/Applications/Games/Druid Soccer/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Games/Druid Soccer/Online/script.json
+++ b/Applications/Games/Druid Soccer/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Druid Soccer/application.json b/Applications/Games/Druid Soccer/application.json
index 4c33e740b7..77e1e2e29c 100644
--- a/Applications/Games/Druid Soccer/application.json
+++ b/Applications/Games/Druid Soccer/application.json
@@ -1,4 +1,5 @@
{
"name": "Druid Soccer",
+ "id": "druid_soccer",
"description": "You take part in the ancient traditional game of Druid Soccer."
}
diff --git a/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.js b/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.js
index 2124ffe40b..b58cad6e53 100644
--- a/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.js
+++ b/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.js
@@ -1,7 +1,7 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "corefonts"]);
-include(["Engines", "Wine", "Verbs", "d3dx9"]);
-include(["Engines", "Wine", "Verbs", "vcrun2008"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
+include(["engines", "wine", "verbs", "corefonts"]);
+include(["engines", "wine", "verbs", "d3dx9"]);
+include(["engines", "wine", "verbs", "vcrun2008"]);
new OnlineInstallerScript()
.name("Earth Eternal - Valkal's Shadow")
@@ -11,10 +11,10 @@ new OnlineInstallerScript()
.url("http://www.theanubianwar.com/sites/default/files/downloads/EarthEternal_Valkals_Shadow_Setup.exe")
.installationArgs(["/S"])
.category("Games")
- .executable("Spark.exe",["http://live.theanubianwar.com/Release/Current/EarthEternal.car"])
+ .executable("Spark.exe", ["http://live.theanubianwar.com/Release/Current/EarthEternal.car"])
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .preInstall(function (wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.windowsVersion("winxp");
wine.corefonts();
wine.d3dx9();
diff --git a/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.json b/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.json
index fa6d2199e1..5f4b4f3bdb 100644
--- a/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.json
+++ b/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Earth Eternal - Valkal's Shadow/application.json b/Applications/Games/Earth Eternal - Valkal's Shadow/application.json
index 7be89fe18b..801435932b 100644
--- a/Applications/Games/Earth Eternal - Valkal's Shadow/application.json
+++ b/Applications/Games/Earth Eternal - Valkal's Shadow/application.json
@@ -1,4 +1,5 @@
{
"name": "Earth Eternal - Valkal's Shadow",
+ "id": "earth_eternal_valkals_shadow",
"description": "Set in a world where humans are long gone, and beasts reign supreme, Earth Eternal - Valkal's Shadow is a fan-run continuation of Earth Eternal, an abandoned MMORPG by Sparkplay Media. Valkal's Shadow is based off of version 0.8.6, but with lots of new content and features added, including 2 new regions, many new dungeons and countless new quests."
}
diff --git a/Applications/Games/Elite:Dangerous/Steam/script.js b/Applications/Games/Elite:Dangerous/Steam/script.js
index 80db14b899..483de54709 100644
--- a/Applications/Games/Elite:Dangerous/Steam/script.js
+++ b/Applications/Games/Elite:Dangerous/Steam/script.js
@@ -1,22 +1,22 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "corefonts"]);
-include(["Engines", "Wine", "Verbs", "dotnet452"]);
-include(["Engines", "Wine", "Verbs", "vcrun2012"]);
-include(["Engines", "Wine", "Verbs", "quartz"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "corefonts"]);
+include(["engines", "wine", "verbs", "dotnet452"]);
+include(["engines", "wine", "verbs", "vcrun2012"]);
+include(["engines", "wine", "verbs", "quartz"]);
new SteamScript()
- .name("Elite:Dangerous")
- .editor("Frontier Developments")
+ .name("Elite:Dangerous")
+ .editor("Frontier Developments")
.author("ImperatorS79")
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.wineArchitecture("amd64")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.dotnet452();
wine.corefonts();
wine.quartz();
wine.vcrun2012();
wine.enableCSMT();
})
- .appId(359320)
- .go();
+ .appId(359320)
+ .go();
diff --git a/Applications/Games/Elite:Dangerous/Steam/script.json b/Applications/Games/Elite:Dangerous/Steam/script.json
index 407e064e9e..54d1ab4d92 100644
--- a/Applications/Games/Elite:Dangerous/Steam/script.json
+++ b/Applications/Games/Elite:Dangerous/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/Elite:Dangerous/application.json b/Applications/Games/Elite:Dangerous/application.json
index b358f4a1f1..2d407ccd69 100644
--- a/Applications/Games/Elite:Dangerous/application.json
+++ b/Applications/Games/Elite:Dangerous/application.json
@@ -1,4 +1,5 @@
{
"name": "Elite:Dangerous",
+ "id": "elite_dangerous",
"description": "Take control of your own starship in a cutthroat galaxy. Elite Dangerous brings gaming’s original open world adventure into the modern generation with a connected galaxy, evolving narrative and the entirety of the Milky Way re-created at its full galactic proportions.
Elite Dangerous is the definitive massively multiplayer space epic, bringing gaming’s original open world adventure to the modern generation with a connected galaxy, evolving narrative and the entirety of the Milky Way re-created at its full galactic proportions."
}
diff --git a/Applications/Games/Enderal/Steam/script.js b/Applications/Games/Enderal/Steam/script.js
index 0343c6856d..46e2a613a0 100644
--- a/Applications/Games/Enderal/Steam/script.js
+++ b/Applications/Games/Enderal/Steam/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["utils", "functions", "filesystem", "files"]);
new SteamScript()
.name("Enderal")
@@ -7,7 +7,7 @@ new SteamScript()
.author("Plata")
.appId(72850) // Skyrim appId
.applicationHomepage("http://sureai.net/games/enderal/")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine, wizard) {
// the SteamScript has installed Skyrim, now install Enderal
var launcher = wine.prefixDirectory + "drive_c/" + wine.programFiles() + "/Steam/steamapps/common/Skyrim/Enderal Launcher.exe";
new Downloader()
diff --git a/Applications/Games/Enderal/Steam/script.json b/Applications/Games/Enderal/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Enderal/Steam/script.json
+++ b/Applications/Games/Enderal/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Enderal/application.json b/Applications/Games/Enderal/application.json
index 2284cc5aaf..352d17f73e 100644
--- a/Applications/Games/Enderal/application.json
+++ b/Applications/Games/Enderal/application.json
@@ -1,4 +1,5 @@
{
"name": "Enderal",
+ "id": "enderal",
"description": "Enderal is a total conversion for TES V: Skyrim: a game modification that is set in its own world with its own landscape, lore and story. It offers an immersive open world, all for the player to explore, overhauled skill systems and gameplay mechanics and a dark, psychological storyline with believable characters."
}
diff --git a/Applications/Games/Epic Games Launcher/Local/script.js b/Applications/Games/Epic Games Launcher/Local/script.js
index 1f65862b61..0f37287772 100644
--- a/Applications/Games/Epic Games Launcher/Local/script.js
+++ b/Applications/Games/Epic Games Launcher/Local/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
.name("Epic Games Launcher")
diff --git a/Applications/Games/Epic Games Launcher/Local/script.json b/Applications/Games/Epic Games Launcher/Local/script.json
index d272993487..f997a17525 100644
--- a/Applications/Games/Epic Games Launcher/Local/script.json
+++ b/Applications/Games/Epic Games Launcher/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Epic Games Launcher/Online/script.js b/Applications/Games/Epic Games Launcher/Online/script.js
index 3e83ca5246..4039a971d9 100644
--- a/Applications/Games/Epic Games Launcher/Online/script.js
+++ b/Applications/Games/Epic Games Launcher/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("Epic Games Launcher")
diff --git a/Applications/Games/Epic Games Launcher/Online/script.json b/Applications/Games/Epic Games Launcher/Online/script.json
index f32ef52be7..6126b2cb98 100644
--- a/Applications/Games/Epic Games Launcher/Online/script.json
+++ b/Applications/Games/Epic Games Launcher/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Epic Games Launcher/application.json b/Applications/Games/Epic Games Launcher/application.json
index c6487a0cfb..85b6c8abc7 100644
--- a/Applications/Games/Epic Games Launcher/application.json
+++ b/Applications/Games/Epic Games Launcher/application.json
@@ -1,4 +1,5 @@
{
"name": "Epic Games Launcher",
+ "id": "epic_games_launcher",
"description": "Launcher for Unreal Engine, Unreal Tournament, Paragon etc."
}
diff --git a/Applications/Games/Ether One Redux/Steam/script.js b/Applications/Games/Ether One Redux/Steam/script.js
index daf6107104..c74c9e7d66 100644
--- a/Applications/Games/Ether One Redux/Steam/script.js
+++ b/Applications/Games/Ether One Redux/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Ether One Redux")
@@ -8,7 +8,7 @@ new SteamScript()
.wineArchitecture("amd64")
.executable("Steam.exe", ["-silent", "-applaunch", 391920, "-nosplash", "-opengl4"])
.gameOverlay(false)
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.setOsForApplication().set("EtherOne-Win32-Shipping.exe", "win7").do();
})
.go();
diff --git a/Applications/Games/Ether One Redux/Steam/script.json b/Applications/Games/Ether One Redux/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Ether One Redux/Steam/script.json
+++ b/Applications/Games/Ether One Redux/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Ether One Redux/application.json b/Applications/Games/Ether One Redux/application.json
index f55cbc90d9..b3cbe9dbd0 100644
--- a/Applications/Games/Ether One Redux/application.json
+++ b/Applications/Games/Ether One Redux/application.json
@@ -1,4 +1,5 @@
{
"name": "Ether One Redux",
+ "id": "ether_one_redux",
"description": "Ether One is a first person adventure that deals with the fragility of the human mind. There are two paths in the world you can choose from. At its core is a story exploration path free from puzzles where you can unfold the story at your own pace."
}
diff --git a/Applications/Games/Europa Universalis II/Local/script.js b/Applications/Games/Europa Universalis II/Local/script.js
index b5f48d1b50..b8d0807d79 100644
--- a/Applications/Games/Europa Universalis II/Local/script.js
+++ b/Applications/Games/Europa Universalis II/Local/script.js
@@ -1,10 +1,10 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
- .name("Europa Universalis II")
- .editor("Ubisoft")
- .author("ImperatorS79")
- .category("Games")
+ .name("Europa Universalis II")
+ .editor("Ubisoft")
+ .author("ImperatorS79")
+ .category("Games")
.executable("eu2.exe")
- //TO DO : find static link to 1.07 and 1.09 update, and add a .postinstall.
+ //TO DO : find static link to 1.07 and 1.09 update, and add a .postinstall.
.go();
diff --git a/Applications/Games/Europa Universalis II/Local/script.json b/Applications/Games/Europa Universalis II/Local/script.json
index 26fabde451..d3864718d7 100644
--- a/Applications/Games/Europa Universalis II/Local/script.json
+++ b/Applications/Games/Europa Universalis II/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Europa Universalis II/application.json b/Applications/Games/Europa Universalis II/application.json
index 4295d09892..b8ea322f87 100644
--- a/Applications/Games/Europa Universalis II/application.json
+++ b/Applications/Games/Europa Universalis II/application.json
@@ -1,4 +1,5 @@
{
"name": "Europa Universalis II",
+ "id": "europa_universalis_2",
"description": "Europa Universalis II is a strategy computer game developed by Paradox Development Studio and published by Strategy First, based on world history spanning a timeline between 1419 through 1820."
}
diff --git a/Applications/Games/Europa Universalis IV/Steam (Demo)/script.js b/Applications/Games/Europa Universalis IV/Steam (Demo)/script.js
index a63d5987d3..b2506d0873 100644
--- a/Applications/Games/Europa Universalis IV/Steam (Demo)/script.js
+++ b/Applications/Games/Europa Universalis IV/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Europa Universalis IV (Demo)")
diff --git a/Applications/Games/Europa Universalis IV/Steam (Demo)/script.json b/Applications/Games/Europa Universalis IV/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Europa Universalis IV/Steam (Demo)/script.json
+++ b/Applications/Games/Europa Universalis IV/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Europa Universalis IV/Steam/script.js b/Applications/Games/Europa Universalis IV/Steam/script.js
index 7d7d00375a..99228bd278 100644
--- a/Applications/Games/Europa Universalis IV/Steam/script.js
+++ b/Applications/Games/Europa Universalis IV/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Europa Universalis IV")
diff --git a/Applications/Games/Europa Universalis IV/Steam/script.json b/Applications/Games/Europa Universalis IV/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Europa Universalis IV/Steam/script.json
+++ b/Applications/Games/Europa Universalis IV/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Europa Universalis IV/application.json b/Applications/Games/Europa Universalis IV/application.json
index 9e37eea2db..61d9b85b0d 100644
--- a/Applications/Games/Europa Universalis IV/application.json
+++ b/Applications/Games/Europa Universalis IV/application.json
@@ -1,4 +1,5 @@
{
"name": "Europa Universalis IV",
+ "id": "europa_universalis_4",
"description": "The empire building game Europa Universalis IV gives you control of a nation to guide through the years in order to create a dominant global empire. Rule your nation through the centuries, with unparalleled freedom, depth and historical accuracy."
}
diff --git a/Applications/Games/Far Cry 2/Steam/script.js b/Applications/Games/Far Cry 2/Steam/script.js
index e4ac3f63b3..4ec63a0c5a 100644
--- a/Applications/Games/Far Cry 2/Steam/script.js
+++ b/Applications/Games/Far Cry 2/Steam/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "secur32"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "secur32"]);
new SteamScript()
.name("Far Cry® 2")
@@ -8,7 +8,7 @@ new SteamScript()
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.appId(19900)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.secur32();
wine.enableCSMT();
})
diff --git a/Applications/Games/Far Cry 2/Steam/script.json b/Applications/Games/Far Cry 2/Steam/script.json
index eacb79a928..b914721abc 100644
--- a/Applications/Games/Far Cry 2/Steam/script.json
+++ b/Applications/Games/Far Cry 2/Steam/script.json
@@ -1,7 +1,8 @@
{
- "scriptName": "Steam",
- "compatibleOperatingSystems": ["MACOSX", "LINUX"],
- "testingOperatingSystems": ["MACOSX", "LINUX"],
- "free": false,
- "requiresPatch": false
+ "scriptName": "Steam",
+ "id": "steam",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": ["MACOSX", "LINUX"],
+ "free": false,
+ "requiresPatch": false
}
diff --git a/Applications/Games/Far Cry 2/application.json b/Applications/Games/Far Cry 2/application.json
index 81ac69cb07..07e87c880a 100644
--- a/Applications/Games/Far Cry 2/application.json
+++ b/Applications/Games/Far Cry 2/application.json
@@ -1,4 +1,5 @@
{
"name": "Far Cry® 2",
+ "id": "far_cry_2",
"description": "You are a gun for hire, trapped in a war-torn African state, stricken with malaria and forced to make deals with corrupt warlords on both sides of the conflict in order to make this country your home.
You must identify and exploit your enemies' weaknesses, neutralizing their superior numbers and firepower with surprise, subversion, cunning and of course brute force."
}
diff --git a/Applications/Games/Far Cry 3 - Blood Dragon/Uplay/script.js b/Applications/Games/Far Cry 3 - Blood Dragon/Uplay/script.js
index a79b67e453..1fbe3b10ea 100644
--- a/Applications/Games/Far Cry 3 - Blood Dragon/Uplay/script.js
+++ b/Applications/Games/Far Cry 3 - Blood Dragon/Uplay/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "UplayScript"]);
+include(["engines", "wine", "quick_script", "uplay_script"]);
new UplayScript()
.name("Far Cry 3 - Blood Dragon")
diff --git a/Applications/Games/Far Cry 3 - Blood Dragon/Uplay/script.json b/Applications/Games/Far Cry 3 - Blood Dragon/Uplay/script.json
index bd5c110a74..ff06f01656 100644
--- a/Applications/Games/Far Cry 3 - Blood Dragon/Uplay/script.json
+++ b/Applications/Games/Far Cry 3 - Blood Dragon/Uplay/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Uplay",
+ "id": "uplay",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/Far Cry 3 - Blood Dragon/application.json b/Applications/Games/Far Cry 3 - Blood Dragon/application.json
index 8acd53c3f3..ae5ac60d7e 100644
--- a/Applications/Games/Far Cry 3 - Blood Dragon/application.json
+++ b/Applications/Games/Far Cry 3 - Blood Dragon/application.json
@@ -1,4 +1,5 @@
{
"name": "Far Cry 3 - Blood Dragon",
+ "id": "far_cry_3_blood_dragon",
"description": "Far Cry® 3: Blood Dragon is THE Kick-Ass Cyber Shooter.Welcome to an 80’s vision of the future. The year is 2007 and you are Sargent Rex Colt, a Mark IV Cyber Commando. Your mission: get the girl, kill the baddies, and save the world."
}
diff --git a/Applications/Games/Far Cry/Steam/script.js b/Applications/Games/Far Cry/Steam/script.js
index 51af722252..6be6675492 100644
--- a/Applications/Games/Far Cry/Steam/script.js
+++ b/Applications/Games/Far Cry/Steam/script.js
@@ -1,8 +1,8 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
- .name("Far Cry")
- .editor("Crytek GmbH")
- .author("ImperatorS79")
- .appId(13520)
- .go();
+ .name("Far Cry")
+ .editor("Crytek GmbH")
+ .author("ImperatorS79")
+ .appId(13520)
+ .go();
diff --git a/Applications/Games/Far Cry/Steam/script.json b/Applications/Games/Far Cry/Steam/script.json
index a043f9c28e..9f60de64eb 100644
--- a/Applications/Games/Far Cry/Steam/script.json
+++ b/Applications/Games/Far Cry/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Far Cry/application.json b/Applications/Games/Far Cry/application.json
index 6c0a4d4387..9bb3a5e9cc 100644
--- a/Applications/Games/Far Cry/application.json
+++ b/Applications/Games/Far Cry/application.json
@@ -1,4 +1,5 @@
{
"name": "Far Cry",
+ "id": "far_cry",
"description": "A tropical paradise seethes with hidden evil in Far Cry®, a cunningly detailed action shooter that pushes the boundaries of combat to shocking new levels.
Freelance mariner Jack Carver is cursing the day he ever came to this island. A week ago, a brash female reporter named Valerie had offered him an incredible sum of cash to take her to this unspoiled paradise. Shortly after docking, however, Jack's boat was greeted by artillery fire from a mysterious militia group swarming about the island.
With his boat destroyed, his money gone, and the gorgeous Valerie suddenly missing, Jack now finds himself facing an army of mercenaries amidst the wilds of the island, with nothing but a gun and his wits to survive. But the further he pushes into the lush jungle canopy, the stranger things become.
Jack encounters an insider within the militia group who reveals the horrific details of the mercenaries' true intentions. He presents Jack with an unsettling choice: battle the deadliest mercenaries, or condemn the human race to a maniac's insidious agenda."
}
diff --git a/Applications/Games/FlatOut/Steam (Demo)/script.js b/Applications/Games/FlatOut/Steam (Demo)/script.js
index 0396ad708f..06adce81df 100644
--- a/Applications/Games/FlatOut/Steam (Demo)/script.js
+++ b/Applications/Games/FlatOut/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("FlatOut (Demo)")
diff --git a/Applications/Games/FlatOut/Steam (Demo)/script.json b/Applications/Games/FlatOut/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/FlatOut/Steam (Demo)/script.json
+++ b/Applications/Games/FlatOut/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/FlatOut/Steam/script.js b/Applications/Games/FlatOut/Steam/script.js
index 4d5d5e0001..da70b8b2e4 100644
--- a/Applications/Games/FlatOut/Steam/script.js
+++ b/Applications/Games/FlatOut/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("FlatOut")
diff --git a/Applications/Games/FlatOut/Steam/script.json b/Applications/Games/FlatOut/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/FlatOut/Steam/script.json
+++ b/Applications/Games/FlatOut/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/FlatOut/application.json b/Applications/Games/FlatOut/application.json
index 310ef315d9..d5ba620059 100644
--- a/Applications/Games/FlatOut/application.json
+++ b/Applications/Games/FlatOut/application.json
@@ -1,4 +1,5 @@
{
"name": "FlatOut",
+ "id": "flat_out",
"description": "FlatOut is adrenaline-filled muscle car racing game packed with explosive physics, spectacular effects and graphics, innovative game play mechanics and good old fun!"
}
diff --git a/Applications/Games/Goodbye Deponia/Steam (Demo)/script.js b/Applications/Games/Goodbye Deponia/Steam (Demo)/script.js
index 14c6b6e79f..317fd78750 100644
--- a/Applications/Games/Goodbye Deponia/Steam (Demo)/script.js
+++ b/Applications/Games/Goodbye Deponia/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Goodbye Deponia (Demo)")
diff --git a/Applications/Games/Goodbye Deponia/Steam (Demo)/script.json b/Applications/Games/Goodbye Deponia/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Goodbye Deponia/Steam (Demo)/script.json
+++ b/Applications/Games/Goodbye Deponia/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Goodbye Deponia/Steam/script.js b/Applications/Games/Goodbye Deponia/Steam/script.js
index e1ff0742a0..16d95be65e 100644
--- a/Applications/Games/Goodbye Deponia/Steam/script.js
+++ b/Applications/Games/Goodbye Deponia/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Goodbye Deponia")
diff --git a/Applications/Games/Goodbye Deponia/Steam/script.json b/Applications/Games/Goodbye Deponia/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Goodbye Deponia/Steam/script.json
+++ b/Applications/Games/Goodbye Deponia/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Goodbye Deponia/application.json b/Applications/Games/Goodbye Deponia/application.json
index 6e518cd2d9..534474bdc8 100644
--- a/Applications/Games/Goodbye Deponia/application.json
+++ b/Applications/Games/Goodbye Deponia/application.json
@@ -1,4 +1,5 @@
{
"name": "Goodbye Deponia",
+ "id": "goodbye_deponia",
"description": "More chaos, more destruction, more Rufus. Not one, not two, but three Rufuses cause all kinds of crazy mayhem in the long-awaited adventure comedy Goodbye Deponia!"
}
diff --git a/Applications/Games/Guild Wars 2/Local/script.js b/Applications/Games/Guild Wars 2/Local/script.js
index 2129b37836..d5e7ebef4d 100644
--- a/Applications/Games/Guild Wars 2/Local/script.js
+++ b/Applications/Games/Guild Wars 2/Local/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
.name("Guild Wars 2")
@@ -9,7 +9,7 @@ new LocalInstallerScript()
.executable("Gw2.exe")
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
// avoid that launcher freezes the complete system
wine.setVirtualDesktop(1280, 1024);
wine.enableCSMT();
diff --git a/Applications/Games/Guild Wars 2/Local/script.json b/Applications/Games/Guild Wars 2/Local/script.json
index d272993487..f997a17525 100644
--- a/Applications/Games/Guild Wars 2/Local/script.json
+++ b/Applications/Games/Guild Wars 2/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Guild Wars 2/Online/script.js b/Applications/Games/Guild Wars 2/Online/script.js
index 7eccc6e3c8..5fc3ffb3c6 100644
--- a/Applications/Games/Guild Wars 2/Online/script.js
+++ b/Applications/Games/Guild Wars 2/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("Guild Wars 2")
@@ -11,7 +11,7 @@ new OnlineInstallerScript()
.executable("Gw2.exe")
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
// avoid that launcher freezes the complete system
wine.setVirtualDesktop(1280, 1024);
wine.enableCSMT();
diff --git a/Applications/Games/Guild Wars 2/Online/script.json b/Applications/Games/Guild Wars 2/Online/script.json
index f32ef52be7..8609a1ca8f 100644
--- a/Applications/Games/Guild Wars 2/Online/script.json
+++ b/Applications/Games/Guild Wars 2/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Guild Wars 2/application.json b/Applications/Games/Guild Wars 2/application.json
index 323ce803b7..1168306a95 100644
--- a/Applications/Games/Guild Wars 2/application.json
+++ b/Applications/Games/Guild Wars 2/application.json
@@ -1,4 +1,5 @@
{
"name": "Guild Wars 2",
+ "id": "guild_wars_2",
"description": "Guild Wars 2 defines the future of online roleplaying games with action-oriented combat, customized personal storylines, epic dynamic events, world-class PvP, and no subscription fees!"
}
diff --git a/Applications/Games/Hearthstone/Online/script.js b/Applications/Games/Hearthstone/Online/script.js
index 42864e5735..a64f416ea6 100644
--- a/Applications/Games/Hearthstone/Online/script.js
+++ b/Applications/Games/Hearthstone/Online/script.js
@@ -1,6 +1,6 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "vcrun2015"]);
-include(["Engines", "Wine", "Verbs", "corefonts"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
+include(["engines", "wine", "verbs", "vcrun2015"]);
+include(["engines", "wine", "verbs", "corefonts"]);
new OnlineInstallerScript()
.name("Hearthstone")
@@ -12,9 +12,9 @@ new OnlineInstallerScript()
.executable("Hearthstone.exe")
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.windowsVersion("winxp");
wine.vcrun2015();
wine.corefonts();
})
- .go();
+ .go();
diff --git a/Applications/Games/Hearthstone/Online/script.json b/Applications/Games/Hearthstone/Online/script.json
index ef65ff3ddd..ba9bbe572b 100644
--- a/Applications/Games/Hearthstone/Online/script.json
+++ b/Applications/Games/Hearthstone/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": true,
diff --git a/Applications/Games/Hearthstone/application.json b/Applications/Games/Hearthstone/application.json
index 70d3942baa..0be75c1443 100644
--- a/Applications/Games/Hearthstone/application.json
+++ b/Applications/Games/Hearthstone/application.json
@@ -1,4 +1,5 @@
{
"name": "Hearthstone",
+ "id": "hearthstone",
"description": "Sheathe your sword, draw your deck, and get ready for Hearthstone - the fast-paced strategy card game that's easy to learn and massively fun. Start a free game and play your cards to sling spells, summon creatures, and command the heroes of Warcraft in duels of epic strategy."
}
diff --git a/Applications/Games/Heroes of the Storm/Online/script.js b/Applications/Games/Heroes of the Storm/Online/script.js
index 36f01a987d..9756ee2b72 100644
--- a/Applications/Games/Heroes of the Storm/Online/script.js
+++ b/Applications/Games/Heroes of the Storm/Online/script.js
@@ -1,6 +1,6 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "vcrun2015"]);
-include(["Engines", "Wine", "Verbs", "corefonts"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
+include(["engines", "wine", "verbs", "vcrun2015"]);
+include(["engines", "wine", "verbs", "corefonts"]);
new OnlineInstallerScript()
.name("Heroes of the Storm")
@@ -13,9 +13,9 @@ new OnlineInstallerScript()
//The checksum is different each time you download
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.windowsVersion("winxp");
wine.vcrun2015();
wine.corefonts();
})
- .go();
+ .go();
diff --git a/Applications/Games/Heroes of the Storm/Online/script.json b/Applications/Games/Heroes of the Storm/Online/script.json
index ef65ff3ddd..ba9bbe572b 100644
--- a/Applications/Games/Heroes of the Storm/Online/script.json
+++ b/Applications/Games/Heroes of the Storm/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": true,
diff --git a/Applications/Games/Heroes of the Storm/application.json b/Applications/Games/Heroes of the Storm/application.json
index baf342f36f..c456092a3a 100644
--- a/Applications/Games/Heroes of the Storm/application.json
+++ b/Applications/Games/Heroes of the Storm/application.json
@@ -1,4 +1,5 @@
{
"name": "Heroes of the Storm",
+ "id": "heroes_of_the_storm",
"description": "Heroes of the Storm (HotS) is a multiplayer online battle arena video game developed and published by Blizzard Entertainment."
}
diff --git a/Applications/Games/Hexcells Infinite/Steam/script.js b/Applications/Games/Hexcells Infinite/Steam/script.js
index 0c151e8f79..052faee94b 100644
--- a/Applications/Games/Hexcells Infinite/Steam/script.js
+++ b/Applications/Games/Hexcells Infinite/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Hexcells Infinite")
diff --git a/Applications/Games/Hexcells Infinite/Steam/script.json b/Applications/Games/Hexcells Infinite/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Hexcells Infinite/Steam/script.json
+++ b/Applications/Games/Hexcells Infinite/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Hexcells Infinite/application.json b/Applications/Games/Hexcells Infinite/application.json
index 7f69bd54a0..b14274ae8d 100644
--- a/Applications/Games/Hexcells Infinite/application.json
+++ b/Applications/Games/Hexcells Infinite/application.json
@@ -1,4 +1,5 @@
{
"name": "Hexcells Infinite",
+ "id": "hexcells_infinite",
"description": "Hexcells Infinite is the third game in the series of ambient logic puzzle games.
It includes a new set of 36 puzzles as well as a random puzzle generator and now supports mid-level saving and cross platform cloud saves.
The level generator uses an 8 digit seed number to generate each puzzle so they can easily be shared."
}
diff --git a/Applications/Games/Hexcells Plus/Steam/script.js b/Applications/Games/Hexcells Plus/Steam/script.js
index f19b111f7a..f76dda0dea 100644
--- a/Applications/Games/Hexcells Plus/Steam/script.js
+++ b/Applications/Games/Hexcells Plus/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Hexcells Plus")
diff --git a/Applications/Games/Hexcells Plus/Steam/script.json b/Applications/Games/Hexcells Plus/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Hexcells Plus/Steam/script.json
+++ b/Applications/Games/Hexcells Plus/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Hexcells Plus/application.json b/Applications/Games/Hexcells Plus/application.json
index 81069027b5..29f169f314 100644
--- a/Applications/Games/Hexcells Plus/application.json
+++ b/Applications/Games/Hexcells Plus/application.json
@@ -1,4 +1,5 @@
{
"name": "Hexcells Plus",
+ "id": "hexcells_plus",
"description": "Hexcells Plus is a standalone expansion to Hexcells that contains 36 new and more challenging puzzles."
}
diff --git a/Applications/Games/Hexcells/Steam/script.js b/Applications/Games/Hexcells/Steam/script.js
index 429d4345f4..fcb567e75f 100644
--- a/Applications/Games/Hexcells/Steam/script.js
+++ b/Applications/Games/Hexcells/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Hexcells")
diff --git a/Applications/Games/Hexcells/Steam/script.json b/Applications/Games/Hexcells/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Hexcells/Steam/script.json
+++ b/Applications/Games/Hexcells/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Hexcells/application.json b/Applications/Games/Hexcells/application.json
index 76e9a55ab9..314da97b1d 100644
--- a/Applications/Games/Hexcells/application.json
+++ b/Applications/Games/Hexcells/application.json
@@ -1,4 +1,5 @@
{
"name": "Hexcells",
+ "id": "hexcells",
"description": "Hexcells is an ambient logic puzzle game for PC, Mac and Linux."
}
diff --git a/Applications/Games/Icy Tower/application.json b/Applications/Games/Icy Tower/application.json
index 1ace1a6243..37a61f8379 100644
--- a/Applications/Games/Icy Tower/application.json
+++ b/Applications/Games/Icy Tower/application.json
@@ -1,4 +1,5 @@
{
"name": "Icy Tower 1.5",
+ "id": "icy_tower_1_5",
"description": "Icy Tower is a platform game set in a tower, where the player's goal is to jump from one floor to the next and go as high as possible without falling and plunging off the screen."
-}
\ No newline at end of file
+}
diff --git a/Applications/Games/Icy Tower/v1.5/script.js b/Applications/Games/Icy Tower/v1.5/script.js
index 95dd49fb40..93f1b759b8 100644
--- a/Applications/Games/Icy Tower/v1.5/script.js
+++ b/Applications/Games/Icy Tower/v1.5/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("Icy Tower 1.5")
diff --git a/Applications/Games/Icy Tower/v1.5/script.json b/Applications/Games/Icy Tower/v1.5/script.json
index eaa7c9e723..dccc74100f 100644
--- a/Applications/Games/Icy Tower/v1.5/script.json
+++ b/Applications/Games/Icy Tower/v1.5/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "v1.5",
+ "id": "v1_5",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/It came from space and ate our brains/Steam/script.js b/Applications/Games/It came from space and ate our brains/Steam/script.js
new file mode 100644
index 0000000000..a5defb08c9
--- /dev/null
+++ b/Applications/Games/It came from space and ate our brains/Steam/script.js
@@ -0,0 +1,13 @@
+include(["engines", "wine", "quick_script", "steam_script"]);
+
+include(["engines", "wine", "verbs", "d3dx10"]);
+
+new SteamScript()
+ .name("It came from space, and ate our brains")
+ .editor("Triangle Studios")
+ .author("madoar")
+ .appId(342620)
+ .preInstall(function (wine/*, wizard*/) {
+ wine.d3dx10();
+ })
+ .go();
diff --git a/Applications/Games/It came from space and ate our brains/Steam/script.json b/Applications/Games/It came from space and ate our brains/Steam/script.json
new file mode 100644
index 0000000000..596e40e5a4
--- /dev/null
+++ b/Applications/Games/It came from space and ate our brains/Steam/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Steam",
+ "id": "steam",
+ "compatibleOperatingSystems": ["LINUX"],
+ "testingOperatingSystems": ["LINUX"],
+ "free": false,
+ "requiresPatch": false
+}
diff --git a/Applications/Games/It came from space and ate our brains/application.json b/Applications/Games/It came from space and ate our brains/application.json
new file mode 100644
index 0000000000..1d8c823c61
--- /dev/null
+++ b/Applications/Games/It came from space and ate our brains/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "It came from space, and ate our brains",
+ "id": "it_came_from_space_and_ate_our_brains",
+ "description": "‘It came from space, and ate our brains’ is an Arcade top down shooter with horde survival gameplay in a unique atmospheric setting with addicting gameplay elements, which all can be played cooperatively. You are a no-nonsense kind of guy equipped with a flashlight and a weapon. You somehow managed to survive the invasion of a merciless alien species, the kind that feeds on human brains. Things look bad when you wander the city and other locations, there is chaos everywhere! You are looking for gear and weapons to survive, as pink light emitting aliens try to corner you and eat your brain. You realize there is only one thing left to do: set a new high score and die like a badass."
+}
diff --git a/Applications/Games/It came from space and ate our brains/miniatures/main.png b/Applications/Games/It came from space and ate our brains/miniatures/main.png
new file mode 100644
index 0000000000..2766678cb3
Binary files /dev/null and b/Applications/Games/It came from space and ate our brains/miniatures/main.png differ
diff --git a/Applications/Games/League of Legends/BETA Client/script.js b/Applications/Games/League of Legends/Online/script.js
similarity index 50%
rename from Applications/Games/League of Legends/BETA Client/script.js
rename to Applications/Games/League of Legends/Online/script.js
index 37acb6f133..30a16901ae 100644
--- a/Applications/Games/League of Legends/BETA Client/script.js
+++ b/Applications/Games/League of Legends/Online/script.js
@@ -1,31 +1,16 @@
-include(["Engines", "Wine", "QuickScript", "CustomInstallerScript"]);
-include(["Engines", "Wine", "Shortcuts","Wine"]);
-include(["Engines", "Wine", "Verbs", "sandbox"]);
-include(["Engines", "Wine", "Verbs", "d3dx9"]);
-include(["Engines", "Wine", "Verbs", "vcrun2015"]);
+include(["engines", "wine", "quick_script", "custom_installer_script"]);
+include(["engines", "wine", "shortcuts", "wine"]);
+include(["engines", "wine", "verbs", "sandbox"]);
+include(["engines", "wine", "verbs", "d3dx9"]);
-// Installs League of Legends and creates two shortcuts.
-//
-// One shortcut called League of Legends which starts the launcher
-// and one shortcut called BETA Client which starts the BETA client
-//
-// Important:
-// The BETA-Client has to be installed using the launcher.
-// After the upgrade the BETA Client will do the game patching.
-///////////////////////////////////////////////////////////////////
+// Installs League of Legends
new CustomInstallerScript()
- .name("League of Legends BETA Client")
+ .name("League of Legends")
.editor("Riot Games")
.applicationHomepage("http://leagueoflegends.com/")
- .author("Plata, feanor12")
- .installationCommand(function(wizard) {
- return {command: "msiexec", args: ["/i", "C://LoL_tmp/LoL.msi", "APPDIR=C:\\LoL"]};
- })
- .category("Games")
- .wineDistribution("staging")
- .wineVersion(LATEST_STAGING_VERSION)
- .preInstall(function(wine, wizard) {
+ .author("Plata, feanor12, Thog")
+ .installationCommand(function (wizard) {
// Select the region and download the setup file
////////////////////////////////////////////////
var regions = ["EU West",
@@ -41,56 +26,56 @@ new CustomInstallerScript()
var selectedRegion = wizard.menu(tr("Select your region:"), regions);
var regionID, url, sha1;
var baseUrl = "https://riotgamespatcher-a.akamaihd.net/ShellInstaller/";
- switch(selectedRegion.text){
+ switch (selectedRegion.text){
case "EU West":
regionID = "EUW";
url = baseUrl+"EUW/LeagueofLegends_EUW_Installer_2016_11_10.exe";
- sha1 = "cbbf9883a59d2dada87e6aa8cc4484b07ea797da";
+ sha1 = "e8cb081395849f3753f8c00d558901b8c3df69e3";
break;
case "Latin America North":
regionID = "LA1";
url = baseUrl+"LA1/LeagueofLegends_LA1_Installer_2016_05_26.exe";
- sha1 = "3120d4a530bbc4c5978177ebf96260e87e3d31b8";
+ sha1 = "996ece64ba2ba9c8b9195c3519a6d7637d82b8d3";
break;
case "Latin America South":
regionID = "LA2";
url = baseUrl+"LA2/LeagueofLegends_LA2_Installer_2016_05_27.exe";
- sha1 = "f9c77681dbe07e7b05d5534234973302c878552b";
+ sha1 = "5c5e007ee266315b6433dd87e6692753170aab78";
break;
case "Oceania":
regionID = "OC1";
url = baseUrl+"OC1/LeagueofLegends_OC1_Installer_2016_05_13.exe";
- sha1 = "54d805e797a6ca9632cc83338cb67d5b904313f7";
+ sha1 = "74b9a327e66fc527edb86e9ea45c9798bdffec5f";
break;
case "Japan":
regionID = "JP";
url = baseUrl+"JP/LeagueofLegends_JP_Installer_2016_05_31.exe";
- sha1 = "5773f1e71aaaef2f9f908c3e3aa2a7eaa40387a7";
+ sha1 = "da25b973358837ef9abbb9cb3d55aae214a75de0";
break;
case "Turkey":
regionID = "TR";
url = baseUrl+"TR/LeagueofLegends_TR_Installer_2016_11_08.exe";
- sha1 = "1423ac48d1504b7c47d1acbf94e90f2c4a561d2d";
+ sha1 = "93fe9b3e581fa5cd41c504ef91ce55e4227b43e3";
break;
case "Brasil":
regionID = "BR";
url = baseUrl+"BR/LeagueofLegends_BR_Installer_2016_05_13.exe";
- sha1 = "6ee06e6fee6f44989f5cc78e97a143efdc3569c8";
+ sha1 = "fbef6186cb690b4259e63d53d8c73e556e1d5ddc";
break;
case "EU Nordic & East":
regionID = "EUNE";
url = baseUrl+"EUNE/LeagueofLegends_EUNE_Installer_2016_11_10.exe";
- sha1 = "bc1b68fe2007a82fbbe0a3d6231988795875f2ff";
+ sha1 = "17727c665ce59e3faf95c2c0db2fe5509383e750";
break;
case "North America":
regionID = "NA";
url = baseUrl+"NA/LeagueofLegends_NA_Installer_2016_05_13.exe";
- sha1 = "423a9760833c09f82b75d12ab7b73c7e8ae68cdb";
+ sha1 = "70a253f29351f1d6952fa1af39fb8b2b01bc6cde";
break;
case "Russia":
regionID = "RU";
url = baseUrl+"RU/LeagueofLegends_RU_Installer_2016_05_13.exe";
- sha1 = "c789127190217ee2dc922c105df74d9367e9a606";
+ sha1 = "2d462decf629cab880386407598f9c5ea6db2ef5";
break;
}
var setupFile = new Resource()
@@ -99,36 +84,25 @@ new CustomInstallerScript()
.checksum(sha1)
.name(fileName(url))
.get();
-
- mkdir(wine.prefixDirectory+"drive_c/LoL_tmp");
- mkdir(wine.prefixDirectory+"drive_c/LoL");
-
- // Create run script
- /////////////////////////////////////////
- var client = wine.prefixDirectory+"drive_c/LoL/run.bat";
- var batContent = "IF EXIST \"C:\\LoL\\LeagueClient.exe\" (\n"+
- "start C:\\LoL\\LeagueClient.exe \n"+
- ") ELSE ( start C:\\LoL\\lol.launcher.admin.exe )";
- writeToFile(client, batContent);
-
-
- // Extract the msi file and create a link to it
- ///////////////////////////////////////////////
- wine.run(setupFile, ["/extract:C:\\LoL_tmp", "/exenoui"]).wait();
- var regionMSIPath = wine.prefixDirectory+"drive_c/LoL_tmp/LoL."+regionID+".msi";
- var linkPath = wine.prefixDirectory+"drive_c/LoL_tmp/LoL.msi";
- lns(regionMSIPath, linkPath);
- wine.d3dx9();
- wine.vcrun2015();
+ return {command: setupFile, args: ["--installdir", "C:\\LoL\\", "--mode", "unattended"]};
})
- .postInstall(function(wine, wizard) {
- remove(wine.prefixDirectory+"drive_c/LoL_tmp");
+ .category("Games")
+ .wineDistribution("staging")
+ .wineVersion(LATEST_STAGING_VERSION)
+ .preInstall(function (win /*, wizard*/) {
+ wine.windowsVersion("winxp");
+ wine.d3dx9();
+ wine.overrideDLL().set("native, builtin", ["atl120", "msvcp120", "msvcr120", "vcomp120", "msvcp140"]).do();
+ wine.enableCSMT();
+
+ mkdir(wine.prefixDirectory + "drive_c/LoL");
- // Enable BETA
- //////////////
- var userConfPath = wine.prefixDirectory+"drive_c/LoL/RADS/system/user.cfg";
- writeToFile(userConfPath,"leagueClientOptIn = yes\nreplayPopUpShown = yes");
+ // Create run script to start the right exe
+ /////////////////////////////////////////
+ var client = wine.prefixDirectory + "drive_c/LoL/run.bat";
+ var batContent = "start C:\\LoL\\LeagueClient.exe";
+ writeToFile(client, batContent);
})
.executable("run.bat")
.go();
diff --git a/Applications/Games/League of Legends/BETA Client/script.json b/Applications/Games/League of Legends/Online/script.json
similarity index 54%
rename from Applications/Games/League of Legends/BETA Client/script.json
rename to Applications/Games/League of Legends/Online/script.json
index c96242d938..ddcd6f5fba 100644
--- a/Applications/Games/League of Legends/BETA Client/script.json
+++ b/Applications/Games/League of Legends/Online/script.json
@@ -1,7 +1,8 @@
{
- "scriptName": "BETA Client",
+ "scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
- "testingOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
"free": true,
"requiresPatch": false
}
diff --git a/Applications/Games/League of Legends/application.json b/Applications/Games/League of Legends/application.json
index e06e977043..d0899540fe 100644
--- a/Applications/Games/League of Legends/application.json
+++ b/Applications/Games/League of Legends/application.json
@@ -1,4 +1,5 @@
{
- "name": "League of Legends BETA Client",
+ "name": "League of Legends",
+ "id": "league_of_legends",
"description": "League of Legends is a fast-paced, competitive online game that blends the speed and intensity of an RTS with RPG elements. Two teams of powerful champions, each with a unique design and playstyle, battle head-to-head across multiple battlefields and game modes. With an ever-expanding roster of champions, frequent updates and a thriving tournament scene, League of Legends offers endless replayability for players of every skill level."
}
diff --git a/Applications/Games/Mafia II/Steam (Demo)/script.js b/Applications/Games/Mafia II/Steam (Demo)/script.js
index b32796f3b3..93147fedf0 100644
--- a/Applications/Games/Mafia II/Steam (Demo)/script.js
+++ b/Applications/Games/Mafia II/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Mafia II (Demo)")
diff --git a/Applications/Games/Mafia II/Steam (Demo)/script.json b/Applications/Games/Mafia II/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Mafia II/Steam (Demo)/script.json
+++ b/Applications/Games/Mafia II/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Mafia II/Steam/script.js b/Applications/Games/Mafia II/Steam/script.js
index 5442118f3e..476aabfa22 100644
--- a/Applications/Games/Mafia II/Steam/script.js
+++ b/Applications/Games/Mafia II/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Mafia II")
diff --git a/Applications/Games/Mafia II/Steam/script.json b/Applications/Games/Mafia II/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Mafia II/Steam/script.json
+++ b/Applications/Games/Mafia II/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Mafia II/application.json b/Applications/Games/Mafia II/application.json
index 5e8be5a7d0..51f9f591e9 100644
--- a/Applications/Games/Mafia II/application.json
+++ b/Applications/Games/Mafia II/application.json
@@ -1,4 +1,5 @@
{
"name": "Mafia II",
+ "id": "mafia_2",
"description": "Vito Scaletta has started to make a name for himself on the streets of Empire Bay as someone who can be trusted to get a job done. Together with his buddy Joe, he is working to prove himself to the Mafia, quickly escalating up the family ladder with crimes of larger reward, status and consequence… the life as a wise guy isn’t quite as untouchable as it seems."
}
diff --git a/Applications/Games/Mass Effect 2/Steam/script.js b/Applications/Games/Mass Effect 2/Steam/script.js
index 8d24bcd622..8a56b8b384 100644
--- a/Applications/Games/Mass Effect 2/Steam/script.js
+++ b/Applications/Games/Mass Effect 2/Steam/script.js
@@ -1,8 +1,8 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
- .name("Mass Effect 2")
- .editor("BioWare")
- .author("ImperatorS79")
- .appId(24980)
+ .name("Mass Effect 2")
+ .editor("BioWare")
+ .author("ImperatorS79")
+ .appId(24980)
.go();
diff --git a/Applications/Games/Mass Effect 2/Steam/script.json b/Applications/Games/Mass Effect 2/Steam/script.json
index 24be916686..873d923c2d 100644
--- a/Applications/Games/Mass Effect 2/Steam/script.json
+++ b/Applications/Games/Mass Effect 2/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX", "LINUX"],
"free": false,
diff --git a/Applications/Games/Mass Effect 2/application.json b/Applications/Games/Mass Effect 2/application.json
index d01b14768c..1bd84e0a04 100644
--- a/Applications/Games/Mass Effect 2/application.json
+++ b/Applications/Games/Mass Effect 2/application.json
@@ -1,4 +1,5 @@
{
"name": "Mass Effect 2",
+ "id": "mass_effect_2",
"description": "Recruit. Explore. Control.Two years after Commander Shepard repelled invading Reapers bent on the destruction of organic life, a mysterious new enemy has emerged. On the fringes of known space, something is silently abducting entire human colonies."
}
diff --git a/Applications/Games/Mass Effect/Steam/script.js b/Applications/Games/Mass Effect/Steam/script.js
index 332898382d..3e886bf05e 100644
--- a/Applications/Games/Mass Effect/Steam/script.js
+++ b/Applications/Games/Mass Effect/Steam/script.js
@@ -1,11 +1,11 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
- .name("Mass Effect")
- .editor("BioWare")
- .author("ImperatorS79")
- .appId(17460)
- .postInstall(function(wine, wizard) {
+ .name("Mass Effect")
+ .editor("BioWare")
+ .author("ImperatorS79")
+ .appId(17460)
+ .postInstall(function (wine, wizard) {
wizard.message(tr("If you have sound issues, please edit the BIOEngine.ini and/or BaseEngine.ini file in {0}/drive_c/Program Files/Steam/steamapps/common/Mass Effect/Engine/Config/\n\nAnd add the following under [ISACTAudio.ISACTAudioDevice] :\n\nDeviceName=Generic Software\nUseEffectsProcessing=False\n\n", wine.prefixDirectory));
})
- .go();
+ .go();
diff --git a/Applications/Games/Mass Effect/Steam/script.json b/Applications/Games/Mass Effect/Steam/script.json
index 3a5d8f86ef..c48c3f0bb0 100644
--- a/Applications/Games/Mass Effect/Steam/script.json
+++ b/Applications/Games/Mass Effect/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX", "LINUX"],
"free": false,
diff --git a/Applications/Games/Mass Effect/application.json b/Applications/Games/Mass Effect/application.json
index 71b2e8c6b5..d3d3ef19b3 100644
--- a/Applications/Games/Mass Effect/application.json
+++ b/Applications/Games/Mass Effect/application.json
@@ -1,4 +1,5 @@
{
"name": "Mass Effect",
+ "id": "mass_effect",
"description": "As Commander Shepard, you lead an elite squad on a heroic, action-packed adventure throughout the galaxy. Discover the imminent danger from an ancient threat and battle the traitorous Saren and his deadly army to save civilization. The fate of all life depends on your actions!"
}
diff --git a/Applications/Games/Medieval II: Total War/Steam (Demo)/script.js b/Applications/Games/Medieval II: Total War/Steam (Demo)/script.js
index c25d896a8d..6d3337d2fc 100644
--- a/Applications/Games/Medieval II: Total War/Steam (Demo)/script.js
+++ b/Applications/Games/Medieval II: Total War/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Medieval II: Total War™ (Demo)")
diff --git a/Applications/Games/Medieval II: Total War/Steam (Demo)/script.json b/Applications/Games/Medieval II: Total War/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Medieval II: Total War/Steam (Demo)/script.json
+++ b/Applications/Games/Medieval II: Total War/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Medieval II: Total War/Steam/script.js b/Applications/Games/Medieval II: Total War/Steam/script.js
index 833f40c2c7..2a3bb87a2c 100644
--- a/Applications/Games/Medieval II: Total War/Steam/script.js
+++ b/Applications/Games/Medieval II: Total War/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Medieval II: Total War™")
diff --git a/Applications/Games/Medieval II: Total War/Steam/script.json b/Applications/Games/Medieval II: Total War/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Medieval II: Total War/Steam/script.json
+++ b/Applications/Games/Medieval II: Total War/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Medieval II: Total War/application.json b/Applications/Games/Medieval II: Total War/application.json
index 23c62f2784..0b088b73b5 100644
--- a/Applications/Games/Medieval II: Total War/application.json
+++ b/Applications/Games/Medieval II: Total War/application.json
@@ -1,4 +1,5 @@
{
"name": "Medieval II: Total War™",
+ "id": "medieval_2_total_war",
"description": "Take command of your army and expand your reign in Medieval II - the fourth installment of the award-winning Total War series of strategy games. Direct massive battles featuring up to 10,000 bloodthirsty troops on epic 3D battlefields, while presiding over some of the greatest Medieval nations of the Western and Middle Eastern world. Spanning the most turbulent era in Western history, your quest for territory and power takes you through Europe, Africa, and the Middle East, and even onto the shores of the New World. You'll manage your empire with an iron fist, handling everything from building and improving cities to recruiting and training armies. Wield diplomacy to manipulate allies and enemies, outsmart the dreaded Inquisition, and influence the Pope. Lead the fight in the Crusades and bring victory to Islam or Christianity in the Holy War. Rewrite history and conquer the world. This is Total War!"
}
diff --git a/Applications/Games/Mirror's Edge/Steam/script.js b/Applications/Games/Mirror's Edge/Steam/script.js
index 0dec93b5aa..80d90cf5cc 100644
--- a/Applications/Games/Mirror's Edge/Steam/script.js
+++ b/Applications/Games/Mirror's Edge/Steam/script.js
@@ -1,12 +1,12 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "physx"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "physx"]);
new SteamScript()
.name("Mirror's Edge™")
.editor("DICE")
.author("Plata")
.appId(17410)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.physx();
wine.setManagedForApplication().set("MirrorsEdge.exe", false).do();
})
diff --git a/Applications/Games/Mirror's Edge/Steam/script.json b/Applications/Games/Mirror's Edge/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Mirror's Edge/Steam/script.json
+++ b/Applications/Games/Mirror's Edge/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Mirror's Edge/application.json b/Applications/Games/Mirror's Edge/application.json
index 450fd4680f..29ca481c98 100644
--- a/Applications/Games/Mirror's Edge/application.json
+++ b/Applications/Games/Mirror's Edge/application.json
@@ -1,4 +1,5 @@
{
"name": "Mirror's Edge™",
+ "id": "mirrors_edge",
"description": "In a city where information is heavily monitored, agile couriers called Runners transport sensitive data away from prying eyes. In this seemingly utopian paradise, a crime has been committed, your sister has been framed and now you are being hunted."
}
diff --git a/Applications/Games/Mount & Blade/Steam (Demo)/script.js b/Applications/Games/Mount & Blade/Steam (Demo)/script.js
index 4c5bb0d367..454b687888 100644
--- a/Applications/Games/Mount & Blade/Steam (Demo)/script.js
+++ b/Applications/Games/Mount & Blade/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Mount & Blade (Demo)")
diff --git a/Applications/Games/Mount & Blade/Steam (Demo)/script.json b/Applications/Games/Mount & Blade/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Mount & Blade/Steam (Demo)/script.json
+++ b/Applications/Games/Mount & Blade/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Mount & Blade/Steam/script.js b/Applications/Games/Mount & Blade/Steam/script.js
index c2e2010e23..085fae4a30 100644
--- a/Applications/Games/Mount & Blade/Steam/script.js
+++ b/Applications/Games/Mount & Blade/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Mount & Blade")
diff --git a/Applications/Games/Mount & Blade/Steam/script.json b/Applications/Games/Mount & Blade/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Mount & Blade/Steam/script.json
+++ b/Applications/Games/Mount & Blade/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Mount & Blade/application.json b/Applications/Games/Mount & Blade/application.json
index ee7ac40d39..4d35019e09 100644
--- a/Applications/Games/Mount & Blade/application.json
+++ b/Applications/Games/Mount & Blade/application.json
@@ -1,4 +1,5 @@
{
"name": "Mount & Blade",
+ "id": "mount_and_blade",
"description": "Calradia is a land at war, offering great riches and even greater dangers to adventurers and mercenaries that flock to shed their blood on its soil. With courage and a strong sword, an unknown stranger can make a name as a warrior."
}
diff --git a/Applications/Games/Niko: Through The Dream/Steam/script.js b/Applications/Games/Niko: Through The Dream/Steam/script.js
index 589ade0f58..4e08d51e82 100644
--- a/Applications/Games/Niko: Through The Dream/Steam/script.js
+++ b/Applications/Games/Niko: Through The Dream/Steam/script.js
@@ -1,12 +1,12 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "dotnet40"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "dotnet40"]);
new SteamScript()
.name("Niko: Through The Dream")
.editor("Studio Paint")
.author("Plata")
.appId(296550)
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.dotnet40();
wine.setManagedForApplication().set("NIKO.exe", false).do();
})
diff --git a/Applications/Games/Niko: Through The Dream/Steam/script.json b/Applications/Games/Niko: Through The Dream/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Niko: Through The Dream/Steam/script.json
+++ b/Applications/Games/Niko: Through The Dream/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Niko: Through The Dream/application.json b/Applications/Games/Niko: Through The Dream/application.json
index 8d3b952d46..48b0b88abd 100644
--- a/Applications/Games/Niko: Through The Dream/application.json
+++ b/Applications/Games/Niko: Through The Dream/application.json
@@ -1,4 +1,5 @@
{
"name": "Niko: Through The Dream",
+ "id": "niko_through_the_dream",
"description": "Niko is a spiritual journey through the dreams, where adventure, puzzles and mysteries come together in an oneiric and minimalist world. Dare to dream!"
}
diff --git a/Applications/Games/Origin/Local (Legacy)/script.js b/Applications/Games/Origin/Local (Legacy)/script.js
index 901a5617e9..833150387c 100644
--- a/Applications/Games/Origin/Local (Legacy)/script.js
+++ b/Applications/Games/Origin/Local (Legacy)/script.js
@@ -1,6 +1,6 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
-include(["Utils", "Functions", "Net", "Download"]);
-include(["Utils", "Functions", "Filesystem", "Extract"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
+include(["utils", "functions", "net", "download"]);
+include(["utils", "functions", "filesystem", "extract"]);
new LocalInstallerScript()
.name("Origin")
@@ -10,10 +10,10 @@ new LocalInstallerScript()
.category("Games")
.executable("Origin.exe")
.wineVersion(LATEST_DEVELOPMENT_VERSION)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine, wizard) {
wizard.message(tr("When Origin launches, you will get an error message (\"Your update could not be completed.\"). This is ok. Just close the popup."));
})
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine, wizard) {
var originDir = wine.prefixDirectory + "drive_c/" + wine.programFiles() + "/Origin/";
new Downloader()
diff --git a/Applications/Games/Origin/Local (Legacy)/script.json b/Applications/Games/Origin/Local (Legacy)/script.json
index 0fa7a493a9..7f1ba862cf 100644
--- a/Applications/Games/Origin/Local (Legacy)/script.json
+++ b/Applications/Games/Origin/Local (Legacy)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local (Legacy)",
+ "id": "local_legacy",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Origin/Online (Legacy)/script.js b/Applications/Games/Origin/Online (Legacy)/script.js
index 516f624a12..ea5c961553 100644
--- a/Applications/Games/Origin/Online (Legacy)/script.js
+++ b/Applications/Games/Origin/Online (Legacy)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("Origin")
@@ -9,10 +9,10 @@ new OnlineInstallerScript()
.category("Games")
.executable("Origin.exe")
.wineVersion(LATEST_DEVELOPMENT_VERSION)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine, wizard) {
wizard.message(tr("When Origin launches, you will get an error message (\"Your update could not be completed.\"). This is ok. Just close the popup."));
})
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine, wizard) {
var originDir = wine.prefixDirectory + "drive_c/" + wine.programFiles() + "/Origin/";
new Downloader()
diff --git a/Applications/Games/Origin/Online (Legacy)/script.json b/Applications/Games/Origin/Online (Legacy)/script.json
index 93ae5af135..835530912c 100644
--- a/Applications/Games/Origin/Online (Legacy)/script.json
+++ b/Applications/Games/Origin/Online (Legacy)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online (Legacy)",
+ "id": "online_legacy",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Origin/Online/script.js b/Applications/Games/Origin/Online/script.js
index 860aef5832..9da6763588 100644
--- a/Applications/Games/Origin/Online/script.js
+++ b/Applications/Games/Origin/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("Origin")
diff --git a/Applications/Games/Origin/Online/script.json b/Applications/Games/Origin/Online/script.json
index 2a90b64001..717b2cec81 100644
--- a/Applications/Games/Origin/Online/script.json
+++ b/Applications/Games/Origin/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX", "LINUX"],
"free": true,
diff --git a/Applications/Games/Origin/application.json b/Applications/Games/Origin/application.json
index 25cbe86708..a4bff67f40 100644
--- a/Applications/Games/Origin/application.json
+++ b/Applications/Games/Origin/application.json
@@ -1,4 +1,5 @@
{
"name": "Origin",
+ "id": "origin",
"description": "Origin is EA's PC games portal."
}
diff --git a/Applications/Games/Orwell: Keeping an Eye On You/Steam (Demo)/script.js b/Applications/Games/Orwell: Keeping an Eye On You/Steam (Demo)/script.js
index 2da1c30018..686d275943 100644
--- a/Applications/Games/Orwell: Keeping an Eye On You/Steam (Demo)/script.js
+++ b/Applications/Games/Orwell: Keeping an Eye On You/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Orwell: Keeping an Eye On You (Demo)")
diff --git a/Applications/Games/Orwell: Keeping an Eye On You/Steam (Demo)/script.json b/Applications/Games/Orwell: Keeping an Eye On You/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Orwell: Keeping an Eye On You/Steam (Demo)/script.json
+++ b/Applications/Games/Orwell: Keeping an Eye On You/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Orwell: Keeping an Eye On You/Steam/script.js b/Applications/Games/Orwell: Keeping an Eye On You/Steam/script.js
index 8f87f7c670..53701588c1 100644
--- a/Applications/Games/Orwell: Keeping an Eye On You/Steam/script.js
+++ b/Applications/Games/Orwell: Keeping an Eye On You/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Orwell: Keeping an Eye On You")
diff --git a/Applications/Games/Orwell: Keeping an Eye On You/Steam/script.json b/Applications/Games/Orwell: Keeping an Eye On You/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Orwell: Keeping an Eye On You/Steam/script.json
+++ b/Applications/Games/Orwell: Keeping an Eye On You/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Orwell: Keeping an Eye On You/application.json b/Applications/Games/Orwell: Keeping an Eye On You/application.json
index 593572f66d..63e3260f9e 100644
--- a/Applications/Games/Orwell: Keeping an Eye On You/application.json
+++ b/Applications/Games/Orwell: Keeping an Eye On You/application.json
@@ -1,4 +1,5 @@
{
"name": "Orwell: Keeping an Eye On You",
+ "id": "orwell_keeping_an_eye_on_you",
"description": "Big Brother has arrived - and it’s you. Investigate the lives of citizens to find those responsible for a series of terror attacks. Information from the internet, personal communications and private files are all accessible to you. But, be warned, the information you supply will have consequences."
}
diff --git a/Applications/Games/Overwatch/Online/script.js b/Applications/Games/Overwatch/Online/script.js
index b25fe45621..b4b0fde24c 100644
--- a/Applications/Games/Overwatch/Online/script.js
+++ b/Applications/Games/Overwatch/Online/script.js
@@ -1,24 +1,24 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "vcrun2015"]);
-include(["Engines", "Wine", "Verbs", "corefonts"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
+include(["engines", "wine", "verbs", "vcrun2015"]);
+include(["engines", "wine", "verbs", "corefonts"]);
new OnlineInstallerScript()
- .name("Overwatch")
- .editor("Blizzard")
- .applicationHomepage("http://www.playoverwatch.com/")
- .author("ImperatorS79")
- .url("https://eu.battle.net/download/getInstaller?os=win&installer=Overwatch-Setup.exe")
+ .name("Overwatch")
+ .editor("Blizzard")
+ .applicationHomepage("http://www.playoverwatch.com/")
+ .author("ImperatorS79")
+ .url("https://eu.battle.net/download/getInstaller?os=win&installer=Overwatch-Setup.exe")
//The checksum is different each time you download
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.wineArchitecture("amd64")
- .category("Games")
+ .category("Games")
.executable("Overwatch.exe")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.windowsVersion("winxp");
wine.vcrun2015();
wine.corefonts();
wine.enableCSMT();
})
-
- .go();
+
+ .go();
diff --git a/Applications/Games/Overwatch/Online/script.json b/Applications/Games/Overwatch/Online/script.json
index 11210ca903..82c55c9785 100644
--- a/Applications/Games/Overwatch/Online/script.json
+++ b/Applications/Games/Overwatch/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/Overwatch/application.json b/Applications/Games/Overwatch/application.json
index cb5cc08dec..c763ccc9b0 100644
--- a/Applications/Games/Overwatch/application.json
+++ b/Applications/Games/Overwatch/application.json
@@ -1,4 +1,5 @@
{
"name": "Overwatch",
+ "id": "overwatch",
"description": "Overwatch is a team-based multiplayer online first-person shooter video game."
}
diff --git a/Applications/Games/PAYDAY The Heist/Steam/script.js b/Applications/Games/PAYDAY The Heist/Steam/script.js
index 395f02ca16..595d711585 100644
--- a/Applications/Games/PAYDAY The Heist/Steam/script.js
+++ b/Applications/Games/PAYDAY The Heist/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("PAYDAY™ The Heist")
diff --git a/Applications/Games/PAYDAY The Heist/Steam/script.json b/Applications/Games/PAYDAY The Heist/Steam/script.json
index 4949df029b..335181a3ba 100644
--- a/Applications/Games/PAYDAY The Heist/Steam/script.json
+++ b/Applications/Games/PAYDAY The Heist/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX"],
"free": false,
diff --git a/Applications/Games/PAYDAY The Heist/application.json b/Applications/Games/PAYDAY The Heist/application.json
index efbf0fe39b..bf0776e203 100644
--- a/Applications/Games/PAYDAY The Heist/application.json
+++ b/Applications/Games/PAYDAY The Heist/application.json
@@ -1,4 +1,5 @@
{
"name": "PAYDAY™ The Heist",
+ "id": "payday_the_heist",
"description": "Take on the role of a hardened career criminal executing intense, dynamic heists in constant pursuit of the next “big score”"
}
diff --git a/Applications/Games/Prehistorik/Online/script.js b/Applications/Games/Prehistorik/Online/script.js
index c0d567da4a..47b5518c57 100644
--- a/Applications/Games/Prehistorik/Online/script.js
+++ b/Applications/Games/Prehistorik/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "ZipScript"]);
+include(["engines", "wine", "quick_script", "zip_script"]);
new ZipScript()
.name("Prehistorik")
diff --git a/Applications/Games/Prehistorik/Online/script.json b/Applications/Games/Prehistorik/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Games/Prehistorik/Online/script.json
+++ b/Applications/Games/Prehistorik/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Prehistorik/application.json b/Applications/Games/Prehistorik/application.json
index 322aff4b52..9e0fd814d9 100644
--- a/Applications/Games/Prehistorik/application.json
+++ b/Applications/Games/Prehistorik/application.json
@@ -1,4 +1,5 @@
{
"name": "Prehistorik",
+ "id": "prehistorik",
"description": ""
}
diff --git a/Applications/Games/Prey/Steam (Demo)/script.js b/Applications/Games/Prey/Steam (Demo)/script.js
index 9aef536562..4d377d1fe8 100644
--- a/Applications/Games/Prey/Steam (Demo)/script.js
+++ b/Applications/Games/Prey/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Prey (Demo)")
diff --git a/Applications/Games/Prey/Steam (Demo)/script.json b/Applications/Games/Prey/Steam (Demo)/script.json
index 0c0f8295ec..50bbf5e14b 100644
--- a/Applications/Games/Prey/Steam (Demo)/script.json
+++ b/Applications/Games/Prey/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": true,
diff --git a/Applications/Games/Prey/Steam/script.js b/Applications/Games/Prey/Steam/script.js
index 03d3d6f294..ddc484aa83 100644
--- a/Applications/Games/Prey/Steam/script.js
+++ b/Applications/Games/Prey/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Prey")
diff --git a/Applications/Games/Prey/Steam/script.json b/Applications/Games/Prey/Steam/script.json
index 622b5eb010..58879c3fa0 100644
--- a/Applications/Games/Prey/Steam/script.json
+++ b/Applications/Games/Prey/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/Prey/application.json b/Applications/Games/Prey/application.json
index 6296c05d03..522a578acf 100644
--- a/Applications/Games/Prey/application.json
+++ b/Applications/Games/Prey/application.json
@@ -1,4 +1,5 @@
{
"name": "Prey",
+ "id": "prey",
"description": "In Prey, you awaken aboard Talos I, a space station orbiting the moon in the year 2032. You are the key subject of an experiment meant to alter humanity forever – but things have gone terribly wrong. The space station has been overrun by hostile aliens and you are now being hunted."
}
diff --git a/Applications/Games/Prince Of Persia: Original/Online/script.js b/Applications/Games/Prince Of Persia: Original/Online/script.js
index 002c44eefd..561c382dcd 100644
--- a/Applications/Games/Prince Of Persia: Original/Online/script.js
+++ b/Applications/Games/Prince Of Persia: Original/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "ZipScript"]);
+include(["engines", "wine", "quick_script", "zip_script"]);
new ZipScript()
.name("Prince Of Persia: Original")
diff --git a/Applications/Games/Prince Of Persia: Original/Online/script.json b/Applications/Games/Prince Of Persia: Original/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Games/Prince Of Persia: Original/Online/script.json
+++ b/Applications/Games/Prince Of Persia: Original/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Prince Of Persia: Original/application.json b/Applications/Games/Prince Of Persia: Original/application.json
index 8ed63c3850..7c84ccb7c6 100644
--- a/Applications/Games/Prince Of Persia: Original/application.json
+++ b/Applications/Games/Prince Of Persia: Original/application.json
@@ -1,4 +1,5 @@
{
- "name": "Prince Of Persia: Original",
+ "name": "Prince of Persia: Original",
+ "id": "prince_of_persia_original",
"description": ""
}
diff --git a/Applications/Games/Prince of Persia: The Sands of Time/Uplay/script.js b/Applications/Games/Prince of Persia: The Sands of Time/Uplay/script.js
index e309a67884..a08eb0296e 100644
--- a/Applications/Games/Prince of Persia: The Sands of Time/Uplay/script.js
+++ b/Applications/Games/Prince of Persia: The Sands of Time/Uplay/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "UplayScript"]);
+include(["engines", "wine", "quick_script", "uplay_script"]);
new UplayScript()
.name("Prince of Persia®: The Sands of Time")
diff --git a/Applications/Games/Prince of Persia: The Sands of Time/Uplay/script.json b/Applications/Games/Prince of Persia: The Sands of Time/Uplay/script.json
index 9db47efa04..f8c3cdfc80 100644
--- a/Applications/Games/Prince of Persia: The Sands of Time/Uplay/script.json
+++ b/Applications/Games/Prince of Persia: The Sands of Time/Uplay/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Uplay",
+ "id": "uplay",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Prince of Persia: The Sands of Time/application.json b/Applications/Games/Prince of Persia: The Sands of Time/application.json
index c598b6d838..045e8cc1d4 100644
--- a/Applications/Games/Prince of Persia: The Sands of Time/application.json
+++ b/Applications/Games/Prince of Persia: The Sands of Time/application.json
@@ -1,4 +1,5 @@
{
"name": "Prince of Persia®: The Sands of Time",
+ "id": "prince_of_persia_the_sands_of_time",
"description": "Amidst the scorched sands of ancient Persia, there is a legend spun in an ancient tongue. It speaks of a time borne by blood and ruled by deceit. Drawn to the dark powers of a magic dagger, a young Prince is led to unleash a deadly evil upon a beautiful kingdom."
}
diff --git a/Applications/Games/Pro Evolution Soccer 2018/Steam (Demo)/script.js b/Applications/Games/Pro Evolution Soccer 2018/Steam (Demo)/script.js
index 235173a965..93ab5249f4 100644
--- a/Applications/Games/Pro Evolution Soccer 2018/Steam (Demo)/script.js
+++ b/Applications/Games/Pro Evolution Soccer 2018/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Pro Evolution Soccer 2018 (Demo)")
diff --git a/Applications/Games/Pro Evolution Soccer 2018/Steam (Demo)/script.json b/Applications/Games/Pro Evolution Soccer 2018/Steam (Demo)/script.json
index 0c0f8295ec..50bbf5e14b 100644
--- a/Applications/Games/Pro Evolution Soccer 2018/Steam (Demo)/script.json
+++ b/Applications/Games/Pro Evolution Soccer 2018/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": true,
diff --git a/Applications/Games/Pro Evolution Soccer 2018/Steam/script.js b/Applications/Games/Pro Evolution Soccer 2018/Steam/script.js
index 4203b67236..f0d91b2ad6 100644
--- a/Applications/Games/Pro Evolution Soccer 2018/Steam/script.js
+++ b/Applications/Games/Pro Evolution Soccer 2018/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Pro Evolution Soccer 2018")
diff --git a/Applications/Games/Pro Evolution Soccer 2018/Steam/script.json b/Applications/Games/Pro Evolution Soccer 2018/Steam/script.json
index 622b5eb010..58879c3fa0 100644
--- a/Applications/Games/Pro Evolution Soccer 2018/Steam/script.json
+++ b/Applications/Games/Pro Evolution Soccer 2018/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/Pro Evolution Soccer 2018/application.json b/Applications/Games/Pro Evolution Soccer 2018/application.json
index 065abfb01c..42064c8342 100644
--- a/Applications/Games/Pro Evolution Soccer 2018/application.json
+++ b/Applications/Games/Pro Evolution Soccer 2018/application.json
@@ -1,4 +1,5 @@
{
"name": "Pro Evolution Soccer 2018",
+ "id": "pro_evolution_soccer_2018",
"description": "'Where Legends Are Made' encapsulates the return of PES, with an unparalleled gameplay experience."
}
diff --git a/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.js b/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.js
index 10948e8c04..4a9c84ce3b 100644
--- a/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.js
+++ b/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.js
@@ -1,12 +1,12 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "dotnet40"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "dotnet40"]);
new SteamScript()
.name("QUBE: Director's Cut")
.editor("Toxic Games")
.author("Plata")
.appId(239430)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.dotnet40();
})
.go();
diff --git a/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.json b/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.json
+++ b/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Q.U.B.E: Director's Cut/application.json b/Applications/Games/Q.U.B.E: Director's Cut/application.json
index d2ac20b524..008ca61852 100644
--- a/Applications/Games/Q.U.B.E: Director's Cut/application.json
+++ b/Applications/Games/Q.U.B.E: Director's Cut/application.json
@@ -1,4 +1,5 @@
{
"name": "Q.U.B.E: Director's Cut",
+ "id": "qube_directors_cut",
"description": "Q.U.B.E: Director's Cut is the definitive version of the brain-twisting first-person puzzler. Using special high-tech gloves to manipulate cubes in the environment, the player solves an array of conundrums - from physics-based challenges; to 3D jigsaws; to platform-based trials. "
}
diff --git a/Applications/Games/Quantum Conundrum/Steam/script.js b/Applications/Games/Quantum Conundrum/Steam/script.js
index dc91d2cd7d..98e4cf4222 100644
--- a/Applications/Games/Quantum Conundrum/Steam/script.js
+++ b/Applications/Games/Quantum Conundrum/Steam/script.js
@@ -1,12 +1,12 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "vcrun2008"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "vcrun2008"]);
new SteamScript()
.name("Quantum Conundrum")
.editor("Square Enix")
.author("Plata")
.appId(200010)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.vcrun2008();
})
.go();
diff --git a/Applications/Games/Quantum Conundrum/Steam/script.json b/Applications/Games/Quantum Conundrum/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Quantum Conundrum/Steam/script.json
+++ b/Applications/Games/Quantum Conundrum/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Quantum Conundrum/application.json b/Applications/Games/Quantum Conundrum/application.json
index fd164b3340..710e5ad61d 100644
--- a/Applications/Games/Quantum Conundrum/application.json
+++ b/Applications/Games/Quantum Conundrum/application.json
@@ -1,4 +1,5 @@
{
"name": "Quantum Conundrum",
+ "id": "quantum_conundrum",
"description": "Find and rescue your uncle by using his newest invention to work your way through a crazy complex mansion as you switch between dimensions and solve puzzles!"
}
diff --git a/Applications/Games/Rayman Legends/Steam (Demo)/script.js b/Applications/Games/Rayman Legends/Steam (Demo)/script.js
index 645c7a4aab..89b711ead3 100644
--- a/Applications/Games/Rayman Legends/Steam (Demo)/script.js
+++ b/Applications/Games/Rayman Legends/Steam (Demo)/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "uplay"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "uplay"]);
new SteamScript()
.name("Rayman® Legends (Demo)")
@@ -8,7 +8,7 @@ new SteamScript()
.appId(243340)
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.uplay();
})
.go();
diff --git a/Applications/Games/Rayman Legends/Steam (Demo)/script.json b/Applications/Games/Rayman Legends/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Rayman Legends/Steam (Demo)/script.json
+++ b/Applications/Games/Rayman Legends/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Rayman Legends/Steam/script.js b/Applications/Games/Rayman Legends/Steam/script.js
index 60628ba187..aefd92a664 100644
--- a/Applications/Games/Rayman Legends/Steam/script.js
+++ b/Applications/Games/Rayman Legends/Steam/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "uplay"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "uplay"]);
new SteamScript()
.name("Rayman® Legends")
@@ -8,7 +8,7 @@ new SteamScript()
.appId(242550)
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.uplay();
})
.go();
diff --git a/Applications/Games/Rayman Legends/Steam/script.json b/Applications/Games/Rayman Legends/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Rayman Legends/Steam/script.json
+++ b/Applications/Games/Rayman Legends/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Rayman Legends/application.json b/Applications/Games/Rayman Legends/application.json
index 5ca65b67cc..fb24026f8e 100644
--- a/Applications/Games/Rayman Legends/application.json
+++ b/Applications/Games/Rayman Legends/application.json
@@ -1,4 +1,5 @@
{
"name": "Rayman® Legends",
+ "id": "rayman_legends",
"description": "Michel Ancel, the celebrated creator of Rayman®, Beyond Good & Evil®, and the Raving Rabbids®, returns to unleash his innovative creativity on this new entry into the Rayman® franchise.
When Rayman, Globox, and the Teensies discover a mysterious tent filled with captivating paintings, they are suddenly transported to a series of mythical new worlds!
Join them as they run, jump, and slap their way through each world to get home, save the day, and discover the secrets of the legendary paintings!"
}
diff --git a/Applications/Games/Rayman Origins/Uplay/script.js b/Applications/Games/Rayman Origins/Uplay/script.js
index 25030e4e68..b4db1f7baa 100644
--- a/Applications/Games/Rayman Origins/Uplay/script.js
+++ b/Applications/Games/Rayman Origins/Uplay/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "UplayScript"]);
+include(["engines", "wine", "quick_script", "uplay_script"]);
new UplayScript()
.name("Rayman® Origins")
diff --git a/Applications/Games/Rayman Origins/Uplay/script.json b/Applications/Games/Rayman Origins/Uplay/script.json
index 9db47efa04..f8c3cdfc80 100644
--- a/Applications/Games/Rayman Origins/Uplay/script.json
+++ b/Applications/Games/Rayman Origins/Uplay/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Uplay",
+ "id": "uplay",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Rayman Origins/application.json b/Applications/Games/Rayman Origins/application.json
index 9059ca78ab..7a887bb412 100644
--- a/Applications/Games/Rayman Origins/application.json
+++ b/Applications/Games/Rayman Origins/application.json
@@ -1,4 +1,5 @@
{
"name": "Rayman® Origins",
+ "id": "rayman_origins",
"description": "Experience the magical universe of Rayman with legendary 2D gameplay that has captured the hearts of millions of fans!"
}
diff --git a/Applications/Games/Red Trigger/Steam/script.js b/Applications/Games/Red Trigger/Steam/script.js
index 4dbddd5bcc..d13f78afef 100644
--- a/Applications/Games/Red Trigger/Steam/script.js
+++ b/Applications/Games/Red Trigger/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Red Trigger")
diff --git a/Applications/Games/Red Trigger/Steam/script.json b/Applications/Games/Red Trigger/Steam/script.json
index 82941879df..cda7753a66 100644
--- a/Applications/Games/Red Trigger/Steam/script.json
+++ b/Applications/Games/Red Trigger/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Red Trigger/application.json b/Applications/Games/Red Trigger/application.json
index 4cf6621078..ed3048abd4 100644
--- a/Applications/Games/Red Trigger/application.json
+++ b/Applications/Games/Red Trigger/application.json
@@ -1,4 +1,5 @@
{
"name": "Red Trigger",
+ "id": "red_trigger",
"description": "Red Trigger is a First Person Shooter (FPS) Puzzle game. Can you infiltrate and corrupt the system?"
}
diff --git a/Applications/Games/Resident Evil 3/Local/script.js b/Applications/Games/Resident Evil 3/Local/script.js
index bfe1f5e804..3e84e579fa 100644
--- a/Applications/Games/Resident Evil 3/Local/script.js
+++ b/Applications/Games/Resident Evil 3/Local/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
.name("Resident Evil 3")
diff --git a/Applications/Games/Resident Evil 3/Local/script.json b/Applications/Games/Resident Evil 3/Local/script.json
index c94b0a174a..d20fe33e1d 100644
--- a/Applications/Games/Resident Evil 3/Local/script.json
+++ b/Applications/Games/Resident Evil 3/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Resident Evil 3/application.json b/Applications/Games/Resident Evil 3/application.json
index 35069fd8f3..fc965e5b3a 100644
--- a/Applications/Games/Resident Evil 3/application.json
+++ b/Applications/Games/Resident Evil 3/application.json
@@ -1,4 +1,5 @@
{
"name": "Resident Evil 3",
+ "id": "resident_evil_3",
"description": "Resident Evil 3: Nemesis, known in Japan as Biohazard 3: Last Escape (バイオハザード3 ラストエスケープ), is a survival horror video game and the sequel to Resident Evil 2, developed and published by Capcom. The game was released for the PlayStation, and was subsequently ported to the Dreamcast, Microsoft Windows and Nintendo GameCube. A Windows PC version was released first in Japan in June 2000 and later in other regions, which features enhanced 3D character model graphics and higher resolutions."
-}
\ No newline at end of file
+}
diff --git a/Applications/Games/Road Rash/Online/script.js b/Applications/Games/Road Rash/Online/script.js
index 1339939880..40c6b13d32 100644
--- a/Applications/Games/Road Rash/Online/script.js
+++ b/Applications/Games/Road Rash/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "ZipScript"]);
+include(["engines", "wine", "quick_script", "zip_script"]);
new ZipScript()
.name("Road Rash")
@@ -9,7 +9,7 @@ new ZipScript()
.checksum("82f99038b86bbd267c64f2d34f30b3209bbe4daa")
.category("Games")
.executable("RASHME.EXE")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
var registryFile = Bean("fileSearcher").search(wine.prefixDirectory, "RASH.REG")
wine.regedit().open(registryFile[0]);
})
diff --git a/Applications/Games/Road Rash/Online/script.json b/Applications/Games/Road Rash/Online/script.json
index d06173b06a..7feb1d79d8 100644
--- a/Applications/Games/Road Rash/Online/script.json
+++ b/Applications/Games/Road Rash/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": [],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Road Rash/application.json b/Applications/Games/Road Rash/application.json
index 1239d3dddd..2026c1bfa6 100644
--- a/Applications/Games/Road Rash/application.json
+++ b/Applications/Games/Road Rash/application.json
@@ -1,4 +1,5 @@
{
"name": "Road Rash",
+ "id": "road_rash",
"description": ""
}
diff --git a/Applications/Games/Rocksmith 2014/Steam/script.js b/Applications/Games/Rocksmith 2014/Steam/script.js
index 8a8e06c1d8..a2034acd29 100644
--- a/Applications/Games/Rocksmith 2014/Steam/script.js
+++ b/Applications/Games/Rocksmith 2014/Steam/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["utils", "functions", "filesystem", "files"]);
function fixIni(ini) {
var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
@@ -38,7 +38,7 @@ new SteamScript()
.editor("Ubisoft - San Francisco")
.author("Plata")
.appId(221680)
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.setSoundDriver("alsa");
wine.setOsForApplication().set("Rocksmith2014.exe", "win7").do();
fixIni(wine.prefixDirectory + "drive_c/" + wine.programFiles() + "/Steam/steamapps/common/Rocksmith2014/Rocksmith.ini");
diff --git a/Applications/Games/Rocksmith 2014/Steam/script.json b/Applications/Games/Rocksmith 2014/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Rocksmith 2014/Steam/script.json
+++ b/Applications/Games/Rocksmith 2014/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Rocksmith 2014/application.json b/Applications/Games/Rocksmith 2014/application.json
index 43f6edcca0..6c6115e28c 100644
--- a/Applications/Games/Rocksmith 2014/application.json
+++ b/Applications/Games/Rocksmith 2014/application.json
@@ -1,4 +1,5 @@
{
"name": "Rocksmith® 2014",
+ "id": "rocksmith_2014",
"description": "The fastest way to learn guitar is now better than ever. Join over three million people who have learned to play guitar with the award-winning Rocksmith® method. Plug any real guitar or bass with a 1/4 inch jack directly into your PC or Mac and you’ll learn to play in just 60 days."
}
diff --git a/Applications/Games/Rocksmith/Steam/script.js b/Applications/Games/Rocksmith/Steam/script.js
index 5e04803bef..cc0f07c340 100644
--- a/Applications/Games/Rocksmith/Steam/script.js
+++ b/Applications/Games/Rocksmith/Steam/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["utils", "functions", "filesystem", "files"]);
function fixIni(ini) {
var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
@@ -26,7 +26,7 @@ new SteamScript()
.editor("Ubisoft - San Francisco")
.author("Plata")
.appId(205190)
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.setSoundDriver("alsa");
wine.setOsForApplication().set("Rocksmith.exe", "win7").do();
fixIni(wine.prefixDirectory + "drive_c/" + wine.programFiles() + "/Steam/steamapps/common/Rocksmith/Rocksmith.ini");
diff --git a/Applications/Games/Rocksmith/Steam/script.json b/Applications/Games/Rocksmith/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Rocksmith/Steam/script.json
+++ b/Applications/Games/Rocksmith/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Rocksmith/application.json b/Applications/Games/Rocksmith/application.json
index be182f4b2a..203952480c 100644
--- a/Applications/Games/Rocksmith/application.json
+++ b/Applications/Games/Rocksmith/application.json
@@ -1,4 +1,5 @@
{
"name": "Rocksmith™",
+ "id": "rocksmith",
"description": "Rocksmith’s innovative game design makes playing music visually intuitive and will engage experienced musicians as well as those who have never picked up a guitar in their lives."
}
diff --git a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.js b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.js
index 235326ecf2..4a0b5db881 100644
--- a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.js
+++ b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.js
@@ -1,13 +1,13 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
-include(["Engines","Wine", "Verbs", "d3dx9"]);
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
+include(["engines", "wine", "verbs", "d3dx9"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "filesystem", "files"]);
new LocalInstallerScript()
- .name("STAR WARS™ Empire at War: Gold Pack")
- .editor("Petroglyph")
- .author("ImperatorS79")
- .category("Games")
+ .name("STAR WARS™ Empire at War: Gold Pack")
+ .editor("Petroglyph")
+ .author("ImperatorS79")
+ .category("Games")
.executable("LaunchEAW.exe")
.preInstall(function (wine, wizard) {
wine.d3dx9();
@@ -19,8 +19,8 @@ new LocalInstallerScript()
.checksum("63233107fab4c58413df04ce1d07fe65e7145329")
.to(wine.prefixDirectory + "drive_c/users/Public/Documents/EAW_RAM_MPLobby_update.exe")
.get();
-
+
wine.runInsidePrefix("/users/Public/Documents/EAW_RAM_MPLobby_update.exe");
})
- .go();
+ .go();
diff --git a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.json b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.json
index 26fabde451..453ba5b816 100644
--- a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.json
+++ b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.js b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.js
index fbbae61e98..a47afe2f95 100644
--- a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.js
+++ b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.js
@@ -1,12 +1,12 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines","Wine", "Verbs", "d3dx9"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "d3dx9"]);
new SteamScript()
- .name("STAR WARS™ Empire at War: Gold Pack")
- .editor("Petroglyph")
- .author("ImperatorS79")
- .appId(32470)
- .preInstall(function (wine, wizard) {
+ .name("STAR WARS™ Empire at War: Gold Pack")
+ .editor("Petroglyph")
+ .author("ImperatorS79")
+ .appId(32470)
+ .preInstall(function (wine/*, wizard*/) {
wine.d3dx9();
})
- .go();
+ .go();
diff --git a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.json b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.json
index 416ee066c3..48d2583cc8 100644
--- a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.json
+++ b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/STAR WARS - Empire at War - Gold Pack/application.json b/Applications/Games/STAR WARS - Empire at War - Gold Pack/application.json
index f0166505a3..d4a4611764 100644
--- a/Applications/Games/STAR WARS - Empire at War - Gold Pack/application.json
+++ b/Applications/Games/STAR WARS - Empire at War - Gold Pack/application.json
@@ -1,4 +1,5 @@
{
"name": "STAR WARS™ Empire at War: Gold Pack",
+ "id": "star_wars_empire_at_war_gold_pack",
"description": "Command or corrupt an entire galaxy in the definitive Star Wars strategy collection. It is a time of galactic civil war. Will you take up the reins of the Rebellion, assume control of the Empire, or rule the Star Wars Underworld?"
}
diff --git a/Applications/Games/STAR WARS Battlefront II/Local/script.js b/Applications/Games/STAR WARS Battlefront II/Local/script.js
index 296c7bbd0a..26067e2adc 100644
--- a/Applications/Games/STAR WARS Battlefront II/Local/script.js
+++ b/Applications/Games/STAR WARS Battlefront II/Local/script.js
@@ -1,14 +1,14 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "filesystem", "files"]);
new LocalInstallerScript()
- .name("STAR WARS™ Battlefront™ II")
- .editor("Pandemic Studio")
- .author("ImperatorS79")
- .category("Games")
- .executable("LaunchBFII.exe")
- .postInstall(function(wine, wizard) {
+ .name("STAR WARS™ Battlefront™ II")
+ .editor("Pandemic Studio")
+ .author("ImperatorS79")
+ .category("Games")
+ .executable("LaunchBFII.exe")
+ .postInstall(function (wine, wizard) {
// Install the 1.1 update of the game
new Downloader()
.wizard(wizard)
@@ -16,8 +16,8 @@ new LocalInstallerScript()
.checksum("60eaddfaba1bc71fe8bbbb560f8da229748cfaa8")
.to(wine.prefixDirectory + "drive_c/Program Files/LucasArts/Star Wars Battlefront II/BFIIUpdateInt1_1.exe")
.get();
-
+
wine.runInsidePrefix("/Program Files/LucasArts/Star Wars Battlefront II/BFIIUpdateInt1_1.exe");
-
+
})
- .go();
+ .go();
diff --git a/Applications/Games/STAR WARS Battlefront II/Local/script.json b/Applications/Games/STAR WARS Battlefront II/Local/script.json
index 562620ba56..1f3d798eb2 100644
--- a/Applications/Games/STAR WARS Battlefront II/Local/script.json
+++ b/Applications/Games/STAR WARS Battlefront II/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/STAR WARS Battlefront II/Steam/script.js b/Applications/Games/STAR WARS Battlefront II/Steam/script.js
index e60fd2098d..4b00bbf871 100644
--- a/Applications/Games/STAR WARS Battlefront II/Steam/script.js
+++ b/Applications/Games/STAR WARS Battlefront II/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("STAR WARS™ Battlefront™ II")
diff --git a/Applications/Games/STAR WARS Battlefront II/Steam/script.json b/Applications/Games/STAR WARS Battlefront II/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/STAR WARS Battlefront II/Steam/script.json
+++ b/Applications/Games/STAR WARS Battlefront II/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/STAR WARS Battlefront II/application.json b/Applications/Games/STAR WARS Battlefront II/application.json
index d5db565842..fbd33bfdd7 100644
--- a/Applications/Games/STAR WARS Battlefront II/application.json
+++ b/Applications/Games/STAR WARS Battlefront II/application.json
@@ -1,4 +1,5 @@
{
"name": "STAR WARS™ Battlefront™ II",
+ "id": "star_wars_battlefront_2",
"description": "Join the rise of Darth Vader’s elite 501st Legion of Stormtroopers as you fight through an all new story-based saga where every action you take impacts the battlefront and, ultimately, the fate of the Star Wars galaxy."
}
diff --git a/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/Steam/script.js b/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/Steam/script.js
index f36aa08090..57c8374b1d 100644
--- a/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/Steam/script.js
+++ b/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("STAR WARS™ Jedi Knight - Jedi Academy™")
diff --git a/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/Steam/script.json b/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/Steam/script.json
index 26ab91ae0b..3417466927 100644
--- a/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/Steam/script.json
+++ b/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/application.json b/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/application.json
index 1d5db59502..c33ea7e689 100644
--- a/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/application.json
+++ b/Applications/Games/STAR WARS Jedi Knight - Jedi Academy/application.json
@@ -1,4 +1,5 @@
{
"name": "STAR WARS™ Jedi Knight - Jedi Academy™",
+ "id": "star_wars_jedi_knight_jedi_academy",
"description": "Forge your weapon and follow the path of the Jedi Jedi Knight: Jedi Academy is the latest installment of the highly acclaimed Jedi Knight series. Take on the role of a new student eager to learn the ways of the Force from Jedi Master Luke Skywalker."
}
diff --git a/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/Steam/script.js b/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/Steam/script.js
index 78076701fd..705f082b4e 100644
--- a/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/Steam/script.js
+++ b/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("STAR WARS™ Jedi Knight - Mysteries of the Sith™")
diff --git a/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/Steam/script.json b/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/Steam/script.json
index 26ab91ae0b..3417466927 100644
--- a/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/Steam/script.json
+++ b/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/application.json b/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/application.json
index 629b29fa92..c2e6ecfc78 100644
--- a/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/application.json
+++ b/Applications/Games/STAR WARS Jedi Knight - Mysteries of the Sith/application.json
@@ -1,4 +1,5 @@
{
"name": "STAR WARS™ Jedi Knight - Mysteries of the Sith™",
+ "id": "star_wars_jedi_knight_mysteries_of_the_sith",
"description": "It is five years after Kyle's victory over the seven dark Jedi. Invading Imperial forces advance upon a quiet Rebel outpost, interrupting Kyle's training of a brave new Jedi, Mara Jade. First introduced in Timothy Zahn's award-winning Star Wars novel, Heir to the Empire, Mara Jade blends her past experiences as a one time smuggler and Emperor's Hand with her apprenticeship as a Jedi Knight."
}
diff --git a/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/Steam/script.js b/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/Steam/script.js
index 1b9d109f26..cae044fe51 100644
--- a/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/Steam/script.js
+++ b/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("STAR WARS™ Jedi Knight II - Jedi Outcast™")
diff --git a/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/Steam/script.json b/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/Steam/script.json
index 26ab91ae0b..3417466927 100644
--- a/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/Steam/script.json
+++ b/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/application.json b/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/application.json
index 2b44e32cfc..02f86de593 100644
--- a/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/application.json
+++ b/Applications/Games/STAR WARS Jedi Knight II - Jedi Outcast/application.json
@@ -1,4 +1,5 @@
{
"name": "STAR WARS™ Jedi Knight II - Jedi Outcast™",
+ "id": "star_wars_jedi_knight_2_jedi_outcast",
"description": "The Legacy of Star Wars Dark Forces™ and Star Wars® Jedi Knight lives on in the intense first-person action of Jedi Outcast. "
}
diff --git a/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/Steam/script.js b/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/Steam/script.js
index 368f02e66f..2c8ea13b04 100644
--- a/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/Steam/script.js
+++ b/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("STAR WARS™ Jedi Knight: Dark Forces II")
diff --git a/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/Steam/script.json b/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/Steam/script.json
index 26ab91ae0b..3417466927 100644
--- a/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/Steam/script.json
+++ b/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/application.json b/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/application.json
index 4556237d94..e701c25ac0 100644
--- a/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/application.json
+++ b/Applications/Games/STAR WARS Jedi Knight: Dark Forces II/application.json
@@ -1,4 +1,5 @@
{
"name": "STAR WARS™ Jedi Knight: Dark Forces II",
+ "id": "star_wars_jedi_knight_dark_forces_2",
"description": "Jedi Knight: Dark Forces II picks up where the award-winning Dark Forces™ game left off...with even more features and firepower in dazzling 3D graphics. As Kyle Katarn, you must acquire a lightsaber and learn the ways of the Force to become a Jedi Knight."
}
diff --git a/Applications/Games/STAR WARS: Dark Forces/Steam/script.js b/Applications/Games/STAR WARS: Dark Forces/Steam/script.js
index 21697884f0..70e67e2c25 100644
--- a/Applications/Games/STAR WARS: Dark Forces/Steam/script.js
+++ b/Applications/Games/STAR WARS: Dark Forces/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("STAR WARS™: Dark Forces")
diff --git a/Applications/Games/STAR WARS: Dark Forces/Steam/script.json b/Applications/Games/STAR WARS: Dark Forces/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/STAR WARS: Dark Forces/Steam/script.json
+++ b/Applications/Games/STAR WARS: Dark Forces/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/STAR WARS: Dark Forces/application.json b/Applications/Games/STAR WARS: Dark Forces/application.json
index ac3685a9e0..f4bdacd2e4 100644
--- a/Applications/Games/STAR WARS: Dark Forces/application.json
+++ b/Applications/Games/STAR WARS: Dark Forces/application.json
@@ -1,4 +1,5 @@
{
"name": "STAR WARS™: Dark Forces",
+ "id": "star_wars_dark_forces",
"description": "Behind a veil of secrecy the evil Empire is creating a doomsday army - one that, if finished, will become the final cog in the Empire's arsenal of terror and domination. Your Mission? Join the Rebel Alliance's covert operations division, infiltrate the Empire."
}
diff --git a/Applications/Games/STAR WARS: The Old Republic/Online/script.js b/Applications/Games/STAR WARS: The Old Republic/Online/script.js
index 61b254e213..440d7c244e 100644
--- a/Applications/Games/STAR WARS: The Old Republic/Online/script.js
+++ b/Applications/Games/STAR WARS: The Old Republic/Online/script.js
@@ -1,6 +1,6 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "d3dx9"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
+include(["engines", "wine", "verbs", "d3dx9"]);
+include(["utils", "functions", "filesystem", "files"]);
new OnlineInstallerScript()
.name("STAR WARS™: The Old Republic")
@@ -13,11 +13,11 @@ new OnlineInstallerScript()
.checksum("c538935eff4ec90ce2e48dc7e515a8dec2f15f58")
.category("Games")
.executable("launcher.exe")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
//it seems it brings better performance
wine.d3dx9();
})
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
//without that the launcher is unable to download the game
var path = wine.prefixDirectory + "drive_c/" + wine.programFiles() + "/Electronic Arts/BioWare/Star Wars - The Old Republic/launcher.settings";
var content = '{ "Login": ""\n' +
@@ -37,7 +37,7 @@ new OnlineInstallerScript()
'}'
writeToFile(path, content)
})
-
- .go();
-
-
+
+ .go();
+
+
diff --git a/Applications/Games/STAR WARS: The Old Republic/Online/script.json b/Applications/Games/STAR WARS: The Old Republic/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Games/STAR WARS: The Old Republic/Online/script.json
+++ b/Applications/Games/STAR WARS: The Old Republic/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/STAR WARS: The Old Republic/application.json b/Applications/Games/STAR WARS: The Old Republic/application.json
index 1891875eef..9cb29f1589 100644
--- a/Applications/Games/STAR WARS: The Old Republic/application.json
+++ b/Applications/Games/STAR WARS: The Old Republic/application.json
@@ -1,4 +1,5 @@
{
"name": "STAR WARS™: The Old Republic",
+ "id": "star_wars_the_old_republic",
"description": "BioWare and LucasArts bring you the next evolution in MMO Gameplay. Explore an age thousands of years before the rise of Darth Vader when war between the Galactic Republic and the Sith Empire divides the galaxy."
}
diff --git a/Applications/Games/Scribblenauts Unlimited/Steam/script.js b/Applications/Games/Scribblenauts Unlimited/Steam/script.js
index becfa2f5eb..dd8023fd54 100644
--- a/Applications/Games/Scribblenauts Unlimited/Steam/script.js
+++ b/Applications/Games/Scribblenauts Unlimited/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Scribblenauts Unlimited")
diff --git a/Applications/Games/Scribblenauts Unlimited/Steam/script.json b/Applications/Games/Scribblenauts Unlimited/Steam/script.json
index 4783164bea..d190707fb6 100644
--- a/Applications/Games/Scribblenauts Unlimited/Steam/script.json
+++ b/Applications/Games/Scribblenauts Unlimited/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Scribblenauts Unlimited/application.json b/Applications/Games/Scribblenauts Unlimited/application.json
index dc1ca893cc..87e014cc46 100644
--- a/Applications/Games/Scribblenauts Unlimited/application.json
+++ b/Applications/Games/Scribblenauts Unlimited/application.json
@@ -1,4 +1,5 @@
{
"name": "Scribblenauts Unlimited",
+ "id": "scribblenauts_unlimited",
"description": "Venture into a wide-open world where the most powerful tool is your imagination. Help Maxwell solve robust puzzles in seamless, free-roaming levels by summoning any object you can think of. Create your own original objects, assign unique properties, and share them with friends online using Steam Workshop – to be used in game or further modified as you like!"
}
diff --git a/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/Steam/script.js b/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/Steam/script.js
index c2858bd5a8..ae02ddb318 100644
--- a/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/Steam/script.js
+++ b/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad?")
diff --git a/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/Steam/script.json b/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/Steam/script.json
index f580e49c01..7b8b852fcf 100644
--- a/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/Steam/script.json
+++ b/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX","LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/application.json b/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/application.json
index 37a50a39cc..0fc17e1998 100644
--- a/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/application.json
+++ b/Applications/Games/Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad/application.json
@@ -1,4 +1,5 @@
{
"name": "Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad",
+ "id": "shower_with_your_dad_simulator_2015_do_you_still_shower_with_your_dad",
"description": "'Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad?' is a fast paced shower-simulation where you shower with your 8-bit dad. It's good, clean fun!"
}
diff --git a/Applications/Games/Star Craft II/Online/script.js b/Applications/Games/Star Craft II/Online/script.js
index 700588447c..4a6d971acd 100644
--- a/Applications/Games/Star Craft II/Online/script.js
+++ b/Applications/Games/Star Craft II/Online/script.js
@@ -1,19 +1,19 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "vcrun2015"]);
-include(["Engines", "Wine", "Verbs", "corefonts"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
+include(["engines", "wine", "verbs", "vcrun2015"]);
+include(["engines", "wine", "verbs", "corefonts"]);
new OnlineInstallerScript()
- .name("Star Craft II")
- .editor("Blizzard")
- .applicationHomepage("http://eu.battle.net/sc2/")
- .author("ImperatorS79")
- .url("https://eu.battle.net/download/getInstaller?os=win&installer=StarCraft-II-Setup.exe")
- // The checksum changes each time you download
- .category("Games")
+ .name("Star Craft II")
+ .editor("Blizzard")
+ .applicationHomepage("http://eu.battle.net/sc2/")
+ .author("ImperatorS79")
+ .url("https://eu.battle.net/download/getInstaller?os=win&installer=StarCraft-II-Setup.exe")
+ // The checksum changes each time you download
+ .category("Games")
.executable("StarCraft II.exe")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.windowsVersion("winxp");
wine.vcrun2015();
wine.corefonts();
- })
+ })
.go();
diff --git a/Applications/Games/Star Craft II/Online/script.json b/Applications/Games/Star Craft II/Online/script.json
index 6f5c897dc1..33812b4e9a 100644
--- a/Applications/Games/Star Craft II/Online/script.json
+++ b/Applications/Games/Star Craft II/Online/script.json
@@ -1,7 +1,8 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
"requiresPatch": false
-}
\ No newline at end of file
+}
diff --git a/Applications/Games/Star Craft II/application.json b/Applications/Games/Star Craft II/application.json
index a9596bd516..bf3eaaf635 100644
--- a/Applications/Games/Star Craft II/application.json
+++ b/Applications/Games/Star Craft II/application.json
@@ -1,4 +1,5 @@
{
"name": "Star Craft II",
+ "id": "star_craft_2",
"description": "StarCraft II: Wings of Liberty is a military science fiction real-time strategy video game developed and published by Blizzard Entertainment."
-}
\ No newline at end of file
+}
diff --git a/Applications/Games/Star Trek Online/Steam/script.js b/Applications/Games/Star Trek Online/Steam/script.js
index 7263c153f5..b56f9f0ee8 100644
--- a/Applications/Games/Star Trek Online/Steam/script.js
+++ b/Applications/Games/Star Trek Online/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Star Trek Online")
diff --git a/Applications/Games/Star Trek Online/Steam/script.json b/Applications/Games/Star Trek Online/Steam/script.json
index 82941879df..cda7753a66 100644
--- a/Applications/Games/Star Trek Online/Steam/script.json
+++ b/Applications/Games/Star Trek Online/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Star Trek Online/application.json b/Applications/Games/Star Trek Online/application.json
index 12c09ce910..1ae2473603 100644
--- a/Applications/Games/Star Trek Online/application.json
+++ b/Applications/Games/Star Trek Online/application.json
@@ -1,4 +1,5 @@
{
"name": "Star Trek Online",
+ "id": "star_trek_online",
"description": "In Star Trek Online, the Star Trek universe appears for the first time on a truly massive scale. Players take the captain's chair as they command their own starship and crew. Explore strange new worlds, seek out new life and new civilizations, and boldly go where no one has gone before."
}
diff --git a/Applications/Games/Steam/Online/script.js b/Applications/Games/Steam/Online/script.js
index 8678e969b0..853885730c 100644
--- a/Applications/Games/Steam/Online/script.js
+++ b/Applications/Games/Steam/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("Steam")
diff --git a/Applications/Games/Steam/Online/script.json b/Applications/Games/Steam/Online/script.json
index 04c2540ac1..0b7103f379 100644
--- a/Applications/Games/Steam/Online/script.json
+++ b/Applications/Games/Steam/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Steam/application.json b/Applications/Games/Steam/application.json
index 00eb596976..c68eb34628 100644
--- a/Applications/Games/Steam/application.json
+++ b/Applications/Games/Steam/application.json
@@ -1,4 +1,5 @@
{
"name": "Steam",
+ "id": "steam",
"description": "Steam is a digital distribution platform developed by Valve Corporation, which offers digital rights management (DRM), multiplayer gaming, video streaming and social networking services."
}
diff --git a/Applications/Games/Styx: Shards of Darkness/Steam (Demo)/script.js b/Applications/Games/Styx: Shards of Darkness/Steam (Demo)/script.js
index acafa7b155..ff8c305c96 100644
--- a/Applications/Games/Styx: Shards of Darkness/Steam (Demo)/script.js
+++ b/Applications/Games/Styx: Shards of Darkness/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Styx: Shards of Darkness (Demo)")
diff --git a/Applications/Games/Styx: Shards of Darkness/Steam (Demo)/script.json b/Applications/Games/Styx: Shards of Darkness/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Styx: Shards of Darkness/Steam (Demo)/script.json
+++ b/Applications/Games/Styx: Shards of Darkness/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Styx: Shards of Darkness/Steam/script.js b/Applications/Games/Styx: Shards of Darkness/Steam/script.js
index b05f40a374..1a412ec97f 100644
--- a/Applications/Games/Styx: Shards of Darkness/Steam/script.js
+++ b/Applications/Games/Styx: Shards of Darkness/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Styx: Shards of Darkness")
diff --git a/Applications/Games/Styx: Shards of Darkness/Steam/script.json b/Applications/Games/Styx: Shards of Darkness/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Styx: Shards of Darkness/Steam/script.json
+++ b/Applications/Games/Styx: Shards of Darkness/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Styx: Shards of Darkness/application.json b/Applications/Games/Styx: Shards of Darkness/application.json
index 3cb3313c14..cb6f2b9ca6 100644
--- a/Applications/Games/Styx: Shards of Darkness/application.json
+++ b/Applications/Games/Styx: Shards of Darkness/application.json
@@ -1,4 +1,5 @@
{
"name": "Styx: Shards of Darkness",
+ "id": "styx_shards_of_darkness",
"description": "Styx returns in a new stealth adventure! Explore and master huge open environments, sneak past or assassinate new enemies and bosses, and experiment with the new array of lethal abilities and weapons in our goblin assassin's arsenal."
}
diff --git a/Applications/Games/Subnautica/Steam/script.js b/Applications/Games/Subnautica/Steam/script.js
index 4b15ce86b6..b3369ede6e 100644
--- a/Applications/Games/Subnautica/Steam/script.js
+++ b/Applications/Games/Subnautica/Steam/script.js
@@ -1,34 +1,32 @@
-print(TYPE_ID);
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "vcrun2013"]);
-include(["Engines", "Wine", "Verbs", "vcrun2008"]);
-include(["Engines", "Wine", "Verbs", "xact"]);
-include(["Engines", "Wine", "Verbs", "corefonts"]);
-include(["Utils", "Functions", "Apps", "Resources"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
-include(["Engines", "Wine", "Engine", "Object"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "vcrun2013"]);
+include(["engines", "wine", "verbs", "vcrun2008"]);
+include(["engines", "wine", "verbs", "xact"]);
+include(["engines", "wine", "verbs", "corefonts"]);
+include(["utils", "functions", "apps", "resources"]);
+include(["utils", "functions", "filesystem", "files"]);
+include(["engines", "wine", "engine", "object"]);
new SteamScript()
- .name("Subnautica")
- .editor("Unknown Worlds Entertainment")
- .author("Zemogiter")
- .applicationHomepage("https://unknownworlds.com/subnautica/")
- .wineDistribution("upstream")
- .wineVersion(3.1)
- .wineArchitecture("amd64")
- .appId(264710)
- .preInstall(function(wine, wizard) {
- wine.vcrun2013();
- wine.corefonts();
- wine.vcrun2008();
- wine.xact();
- var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
- wine.setVirtualDesktop(screenSize.width, screenSize.height);
- var registrySettings = new AppResource().application([TYPE_ID, CATEGORY_ID, APPLICATION_ID]).get("fix.reg");
- wine.regedit().patch(registrySettings);
-
- })
- .gameOverlay(false)
- .executable("Steam.exe", ["-silent", "-applaunch", 264710, "-no-ces-sandbox", "-force-opengl"])
- .go();
+ .name("Subnautica")
+ .editor("Unknown Worlds Entertainment")
+ .author("Zemogiter")
+ .applicationHomepage("https://unknownworlds.com/subnautica/")
+ .wineDistribution("upstream")
+ .wineVersion(3.1)
+ .wineArchitecture("amd64")
+ .appId(264710)
+ .preInstall(function (wine/*, wizard*/) {
+ wine.vcrun2013();
+ wine.corefonts();
+ wine.vcrun2008();
+ wine.xact();
+ var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
+ wine.setVirtualDesktop(screenSize.width, screenSize.height);
+ var registrySettings = new AppResource().application([TYPE_ID, CATEGORY_ID, APPLICATION_ID]).get("fix.reg");
+ wine.regedit().patch(registrySettings);
+ })
+ .gameOverlay(false)
+ .executable("Steam.exe", ["-silent", "-applaunch", 264710, "-no-ces-sandbox", "-force-opengl"])
+ .go();
diff --git a/Applications/Games/Subnautica/Steam/script.json b/Applications/Games/Subnautica/Steam/script.json
index acf82bdbcb..596e40e5a4 100644
--- a/Applications/Games/Subnautica/Steam/script.json
+++ b/Applications/Games/Subnautica/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/Subnautica/application.json b/Applications/Games/Subnautica/application.json
index 54db0575df..6bd677c39a 100644
--- a/Applications/Games/Subnautica/application.json
+++ b/Applications/Games/Subnautica/application.json
@@ -1,4 +1,5 @@
-{
+{
"name": "Subnautica",
+ "id": "subnautica",
"description": "Subnautica is a game about exploration and adventure set in an underwater world. After an emergency landing on a foreign water planet you can only look in the depths. Discover seaweed forests and grass plateaus, reefs and labyrinths of underwater caves, but remember the ever-diminished oxygen. Water is swarming with life: some creatures are useful, but a large part is dangerous. When you wake up in a life capsule, you fight with time - you need to find drinking water, food, and develop equipment that will be useful during exploration. Collect resources from the ocean around you. Create knives, lighting, diving equipment, and build small submarines. The ocean is full of life: use the ecosystem to your advantage. Lure and outwit the dangerous creature with a fresh fish, or just swim as fast as you can to avoid the jaws of omnipresent predators. Cave systems extend below the bottom of the ocean - from dark, claustrophobic passages to caves illuminated by bioluminescent life forms. Explore the world below the bottom of the ocean, but watch out for oxygen levels and avoid the dangers lurking in the dark."
}
diff --git a/Applications/Games/Super Blue Boy Planet/Steam/script.js b/Applications/Games/Super Blue Boy Planet/Steam/script.js
index 171d5b9ed7..53650fda95 100644
--- a/Applications/Games/Super Blue Boy Planet/Steam/script.js
+++ b/Applications/Games/Super Blue Boy Planet/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Super Blue Boy Planet")
diff --git a/Applications/Games/Super Blue Boy Planet/Steam/script.json b/Applications/Games/Super Blue Boy Planet/Steam/script.json
index 93a267b586..73a6f937c5 100644
--- a/Applications/Games/Super Blue Boy Planet/Steam/script.json
+++ b/Applications/Games/Super Blue Boy Planet/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Super Blue Boy Planet/application.json b/Applications/Games/Super Blue Boy Planet/application.json
index 97fdc6024e..46532b27d9 100644
--- a/Applications/Games/Super Blue Boy Planet/application.json
+++ b/Applications/Games/Super Blue Boy Planet/application.json
@@ -1,4 +1,5 @@
{
"name": "Super Blue Boy Planet",
+ "id": "super_blue_boy_planet",
"description": "SBBP is a 2D platformer with pixel graphics. Blue boy’s girlfriend is kidnapped by aliens so he goes through 21 levels to save her and he also fight bosses along the way."
}
diff --git a/Applications/Games/TRON RUNr/Steam (Demo)/script.js b/Applications/Games/TRON RUNr/Steam (Demo)/script.js
index 3e94b68c1e..a426434b92 100644
--- a/Applications/Games/TRON RUNr/Steam (Demo)/script.js
+++ b/Applications/Games/TRON RUNr/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("TRON RUN/r (Demo)")
diff --git a/Applications/Games/TRON RUNr/Steam (Demo)/script.json b/Applications/Games/TRON RUNr/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/TRON RUNr/Steam (Demo)/script.json
+++ b/Applications/Games/TRON RUNr/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/TRON RUNr/Steam/script.js b/Applications/Games/TRON RUNr/Steam/script.js
index 1458b05b95..f56b51afa2 100644
--- a/Applications/Games/TRON RUNr/Steam/script.js
+++ b/Applications/Games/TRON RUNr/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("TRON RUN/r")
diff --git a/Applications/Games/TRON RUNr/Steam/script.json b/Applications/Games/TRON RUNr/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/TRON RUNr/Steam/script.json
+++ b/Applications/Games/TRON RUNr/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/TRON RUNr/application.json b/Applications/Games/TRON RUNr/application.json
index 7a011088f4..6893372a66 100644
--- a/Applications/Games/TRON RUNr/application.json
+++ b/Applications/Games/TRON RUNr/application.json
@@ -1,4 +1,5 @@
{
"name": "TRON RUN/r",
+ "id": "tron_runr",
"description": "Return to the world of TRON with TRON RUN/r, a new lightning fast, action-adventure runner with a twist! Hone your DISC and CYCLE skills, then challenge the grueling STREAM program that throws endless combinations of modes and levels at you until you crash – how long can you survive?"
}
diff --git a/Applications/Games/The Crew/Steam (Demo)/script.js b/Applications/Games/The Crew/Steam (Demo)/script.js
index d17dafc7a8..0c9fea72fd 100644
--- a/Applications/Games/The Crew/Steam (Demo)/script.js
+++ b/Applications/Games/The Crew/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("The Crew™ (Demo)")
diff --git a/Applications/Games/The Crew/Steam (Demo)/script.json b/Applications/Games/The Crew/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/The Crew/Steam (Demo)/script.json
+++ b/Applications/Games/The Crew/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/The Crew/Steam/script.js b/Applications/Games/The Crew/Steam/script.js
index af940924e9..011b4580ff 100644
--- a/Applications/Games/The Crew/Steam/script.js
+++ b/Applications/Games/The Crew/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("The Crew™")
diff --git a/Applications/Games/The Crew/Steam/script.json b/Applications/Games/The Crew/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/The Crew/Steam/script.json
+++ b/Applications/Games/The Crew/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/The Crew/application.json b/Applications/Games/The Crew/application.json
index 72c3304f3a..b104b785b4 100644
--- a/Applications/Games/The Crew/application.json
+++ b/Applications/Games/The Crew/application.json
@@ -1,4 +1,5 @@
{
"name": "The Crew™",
+ "id": "the_crew",
"description": "Your car is your avatar - fine tune your ride as you level up and progress through 5 unique and richly detailed regions of a massive open-world US. Maneuver through the bustling streets of New York City and Los Angeles, cruise down sunny Miami Beach or trek through the breathtaking plateaus of Monument Valley. Each locale comes with its own set of surprises and driving challenges to master. On your journey you will encounter other players on the road – all potentially worthy companions to crew up with, or future rivals to compete against. This is driving at its most exciting, varied and open."
}
diff --git a/Applications/Games/The Elder Scrolls IV: Oblivion/Local/script.js b/Applications/Games/The Elder Scrolls IV: Oblivion/Local/script.js
index b0b10196f0..e30cea36a9 100644
--- a/Applications/Games/The Elder Scrolls IV: Oblivion/Local/script.js
+++ b/Applications/Games/The Elder Scrolls IV: Oblivion/Local/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
.name("The Elder Scrolls IV: Oblivion")
diff --git a/Applications/Games/The Elder Scrolls IV: Oblivion/Local/script.json b/Applications/Games/The Elder Scrolls IV: Oblivion/Local/script.json
index 26fabde451..d3864718d7 100644
--- a/Applications/Games/The Elder Scrolls IV: Oblivion/Local/script.json
+++ b/Applications/Games/The Elder Scrolls IV: Oblivion/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/The Elder Scrolls IV: Oblivion/Steam/script.js b/Applications/Games/The Elder Scrolls IV: Oblivion/Steam/script.js
index 823a5f5b3a..6b35bf2405 100644
--- a/Applications/Games/The Elder Scrolls IV: Oblivion/Steam/script.js
+++ b/Applications/Games/The Elder Scrolls IV: Oblivion/Steam/script.js
@@ -1,4 +1,4 @@
- include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("The Elder Scrolls IV: Oblivion")
diff --git a/Applications/Games/The Elder Scrolls IV: Oblivion/Steam/script.json b/Applications/Games/The Elder Scrolls IV: Oblivion/Steam/script.json
index 8b9d8b5823..9eab1fbfd6 100644
--- a/Applications/Games/The Elder Scrolls IV: Oblivion/Steam/script.json
+++ b/Applications/Games/The Elder Scrolls IV: Oblivion/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (GOTY)",
+ "id": "steam_goty",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/The Elder Scrolls IV: Oblivion/application.json b/Applications/Games/The Elder Scrolls IV: Oblivion/application.json
index ef3c442349..8773d6d578 100644
--- a/Applications/Games/The Elder Scrolls IV: Oblivion/application.json
+++ b/Applications/Games/The Elder Scrolls IV: Oblivion/application.json
@@ -1,4 +1,5 @@
{
"name": "The Elder Scrolls IV: Oblivion",
+ "id": "the_elder_scrolls_4_oblivion",
"description": "The Elder Scrolls IV: Oblivion® presents one of the best RPGs of all time like never before. Step inside the most richly detailed and vibrant game-world ever created. With a powerful combination of freeform gameplay and unprecedented graphics, you can unravel the main quest at your own pace or explore the vast world and find your own challenges."
}
diff --git a/Applications/Games/The Elder Scrolls V: Skyrim/Steam/script.js b/Applications/Games/The Elder Scrolls V: Skyrim/Steam/script.js
index 5d14aadb58..983f0cdc30 100644
--- a/Applications/Games/The Elder Scrolls V: Skyrim/Steam/script.js
+++ b/Applications/Games/The Elder Scrolls V: Skyrim/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("The Elder Scrolls V: Skyrim")
diff --git a/Applications/Games/The Elder Scrolls V: Skyrim/Steam/script.json b/Applications/Games/The Elder Scrolls V: Skyrim/Steam/script.json
index 3a5d8f86ef..c48c3f0bb0 100644
--- a/Applications/Games/The Elder Scrolls V: Skyrim/Steam/script.json
+++ b/Applications/Games/The Elder Scrolls V: Skyrim/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX", "LINUX"],
"free": false,
diff --git a/Applications/Games/The Elder Scrolls V: Skyrim/application.json b/Applications/Games/The Elder Scrolls V: Skyrim/application.json
index 914330ea13..e3f1719b51 100644
--- a/Applications/Games/The Elder Scrolls V: Skyrim/application.json
+++ b/Applications/Games/The Elder Scrolls V: Skyrim/application.json
@@ -1,4 +1,5 @@
{
"name": "The Elder Scrolls V: Skyrim",
+ "id": "the_elder_scrolls_5_skyrim",
"description": "Winner of more than 200 Game of the Year Awards, Skyrim Special Edition brings the epic fantasy to life in stunning detail. The Special Edition includes the critically acclaimed game and add-ons with all-new features like remastered art and effects, volumetric god rays, dynamic depth of field, screen-space reflections, and more. Skyrim Special Edition also brings the full power of mods to the PC and consoles. New quests, environments, characters, dialogue, armor, weapons and more – with Mods, there are no limits to what you can experience."
}
diff --git a/Applications/Games/The Room Two/Steam/script.js b/Applications/Games/The Room Two/Steam/script.js
index d8e897cf88..717e1f11cd 100644
--- a/Applications/Games/The Room Two/Steam/script.js
+++ b/Applications/Games/The Room Two/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("The Room Two")
diff --git a/Applications/Games/The Room Two/Steam/script.json b/Applications/Games/The Room Two/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/The Room Two/Steam/script.json
+++ b/Applications/Games/The Room Two/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/The Room Two/application.json b/Applications/Games/The Room Two/application.json
index 4f079c25a2..30b788842b 100644
--- a/Applications/Games/The Room Two/application.json
+++ b/Applications/Games/The Room Two/application.json
@@ -1,4 +1,5 @@
{
"name": "The Room Two",
+ "id": "the_room_two",
"description": "Unique events transport you to the halls of a long-forgotten crypt. The only means of escape lies locked within a stone pedestal, along with a note from your mysterious ally. His words promise assistance, but only serve to entice you into a compelling world of mystery and exploration."
}
diff --git a/Applications/Games/The Room/Steam/script.js b/Applications/Games/The Room/Steam/script.js
index 558e10f22d..138d3644dc 100644
--- a/Applications/Games/The Room/Steam/script.js
+++ b/Applications/Games/The Room/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("The Room")
diff --git a/Applications/Games/The Room/Steam/script.json b/Applications/Games/The Room/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/The Room/Steam/script.json
+++ b/Applications/Games/The Room/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/The Room/application.json b/Applications/Games/The Room/application.json
index 6523073171..4af780cbe6 100644
--- a/Applications/Games/The Room/application.json
+++ b/Applications/Games/The Room/application.json
@@ -1,4 +1,5 @@
{
"name": "The Room",
+ "id": "the_room",
"description": "A mysterious invitation leads to the attic of an abandoned house. In the room is a cast-iron safe laced with strange carvings and on top, a note from your distant companion. It promises something ancient and astonishing concealed in the iron chamber - you need only find a way in."
}
diff --git a/Applications/Games/The Sims/Local/script.js b/Applications/Games/The Sims/Local/script.js
new file mode 100644
index 0000000000..4d080fe5c8
--- /dev/null
+++ b/Applications/Games/The Sims/Local/script.js
@@ -0,0 +1,12 @@
+include(["engines", "wine", "quick_script", "local_installer_script"]);
+
+new LocalInstallerScript()
+ .name("The Sims")
+ .editor("Maxis")
+ .applicationHomepage("http://www.thesims.com/")
+ .wineDistribution("staging")
+ .wineVersion("2.19")
+ .author("Zemogiter")
+ .category("Games")
+ .executable("Sims.exe", ["-skip_intro"])
+ .go();
diff --git a/Applications/Games/The Sims/Local/script.json b/Applications/Games/The Sims/Local/script.json
new file mode 100644
index 0000000000..292ecd90e3
--- /dev/null
+++ b/Applications/Games/The Sims/Local/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Local",
+ "id": "local",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": false,
+ "requiresPatch": false
+}
diff --git a/Applications/Games/The Sims/application.json b/Applications/Games/The Sims/application.json
new file mode 100644
index 0000000000..888ac7cb9b
--- /dev/null
+++ b/Applications/Games/The Sims/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "The Sims",
+ "id": "the_sims",
+ "description": "The Sims is a simulation game that simulates people. With various goals and objectives you control people called sims. These sims require the user to periodically replenish their needs, socialize, and buy new stuff. The game currently has 7 expansion packs, Livin Large, House Party, Hot Date, Vacation, Superstar, Makin Magic, and Unleashed. "
+}
diff --git a/Applications/Games/The Sims/miniatures/main.png b/Applications/Games/The Sims/miniatures/main.png
new file mode 100644
index 0000000000..ac9174abb1
Binary files /dev/null and b/Applications/Games/The Sims/miniatures/main.png differ
diff --git a/Applications/Games/The Turing Test/Steam/script.js b/Applications/Games/The Turing Test/Steam/script.js
index 3078698cd5..b901cb6ffe 100644
--- a/Applications/Games/The Turing Test/Steam/script.js
+++ b/Applications/Games/The Turing Test/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("The Turing Test")
diff --git a/Applications/Games/The Turing Test/Steam/script.json b/Applications/Games/The Turing Test/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/The Turing Test/Steam/script.json
+++ b/Applications/Games/The Turing Test/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/The Turing Test/application.json b/Applications/Games/The Turing Test/application.json
index a000f80134..6aabb881aa 100644
--- a/Applications/Games/The Turing Test/application.json
+++ b/Applications/Games/The Turing Test/application.json
@@ -1,4 +1,5 @@
{
"name": "The Turing Test",
+ "id": "the_turing_test",
"description": "The Turing Test is a challenging first-person puzzle game set on Jupiter’s moon, Europa. You are Ava Turing, an engineer for the International Space Agency (ISA) sent to discover the cause behind the disappearance of the ground crew stationed there."
}
diff --git a/Applications/Games/The Vanishing of Ethan Carter Redux/Steam/script.js b/Applications/Games/The Vanishing of Ethan Carter Redux/Steam/script.js
index e275d16c30..f6e93bf061 100644
--- a/Applications/Games/The Vanishing of Ethan Carter Redux/Steam/script.js
+++ b/Applications/Games/The Vanishing of Ethan Carter Redux/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("The Vanishing of Ethan Carter Redux")
diff --git a/Applications/Games/The Vanishing of Ethan Carter Redux/Steam/script.json b/Applications/Games/The Vanishing of Ethan Carter Redux/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/The Vanishing of Ethan Carter Redux/Steam/script.json
+++ b/Applications/Games/The Vanishing of Ethan Carter Redux/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/The Vanishing of Ethan Carter Redux/application.json b/Applications/Games/The Vanishing of Ethan Carter Redux/application.json
index e52ebdacac..a17818cc07 100644
--- a/Applications/Games/The Vanishing of Ethan Carter Redux/application.json
+++ b/Applications/Games/The Vanishing of Ethan Carter Redux/application.json
@@ -1,4 +1,5 @@
{
"name": "The Vanishing of Ethan Carter Redux",
+ "id": "the_vanishing_of_ethan_carter_redux",
"description": "The Vanishing of Ethan Carter is a first-person story-driven mystery."
}
diff --git a/Applications/Games/The Vanishing of Ethan Carter/Steam/script.js b/Applications/Games/The Vanishing of Ethan Carter/Steam/script.js
index 170c137f78..ccc6117e89 100644
--- a/Applications/Games/The Vanishing of Ethan Carter/Steam/script.js
+++ b/Applications/Games/The Vanishing of Ethan Carter/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("The Vanishing of Ethan Carter")
diff --git a/Applications/Games/The Vanishing of Ethan Carter/Steam/script.json b/Applications/Games/The Vanishing of Ethan Carter/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/The Vanishing of Ethan Carter/Steam/script.json
+++ b/Applications/Games/The Vanishing of Ethan Carter/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/The Vanishing of Ethan Carter/application.json b/Applications/Games/The Vanishing of Ethan Carter/application.json
index f414d00621..b06d9f1a17 100644
--- a/Applications/Games/The Vanishing of Ethan Carter/application.json
+++ b/Applications/Games/The Vanishing of Ethan Carter/application.json
@@ -1,4 +1,5 @@
{
"name": "The Vanishing of Ethan Carter",
+ "id": "the_vanishing_of_ethan_carter",
"description": "The Vanishing of Ethan Carter is a first-person story-driven mystery."
}
diff --git a/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.js b/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.js
index 39135b97de..340161ff56 100644
--- a/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.js
+++ b/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["utils", "functions", "filesystem", "files"]);
new SteamScript()
.name("The Witcher 3: Wild Hunt")
@@ -10,11 +10,11 @@ new SteamScript()
//it would be better with dark ground fix -> https://bugs.winehq.org/attachment.cgi?id=58842&action=diff&context=patch&collapsed=&headers=1&format=raw
.wineArchitecture("amd64")
.appId(292030)
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
//Ensure Directx11 full features will work, and CSMT for performance
- wine.setVersionGL(4,5);
+ wine.setVersionGL(4, 5);
wine.enableCSMT();
wine.UseGLSL("enabled");
wine.DirectDrawRenderer("opengl");
})
- .go();
+ .go();
diff --git a/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.json b/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.json
index 4ee39d18b6..a0bd82ce73 100644
--- a/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.json
+++ b/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/The Witcher 3: Wild Hunt/application.json b/Applications/Games/The Witcher 3: Wild Hunt/application.json
index 2d82d768c1..1ad6e8f654 100644
--- a/Applications/Games/The Witcher 3: Wild Hunt/application.json
+++ b/Applications/Games/The Witcher 3: Wild Hunt/application.json
@@ -1,4 +1,5 @@
{
"name": "The Witcher 3: Wild Hunt",
+ "id": "the_witcher_3_wild_hunt",
"description": "The Witcher: Wild Hunt is a story-driven, next-generation open world role-playing game set in a visually stunning fantasy universe full of meaningful choices and impactful consequences. In The Witcher you play as the professional monster hunter, Geralt of Rivia, tasked with finding a child of prophecy in a vast open world rich with merchant cities, viking pirate islands, dangerous mountain passes, and forgotten caverns to explore."
}
diff --git a/Applications/Games/The Witness/Steam/script.js b/Applications/Games/The Witness/Steam/script.js
index 99be2bd9e2..f4645f69a0 100644
--- a/Applications/Games/The Witness/Steam/script.js
+++ b/Applications/Games/The Witness/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("The Witness")
diff --git a/Applications/Games/The Witness/Steam/script.json b/Applications/Games/The Witness/Steam/script.json
index 622b5eb010..58879c3fa0 100644
--- a/Applications/Games/The Witness/Steam/script.json
+++ b/Applications/Games/The Witness/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/The Witness/application.json b/Applications/Games/The Witness/application.json
index d4dd48abf7..f648674bb3 100644
--- a/Applications/Games/The Witness/application.json
+++ b/Applications/Games/The Witness/application.json
@@ -1,4 +1,5 @@
{
"name": "The Witness",
+ "id": "the_witness",
"description": "You wake up, alone, on a strange island full of puzzles that will challenge and surprise you.
You don't remember who you are, and you don't remember how you got here, but there's one thing you can do: explore the island in hope of discovering clues, regaining your memory, and somehow finding your way home.
The Witness is a single-player game in an open world with dozens of locations to explore and over 500 puzzles. This game respects you as an intelligent player and it treats your time as precious. There's no filler; each of those puzzles brings its own new idea into the mix. So, this is a game full of ideas."
}
diff --git a/Applications/Games/Toki Tori/Steam (Demo)/script.js b/Applications/Games/Toki Tori/Steam (Demo)/script.js
index 04a70a0cdc..3a711c2b0c 100644
--- a/Applications/Games/Toki Tori/Steam (Demo)/script.js
+++ b/Applications/Games/Toki Tori/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Toki Tori (Demo)")
diff --git a/Applications/Games/Toki Tori/Steam (Demo)/script.json b/Applications/Games/Toki Tori/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Toki Tori/Steam (Demo)/script.json
+++ b/Applications/Games/Toki Tori/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Toki Tori/Steam/script.js b/Applications/Games/Toki Tori/Steam/script.js
index 4b57773a1b..ac4055fc63 100644
--- a/Applications/Games/Toki Tori/Steam/script.js
+++ b/Applications/Games/Toki Tori/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Toki Tori")
diff --git a/Applications/Games/Toki Tori/Steam/script.json b/Applications/Games/Toki Tori/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Toki Tori/Steam/script.json
+++ b/Applications/Games/Toki Tori/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Toki Tori/application.json b/Applications/Games/Toki Tori/application.json
index b87cf31bbd..ac0da37534 100644
--- a/Applications/Games/Toki Tori/application.json
+++ b/Applications/Games/Toki Tori/application.json
@@ -1,4 +1,5 @@
{
"name": "Toki Tori",
+ "id": "toki_tori",
"description": "The gameplay in Toki Tori is a blend of two genres. While it looks like a platform game, it's a puzzle game at heart. To progress through the game, the player must pick up each egg in a level using a set number of tools."
}
diff --git a/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Local (1.0->1.6)/script.js b/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Local (1.0->1.6)/script.js
index 7837554f87..68f122d375 100644
--- a/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Local (1.0->1.6)/script.js
+++ b/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Local (1.0->1.6)/script.js
@@ -1,41 +1,41 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
.name("Tom Clancy's Rainbow Six 3 : Raven Shield")
- .editor("Red Storm Entertainment")
- .author("ImperatorS79")
- .category("Games")
- .executable("ravenshield.exe")
- .postInstall(function(wine, wizard) {
+ .editor("Red Storm Entertainment")
+ .author("ImperatorS79")
+ .category("Games")
+ .executable("ravenshield.exe")
+ .postInstall(function (wine, wizard) {
var regions=[ "France", "England"];
var selectedRegion = wizard.menu(tr("Select your region for the patch (1.0 to 1.60)."), regions);
var exeName, url, sha1;
var originDirectory = wine.prefixDirectory + "drive_c/users/Public/Documents/";
-
- switch(selectedRegion.text){
+
+ switch (selectedRegion.text){
case "France":
exeName = "RVSPatch_1.0_To_1.60_FRA.exe";
url = "http://ftp.ubi.com/us/games/ravenshield/RVSPatch_1.0_To_1.60_FRA.exe";
sha1 = "c7eb2c67af17faa29a7f6a0e9b78629365d3e85c";
break;
-
+
case "England":
exeName = "raven_shield_v1.00_to_v1.60_uk.exe";
url = "http://patches.ubi.com/rainbow_six_3_raven_shield/raven_shield_v1.00_to_v1.60_uk.exe";
sha1 = "9619c735968cd5f79226a972815127813434b8fb";
break;
}
-
+
new Downloader()
.wizard(wizard)
.url(url)
.checksum(sha1)
.to(originDirectory + exeName)
.get();
-
+
wine.run(originDirectory + exeName);
-
+
wine.setVirtualDesktop(1280, 1024);
-
+
})
- .go();
+ .go();
diff --git a/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Local (1.0->1.6)/script.json b/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Local (1.0->1.6)/script.json
index ade26b9895..6b21dfe79a 100644
--- a/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Local (1.0->1.6)/script.json
+++ b/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Local (1.0->1.6)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local (1.0->1.6)",
+ "id": "local_1_0_to_1_6",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Steam (Gold)/script.js b/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Steam (Gold)/script.js
index d5132cb7eb..41edd83d8b 100644
--- a/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Steam (Gold)/script.js
+++ b/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Steam (Gold)/script.js
@@ -1,11 +1,11 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
- .name("Tom Clancy's Rainbow Six® 3 Gold")
- .editor("Red Storm Entertainment")
- .author("ImperatorS79")
+ .name("Tom Clancy's Rainbow Six® 3 Gold")
+ .editor("Red Storm Entertainment")
+ .author("ImperatorS79")
.appId(19830)
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.setVirtualDesktop(1280, 1024);
})
- .go();
+ .go();
diff --git a/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Steam (Gold)/script.json b/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Steam (Gold)/script.json
index e0b43d223f..5914cd1b23 100644
--- a/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Steam (Gold)/script.json
+++ b/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/Steam (Gold)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Gold)",
+ "id": "steam_gold",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/application.json b/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/application.json
index 15320baca0..224dd27e21 100644
--- a/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/application.json
+++ b/Applications/Games/Tom Clancy's Rainbow Six 3 : Raven Shield/application.json
@@ -1,4 +1,5 @@
{
"name": "Tom Clancy's Rainbow Six 3 : Raven Shield",
+ "id": "tom_clancys_rainbow_six_3_raven_shield",
"description": "Raven Shield: Command an elite multinational squad of special operatives against hidden terrorist forces. In Tom Clancy's Rainbow Six 3: Raven Shield, the third installment to the wildly popular Rainbow Six series, Team Rainbow faces the hidden global forces of a new and secretive foe."
}
diff --git a/Applications/Games/Tom Clancy's Splinter Cell/Uplay/script.js b/Applications/Games/Tom Clancy's Splinter Cell/Uplay/script.js
index ab73ebb263..52db6a4bc0 100644
--- a/Applications/Games/Tom Clancy's Splinter Cell/Uplay/script.js
+++ b/Applications/Games/Tom Clancy's Splinter Cell/Uplay/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "UplayScript"]);
+include(["engines", "wine", "quick_script", "uplay_script"]);
new UplayScript()
.name("Tom Clancy's Splinter Cell®")
diff --git a/Applications/Games/Tom Clancy's Splinter Cell/Uplay/script.json b/Applications/Games/Tom Clancy's Splinter Cell/Uplay/script.json
index 9db47efa04..f8c3cdfc80 100644
--- a/Applications/Games/Tom Clancy's Splinter Cell/Uplay/script.json
+++ b/Applications/Games/Tom Clancy's Splinter Cell/Uplay/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Uplay",
+ "id": "uplay",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Tom Clancy's Splinter Cell/application.json b/Applications/Games/Tom Clancy's Splinter Cell/application.json
index 488e6dfe68..a7dd0ed79d 100644
--- a/Applications/Games/Tom Clancy's Splinter Cell/application.json
+++ b/Applications/Games/Tom Clancy's Splinter Cell/application.json
@@ -1,4 +1,5 @@
{
"name": "Tom Clancy's Splinter Cell®",
+ "id": "tom_clancys_splinter_cell",
"description": "Infiltrate terrorists' positions, acquire critical intelligence by any means necessary, execute with extreme prejudice, and exit without a trace! You are Sam Fisher, a highly trained secret operative of the NSA's secret arm: Third Echelon."
}
diff --git a/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.js b/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.js
index 6d87be58be..21cff7cce2 100644
--- a/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.js
+++ b/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "uplay"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "uplay"]);
new SteamScript()
.name("Tom Clancy’s The Division™ (Demo)")
@@ -9,7 +9,7 @@ new SteamScript()
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.wineArchitecture("amd64")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.uplay();
})
.go();
diff --git a/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.json b/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.json
index 0c0f8295ec..50bbf5e14b 100644
--- a/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.json
+++ b/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": true,
diff --git a/Applications/Games/Tom Clancy's The Division/Steam/script.js b/Applications/Games/Tom Clancy's The Division/Steam/script.js
index 3ada829dee..1177b98f8d 100644
--- a/Applications/Games/Tom Clancy's The Division/Steam/script.js
+++ b/Applications/Games/Tom Clancy's The Division/Steam/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "uplay"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "uplay"]);
new SteamScript()
.name("Tom Clancy’s The Division™")
@@ -9,7 +9,7 @@ new SteamScript()
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.wineArchitecture("amd64")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.uplay();
})
.go();
diff --git a/Applications/Games/Tom Clancy's The Division/Steam/script.json b/Applications/Games/Tom Clancy's The Division/Steam/script.json
index 622b5eb010..58879c3fa0 100644
--- a/Applications/Games/Tom Clancy's The Division/Steam/script.json
+++ b/Applications/Games/Tom Clancy's The Division/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Games/Tom Clancy's The Division/application.json b/Applications/Games/Tom Clancy's The Division/application.json
index 326153f04d..f5cf28eb81 100644
--- a/Applications/Games/Tom Clancy's The Division/application.json
+++ b/Applications/Games/Tom Clancy's The Division/application.json
@@ -1,4 +1,5 @@
{
"name": "Tom Clancy’s The Division™",
+ "id": "tom_clancys_the_division",
"description": "Black Friday – a devastating pandemic sweeps through New York City, and one by one, basic services fail. In only days, without food or water, society collapses into chaos. The Division, an autonomous unit of tactical agents, is activated."
}
diff --git a/Applications/Games/Tomb Raider Anniversary/Steam (Demo)/script.js b/Applications/Games/Tomb Raider Anniversary/Steam (Demo)/script.js
index 91b4000bb0..ba8575b4f0 100644
--- a/Applications/Games/Tomb Raider Anniversary/Steam (Demo)/script.js
+++ b/Applications/Games/Tomb Raider Anniversary/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Tomb Raider: Anniversary (Demo)")
diff --git a/Applications/Games/Tomb Raider Anniversary/Steam (Demo)/script.json b/Applications/Games/Tomb Raider Anniversary/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Tomb Raider Anniversary/Steam (Demo)/script.json
+++ b/Applications/Games/Tomb Raider Anniversary/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Tomb Raider Anniversary/Steam/script.js b/Applications/Games/Tomb Raider Anniversary/Steam/script.js
index 459a412db6..37a29de668 100644
--- a/Applications/Games/Tomb Raider Anniversary/Steam/script.js
+++ b/Applications/Games/Tomb Raider Anniversary/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Tomb Raider: Anniversary")
diff --git a/Applications/Games/Tomb Raider Anniversary/Steam/script.json b/Applications/Games/Tomb Raider Anniversary/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Tomb Raider Anniversary/Steam/script.json
+++ b/Applications/Games/Tomb Raider Anniversary/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Tomb Raider Anniversary/application.json b/Applications/Games/Tomb Raider Anniversary/application.json
index 83b8982f43..909bb821b0 100644
--- a/Applications/Games/Tomb Raider Anniversary/application.json
+++ b/Applications/Games/Tomb Raider Anniversary/application.json
@@ -1,4 +1,5 @@
{
"name": "Tomb Raider: Anniversary",
+ "id": "tomb_taider_anniversary",
"description": "Tomb Raider: Anniversary retraces Lara Croft's original genre-defining adventure globe-trotting 3rd person action-adventure in pursuit of the legendary Scion artifact. Using an enhanced 'Tomb Raider: Legend' game engine, the graphics, technology and physics bring Lara's adventure and pursuit of a mystical artifact known only as the Scion right up to today's technology standards and offers gamers a completely new gameplay experience. Re-imagined, Anniversary delivers a dynamic fluidly and fast Lara Croft, massive environments of stunning visuals, intense combat and game pacing, and an enhanced and clarified original story."
}
diff --git a/Applications/Games/Tomb Raider Legend/Steam (Demo)/script.js b/Applications/Games/Tomb Raider Legend/Steam (Demo)/script.js
index e2a50b3513..e090ca9dd6 100644
--- a/Applications/Games/Tomb Raider Legend/Steam (Demo)/script.js
+++ b/Applications/Games/Tomb Raider Legend/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Tomb Raider: Legend (Demo)")
diff --git a/Applications/Games/Tomb Raider Legend/Steam (Demo)/script.json b/Applications/Games/Tomb Raider Legend/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Tomb Raider Legend/Steam (Demo)/script.json
+++ b/Applications/Games/Tomb Raider Legend/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Tomb Raider Legend/Steam/script.js b/Applications/Games/Tomb Raider Legend/Steam/script.js
index a30deb2fb0..8077972c00 100644
--- a/Applications/Games/Tomb Raider Legend/Steam/script.js
+++ b/Applications/Games/Tomb Raider Legend/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Tomb Raider: Legend")
diff --git a/Applications/Games/Tomb Raider Legend/Steam/script.json b/Applications/Games/Tomb Raider Legend/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Tomb Raider Legend/Steam/script.json
+++ b/Applications/Games/Tomb Raider Legend/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Tomb Raider Legend/application.json b/Applications/Games/Tomb Raider Legend/application.json
index ef9673ff2e..9930c1cce5 100644
--- a/Applications/Games/Tomb Raider Legend/application.json
+++ b/Applications/Games/Tomb Raider Legend/application.json
@@ -1,4 +1,5 @@
{
"name": "Tomb Raider: Legend",
+ "id": "tomb_raider_legend",
"description": "The gaming world's sexiest and most intrepid adventurer makes her triumphant return in Lara Croft Tomb Raider: Legend!
Follow Lara down a path of discovery as she travels the globe to remote, exotic locales in search of one of history's greatest artifacts that unleash unwelcome figures from Lara's mysterious past. With guns blazing, Lara must use her athletic ability and intellectual wits to explore vast, treacherous tombs, riddled with challenging puzzles and deadly traps. Experience the beginning of the new Legend in the most adrenaline-fueled Tomb Raider adventure ever!"
}
diff --git a/Applications/Games/Tomb Raider Underworld/Steam (Demo)/script.js b/Applications/Games/Tomb Raider Underworld/Steam (Demo)/script.js
index 949aa07d93..b30879f313 100644
--- a/Applications/Games/Tomb Raider Underworld/Steam (Demo)/script.js
+++ b/Applications/Games/Tomb Raider Underworld/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Tomb Raider: Underworld (Demo)")
diff --git a/Applications/Games/Tomb Raider Underworld/Steam (Demo)/script.json b/Applications/Games/Tomb Raider Underworld/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Tomb Raider Underworld/Steam (Demo)/script.json
+++ b/Applications/Games/Tomb Raider Underworld/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Tomb Raider Underworld/Steam/script.js b/Applications/Games/Tomb Raider Underworld/Steam/script.js
index 91c6f2dc2a..7c28125825 100644
--- a/Applications/Games/Tomb Raider Underworld/Steam/script.js
+++ b/Applications/Games/Tomb Raider Underworld/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Tomb Raider: Underworld")
diff --git a/Applications/Games/Tomb Raider Underworld/Steam/script.json b/Applications/Games/Tomb Raider Underworld/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Tomb Raider Underworld/Steam/script.json
+++ b/Applications/Games/Tomb Raider Underworld/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Tomb Raider Underworld/application.json b/Applications/Games/Tomb Raider Underworld/application.json
index cb36e84783..86446ae710 100644
--- a/Applications/Games/Tomb Raider Underworld/application.json
+++ b/Applications/Games/Tomb Raider Underworld/application.json
@@ -1,4 +1,5 @@
{
"name": "Tomb Raider: Underworld",
+ "id": "tomb_raider_underworld",
"description": "Tomb Raider: Underworld represents a new advancement in exploration-based gameplay. As fearless adventurer Lara Croft explore exotic locations around the world, each designed with an incredible attention to detail resulting in breathtaking high-definition visual fidelity that creates a truly believable world and delivers a new level of challenge and choice."
}
diff --git a/Applications/Games/Tomb Raider: The Dagger Of Xian/Local (Demo)/script.js b/Applications/Games/Tomb Raider: The Dagger Of Xian/Local (Demo)/script.js
index e9e3b62f6b..9302e37894 100644
--- a/Applications/Games/Tomb Raider: The Dagger Of Xian/Local (Demo)/script.js
+++ b/Applications/Games/Tomb Raider: The Dagger Of Xian/Local (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
.name("Tomb Raider: The Dagger Of Xian (Demo)")
diff --git a/Applications/Games/Tomb Raider: The Dagger Of Xian/Local (Demo)/script.json b/Applications/Games/Tomb Raider: The Dagger Of Xian/Local (Demo)/script.json
index 6cdd3b5f98..e9224d4e68 100644
--- a/Applications/Games/Tomb Raider: The Dagger Of Xian/Local (Demo)/script.json
+++ b/Applications/Games/Tomb Raider: The Dagger Of Xian/Local (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local (Demo)",
+ "id": "local_demo",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX", "LINUX"],
"free": true,
diff --git a/Applications/Games/Tomb Raider: The Dagger Of Xian/Online (Demo)/script.js b/Applications/Games/Tomb Raider: The Dagger Of Xian/Online (Demo)/script.js
index cf24135841..82bd272d5f 100644
--- a/Applications/Games/Tomb Raider: The Dagger Of Xian/Online (Demo)/script.js
+++ b/Applications/Games/Tomb Raider: The Dagger Of Xian/Online (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("Tomb Raider: The Dagger Of Xian (Demo)")
diff --git a/Applications/Games/Tomb Raider: The Dagger Of Xian/Online (Demo)/script.json b/Applications/Games/Tomb Raider: The Dagger Of Xian/Online (Demo)/script.json
index 7a1d44d801..c7c791095e 100644
--- a/Applications/Games/Tomb Raider: The Dagger Of Xian/Online (Demo)/script.json
+++ b/Applications/Games/Tomb Raider: The Dagger Of Xian/Online (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online (Demo)",
+ "id": "online_demo",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX", "LINUX"],
"free": true,
diff --git a/Applications/Games/Tomb Raider: The Dagger Of Xian/application.json b/Applications/Games/Tomb Raider: The Dagger Of Xian/application.json
index f3c3fc12a2..b37c53b39e 100644
--- a/Applications/Games/Tomb Raider: The Dagger Of Xian/application.json
+++ b/Applications/Games/Tomb Raider: The Dagger Of Xian/application.json
@@ -1,4 +1,5 @@
{
"name": "Tomb Raider: The Dagger Of Xian",
+ "id": "tomb_raider_the_dagger_of_xian",
"description": "Fan Game Tomb Raider 2 Remake by Nicobass."
}
diff --git a/Applications/Games/Total War Rome II/Steam/script.js b/Applications/Games/Total War Rome II/Steam/script.js
index 945b92a718..c4cb0e53a2 100644
--- a/Applications/Games/Total War Rome II/Steam/script.js
+++ b/Applications/Games/Total War Rome II/Steam/script.js
@@ -1,22 +1,22 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "d3dx9"]);
-include(["Engines", "Wine", "Verbs", "vcrun2005"]);
-include(["Engines", "Wine", "Verbs", "vcrun2008"]);
-include(["Engines", "Wine", "Verbs", "vcrun2010"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "d3dx9"]);
+include(["engines", "wine", "verbs", "vcrun2005"]);
+include(["engines", "wine", "verbs", "vcrun2008"]);
+include(["engines", "wine", "verbs", "vcrun2010"]);
new SteamScript()
- .name("Total War: ROME II")
- .editor("Creative Assembly")
- .author("ImperatorS79")
+ .name("Total War: ROME II")
+ .editor("Creative Assembly")
+ .author("ImperatorS79")
.appId(214950)
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .postInstall(function(wine, wizard) {
- wine.d3dx9();
- wine.vcrun2005();
- wine.vcrun2008();
- wine.vcrun2010();
- wizard.message(tr("If you are experiencing issues with game (e.g. it crashes at start or rendering is broken), you can try to enable de OpenGL renderer, by modifying :\n\n gfx_device_type to 2\n\n in the {0}/drive_c/users/USERNAME/Application Data/The Creative Assembly/Rome2/scripts/preferences_script.txt ", wine.prefixDirectory));
- //N.B. : maybe need "LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1" for terrain glitches (OpenGL Mode)
+ .postInstall(function (wine, wizard) {
+ wine.d3dx9();
+ wine.vcrun2005();
+ wine.vcrun2008();
+ wine.vcrun2010();
+ wizard.message(tr("If you are experiencing issues with game (e.g. it crashes at start or rendering is broken), you can try to enable de OpenGL renderer, by modifying :\n\n gfx_device_type to 2\n\n in the {0}/drive_c/users/USERNAME/Application Data/The Creative Assembly/Rome2/scripts/preferences_script.txt ", wine.prefixDirectory));
+ //N.B. : maybe need "LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1" for terrain glitches (OpenGL Mode)
})
.go();
diff --git a/Applications/Games/Total War Rome II/Steam/script.json b/Applications/Games/Total War Rome II/Steam/script.json
index a5487069b2..323e8af07e 100644
--- a/Applications/Games/Total War Rome II/Steam/script.json
+++ b/Applications/Games/Total War Rome II/Steam/script.json
@@ -1,7 +1,8 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
"requiresPatch": false
-}
\ No newline at end of file
+}
diff --git a/Applications/Games/Total War Rome II/application.json b/Applications/Games/Total War Rome II/application.json
index 5484383f03..1363e18b10 100644
--- a/Applications/Games/Total War Rome II/application.json
+++ b/Applications/Games/Total War Rome II/application.json
@@ -1,4 +1,5 @@
{
"name": "Total War: ROME II",
+ "id": "total_war_rome_2",
"description": "Emperor Edition is the definitive edition of ROME II, featuring an improved politics system, overhauled building chains, rebalanced battles and improved visuals in both campaign and battle.
In addition, Emperor Edition includes all content and feature updates made available for ROME II since its launch in September 2013. These include Twitch.TV integration, touchscreen controls, new playable factions and units, and Mac compatibility. The Imperator Augustus Campaign Pack and all Emperor Edition content and features are free, via automatic update, to all existing ROME II owners."
}
diff --git a/Applications/Games/Trackmania Turbo/Steam (Demo)/script.js b/Applications/Games/Trackmania Turbo/Steam (Demo)/script.js
index cd87faf070..36e08bcbb2 100644
--- a/Applications/Games/Trackmania Turbo/Steam (Demo)/script.js
+++ b/Applications/Games/Trackmania Turbo/Steam (Demo)/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "uplay"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "uplay"]);
new SteamScript()
.name("Trackmania® Turbo (Demo)")
@@ -8,7 +8,7 @@ new SteamScript()
.appId(456400)
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.uplay();
})
.go();
diff --git a/Applications/Games/Trackmania Turbo/Steam (Demo)/script.json b/Applications/Games/Trackmania Turbo/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Trackmania Turbo/Steam (Demo)/script.json
+++ b/Applications/Games/Trackmania Turbo/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Trackmania Turbo/Steam/script.js b/Applications/Games/Trackmania Turbo/Steam/script.js
index 62509d8583..2ae7b958a4 100644
--- a/Applications/Games/Trackmania Turbo/Steam/script.js
+++ b/Applications/Games/Trackmania Turbo/Steam/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-include(["Engines", "Wine", "Verbs", "uplay"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "uplay"]);
new SteamScript()
.name("Trackmania® Turbo")
@@ -8,7 +8,7 @@ new SteamScript()
.appId(375900)
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.uplay();
})
.go();
diff --git a/Applications/Games/Trackmania Turbo/Steam/script.json b/Applications/Games/Trackmania Turbo/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Trackmania Turbo/Steam/script.json
+++ b/Applications/Games/Trackmania Turbo/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Trackmania Turbo/application.json b/Applications/Games/Trackmania Turbo/application.json
index fecef7a135..55b44699d2 100644
--- a/Applications/Games/Trackmania Turbo/application.json
+++ b/Applications/Games/Trackmania Turbo/application.json
@@ -1,4 +1,5 @@
{
"name": "Trackmania® Turbo",
+ "id": "trackmania_turbo",
"description": "Trackmania offers you the ultimate arcade racing universe where everything is about reaching the perfect racing time. Test your skills in over 200 tracks, experience immediate fun by challenging your friends at home (offline splitscreen) or online."
}
diff --git a/Applications/Games/Tropico 3/Steam/script.js b/Applications/Games/Tropico 3/Steam/script.js
index fc061a0263..209801b3ca 100644
--- a/Applications/Games/Tropico 3/Steam/script.js
+++ b/Applications/Games/Tropico 3/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Tropico 3")
diff --git a/Applications/Games/Tropico 3/Steam/script.json b/Applications/Games/Tropico 3/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Tropico 3/Steam/script.json
+++ b/Applications/Games/Tropico 3/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Tropico 3/application.json b/Applications/Games/Tropico 3/application.json
index df039dffab..9e8d493b3c 100644
--- a/Applications/Games/Tropico 3/application.json
+++ b/Applications/Games/Tropico 3/application.json
@@ -1,4 +1,5 @@
{
"name": "Tropico 3",
+ "id": "tropico_3",
"description": "Engage in a tropical power trip! Become the dictator of a remote island during the Cold War. Charm, persuade, intimidate, oppress, or cheat your people to stay in power! Are you a kind and generous leader? A corrupt and ruthless tyrant ruling with an iron fist? Turn your island into a tourist paradise or an industrial power. Make promises to the electorate or slander political adversaries to get the crucial votes for the upcoming elections. Send your avatar to congratulate the people, visit the island of another player, or just sun-bathe on the Caribbean beach."
}
diff --git a/Applications/Games/Tropico 4/Steam (Demo)/script.js b/Applications/Games/Tropico 4/Steam (Demo)/script.js
index a9d2d72d0c..bc03b43c0e 100644
--- a/Applications/Games/Tropico 4/Steam (Demo)/script.js
+++ b/Applications/Games/Tropico 4/Steam (Demo)/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Tropico 4 (Demo)")
diff --git a/Applications/Games/Tropico 4/Steam (Demo)/script.json b/Applications/Games/Tropico 4/Steam (Demo)/script.json
index 61d6a3f2e2..baafa4b02b 100644
--- a/Applications/Games/Tropico 4/Steam (Demo)/script.json
+++ b/Applications/Games/Tropico 4/Steam (Demo)/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam (Demo)",
+ "id": "steam_demo",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Tropico 4/Steam/script.js b/Applications/Games/Tropico 4/Steam/script.js
index 865956069c..1b01fd806d 100644
--- a/Applications/Games/Tropico 4/Steam/script.js
+++ b/Applications/Games/Tropico 4/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Tropico 4")
diff --git a/Applications/Games/Tropico 4/Steam/script.json b/Applications/Games/Tropico 4/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Tropico 4/Steam/script.json
+++ b/Applications/Games/Tropico 4/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Tropico 4/application.json b/Applications/Games/Tropico 4/application.json
index b290bae567..5fd2075630 100644
--- a/Applications/Games/Tropico 4/application.json
+++ b/Applications/Games/Tropico 4/application.json
@@ -1,4 +1,5 @@
{
"name": "Tropico 4",
+ "id": "tropico_4",
"description": "The world is changing and Tropico is moving with the times - geographical powers rise and fall and the world market is dominated by new players with new demands and offers - and you, as El Presidente, face a whole new set of challenges. If you are to triumph over your naysayers you will need to gain as much support from your people as possible. Your decisions will shape the future of your nation, and more importantly, the size of your off-shore bank account.
Tropico 4 expands on the gameplay of the previous game with new political additions ∼ including more superpowers to negotiate with, along with the ability to elect ministers into power to help get your more controversial policies passed. But remember to keep your friends close and your enemies closer as everyone has an agenda! Your political mettle will be thoroughly tested, as new natural disasters will have the populace clamoring for you and your cabinet to help them recover from some of the worst Mother Nature can dish out.
Tropico 4 also brings a new level of social interaction with the addition of Facebook and Twitter integration. Post comments on Twitter direct from the game and have updates go out when you complete missions or unlock new achievements. You can even take screenshots of your burgeoning island and post your dream creation on your Tropico 4 Facebook page and compare your interactive Dictator Ranking on the online leaderboards."
}
diff --git a/Applications/Games/Unholy Heights/Steam/script.js b/Applications/Games/Unholy Heights/Steam/script.js
index 3020f21937..4e620ef924 100644
--- a/Applications/Games/Unholy Heights/Steam/script.js
+++ b/Applications/Games/Unholy Heights/Steam/script.js
@@ -1,6 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-
-include(["Engines", "Wine", "Verbs", "dotnet40"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "dotnet40"]);
new SteamScript()
.name("Unholy Heights")
@@ -9,7 +8,7 @@ new SteamScript()
.appId(249330)
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .preInstall(function (wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.dotnet40();
})
.go();
diff --git a/Applications/Games/Unholy Heights/Steam/script.json b/Applications/Games/Unholy Heights/Steam/script.json
index 29c227d918..da39f4ed74 100644
--- a/Applications/Games/Unholy Heights/Steam/script.json
+++ b/Applications/Games/Unholy Heights/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Unholy Heights/application.json b/Applications/Games/Unholy Heights/application.json
index 96c0ff27eb..beb98ace71 100644
--- a/Applications/Games/Unholy Heights/application.json
+++ b/Applications/Games/Unholy Heights/application.json
@@ -1,4 +1,5 @@
{
"name": "Unholy Heights",
+ "id": "unholy_heights",
"description": "Welcome to Unholy Heights, a mashup of Tower Defense and Apartment Management Simulation! The Devil has converted a tenement building into monsters-only housing, and has big plans for the future. Sucker monsters into moving into your building, charge them rent and keep them happy by buying them furniture. Unfortunately, heroes have caught wind of the Devil's plan, and will stop at nothing to wipe him out. Knock on residents' doors to call them to battle, trap heroes in devious pincer formations, and command your troops to victory. Monsters get jobs, fall in love, have children, and even skip out on their rent. Keep them happy or you might not have anyone to fight for you when heroes come knocking. But don't be too soft: there's always prospective baddies looking to move in, so kick out the freeloaders when the time is right! Being a landlord is a difficult job, but it can't be harder than running Hell...right?"
}
diff --git a/Applications/Games/Uplay/Local/script.js b/Applications/Games/Uplay/Local/script.js
index 8266180f6c..b5a44bec41 100644
--- a/Applications/Games/Uplay/Local/script.js
+++ b/Applications/Games/Uplay/Local/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
.name("Uplay")
diff --git a/Applications/Games/Uplay/Local/script.json b/Applications/Games/Uplay/Local/script.json
index 076ad2ef6b..02a52920b8 100644
--- a/Applications/Games/Uplay/Local/script.json
+++ b/Applications/Games/Uplay/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Uplay/Online/script.js b/Applications/Games/Uplay/Online/script.js
index 0b9f596227..613bf0bdaf 100644
--- a/Applications/Games/Uplay/Online/script.js
+++ b/Applications/Games/Uplay/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("Uplay")
diff --git a/Applications/Games/Uplay/Online/script.json b/Applications/Games/Uplay/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Games/Uplay/Online/script.json
+++ b/Applications/Games/Uplay/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Uplay/application.json b/Applications/Games/Uplay/application.json
index 9dd1e977ba..07fe5838f4 100644
--- a/Applications/Games/Uplay/application.json
+++ b/Applications/Games/Uplay/application.json
@@ -1,4 +1,5 @@
{
"name": "Uplay",
+ "id": "uplay",
"description": "Uplay is Ubisoft's PC games portal."
}
diff --git a/Applications/Games/Warcraft III Expansion Set/Online/script.js b/Applications/Games/Warcraft III Expansion Set/Online/script.js
new file mode 100644
index 0000000000..b7fda281bd
--- /dev/null
+++ b/Applications/Games/Warcraft III Expansion Set/Online/script.js
@@ -0,0 +1,21 @@
+include(["engines", "wine", "quick_script", "online_installer_script"]);
+include(["engines", "wine", "verbs", "vcrun2015"]);
+include(["engines", "wine", "verbs", "corefonts"]);
+
+new OnlineInstallerScript()
+ .name("Warcraft III Expansion Set")
+ .editor("Blizzard")
+ .applicationHomepage("http://www.blizzard.com/en-gb/games/war3/")
+ .author("Grimler91")
+ .url("https://www.battle.net/download/getInstaller?os=win&installer=Warcraft-III-Setup.exe")
+ // The checksum changes each time you download
+ .category("Games")
+ .executable("Warcraft III.exe")
+ .wineVersion(LATEST_STAGING_VERSION)
+ .wineDistribution("staging")
+ .preInstall(function (wine/*, wizard*/) {
+ wine.windowsVersion("winxp");
+ wine.corefonts();
+ wine.vcrun2015();
+ })
+ .go();
diff --git a/Applications/Games/Warcraft III/Online/script.json b/Applications/Games/Warcraft III Expansion Set/Online/script.json
similarity index 88%
rename from Applications/Games/Warcraft III/Online/script.json
rename to Applications/Games/Warcraft III Expansion Set/Online/script.json
index bd3f503611..f53579f5c8 100644
--- a/Applications/Games/Warcraft III/Online/script.json
+++ b/Applications/Games/Warcraft III Expansion Set/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Warcraft III Expansion Set/application.json b/Applications/Games/Warcraft III Expansion Set/application.json
new file mode 100644
index 0000000000..e4ace8217a
--- /dev/null
+++ b/Applications/Games/Warcraft III Expansion Set/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "Warcraft® III: Expansion Set",
+ "id": "warcraft_3_expansion_set",
+ "description": "The war rages on. The demonic threat has been banished from the battle-scarred fields of Azeroth, but peace is still a distant dream. The epic conflict that began in Warcraft III: Reign of Chaos continues with more units, more missions, and more explosive strategic combat.
This set contains both Warcraft III: Reign of Chaos and Warcraft III: The Frozen Throne."
+}
diff --git a/Applications/Games/Warcraft III Expansion Set/miniatures/main.png b/Applications/Games/Warcraft III Expansion Set/miniatures/main.png
new file mode 100644
index 0000000000..7a7d362677
Binary files /dev/null and b/Applications/Games/Warcraft III Expansion Set/miniatures/main.png differ
diff --git a/Applications/Games/Warcraft III TFT/Online/script.js b/Applications/Games/Warcraft III TFT/Online/script.js
deleted file mode 100644
index 45da10b74f..0000000000
--- a/Applications/Games/Warcraft III TFT/Online/script.js
+++ /dev/null
@@ -1,16 +0,0 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
-
-new OnlineInstallerScript()
- .name("Warcraft III")
- .editor("Blizzard")
- .applicationHomepage("https://eu.battle.net/shop/en/product/warcraft-iii-the-frozen-throne")
- .author("FalseCAM")
- .url("https://www.battle.net/download/getLegacy?product=W3XP&locale=en-US&os=WIN")
- .category("Games")
- .executable("Frozen Throne.exe")
- .preInstall(function (wine, wizard) {
- if (!fileExists(wine.prefixDirectory + "drive_c/" + wine.programFiles() + "/Warcraft III/Warcraft III.exe")) {
- wizard.message(tr("Please install Warcraft III before installing The Frozen Throne."));
- }
- })
- .go();
diff --git a/Applications/Games/Warcraft III TFT/Online/script.json b/Applications/Games/Warcraft III TFT/Online/script.json
deleted file mode 100644
index bd3f503611..0000000000
--- a/Applications/Games/Warcraft III TFT/Online/script.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "scriptName": "Online",
- "compatibleOperatingSystems": ["LINUX"],
- "testingOperatingSystems": [],
- "free": false,
- "requiresPatch": false
-}
diff --git a/Applications/Games/Warcraft III TFT/application.json b/Applications/Games/Warcraft III TFT/application.json
deleted file mode 100644
index b2cca91937..0000000000
--- a/Applications/Games/Warcraft III TFT/application.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "name": "Warcraft® III: The Frozen Throne®",
- "description": "Warcraft III: The Frozen Throne adds a host of new features to the game, including four new campaigns that take you across the frozen continent of Northrend. Explore new maps and master new units such as the Troll Bat Riders, the Blood Elf Spell Breakers, and the destructive Mountain Giants.
Install Warcraft III first."
-}
diff --git a/Applications/Games/Warcraft III TFT/miniatures/main.png b/Applications/Games/Warcraft III TFT/miniatures/main.png
deleted file mode 100644
index 48fe58ac8e..0000000000
Binary files a/Applications/Games/Warcraft III TFT/miniatures/main.png and /dev/null differ
diff --git a/Applications/Games/Warcraft III/Online/script.js b/Applications/Games/Warcraft III/Online/script.js
deleted file mode 100644
index b155e1c512..0000000000
--- a/Applications/Games/Warcraft III/Online/script.js
+++ /dev/null
@@ -1,20 +0,0 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "corefonts"]);
-include(["Engines", "Wine", "Verbs", "vcrun2015"]);
-
-new OnlineInstallerScript()
- .name("Warcraft III")
- .editor("Blizzard")
- .applicationHomepage("http://eu.blizzard.com/en-gb/games/war3/")
- .author("FalseCAM")
- .url("https://www.battle.net/download/getLegacy?product=WAR3&locale=en-US&os=WIN")
- .category("Games")
- .executable("Warcraft III.exe")
- .wineVersion(LATEST_STAGING_VERSION)
- .wineDistribution("staging")
- .preInstall(function (wine, wizard) {
- wine.windowsVersion("winxp");
- wine.corefonts();
- wine.vcrun2015();
- })
- .go();
diff --git a/Applications/Games/Warcraft III/application.json b/Applications/Games/Warcraft III/application.json
deleted file mode 100644
index ef1452961a..0000000000
--- a/Applications/Games/Warcraft III/application.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "name": "Warcraft® III: Reign of Chaos®",
- "description": "A generation before the events of World of Warcraft begin... Cunning, sinister, and seemingly unstoppable, the demonic Burning Legion prepare to launch their long-awaited assault on the mortal world. Survival is a matter of strategy, as the Reign of Chaos begins..."
-}
diff --git a/Applications/Games/Warcraft III/miniatures/main.png b/Applications/Games/Warcraft III/miniatures/main.png
deleted file mode 100644
index 045eae9e5f..0000000000
Binary files a/Applications/Games/Warcraft III/miniatures/main.png and /dev/null differ
diff --git a/Applications/Games/Warface/Steam/script.js b/Applications/Games/Warface/Steam/script.js
index 8a23515596..e7d66e192a 100644
--- a/Applications/Games/Warface/Steam/script.js
+++ b/Applications/Games/Warface/Steam/script.js
@@ -1,13 +1,13 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
- .name("Warface")
- .editor("Crytek")
- .author("ImperatorS79")
+ .name("Warface")
+ .editor("Crytek")
+ .author("ImperatorS79")
.appId(291480)
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .postInstall(function(wine, wizard) {
+ .postInstall(function (wine/*, wizard*/) {
wine.enableCSMT();
})
- .go();
+ .go();
diff --git a/Applications/Games/Warface/Steam/script.json b/Applications/Games/Warface/Steam/script.json
index c88311ce0c..25f288fe8b 100644
--- a/Applications/Games/Warface/Steam/script.json
+++ b/Applications/Games/Warface/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": ["MACOSX", "LINUX"],
"free": true,
diff --git a/Applications/Games/Warface/application.json b/Applications/Games/Warface/application.json
index fdc01fb8d2..419333379b 100644
--- a/Applications/Games/Warface/application.json
+++ b/Applications/Games/Warface/application.json
@@ -1,4 +1,5 @@
{
"name": "Warface",
+ "id": "warface",
"description": "Warface offers an intense Co-op experience with daily new content, in which players can master unique teamwork moves and gameplay styles. They can also engage in fast-paced or tactical action in Versus modes such as Team Death Match or Plant The Bomb."
}
diff --git a/Applications/Games/Warlock - Master of the Arcane/Steam/script.js b/Applications/Games/Warlock - Master of the Arcane/Steam/script.js
index 564003a9b6..07d1781a58 100644
--- a/Applications/Games/Warlock - Master of the Arcane/Steam/script.js
+++ b/Applications/Games/Warlock - Master of the Arcane/Steam/script.js
@@ -1,10 +1,9 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
-
-include(["Engines", "Wine", "Verbs", "corefonts"]);
-include(["Engines", "Wine", "Verbs", "d3dx9"]);
-include(["Engines", "Wine", "Verbs", "tahoma"]);
-include(["Engines", "Wine", "Verbs", "vcrun2005"]);
-include(["Engines", "Wine", "Verbs", "vcrun2008"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "corefonts"]);
+include(["engines", "wine", "verbs", "d3dx9"]);
+include(["engines", "wine", "verbs", "tahoma"]);
+include(["engines", "wine", "verbs", "vcrun2005"]);
+include(["engines", "wine", "verbs", "vcrun2008"]);
new SteamScript()
.name("Warlock - Master of the Arcane")
@@ -13,7 +12,7 @@ new SteamScript()
.appId(203630)
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
- .preInstall(function (wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.corefonts();
wine.d3dx9();
wine.tahoma();
diff --git a/Applications/Games/Warlock - Master of the Arcane/Steam/script.json b/Applications/Games/Warlock - Master of the Arcane/Steam/script.json
index 29c227d918..da39f4ed74 100644
--- a/Applications/Games/Warlock - Master of the Arcane/Steam/script.json
+++ b/Applications/Games/Warlock - Master of the Arcane/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Warlock - Master of the Arcane/application.json b/Applications/Games/Warlock - Master of the Arcane/application.json
index 6626deeb28..f2c4999c9c 100644
--- a/Applications/Games/Warlock - Master of the Arcane/application.json
+++ b/Applications/Games/Warlock - Master of the Arcane/application.json
@@ -1,4 +1,5 @@
{
"name": "Warlock - Master of the Arcane",
+ "id": "warlock_master_of_the_arcane",
"description": "In a time of chaotic upheaval, the player takes the role of a great mage, a warlord vying for ultimate power. Your mission is to build an empire, expand your borders, research new spells and conquer your enemies. Become the ultimate Warlock and rule over all of Ardania!"
}
diff --git a/Applications/Games/Wildlife Park 2/Local/script.js b/Applications/Games/Wildlife Park 2/Local/script.js
new file mode 100644
index 0000000000..29a1435a6e
--- /dev/null
+++ b/Applications/Games/Wildlife Park 2/Local/script.js
@@ -0,0 +1,17 @@
+include(["engines", "wine", "quick_script", "local_installer_script"]);
+include(["engines", "wine", "verbs", "quartz"]);
+
+new LocalInstallerScript()
+ .name("Wildlife Park 2")
+ .editor("B-Alive")
+ .applicationHomepage("www.wildlifepark2.com")
+ .author("Zemogiter")
+ .category("Games")
+ .executable("WLP2.exe")
+ .preInstall(function (wine, wizard) {
+ wizard.message(tr("On first run the game might not go into full screen. If that happens go to options and set the resolution to 1280x960. You will be asked to close the game in order to apply the new settings. Click Yes. Once you start the game again you should see a window where you can set your game resolution to match your screen."));
+ wine.quartz();
+ var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
+ wine.setVirtualDesktop(screenSize.width, screenSize.height);
+ })
+ .go();
diff --git a/Applications/Games/Wildlife Park 2/Local/script.json b/Applications/Games/Wildlife Park 2/Local/script.json
new file mode 100644
index 0000000000..292ecd90e3
--- /dev/null
+++ b/Applications/Games/Wildlife Park 2/Local/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Local",
+ "id": "local",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": false,
+ "requiresPatch": false
+}
diff --git a/Applications/Games/Wildlife Park 2/Steam/script.js b/Applications/Games/Wildlife Park 2/Steam/script.js
new file mode 100644
index 0000000000..f14e35254d
--- /dev/null
+++ b/Applications/Games/Wildlife Park 2/Steam/script.js
@@ -0,0 +1,18 @@
+include(["engines", "wine", "quick_script", "steam_script"]);
+include(["engines", "wine", "verbs", "quartz"]);
+
+new SteamScript()
+ .name("Wildlife Park 2")
+ .editor("B-Alive")
+ .applicationHomepage("www.wildlifepark2.com")
+ .author("Zemogiter")
+ .appId(264710)
+ .preInstall(function (wine, wizard) {
+ wizard.message(tr("On first run the game might not go into full screen. If that happens go to options and set the resolution to 1280x960. You will be asked to close the game in order to apply the new settings. Click Yes. Once you start the game again you should see a window where you can set your game resolution to match your screen."));
+ wine.quartz();
+ var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
+ wine.setVirtualDesktop(screenSize.width, screenSize.height);
+ })
+ .gameOverlay(false)
+ .go();
+
diff --git a/Applications/Games/Wildlife Park 2/Steam/script.json b/Applications/Games/Wildlife Park 2/Steam/script.json
new file mode 100644
index 0000000000..d54fbe6166
--- /dev/null
+++ b/Applications/Games/Wildlife Park 2/Steam/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Steam",
+ "id": "steam",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": false,
+ "requiresPatch": false
+}
diff --git a/Applications/Games/Wildlife Park 2/application.json b/Applications/Games/Wildlife Park 2/application.json
new file mode 100644
index 0000000000..15501978f9
--- /dev/null
+++ b/Applications/Games/Wildlife Park 2/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "Wildlife Park 2",
+ "id": "wildlife_park_2",
+ "description": "Become a zoo manager and take good care of your animals. Wildlife Park 2 brings you into up close and personal contact with more than 50 different animal species. Observe the lovingly animated interaction of the animals - with other animals, the landscape, the play equipment, or the visitors to the park! Just like in a real zoo, the animals must receive all-round care. This is as easy as winking in Wildlife Park 2: With a click of the mouse you can feed, doctor, pet, or even relocate animals, or get them moving. You will guide a team of landscape architects, gardeners, keepers, veterinarians, and scientists. If you manage your zoo carefully, you will soon be able to celebrate the birth of new animals! Construct your zoo using more than 100 animal houses, visitor facilities, staff buildings, decorative park elements, and enclosure equipment. Wildlife Park 2 is an ideal playground for amateur architects, too! Use the extensive terraforming options to create your own imaginative landscapes. Plenty of established plant species and botanical rarities such us underwater plants or cacti will thrive under your loving care, and all this is lavishly displayed by a dynamic plant system. Another specialty is the realistically simulated flow of water. By easily placing a water source, you can create thunderous waterfalls and rambling water worlds. Visitors to your zoo will expect a few treats, too - build restaurants and ice-cream parlors and provide spectacular entertainment. Employ advertising and marketing to attract new visitors. But don't forget to keep an eye on your zoo's budget at all times!"
+}
diff --git a/Applications/Games/Wildlife Park 2/miniatures/main.png b/Applications/Games/Wildlife Park 2/miniatures/main.png
new file mode 100644
index 0000000000..21e810629d
Binary files /dev/null and b/Applications/Games/Wildlife Park 2/miniatures/main.png differ
diff --git a/Applications/Games/Worms Armageddon/Steam/script.js b/Applications/Games/Worms Armageddon/Steam/script.js
index 90cd1625df..61d7e8df77 100644
--- a/Applications/Games/Worms Armageddon/Steam/script.js
+++ b/Applications/Games/Worms Armageddon/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Worms Armageddon")
diff --git a/Applications/Games/Worms Armageddon/Steam/script.json b/Applications/Games/Worms Armageddon/Steam/script.json
index 4783164bea..d190707fb6 100644
--- a/Applications/Games/Worms Armageddon/Steam/script.json
+++ b/Applications/Games/Worms Armageddon/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Worms Armageddon/application.json b/Applications/Games/Worms Armageddon/application.json
index 42e69b2b05..11fea31755 100644
--- a/Applications/Games/Worms Armageddon/application.json
+++ b/Applications/Games/Worms Armageddon/application.json
@@ -1,4 +1,5 @@
{
"name": "Worms Armageddon",
+ "id": "worms_armageddon",
"description": "Those intrepid invertebrates return with a vengeance in the much-loved Worms™ Armageddon. It’s a whole new can of worms! It’s hilarious fun that you can enjoy on your own or with all your friends."
}
diff --git a/Applications/Games/Worms Reloaded/Steam/script.js b/Applications/Games/Worms Reloaded/Steam/script.js
index 1526140c79..77613a4c65 100644
--- a/Applications/Games/Worms Reloaded/Steam/script.js
+++ b/Applications/Games/Worms Reloaded/Steam/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "SteamScript"]);
+include(["engines", "wine", "quick_script", "steam_script"]);
new SteamScript()
.name("Worms™ Reloaded")
diff --git a/Applications/Games/Worms Reloaded/Steam/script.json b/Applications/Games/Worms Reloaded/Steam/script.json
index 42551594e6..c66f96a434 100644
--- a/Applications/Games/Worms Reloaded/Steam/script.json
+++ b/Applications/Games/Worms Reloaded/Steam/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
+ "id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
diff --git a/Applications/Games/Worms Reloaded/application.json b/Applications/Games/Worms Reloaded/application.json
index a8256b283b..2b824afd0b 100644
--- a/Applications/Games/Worms Reloaded/application.json
+++ b/Applications/Games/Worms Reloaded/application.json
@@ -1,4 +1,5 @@
{
"name": "Worms™ Reloaded",
+ "id": "worms_reloaded",
"description": "Worms™ Reloaded is a turn-based computer games developed by Team17 Software. Players control a small platoon of earthworms across a deformable landscape, battling other computer- or player-controlled teams. The games feature bright and humorous cartoon-style animation and a varied arsenal of bizarre weapons."
}
diff --git a/Applications/Games/Xenon 2/Online/script.js b/Applications/Games/Xenon 2/Online/script.js
index 8687b2bc4a..6404671395 100644
--- a/Applications/Games/Xenon 2/Online/script.js
+++ b/Applications/Games/Xenon 2/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "ZipScript"]);
+include(["engines", "wine", "quick_script", "zip_script"]);
new ZipScript()
.name("Xenon 2")
diff --git a/Applications/Games/Xenon 2/Online/script.json b/Applications/Games/Xenon 2/Online/script.json
index 04c2540ac1..0b7103f379 100644
--- a/Applications/Games/Xenon 2/Online/script.json
+++ b/Applications/Games/Xenon 2/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/Xenon 2/application.json b/Applications/Games/Xenon 2/application.json
index 5debb0c243..f81d374c01 100644
--- a/Applications/Games/Xenon 2/application.json
+++ b/Applications/Games/Xenon 2/application.json
@@ -1,4 +1,5 @@
{
"name": "Xenon 2",
+ "id": "xenon_2",
"description": ""
}
diff --git a/Applications/Games/category.json b/Applications/Games/category.json
index bfedcc3579..ccce402274 100644
--- a/Applications/Games/category.json
+++ b/Applications/Games/category.json
@@ -1,4 +1,5 @@
{
"name": "Games",
+ "id": "games",
"type": "INSTALLERS"
}
diff --git a/Applications/Games/osu!/Local/script.js b/Applications/Games/osu!/Local/script.js
index c5afaec51d..1bcc5ca1c5 100644
--- a/Applications/Games/osu!/Local/script.js
+++ b/Applications/Games/osu!/Local/script.js
@@ -1,18 +1,18 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "dotnet40"]);
-include(["Engines", "Wine", "Verbs", "corefonts"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
+include(["engines", "wine", "verbs", "dotnet40"]);
+include(["engines", "wine", "verbs", "corefonts"]);
new LocalInstallerScript()
//Local because download failed due to "unable to find valid certification path to requested target"
- .name("osu!")
- .editor("Editor")
- .applicationHomepage("https://osu.ppy.sh/")
- .author("ImperatorS79")
- .category("Games")
+ .name("osu!")
+ .editor("Editor")
+ .applicationHomepage("https://osu.ppy.sh/")
+ .author("ImperatorS79")
+ .category("Games")
.executable("osu!.exe")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
//maybe needs cjkfonts or set sound driver to alsa
wine.corefonts();
wine.dotnet40();
})
- .go();
+ .go();
diff --git a/Applications/Games/osu!/Local/script.json b/Applications/Games/osu!/Local/script.json
index 1a24927651..19dd0f56d9 100644
--- a/Applications/Games/osu!/Local/script.json
+++ b/Applications/Games/osu!/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Games/osu!/application.json b/Applications/Games/osu!/application.json
index a1ec19870e..88239a8a64 100644
--- a/Applications/Games/osu!/application.json
+++ b/Applications/Games/osu!/application.json
@@ -1,4 +1,5 @@
{
"name": "osu!",
+ "id": "osu",
"description": "osu! is a free-to-win online rhythm game."
}
diff --git a/Applications/Graphics/Photofiltre/Online/script.js b/Applications/Graphics/Photofiltre/Online/script.js
index 225968c8f2..fe4cbe4e05 100644
--- a/Applications/Graphics/Photofiltre/Online/script.js
+++ b/Applications/Graphics/Photofiltre/Online/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("Photofiltre")
diff --git a/Applications/Graphics/Photofiltre/Online/script.json b/Applications/Graphics/Photofiltre/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Graphics/Photofiltre/Online/script.json
+++ b/Applications/Graphics/Photofiltre/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Graphics/Photofiltre/application.json b/Applications/Graphics/Photofiltre/application.json
index f20be50f47..1643efeb1e 100644
--- a/Applications/Graphics/Photofiltre/application.json
+++ b/Applications/Graphics/Photofiltre/application.json
@@ -1,4 +1,5 @@
{
"name": "Photofiltre",
+ "id": "photofiltre",
"description": "Introduction PhotoFiltre Studio is a complete image retouching program. It allows you to do simple or advanced adjustments to an image and apply a vast range of filters on it. It is simple and intuitive to use, and has an easy learning curve. The toolbar, giving you access to the standard filters with just a few clicks, gives PhotoFiltre Studio a robust look. PhotoFiltre Studio also has layer manager (with Alpha channel), advanced brushes, nozzles (or tubes), red eye corrector, batch module and lot of other powerful tools."
}
diff --git a/Applications/Graphics/category.json b/Applications/Graphics/category.json
index 413f2bcd02..5e98fdc340 100644
--- a/Applications/Graphics/category.json
+++ b/Applications/Graphics/category.json
@@ -1,4 +1,5 @@
{
"name": "Graphics",
+ "id": "graphics",
"type": "INSTALLERS"
}
diff --git a/Applications/Internet/Internet Explorer 6.0/Online/script.js b/Applications/Internet/Internet Explorer 6.0/Online/script.js
index 0a9eca1bdf..bb7b43bde2 100644
--- a/Applications/Internet/Internet Explorer 6.0/Online/script.js
+++ b/Applications/Internet/Internet Explorer 6.0/Online/script.js
@@ -1,9 +1,9 @@
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
-include(["Engines", "Wine", "Shortcuts", "Wine"]);
-include(["Utils", "Functions", "Apps", "Resources"]);
-include(["Engines", "Wine", "Verbs", "msls31"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "filesystem", "files"]);
+include(["engines", "wine", "shortcuts", "wine"]);
+include(["utils", "functions", "apps", "resources"]);
+include(["engines", "wine", "verbs", "msls31"]);
var appsManager = Bean("repositoryManager");
var application = appsManager.getApplication(["Applications", "Internet", "Internet Explorer 6.0"]);
@@ -34,8 +34,8 @@ remove(wine.prefixDirectory + "/drive_c/IE 6.0 Full/");
remove(wine.prefixDirectory + "/drive_c/" + wine.programFiles() + "/Internet Explorer/iexplore.exe");
["itircl", "itss", "jscript", "mlang", "mshtml", "msimtf", "shdoclc", "shdocvw", "shlwapi", "urlmon", "browseui", "iseng", "inetcpl"]
- .forEach(function(dll) {
- remove(wine.prefixDirectory + "/drive_c/windows/system32/" + dll + ".dll");
+ .forEach(function (dll) {
+ remove(wine.prefixDirectory + "/drive_c/windows/system32/" + dll + ".dll");
});
wine.run(setupFile).wait();
@@ -48,29 +48,29 @@ new CabExtract()
wine.run("iexplore", ["-unregserver"])
.overrideDLL()
- .set("native", ["inseng"])
- .do()
+ .set("native", ["inseng"])
+ .do()
.runInsidePrefix("IE 6.0 Full/IE6SETUP.EXE").wait()
.overrideDLL()
- .set("native,builtin", [
- "inetcpl.cpl", "itircl", "itss", "jscript", "mlang",
- "mshtml", "msimtf", "shdoclc", "shdocvw", "shlwapi", "urlmon"
- ]).do();
+ .set("native,builtin", [
+ "inetcpl.cpl", "itircl", "itss", "jscript", "mlang",
+ "mshtml", "msimtf", "shdoclc", "shdocvw", "shlwapi", "urlmon"
+ ]).do();
var librairiesToRegister = ["actxprxy.dll", "browseui.dll", "browsewm.dll", "cdfview.dll", "ddraw.dll",
- "dispex.dll", "dsound.dll", "iedkcs32.dll", "iepeers.dll", "iesetup.dll", "imgutil.dll",
- "inetcomm.dll", "inetcpl.cpl", "inseng.dll", "isetup.dll", "jscript.dll", "laprxy.dll",
- "mlang.dll", "mshtml.dll", "mshtmled.dll", "msi.dll", "msident.dll",
- "msoeacct.dll", "msrating.dll", "mstime.dll", "msxml3.dll", "occache.dll",
- "ole32.dll", "oleaut32.dll", "olepro32.dll", "pngfilt.dll", "quartz.dll",
- "rpcrt4.dll", "rsabase.dll", "rsaenh.dll", "scrobj.dll", "scrrun.dll",
- "shdocvw.dll", "shell32.dll", "urlmon.dll", "vbscript.dll", "webcheck.dll",
- "wshcon.dll", "wshext.dll", "asctrls.ocx", "hhctrl.ocx", "mscomct2.ocx",
- "plugin.ocx", "proctexe.ocx", "tdc.ocx", "webcheck.dll", "wshom.ocx"];
+ "dispex.dll", "dsound.dll", "iedkcs32.dll", "iepeers.dll", "iesetup.dll", "imgutil.dll",
+ "inetcomm.dll", "inetcpl.cpl", "inseng.dll", "isetup.dll", "jscript.dll", "laprxy.dll",
+ "mlang.dll", "mshtml.dll", "mshtmled.dll", "msi.dll", "msident.dll",
+ "msoeacct.dll", "msrating.dll", "mstime.dll", "msxml3.dll", "occache.dll",
+ "ole32.dll", "oleaut32.dll", "olepro32.dll", "pngfilt.dll", "quartz.dll",
+ "rpcrt4.dll", "rsabase.dll", "rsaenh.dll", "scrobj.dll", "scrrun.dll",
+ "shdocvw.dll", "shell32.dll", "urlmon.dll", "vbscript.dll", "webcheck.dll",
+ "wshcon.dll", "wshext.dll", "asctrls.ocx", "hhctrl.ocx", "mscomct2.ocx",
+ "plugin.ocx", "proctexe.ocx", "tdc.ocx", "webcheck.dll", "wshom.ocx"];
var progressBar = setupWizard.progressBar(tr("Please wait ..."));
var i = 1;
-librairiesToRegister.forEach(function(dll) {
+librairiesToRegister.forEach(function (dll) {
progressBar.setProgressPercentage(i * 100 / librairiesToRegister.length);
progressBar.setText(tr("Installing {0} ...", dll));
wine.regsvr32().install(dll);
diff --git a/Applications/Internet/Internet Explorer 6.0/Online/script.json b/Applications/Internet/Internet Explorer 6.0/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Internet/Internet Explorer 6.0/Online/script.json
+++ b/Applications/Internet/Internet Explorer 6.0/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Internet/Internet Explorer 6.0/application.json b/Applications/Internet/Internet Explorer 6.0/application.json
index d9eaa5d435..a45d06d544 100644
--- a/Applications/Internet/Internet Explorer 6.0/application.json
+++ b/Applications/Internet/Internet Explorer 6.0/application.json
@@ -1,4 +1,5 @@
{
"name": "Internet Explorer 6.0",
+ "id": "internet_explorer_6_0",
"description": "Internet Explorer is an old web browser. You may need it if you want to test a website compatibility, you should not use it to navigate. "
}
diff --git a/Applications/Internet/Internet Explorer 7.0/Online/script.js b/Applications/Internet/Internet Explorer 7.0/Online/script.js
index 3b15fd4e06..5b773c4da6 100644
--- a/Applications/Internet/Internet Explorer 7.0/Online/script.js
+++ b/Applications/Internet/Internet Explorer 7.0/Online/script.js
@@ -1,9 +1,9 @@
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
-include(["Engines", "Wine", "Shortcuts", "Wine"]);
-include(["Utils", "Functions", "Apps", "Resources"]);
-include(["Engines", "Wine", "Verbs", "sandbox"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "filesystem", "files"]);
+include(["engines", "wine", "shortcuts", "wine"]);
+include(["utils", "functions", "apps", "resources"]);
+include(["engines", "wine", "verbs", "sandbox"]);
var appsManager = Bean("repositoryManager");
var application = appsManager.getApplication(["Applications", "Internet", "Internet Explorer 7.0"]);
@@ -198,15 +198,15 @@ var setupFile = new Resource()
wine.run(setupFile).wait();
var librairiesToRegister = ["actxprxy.dll", "browseui.dll", "browsewm.dll", "cdfview.dll", "ddraw.dll",
- "dispex.dll", "dsound.dll", "iedkcs32.dll", "iepeers.dll", "iesetup.dll", "imgutil.dll",
- "inetcomm.dll", "inetcpl.cpl", "inseng.dll", "isetup.dll", "jscript.dll", "laprxy.dll",
- "mlang.dll", "mshtml.dll", "mshtmled.dll", "msi.dll", "msident.dll",
- "msoeacct.dll", "msrating.dll", "mstime.dll", "msxml3.dll", "occache.dll",
- "ole32.dll", "oleaut32.dll", "olepro32.dll", "pngfilt.dll", "quartz.dll",
- "rpcrt4.dll", "rsabase.dll", "rsaenh.dll", "scrobj.dll", "scrrun.dll",
- "shdocvw.dll", "shell32.dll", "urlmon.dll", "vbscript.dll", "webcheck.dll",
- "wshcon.dll", "wshext.dll", "asctrls.ocx", "hhctrl.ocx", "mscomct2.ocx",
- "plugin.ocx", "proctexe.ocx", "tdc.ocx", "webcheck.dll", "wshom.ocx"];
+ "dispex.dll", "dsound.dll", "iedkcs32.dll", "iepeers.dll", "iesetup.dll", "imgutil.dll",
+ "inetcomm.dll", "inetcpl.cpl", "inseng.dll", "isetup.dll", "jscript.dll", "laprxy.dll",
+ "mlang.dll", "mshtml.dll", "mshtmled.dll", "msi.dll", "msident.dll",
+ "msoeacct.dll", "msrating.dll", "mstime.dll", "msxml3.dll", "occache.dll",
+ "ole32.dll", "oleaut32.dll", "olepro32.dll", "pngfilt.dll", "quartz.dll",
+ "rpcrt4.dll", "rsabase.dll", "rsaenh.dll", "scrobj.dll", "scrrun.dll",
+ "shdocvw.dll", "shell32.dll", "urlmon.dll", "vbscript.dll", "webcheck.dll",
+ "wshcon.dll", "wshext.dll", "asctrls.ocx", "hhctrl.ocx", "mscomct2.ocx",
+ "plugin.ocx", "proctexe.ocx", "tdc.ocx", "webcheck.dll", "wshom.ocx"];
var progressBar = setupWizard.progressBar("Please wait ...");
var i = 1;
diff --git a/Applications/Internet/Internet Explorer 7.0/Online/script.json b/Applications/Internet/Internet Explorer 7.0/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Internet/Internet Explorer 7.0/Online/script.json
+++ b/Applications/Internet/Internet Explorer 7.0/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Internet/Internet Explorer 7.0/application.json b/Applications/Internet/Internet Explorer 7.0/application.json
index 3924b4bb3f..f51da657fd 100644
--- a/Applications/Internet/Internet Explorer 7.0/application.json
+++ b/Applications/Internet/Internet Explorer 7.0/application.json
@@ -1,4 +1,5 @@
{
"name": "Internet Explorer 7.0",
+ "id": "internet_explorer_7_0",
"description": "Internet Explorer is an old web browser. You may need it if you want to test a website compatibility, you should not use it to navigate. "
}
diff --git a/Applications/Internet/TeamSpeak 3/application.json b/Applications/Internet/TeamSpeak 3/application.json
index 208602700e..419029c729 100644
--- a/Applications/Internet/TeamSpeak 3/application.json
+++ b/Applications/Internet/TeamSpeak 3/application.json
@@ -1,4 +1,5 @@
{
"name": "TeamSpeak 3",
+ "id": "team_speak_3",
"description": "TeamSpeak 3 offers the ideal voice communication tool for online gaming, education and training, internal business communication, and staying in touch with friends and family."
}
diff --git a/Applications/Internet/TeamSpeak 3/v3.0.19.4/script.js b/Applications/Internet/TeamSpeak 3/v3.0.19.4/script.js
index 4132cb62ec..a7694111f4 100644
--- a/Applications/Internet/TeamSpeak 3/v3.0.19.4/script.js
+++ b/Applications/Internet/TeamSpeak 3/v3.0.19.4/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("TeamSpeak 3")
diff --git a/Applications/Internet/TeamSpeak 3/v3.0.19.4/script.json b/Applications/Internet/TeamSpeak 3/v3.0.19.4/script.json
index 28a0fb84ec..eebf35ed48 100644
--- a/Applications/Internet/TeamSpeak 3/v3.0.19.4/script.json
+++ b/Applications/Internet/TeamSpeak 3/v3.0.19.4/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "v3.0.19.4",
+ "id": "v3_0_19_4",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Internet/category.json b/Applications/Internet/category.json
index 00e03d087c..90087355df 100644
--- a/Applications/Internet/category.json
+++ b/Applications/Internet/category.json
@@ -1,4 +1,5 @@
{
"name": "Internet",
+ "id": "internet",
"type": "INSTALLERS"
}
diff --git a/Applications/Internet/mIRC/application.json b/Applications/Internet/mIRC/application.json
index bf96002369..6c6ca5c772 100644
--- a/Applications/Internet/mIRC/application.json
+++ b/Applications/Internet/mIRC/application.json
@@ -1,4 +1,5 @@
{
"name": "mIRC",
+ "id": "mirc",
"description": "
mIRC is a popular Internet Relay Chat client used by millions of people, and thousands of organizations, to communicate, share, play and work with each other on IRC networks around the world. Serving the Internet community for over a decade, mIRC has evolved into a powerful, reliable and fun piece of technology.
"
-}
\ No newline at end of file
+}
diff --git a/Applications/Internet/mIRC/v7.46/script.js b/Applications/Internet/mIRC/v7.46/script.js
index 6f35236517..4f1c4f45bf 100644
--- a/Applications/Internet/mIRC/v7.46/script.js
+++ b/Applications/Internet/mIRC/v7.46/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
.name("mIRC")
diff --git a/Applications/Internet/mIRC/v7.46/script.json b/Applications/Internet/mIRC/v7.46/script.json
index 32fd7352d1..6e8f235230 100644
--- a/Applications/Internet/mIRC/v7.46/script.json
+++ b/Applications/Internet/mIRC/v7.46/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "v7.46",
+ "id": "v7_46",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Multimedia/Mp3tag/Online/script.js b/Applications/Multimedia/Mp3tag/Online/script.js
index 3d66125b58..f3c26d6a53 100644
--- a/Applications/Multimedia/Mp3tag/Online/script.js
+++ b/Applications/Multimedia/Mp3tag/Online/script.js
@@ -1,12 +1,12 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
new OnlineInstallerScript()
- .name("Mp3tag")
- .editor("Florian Heidenreich")
- .applicationHomepage("http://www.mp3tag.de/")
- .author("ImperatorS79")
- .url("http://download.mp3tag.de/mp3tagv284asetup.exe")
- .checksum("c1d677043ecc8a4edbb804f189b0f23bc7937066")
- .category("Multimedia")
- .executable("mp3tag.exe")
- .go();
+ .name("Mp3tag")
+ .editor("Florian Heidenreich")
+ .applicationHomepage("http://www.mp3tag.de/")
+ .author("ImperatorS79")
+ .url("http://download.mp3tag.de/mp3tagv284asetup.exe")
+ .checksum("c1d677043ecc8a4edbb804f189b0f23bc7937066")
+ .category("Multimedia")
+ .executable("mp3tag.exe")
+ .go();
diff --git a/Applications/Multimedia/Mp3tag/Online/script.json b/Applications/Multimedia/Mp3tag/Online/script.json
index 04c2540ac1..ddcd6f5fba 100644
--- a/Applications/Multimedia/Mp3tag/Online/script.json
+++ b/Applications/Multimedia/Mp3tag/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Multimedia/Mp3tag/application.json b/Applications/Multimedia/Mp3tag/application.json
index 875b02f771..98cf732a19 100644
--- a/Applications/Multimedia/Mp3tag/application.json
+++ b/Applications/Multimedia/Mp3tag/application.json
@@ -1,4 +1,5 @@
{
"name": "Mp3tag",
+ "id": "mp3tag",
"description": "Mp3tag is a powerful and yet easy-to-use tool to edit metadata of common audio formats where it supports ID3v1, ID3v2.3, ID3v2.4, iTunes MP4, WMA, Vorbis Comments and APE Tags. It also supports online database lookups from Amazon, Musicbraing, freedb or discogs for example to automatically gather proper tags and cover art."
}
diff --git a/Applications/Multimedia/category.json b/Applications/Multimedia/category.json
index 5911a66339..5eb648a839 100644
--- a/Applications/Multimedia/category.json
+++ b/Applications/Multimedia/category.json
@@ -1,4 +1,5 @@
{
"name": "Multimedia",
+ "id": "multimedia",
"type": "INSTALLERS"
}
diff --git a/Applications/Office/Adobe Acrobat Reader DC/Online/script.js b/Applications/Office/Adobe Acrobat Reader DC/Online/script.js
index b372dd7adf..d01ada3c7c 100644
--- a/Applications/Office/Adobe Acrobat Reader DC/Online/script.js
+++ b/Applications/Office/Adobe Acrobat Reader DC/Online/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "mspatcha"]);
+include(["engines", "wine", "quick_script", "online_installer_script"]);
+include(["engines", "wine", "verbs", "mspatcha"]);
new OnlineInstallerScript()
.name("Adobe Acrobat Reader DC")
@@ -12,7 +12,7 @@ new OnlineInstallerScript()
.checksum("98b2b838e6c4663fefdfd341dfdc596b1eff355c")
.category("Office")
.executable("AcroRd32.exe")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.mspatcha();
})
.go();
diff --git a/Applications/Office/Adobe Acrobat Reader DC/Online/script.json b/Applications/Office/Adobe Acrobat Reader DC/Online/script.json
index 05f557c3e1..f448ebc38f 100644
--- a/Applications/Office/Adobe Acrobat Reader DC/Online/script.json
+++ b/Applications/Office/Adobe Acrobat Reader DC/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Office/Adobe Acrobat Reader DC/application.json b/Applications/Office/Adobe Acrobat Reader DC/application.json
index 5c8521c2d5..fffae31399 100644
--- a/Applications/Office/Adobe Acrobat Reader DC/application.json
+++ b/Applications/Office/Adobe Acrobat Reader DC/application.json
@@ -1,4 +1,5 @@
{
"name": "Adobe Acrobat Reader DC",
+ "id": "adobe_acrobat_reader_dc",
"description": "Adobe Acrobat Reader DC software is the free global standard for reliably viewing, printing, and commenting on PDF documents.
Premium features, online services and updates do not work."
}
diff --git a/Applications/Office/ElsterFormular/Online/script.js b/Applications/Office/ElsterFormular/Online/script.js
index b6341e011e..095ce19a23 100644
--- a/Applications/Office/ElsterFormular/Online/script.js
+++ b/Applications/Office/ElsterFormular/Online/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
-include(["Engines", "Wine", "Verbs", "vcrun2013"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
+include(["engines", "wine", "verbs", "vcrun2013"]);
new LocalInstallerScript()
.name("ElsterFormular")
@@ -9,7 +9,7 @@ new LocalInstallerScript()
.author("Plata")
.category("Office")
.executable("pica.exe")
- .preInstall(function(wine, wizard) {
+ .preInstall(function (wine/*, wizard*/) {
wine.vcrun2013();
wine.nativeApplication("pdf");
})
diff --git a/Applications/Office/ElsterFormular/Online/script.json b/Applications/Office/ElsterFormular/Online/script.json
index fa6d2199e1..5f4b4f3bdb 100644
--- a/Applications/Office/ElsterFormular/Online/script.json
+++ b/Applications/Office/ElsterFormular/Online/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
+ "id": "online",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": true,
diff --git a/Applications/Office/ElsterFormular/application.json b/Applications/Office/ElsterFormular/application.json
index f3db7a8fa5..3b23e62e30 100644
--- a/Applications/Office/ElsterFormular/application.json
+++ b/Applications/Office/ElsterFormular/application.json
@@ -1,4 +1,5 @@
{
"name": "ElsterFormular",
+ "id": "elster_formular",
"description": "ElsterFormular is the official german software to file a tax return."
}
diff --git a/Applications/Office/Microsoft Office 2010/Local/script.js b/Applications/Office/Microsoft Office 2010/Local/script.js
index b115789604..91d791dc1c 100644
--- a/Applications/Office/Microsoft Office 2010/Local/script.js
+++ b/Applications/Office/Microsoft Office 2010/Local/script.js
@@ -1,13 +1,13 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
- .name("Microsoft Office 2010")
- .editor("Microsoft")
- .author("ImperatorS79")
- .category("Office")
+ .name("Microsoft Office 2010")
+ .editor("Microsoft")
+ .author("ImperatorS79")
+ .category("Office")
// exe set with WineShorcut
- .postInstall(function(wine, wizard) {
- wine.overrideDLL()
+ .postInstall(function (wine/*, wizard*/) {
+ wine.overrideDLL()
.set("native, builtin", ["riched20"])
.do();
diff --git a/Applications/Office/Microsoft Office 2010/Local/script.json b/Applications/Office/Microsoft Office 2010/Local/script.json
index 89c0d2c715..5c1842d091 100644
--- a/Applications/Office/Microsoft Office 2010/Local/script.json
+++ b/Applications/Office/Microsoft Office 2010/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Office/Microsoft Office 2010/application.json b/Applications/Office/Microsoft Office 2010/application.json
index 0604757b23..ef072abd37 100644
--- a/Applications/Office/Microsoft Office 2010/application.json
+++ b/Applications/Office/Microsoft Office 2010/application.json
@@ -1,4 +1,5 @@
{
"name": "Microsoft Office 2010",
+ "id": "microsoft_office_2010",
"description": "Microsoft Office 2010 is a version of Microsoft Office, a productivity suite for Microsoft Windows. It is the successor to Microsoft Office 2007."
}
diff --git a/Applications/Office/Microsoft Office 2013/Local/script.js b/Applications/Office/Microsoft Office 2013/Local/script.js
index c775fb9de0..edb968e040 100644
--- a/Applications/Office/Microsoft Office 2013/Local/script.js
+++ b/Applications/Office/Microsoft Office 2013/Local/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
+include(["engines", "wine", "quick_script", "local_installer_script"]);
new LocalInstallerScript()
.name("Microsoft Office 2013")
@@ -9,8 +9,8 @@ new LocalInstallerScript()
.author("ImperatorS79")
.category("Office")
// exe set with WineShorcut
- .postInstall(function(wine, wizard) {
- wine.overrideDLL()
+ .postInstall(function (wine/*, wizard*/) {
+ wine.overrideDLL()
.set("native, builtin", ["riched20"])
.do();
diff --git a/Applications/Office/Microsoft Office 2013/Local/script.json b/Applications/Office/Microsoft Office 2013/Local/script.json
index 89c0d2c715..5c1842d091 100644
--- a/Applications/Office/Microsoft Office 2013/Local/script.json
+++ b/Applications/Office/Microsoft Office 2013/Local/script.json
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
+ "id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": ["LINUX"],
"free": false,
diff --git a/Applications/Office/Microsoft Office 2013/application.json b/Applications/Office/Microsoft Office 2013/application.json
index 0395ab1bfb..1fca94daf3 100644
--- a/Applications/Office/Microsoft Office 2013/application.json
+++ b/Applications/Office/Microsoft Office 2013/application.json
@@ -1,4 +1,5 @@
{
"name": "Microsoft Office 2013",
+ "id": "microsoft_office_2013",
"description": "Microsoft Office 2013 is a version of Microsoft Office, a productivity suite for Microsoft Windows. It is the successor to Microsoft Office 2010."
}
diff --git a/Applications/Office/category.json b/Applications/Office/category.json
index a34a3a07b7..8282987873 100644
--- a/Applications/Office/category.json
+++ b/Applications/Office/category.json
@@ -1,4 +1,5 @@
{
"name": "Office",
+ "id": "office",
"type": "INSTALLERS"
}
diff --git a/Applications/Other/category.json b/Applications/Other/category.json
index f28c8c8549..58ea9d0c78 100644
--- a/Applications/Other/category.json
+++ b/Applications/Other/category.json
@@ -1,4 +1,5 @@
{
"name": "Other",
+ "id": "other",
"type": "INSTALLERS"
}
diff --git a/Applications/Science/category.json b/Applications/Science/category.json
index 3412fa61f7..c1070b5d04 100644
--- a/Applications/Science/category.json
+++ b/Applications/Science/category.json
@@ -1,4 +1,5 @@
{
"name": "Science",
+ "id": "science",
"type": "INSTALLERS"
}
diff --git a/Applications/type.json b/Applications/type.json
index 5e3fa2e29e..dc0d5b1831 100644
--- a/Applications/type.json
+++ b/Applications/type.json
@@ -1,3 +1,4 @@
{
- "name": "Applications"
+ "name": "Applications",
+ "id": "applications"
}
diff --git a/Engines/Wine/Engine/Object/script.js b/Engines/Wine/Engine/Object/script.js
index c01917a4d4..0ac9b4da87 100644
--- a/Engines/Wine/Engine/Object/script.js
+++ b/Engines/Wine/Engine/Object/script.js
@@ -1,7 +1,7 @@
-include(["Utils", "Functions", "Filesystem", "Files"]);
-include(["Utils", "Functions", "Filesystem", "Extract"]);
-include(["Utils", "Functions", "Net", "Download"]);
-include(["Utils", "Functions", "Net", "Resource"]);
+include(["utils", "functions", "filesystem", "files"]);
+include(["utils", "functions", "filesystem", "extract"]);
+include(["utils", "functions", "net", "download"]);
+include(["utils", "functions", "net", "resource"]);
LATEST_STABLE_VERSION = "3.0";
LATEST_DEVELOPMENT_VERSION = "3.4";
@@ -201,11 +201,11 @@ Wine.prototype.run = function (executable, args, captureOutput) {
var extensionFile = executable.split(".").pop();
- if(extensionFile == "msi") {
+ if (extensionFile == "msi") {
return this.run("msiexec", ["/i", executable].concat(args), captureOutput);
}
- if(extensionFile == "bat") {
+ if (extensionFile == "bat") {
return this.run("start", ["/Unix", executable].concat(args), captureOutput);
}
@@ -238,7 +238,7 @@ Wine.prototype.run = function (executable, args, captureOutput) {
environment.put("WINEDEBUG", this._wineDebug);
}
- if (this._architecture == "amd64") {
+ if (this._architecture == "amd64") {
this._ldPath = this._fetchLocalDirectory() + "/lib64/:" + this._ldPath
} else {
this._ldPath = this._fetchLocalDirectory() + "/lib/:" + this._ldPath
@@ -675,7 +675,7 @@ Wine.prototype.setVersionGL = function (major, minor) {
"REGEDIT4\n" +
"\n" +
"[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]\n" +
- "\"MaxVersionGL\"=dword:000"+ major + "000" + minor
+ "\"MaxVersionGL\"=dword:000"+ major + "000" + minor
this.regedit().patch(regeditFileContent);
return this;
};
@@ -696,7 +696,7 @@ Wine.prototype.enableCSMT = function () {
/**
* force the Use of GLSL
- * @param mode {enabled, disabled}
+ * @param {string} mode (enabled or disabled)
* @returns {Wine}
*/
Wine.prototype.UseGLSL = function (mode) {
@@ -704,14 +704,14 @@ Wine.prototype.UseGLSL = function (mode) {
"REGEDIT4\n" +
"\n" +
"[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]\n" +
- "\"UseGLSL\"=\"" + mode + "\""
+ "\"UseGLSL\"=\"" + mode + "\""
this.regedit().patch(regeditFileContent);
return this;
};
/**
* force the DirectDrawRenderer
- * @param mode {gdi,opengl}
+ * @param {string} mode (gdi or opengl)
* @returns {Wine}
*/
Wine.prototype.DirectDrawRenderer = function (mode) {
@@ -772,12 +772,12 @@ var SetManagedForApplication = function () {
"REGEDIT4\n" +
"\n";
- that.wine = function(wine) {
+ that.wine = function (wine) {
that._wine = wine;
return that;
};
- that.set = function(application, managed) {
+ that.set = function (application, managed) {
var managedYn = managed ? "Y" : "N";
that._regeditFileContent += "[HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\" + application + "\\X11 Driver]\n";
@@ -786,13 +786,13 @@ var SetManagedForApplication = function () {
return that;
};
- that.do = function() {
+ that.do = function () {
that._wine.regedit().patch(that._regeditFileContent);
return that._wine;
}
};
-Wine.prototype.setManagedForApplication = function() {
+Wine.prototype.setManagedForApplication = function () {
return new SetManagedForApplication()
.wine(this)
};
@@ -836,6 +836,7 @@ Wine.prototype.overrideDLL = function () {
* @returns {string|Wine}
*/
Wine.prototype.windowsVersion = function (version, servicePack) {
+ var that = this;
// get
if (arguments.length == 0) {
return this.regedit().fetchValue(["HKEY_CURRENT_USER", "Software", "Wine", "Version"]);
@@ -848,7 +849,7 @@ Wine.prototype.windowsVersion = function (version, servicePack) {
"[HKEY_CURRENT_USER\\Software\\Wine]\n" +
"\"Version\"=\"" + version + "\"\n";
- if(servicePack) {
+ if (servicePack) {
var servicePackNumber = servicePack.replace("sp", "");
that._regeditFileContent += "[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]";
that._regeditFileContent += "\"CSDVersion\"=\"Service Pack "+ servicePackNumber +"\"";
diff --git a/Engines/Wine/Engine/Object/script.json b/Engines/Wine/Engine/Object/script.json
new file mode 100644
index 0000000000..23d7cef279
--- /dev/null
+++ b/Engines/Wine/Engine/Object/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Wine engine",
+ "id": "object",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Engine/application.json b/Engines/Wine/Engine/application.json
new file mode 100644
index 0000000000..d54d97b2aa
--- /dev/null
+++ b/Engines/Wine/Engine/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "Wine Engine",
+ "id": "engine",
+ "description": "The Wine engine."
+}
diff --git a/Engines/Wine/QuickScript/CustomInstallerScript/script.js b/Engines/Wine/QuickScript/Custom Installer Script/script.js
similarity index 65%
rename from Engines/Wine/QuickScript/CustomInstallerScript/script.js
rename to Engines/Wine/QuickScript/Custom Installer Script/script.js
index e667338f41..aaa23cff5f 100644
--- a/Engines/Wine/QuickScript/CustomInstallerScript/script.js
+++ b/Engines/Wine/QuickScript/Custom Installer Script/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "InstallerScript"]);
+include(["engines", "wine", "quick_script", "installer_script"]);
function CustomInstallerScript() {
InstallerScript.call(this);
@@ -8,7 +8,7 @@ CustomInstallerScript.prototype = Object.create(InstallerScript.prototype);
CustomInstallerScript.prototype.constructor = CustomInstallerScript;
-CustomInstallerScript.prototype.installationCommand = function(installationCommand) {
+CustomInstallerScript.prototype.installationCommand = function (installationCommand) {
this._installationCommand = installationCommand;
return this;
};
diff --git a/Engines/Wine/QuickScript/Custom Installer Script/script.json b/Engines/Wine/QuickScript/Custom Installer Script/script.json
new file mode 100644
index 0000000000..838c971803
--- /dev/null
+++ b/Engines/Wine/QuickScript/Custom Installer Script/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Custom Installer Script",
+ "id": "custom_installer_script",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/QuickScript/InstallerScript/script.js b/Engines/Wine/QuickScript/Installer Script/script.js
similarity index 79%
rename from Engines/Wine/QuickScript/InstallerScript/script.js
rename to Engines/Wine/QuickScript/Installer Script/script.js
index 0d3790db50..5f67fc7803 100644
--- a/Engines/Wine/QuickScript/InstallerScript/script.js
+++ b/Engines/Wine/QuickScript/Installer Script/script.js
@@ -1,8 +1,8 @@
-include(["Engines", "Wine", "QuickScript", "QuickScript"]);
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Filesystem", "Extract"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "quick_script", "quick_script"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "filesystem", "extract"]);
+include(["utils", "functions", "filesystem", "files"]);
+include(["engines", "wine", "verbs", "luna"]);
function InstallerScript() {
@@ -13,7 +13,7 @@ InstallerScript.prototype = Object.create(QuickScript.prototype);
InstallerScript.prototype.constructor = InstallerScript;
-InstallerScript.prototype.go = function() {
+InstallerScript.prototype.go = function () {
this._name = this._name || "Custom Installer";
var setupWizard = SetupWizard(InstallationType.APPS, this._name, this.miniature());
@@ -32,35 +32,35 @@ InstallerScript.prototype.go = function() {
.wizard(setupWizard);
// let user select wine settings if desired
- if (this._wineUserSettings) {
+ if (this._wineUserSettings) {
var architectures = ["x86", "amd64"];
var shownArchitectures = ["x86 (recommended)", "amd64"];
var selectedArchitecture = setupWizard.menu(tr("Please select the wine architecture."), shownArchitectures, "x86 (recommended)");
this._wineArchitecture = architectures[selectedArchitecture.index];
wine.architecture(this._wineArchitecture); // do this here to show correct values for distribution
-
+
var distributions = wine.availableDistributions();
var shownDistributions = [];
- for (var i in distributions) {
- if (distributions[i] == "upstream") {
+ for (var distributionIdx in distributions) {
+ if (distributions[distributionIdx] == "upstream") {
shownDistributions.push("upstream (recommended)");
}
else {
- shownDistributions.push(distributions[i]);
+ shownDistributions.push(distributions[distributionIdx]);
}
}
var selectedDistribution = setupWizard.menu(tr("Please select the wine distribution."), shownDistributions, "upstream (recommended)");
this._wineDistribution = distributions[selectedDistribution.index];
wine.distribution(this._wineDistribution); // do this here to show correct values for version
-
+
var versions = wine.availableVersions();
var shownVersions = [];
- for (var i in versions) {
- if (versions[i] == LATEST_STABLE_VERSION) {
- shownVersions.push(versions[i] + " (recommended)");
+ for (var versionIdx in versions) {
+ if (versions[versionIdx] == LATEST_STABLE_VERSION) {
+ shownVersions.push(versions[versionIdx] + " (recommended)");
}
else {
- shownVersions.push(versions[i]);
+ shownVersions.push(versions[versionIdx]);
}
}
var selectedVersion = setupWizard.menu(tr("Please select the wine version."), shownVersions, LATEST_STABLE_VERSION + " (recommended)");
diff --git a/Engines/Wine/QuickScript/Installer Script/script.json b/Engines/Wine/QuickScript/Installer Script/script.json
new file mode 100644
index 0000000000..b3eaa859bf
--- /dev/null
+++ b/Engines/Wine/QuickScript/Installer Script/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Installer Script",
+ "id": "installer_script",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/QuickScript/LocalInstallerScript/script.js b/Engines/Wine/QuickScript/Local Installer Script/script.js
similarity index 67%
rename from Engines/Wine/QuickScript/LocalInstallerScript/script.js
rename to Engines/Wine/QuickScript/Local Installer Script/script.js
index 5bbdc2eee4..9c5a096c51 100644
--- a/Engines/Wine/QuickScript/LocalInstallerScript/script.js
+++ b/Engines/Wine/QuickScript/Local Installer Script/script.js
@@ -1,4 +1,4 @@
-include(["Engines", "Wine", "QuickScript", "InstallerScript"]);
+include(["engines", "wine", "quick_script", "installer_script"]);
function LocalInstallerScript() {
InstallerScript.call(this);
@@ -9,17 +9,17 @@ LocalInstallerScript.prototype = Object.create(InstallerScript.prototype);
LocalInstallerScript.prototype.constructor = LocalInstallerScript;
-LocalInstallerScript.prototype.installationArgs = function(installationArgs) {
+LocalInstallerScript.prototype.installationArgs = function (installationArgs) {
this._installationArgs = installationArgs;
return this;
};
-LocalInstallerScript.prototype.browseMessage = function(browseMessage) {
+LocalInstallerScript.prototype.browseMessage = function (browseMessage) {
this._browseMessage = browseMessage;
return this;
};
-LocalInstallerScript.prototype._installationCommand = function(wizard) {
+LocalInstallerScript.prototype._installationCommand = function (wizard) {
var browseMessage = this._browseMessage || tr("Please select the installation file.");
var installationFile = wizard.browse(browseMessage);
diff --git a/Engines/Wine/QuickScript/Local Installer Script/script.json b/Engines/Wine/QuickScript/Local Installer Script/script.json
new file mode 100644
index 0000000000..baaeb449eb
--- /dev/null
+++ b/Engines/Wine/QuickScript/Local Installer Script/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Local Installer Script",
+ "id": "local_installer_script",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/QuickScript/OnlineInstallerScript/script.js b/Engines/Wine/QuickScript/Online Installer Script/script.js
similarity index 70%
rename from Engines/Wine/QuickScript/OnlineInstallerScript/script.js
rename to Engines/Wine/QuickScript/Online Installer Script/script.js
index 5f86dafe87..b7bb881aad 100644
--- a/Engines/Wine/QuickScript/OnlineInstallerScript/script.js
+++ b/Engines/Wine/QuickScript/Online Installer Script/script.js
@@ -1,5 +1,5 @@
-include(["Engines", "Wine", "QuickScript", "InstallerScript"]);
-include(["Utils", "Functions", "Net", "Download"]);
+include(["engines", "wine", "quick_script", "installer_script"]);
+include(["utils", "functions", "net", "download"]);
function OnlineInstallerScript() {
@@ -11,22 +11,22 @@ OnlineInstallerScript.prototype = Object.create(InstallerScript.prototype);
OnlineInstallerScript.prototype.constructor = OnlineInstallerScript;
-OnlineInstallerScript.prototype.url = function(url) {
+OnlineInstallerScript.prototype.url = function (url) {
this._url = url;
return this;
};
-OnlineInstallerScript.prototype.checksum = function(checksum) {
+OnlineInstallerScript.prototype.checksum = function (checksum) {
this._checksum = checksum;
return this;
};
-OnlineInstallerScript.prototype.installationArgs = function(installationArgs) {
+OnlineInstallerScript.prototype.installationArgs = function (installationArgs) {
this._installationArgs = installationArgs;
return this;
};
-OnlineInstallerScript.prototype._installationCommand = function(wizard) {
+OnlineInstallerScript.prototype._installationCommand = function (wizard) {
// if no URL given, ask user
if (!this._url) {
this._url = wizard.textbox(tr("Please select the download URL."));
diff --git a/Engines/Wine/QuickScript/Online Installer Script/script.json b/Engines/Wine/QuickScript/Online Installer Script/script.json
new file mode 100644
index 0000000000..e2ae996400
--- /dev/null
+++ b/Engines/Wine/QuickScript/Online Installer Script/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Online Installer Script",
+ "id": "online_installer_script",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/QuickScript/Quick Script/script.js b/Engines/Wine/QuickScript/Quick Script/script.js
new file mode 100644
index 0000000000..fae1819565
--- /dev/null
+++ b/Engines/Wine/QuickScript/Quick Script/script.js
@@ -0,0 +1,132 @@
+include(["engines", "wine", "shortcuts", "wine"]);
+
+function QuickScript() {
+ this._wineVersion = LATEST_STABLE_VERSION;
+ this._wineArchitecture = "x86";
+ this._wineDistribution = "upstream";
+
+ this._type = "Applications";
+
+ // by default do nothing in post install
+ this._postInstall = function () {};
+ this._preInstall = function () {};
+ this._wineUserSettings = false;
+
+ var appsManager = Bean("repositoryManager");
+ var application = appsManager.getApplication([TYPE_ID, CATEGORY_ID, APPLICATION_ID]);
+ this._miniature = java.util.Optional.empty();
+ if (application) {
+ this._miniature = application.getMainMiniature();
+ }
+}
+
+QuickScript.prototype.name = function (name) {
+ this._name = name;
+ return this;
+};
+
+QuickScript.prototype.editor = function (editor) {
+ this._editor = editor;
+ return this;
+};
+
+QuickScript.prototype.applicationHomepage = function (applicationHomepage) {
+ this._applicationHomepage = applicationHomepage;
+ return this;
+};
+
+QuickScript.prototype.author = function (author) {
+ this._author = author;
+ return this;
+};
+
+QuickScript.prototype.type = function (type) {
+ this._type = type;
+ return this;
+};
+
+QuickScript.prototype.category = function (category) {
+ this._category = category;
+ return this;
+};
+
+/**
+ * get/set miniature (for the installation and the shortcut)
+ * @param {URI} [miniature] path to the miniature file
+ */
+QuickScript.prototype.miniature = function (miniature) {
+ // get
+ if (arguments.length == 0) {
+ return this._miniature;
+ }
+
+ // set
+ this._miniature = java.util.Optional.of(miniature);
+ return this;
+};
+
+/**
+ * set executable
+ * @param executable executable without path (e.g. "Steam.exe")
+ * @param args use array (e.g. ["-applaunch", 409160])
+ */
+QuickScript.prototype.executable = function (executable, args) {
+ this._executable = executable;
+ this._executableArgs = typeof args !== 'undefined' ? args : "";
+ return this;
+};
+
+QuickScript.prototype.wineArchitecture = function (wineArchitecture) {
+ this._wineArchitecture = wineArchitecture;
+ return this;
+};
+
+QuickScript.prototype.wineDistribution = function (wineDistribution) {
+ this._wineDistribution = wineDistribution;
+ return this;
+};
+
+QuickScript.prototype.wineVersion = function (wineVersion) {
+ this._wineVersion = wineVersion;
+ return this;
+};
+
+QuickScript.prototype.wineUserSettings = function (wineUserSettings) {
+ // get
+ if (arguments.length == 0) {
+ return this._wineUserSettings;
+ }
+
+ // set
+ this._wineUserSettings = wineUserSettings;
+ return this;
+};
+
+QuickScript.prototype.postInstall = function (postInstall) {
+ this._postInstall = postInstall;
+ return this;
+};
+
+QuickScript.prototype.preInstall = function (preInstall) {
+ this._preInstall = preInstall;
+ return this;
+};
+
+/**
+ * creates shortcut
+ * @param {string} [prefix] prefix name
+ */
+QuickScript.prototype._createShortcut = function (prefix) {
+ var shortcut = new WineShortcut()
+ .name(this._name)
+ .type(this._type)
+ .category(this._category)
+ .prefix(prefix)
+ .search(this._executable)
+ .arguments(this._executableArgs);
+
+ if (this.miniature().isPresent()) {
+ shortcut.miniature(this.miniature().get())
+ }
+ shortcut.create();
+};
diff --git a/Engines/Wine/QuickScript/Quick Script/script.json b/Engines/Wine/QuickScript/Quick Script/script.json
new file mode 100644
index 0000000000..a56024b7ac
--- /dev/null
+++ b/Engines/Wine/QuickScript/Quick Script/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Quick Script",
+ "id": "quick_script",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/QuickScript/SteamScript/script.js b/Engines/Wine/QuickScript/Steam Script/script.js
similarity index 86%
rename from Engines/Wine/QuickScript/SteamScript/script.js
rename to Engines/Wine/QuickScript/Steam Script/script.js
index 2ca0b34826..42e73c059a 100644
--- a/Engines/Wine/QuickScript/SteamScript/script.js
+++ b/Engines/Wine/QuickScript/Steam Script/script.js
@@ -1,9 +1,9 @@
-include(["Engines", "Wine", "QuickScript", "QuickScript"]);
-include(["Utils", "Functions", "Net", "Download"]);
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Filesystem", "Extract"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "quick_script", "quick_script"]);
+include(["utils", "functions", "net", "download"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "filesystem", "extract"]);
+include(["utils", "functions", "filesystem", "files"]);
+include(["engines", "wine", "verbs", "luna"]);
function SteamScript() {
@@ -18,12 +18,12 @@ SteamScript.prototype = Object.create(QuickScript.prototype);
SteamScript.prototype.constructor = SteamScript;
-SteamScript.prototype.appId = function(appId) {
+SteamScript.prototype.appId = function (appId) {
this._appId = appId;
return this;
};
-SteamScript.prototype.gameOverlay = function(gameOverlay) {
+SteamScript.prototype.gameOverlay = function (gameOverlay) {
// get
if (arguments.length == 0) {
return this._gameOverlay;
@@ -34,7 +34,7 @@ SteamScript.prototype.gameOverlay = function(gameOverlay) {
return this;
};
-SteamScript.prototype.manifest = function(wine) {
+SteamScript.prototype.manifest = function (wine) {
if (!this._manifest) {
// cache manifest path (will not change during the installation)
this._manifest = wine.prefixDirectory + "/drive_c/" + wine.programFiles() + "/Steam/steamapps/appmanifest_" + this._appId + ".acf";
@@ -42,7 +42,7 @@ SteamScript.prototype.manifest = function(wine) {
return this._manifest;
};
-SteamScript.prototype.downloadStarted = function(wine) {
+SteamScript.prototype.downloadStarted = function (wine) {
if (fileExists(this.manifest(wine)))
{
var manifest = cat(this.manifest(wine));
@@ -55,7 +55,7 @@ SteamScript.prototype.downloadStarted = function(wine) {
}
};
-SteamScript.prototype.downloadFinished = function(wine) {
+SteamScript.prototype.downloadFinished = function (wine) {
// check if download already finished (download folder has been deleted)
if (fileExists(this.manifest(wine)))
{
@@ -69,7 +69,7 @@ SteamScript.prototype.downloadFinished = function(wine) {
}
};
-SteamScript.prototype.go = function() {
+SteamScript.prototype.go = function () {
// default application homepage if not specified
if (!this._applicationHomepage) {
this._applicationHomepage = "http://store.steampowered.com/app/" + this._appId;
diff --git a/Engines/Wine/QuickScript/Steam Script/script.json b/Engines/Wine/QuickScript/Steam Script/script.json
new file mode 100644
index 0000000000..e786b20db2
--- /dev/null
+++ b/Engines/Wine/QuickScript/Steam Script/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Steam Script",
+ "id": "steam_script",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/QuickScript/UplayScript/script.js b/Engines/Wine/QuickScript/Uplay Script/script.js
similarity index 83%
rename from Engines/Wine/QuickScript/UplayScript/script.js
rename to Engines/Wine/QuickScript/Uplay Script/script.js
index de6d98ff24..65f9dd4d23 100644
--- a/Engines/Wine/QuickScript/UplayScript/script.js
+++ b/Engines/Wine/QuickScript/Uplay Script/script.js
@@ -1,9 +1,9 @@
-include(["Engines", "Wine", "QuickScript", "QuickScript"]);
-include(["Utils", "Functions", "Net", "Download"]);
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Filesystem", "Extract"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "quick_script", "quick_script"]);
+include(["utils", "functions", "net", "download"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "filesystem", "extract"]);
+include(["utils", "functions", "filesystem", "files"]);
+include(["engines", "wine", "verbs", "luna"]);
function UplayScript() {
@@ -18,20 +18,20 @@ UplayScript.prototype = Object.create(QuickScript.prototype);
UplayScript.prototype.constructor = UplayScript;
-UplayScript.prototype.appId = function(appId) {
+UplayScript.prototype.appId = function (appId) {
this._appId = appId;
return this;
};
-UplayScript.prototype.downloadStarted = function(wine) {
+UplayScript.prototype.downloadStarted = function (wine) {
return fileExists(wine.prefixDirectory + "/drive_c/" + wine.programFiles() + "/Ubisoft/Ubisoft Game Launcher/data/" + this._appId + "/manifests");
};
-UplayScript.prototype.downloadFinished = function(wine) {
+UplayScript.prototype.downloadFinished = function (wine) {
return !fileExists(wine.prefixDirectory + "/drive_c/" + wine.programFiles() + "/Ubisoft/Ubisoft Game Launcher/data/" + this._appId + "/manifests");
};
-UplayScript.prototype.go = function() {
+UplayScript.prototype.go = function () {
// default executable args if not specified
if (!this._executableArgs) {
this._executableArgs = ["uplay://launch/" + this._appId + "/0"];
diff --git a/Engines/Wine/QuickScript/Uplay Script/script.json b/Engines/Wine/QuickScript/Uplay Script/script.json
new file mode 100644
index 0000000000..7fc984f230
--- /dev/null
+++ b/Engines/Wine/QuickScript/Uplay Script/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Uplay Script",
+ "id": "uplay_script",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/QuickScript/ZipScript/script.js b/Engines/Wine/QuickScript/Zip Script/script.js
similarity index 78%
rename from Engines/Wine/QuickScript/ZipScript/script.js
rename to Engines/Wine/QuickScript/Zip Script/script.js
index e7ff74c888..07fcbbe81e 100644
--- a/Engines/Wine/QuickScript/ZipScript/script.js
+++ b/Engines/Wine/QuickScript/Zip Script/script.js
@@ -1,8 +1,8 @@
-include(["Engines", "Wine", "QuickScript", "QuickScript"]);
-include(["Utils", "Functions", "Net", "Download"]);
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Filesystem", "Extract"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "quick_script", "quick_script"]);
+include(["utils", "functions", "net", "download"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "filesystem", "extract"]);
+include(["engines", "wine", "verbs", "luna"]);
function ZipScript() {
@@ -11,19 +11,19 @@ function ZipScript() {
ZipScript.prototype = Object.create(QuickScript.prototype);
-ZipScript.prototype.constructor = ZipScript;
+ZipScript.prototype.constructor = ZipScript;
-ZipScript.prototype.url = function(url) {
+ZipScript.prototype.url = function (url) {
this._url = url;
return this;
};
-ZipScript.prototype.checksum = function(checksum) {
+ZipScript.prototype.checksum = function (checksum) {
this._checksum = checksum;
return this;
};
-ZipScript.prototype.go = function() {
+ZipScript.prototype.go = function () {
var setupWizard = SetupWizard(InstallationType.APPS, this._name, this.miniature());
setupWizard.presentation(this._name, this._editor, this._applicationHomepage, this._author);
diff --git a/Engines/Wine/QuickScript/Zip Script/script.json b/Engines/Wine/QuickScript/Zip Script/script.json
new file mode 100644
index 0000000000..f9703e64c8
--- /dev/null
+++ b/Engines/Wine/QuickScript/Zip Script/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Zip Script",
+ "id": "zip_script",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/QuickScript/application.json b/Engines/Wine/QuickScript/application.json
new file mode 100644
index 0000000000..7b918cf74a
--- /dev/null
+++ b/Engines/Wine/QuickScript/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "QuickScript",
+ "id": "quick_script",
+ "description": "QuickScripts for Wine."
+}
diff --git a/Engines/Wine/Shortcuts/Reader/script.js b/Engines/Wine/Shortcuts/Reader/script.js
index c51980cf19..fa04dcc97b 100644
--- a/Engines/Wine/Shortcuts/Reader/script.js
+++ b/Engines/Wine/Shortcuts/Reader/script.js
@@ -1,6 +1,6 @@
-include(["Engines", "Wine", "Engine", "Object"]);
+include(["engines", "wine", "engine", "object"]);
-var _WineShortcutReader = function(shortcut) {
+var _WineShortcutReader = function (shortcut) {
var that = this;
that._shortcutManager = Bean("shortcutManager");
that._libraryManager = Bean("libraryManager");
@@ -9,31 +9,31 @@ var _WineShortcutReader = function(shortcut) {
this.shortcut = shortcut;
- this.wineprefix = function() {
+ this.wineprefix = function () {
var shortcutContent = JSON.parse(this.shortcut.script);
return shortcutContent.winePrefix;
};
this.container = this.wineprefix;
- this.run = function(userArguments) {
+ this.run = function (userArguments) {
var shortcutContent = JSON.parse(this.shortcut.script);
- if(!userArguments) {
+ if (!userArguments) {
userArguments = [];
}
- var arguments = (shortcutContent.arguments ? shortcutContent.arguments : []).concat(Java.from(userArguments));
+ var args = (shortcutContent.arguments ? shortcutContent.arguments : []).concat(Java.from(userArguments));
new Wine()
.prefix(shortcutContent.winePrefix)
.debug(shortcutContent.wineDebug)
.workingDirectory(shortcutContent.workingDirectory)
- .run(shortcutContent.executable, arguments)
+ .run(shortcutContent.executable, args)
};
- this.stop = function() {
+ this.stop = function () {
var shortcutContent = JSON.parse(this.shortcut.script);
new Wine()
@@ -41,16 +41,16 @@ var _WineShortcutReader = function(shortcut) {
.kill()
};
- this.uninstall = function() {
+ this.uninstall = function () {
var shortcutContent = JSON.parse(this.shortcut.script);
var _winePrefix = shortcutContent.winePrefix;
var _found = false;
- this._libraryManager.fetchShortcuts().forEach(function(shortcutCategory) {
- shortcutCategory.getShortcuts().forEach(function(shortcut) {
+ this._libraryManager.fetchShortcuts().forEach(function (shortcutCategory) {
+ shortcutCategory.getShortcuts().forEach(function (shortcut) {
var _otherShortcutContent = JSON.parse(shortcut.script);
- if(_otherShortcutContent.winePrefix == _winePrefix && shortcut.name != that.shortcut.name) {
+ if (_otherShortcutContent.winePrefix == _winePrefix && shortcut.name != that.shortcut.name) {
_found = true;
}
});
@@ -58,40 +58,65 @@ var _WineShortcutReader = function(shortcut) {
this._shortcutManager.deleteShortcut(this.shortcut);
- if(!_found) {
+ if (!_found) {
this._uiQuestionFactory.create(tr("The container {0} is no longer used.\nDo you want to delete it?", _winePrefix),
- function() {
- remove(that._winePrefixesDirectory + _winePrefix);
- });
+ function () {
+ remove(that._winePrefixesDirectory + _winePrefix);
+ });
}
}
};
-var ShortcutReader = function() {
- var that = this;
-
- this.of = function(shortcut) {
- this.shortcut = shortcut;
- var shortcutContentParsed = JSON.parse(this.shortcut.script);
-
- if(shortcutContentParsed.type == "WINE") {
- that._runner = new _WineShortcutReader(this.shortcut);
- }
- };
-
- this.run = function(userArguments) {
- that._runner.run(userArguments);
- };
-
- this.stop = function() {
- that._runner.stop();
- };
-
- this.uninstall = function() {
- that._runner.uninstall();
- };
+/**
+* ShortcutReader prototype
+* @constructor
+*/
+function ShortcutReader() {
+}
+
+/**
+* sets shortcut
+* @param {string} shortcut shortcut
+* @returns {void}
+*/
+ShortcutReader.prototype.of = function (shortcut) {
+ this.shortcut = shortcut;
+ var shortcutContentParsed = JSON.parse(this.shortcut.script);
- this.container = function() {
- return that._runner.container();
- };
-};
+ if (shortcutContentParsed.type == "WINE") {
+ this._runner = new _WineShortcutReader(this.shortcut);
+ }
+}
+
+/**
+* runs shortcut
+* @param {array} userArguments arguments
+* @returns {void}
+*/
+ShortcutReader.prototype.run = function (userArguments) {
+ this._runner.run(userArguments);
+}
+
+/**
+* stops running shortcut
+* @returns {void}
+*/
+ShortcutReader.prototype.stop = function () {
+ this._runner.stop();
+}
+
+/**
+* uninstalls shortcut
+* @returns {void}
+*/
+ShortcutReader.prototype.uninstall = function () {
+ this._runner.uninstall();
+}
+
+/**
+* returns container of shortcut
+* @returns {string} container
+*/
+ShortcutReader.prototype.container = function () {
+ return this._runner.container();
+}
\ No newline at end of file
diff --git a/Engines/Wine/Shortcuts/Reader/script.json b/Engines/Wine/Shortcuts/Reader/script.json
new file mode 100644
index 0000000000..2e9a27f80e
--- /dev/null
+++ b/Engines/Wine/Shortcuts/Reader/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Shortcut Reader",
+ "id": "reader",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Shortcuts/Wine/script.js b/Engines/Wine/Shortcuts/Wine/script.js
index 5f9d2e782c..a1c799efc9 100644
--- a/Engines/Wine/Shortcuts/Wine/script.js
+++ b/Engines/Wine/Shortcuts/Wine/script.js
@@ -1,106 +1,146 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-
-var WineShortcut = function () {
- var that = this;
- that._shortcutManager = Bean("shortcutManager");
- that._appsManager = Bean("repositoryManager");
- that._fileSearcher = Bean("fileSearcher");
- that._winePrefixesDirectory = Bean("propertyReader").getProperty("application.user.containers") + "/" + WINE_PREFIX_DIR + "/";
-
- that._category = "Other";
- that._description = "";
-
- that.name = function (name) {
- that._name = name;
- return that;
- };
-
- that.type = function (type) {
- that._type = type;
- return that;
- };
-
- that.category = function (category) {
- that._category = category;
- return that;
- };
-
- that.description = function (description) {
- that._description = description;
- return that;
- };
-
- that.arguments = function(arguments) {
- that._arguments = arguments;
- return that;
- };
-
- that.search = function(search) {
- that._search = search;
- return that;
- };
-
- that.prefix = function(prefix) {
- that._prefix = prefix;
- return that;
- };
-
- /**
- * sets the miniature for the shortcut
- * @param {string[]|URI} miniature
- * array which specifies the application of which the miniature shall be used
- * or
- * URI of the miniature
- * @returns {WineShortcut}
- */
- that.miniature = function(miniature) {
- if(isArray(miniature)) {
- // application of miniature given
- var application = that._appsManager.getApplication(miniature);
- if(application != null && application.getMainMiniature().isPresent()) {
- that._miniature = application.getMainMiniature().get();
- }
- } else {
- // miniature URI given
- that._miniature = miniature;
+include(["engines", "wine", "engine", "object"]);
+
+/**
+* WineShortcut prototype
+* @constructor
+*/
+function WineShortcut() {
+ this._shortcutManager = Bean("shortcutManager");
+ this._appsManager = Bean("repositoryManager");
+ this._fileSearcher = Bean("fileSearcher");
+ this._winePrefixesDirectory = Bean("propertyReader").getProperty("application.user.containers") + "/" + WINE_PREFIX_DIR + "/";
+
+ this._category = "Other";
+ this._description = "";
+}
+
+/**
+* sets shortcut name
+* @param {string} name shortcut name
+* @returns {WineShortcut} WineShortcut object
+*/
+WineShortcut.prototype.name = function (name) {
+ this._name = name;
+ return this;
+}
+
+/**
+* sets shortcut type
+* @param {string} type shortcut type
+* @returns {WineShortcut} WineShortcut object
+*/
+WineShortcut.prototype.type = function (type) {
+ this._type = type;
+ return this;
+}
+
+/**
+* sets shortcut category
+* @param {string} category shortcut category
+* @returns {WineShortcut} WineShortcut object
+*/
+WineShortcut.prototype.category = function (category) {
+ this._category = category;
+ return this;
+}
+
+/**
+* sets shortcut description
+* @param {string} description shortcut description
+* @returns {WineShortcut} WineShortcut object
+*/
+WineShortcut.prototype.description = function (description) {
+ this._description = description;
+ return this;
+}
+
+/**
+* sets shortcut arguments
+* @param {array} args shortcut arguments
+* @returns {WineShortcut} WineShortcut object
+*/
+WineShortcut.prototype.arguments = function (args) {
+ this._arguments = args;
+ return this;
+}
+
+/**
+* sets executable which shall be used
+* @param {string} search executable name
+* @returns {WineShortcut} WineShortcut object
+*/
+WineShortcut.prototype.search = function (search) {
+ this._search = search;
+ return this;
+}
+
+/**
+* sets shortcut prefix
+* @param {string} prefix shortcut prefix
+* @returns {WineShortcut} WineShortcut object
+*/
+WineShortcut.prototype.prefix = function (prefix) {
+ this._prefix = prefix;
+ return this;
+}
+
+/**
+* sets the miniature for the shortcut
+* @param {string[]|URI} miniature
+* array which specifies the application of which the miniature shall be used
+* or
+* URI of the miniature
+* @returns {WineShortcut} WineShortcut object
+*/
+WineShortcut.prototype.miniature = function (miniature) {
+ if (isArray(miniature)) {
+ // application of miniature given
+ var application = this._appsManager.getApplication(miniature);
+ if (application != null && application.getMainMiniature().isPresent()) {
+ this._miniature = application.getMainMiniature().get();
}
+ } else {
+ // miniature URI given
+ this._miniature = miniature;
+ }
- return that;
- };
-
- that.create = function () {
- var _shortcutPrefixDirectory = that._winePrefixesDirectory + "/" + that._prefix;
+ return this;
+}
- var executables = that._fileSearcher.search(_shortcutPrefixDirectory, that._search);
+/**
+* creates shortcut
+* @returns {void}
+*/
+WineShortcut.prototype.create = function () {
+ var _shortcutPrefixDirectory = this._winePrefixesDirectory + "/" + this._prefix;
- if (executables.length == 0) {
- throw tr("Executable {0} not found!", that._search)
- }
+ var executables = this._fileSearcher.search(_shortcutPrefixDirectory, this._search);
- var info = new org.phoenicis.library.dto.ShortcutInfoDTO.Builder()
- .withCategory(that._category)
- .withName(that._name)
- .withDescription(that._description)
- .build();
-
- var builder = new org.phoenicis.library.dto.ShortcutDTO.Builder()
- .withId(that._name)
- .withInfo(info)
- .withScript(JSON.stringify({
- type: "WINE",
- wineDebug: "-all",
- winePrefix: that._prefix,
- arguments: that._arguments,
- workingDirectory:executables[0].getParentFile().getAbsolutePath(),
- executable: executables[0].getAbsolutePath()
- }));
-
- if(that._miniature) {
- builder.withMiniature(that._miniature);
- }
+ if (executables.length == 0) {
+ throw tr("Executable {0} not found!", this._search)
+ }
- that._shortcutManager.createShortcut(
- builder.build()
- );
+ var info = new org.phoenicis.library.dto.ShortcutInfoDTO.Builder()
+ .withCategory(this._category)
+ .withName(this._name)
+ .withDescription(this._description)
+ .build();
+
+ var builder = new org.phoenicis.library.dto.ShortcutDTO.Builder()
+ .withId(this._name)
+ .withInfo(info)
+ .withScript(JSON.stringify({
+ type: "WINE",
+ wineDebug: "-all",
+ winePrefix: this._prefix,
+ arguments: this._arguments,
+ workingDirectory:executables[0].getParentFile().getAbsolutePath(),
+ executable: executables[0].getAbsolutePath()
+ }));
+
+ if (this._miniature) {
+ builder.withMiniature(this._miniature);
}
-};
+
+ this._shortcutManager.createShortcut(builder.build());
+}
\ No newline at end of file
diff --git a/Engines/Wine/Shortcuts/Wine/script.json b/Engines/Wine/Shortcuts/Wine/script.json
new file mode 100644
index 0000000000..3f1d9adaf0
--- /dev/null
+++ b/Engines/Wine/Shortcuts/Wine/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Wine Shortcut",
+ "id": "wine",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Shortcuts/application.json b/Engines/Wine/Shortcuts/application.json
new file mode 100644
index 0000000000..3c27aff136
--- /dev/null
+++ b/Engines/Wine/Shortcuts/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "Wine Shortcuts",
+ "id": "shortcuts",
+ "description": "Shortcuts for Wine."
+}
diff --git a/Engines/Wine/Tools/ConfigureWine/icon.png b/Engines/Wine/Tools/Configure Wine/icon.png
similarity index 100%
rename from Engines/Wine/Tools/ConfigureWine/icon.png
rename to Engines/Wine/Tools/Configure Wine/icon.png
diff --git a/Engines/Wine/Tools/Configure Wine/script.js b/Engines/Wine/Tools/Configure Wine/script.js
new file mode 100644
index 0000000000..1ca87362ee
--- /dev/null
+++ b/Engines/Wine/Tools/Configure Wine/script.js
@@ -0,0 +1,30 @@
+include(["engines", "wine", "engine", "object"]);
+
+/**
+ * tool to configure Wine
+ * @constructor
+ */
+var ConfigureWine = function () {
+};
+
+/**
+* runs the tool
+* @param {String} container name
+* @returns {void}
+*/
+ConfigureWine.prototype.run = function (container) {
+ new Wine()
+ .prefix(container)
+ .run("winecfg")
+ .wait();
+};
+
+/**
+* runs the ConfigureWine tool
+* @param {String} container name
+* @returns {void}
+*/
+function run(container) { // eslint-disable-line no-unused-vars
+ var tool = new ConfigureWine();
+ tool.run(container);
+}
diff --git a/Engines/Wine/Tools/Configure Wine/script.json b/Engines/Wine/Tools/Configure Wine/script.json
new file mode 100644
index 0000000000..9c0a8df45f
--- /dev/null
+++ b/Engines/Wine/Tools/Configure Wine/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Configure Wine",
+ "id": "configure_wine",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Tools/ConfigureWine/script.js b/Engines/Wine/Tools/ConfigureWine/script.js
deleted file mode 100644
index bc06ac2385..0000000000
--- a/Engines/Wine/Tools/ConfigureWine/script.js
+++ /dev/null
@@ -1,19 +0,0 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-
-/**
- * tool to configure Wine
- * @constructor
- */
-var ConfigureWine = function() {
-};
-
-/**
-* runs the tool
-* @param {String} container name
-*/
-ConfigureWine.prototype.run = function (container) {
- new Wine()
- .prefix(container)
- .run("winecfg")
- .wait();
-};
diff --git a/Engines/Wine/Tools/ConfigureWine/script.json b/Engines/Wine/Tools/ConfigureWine/script.json
deleted file mode 100644
index 175010b6d9..0000000000
--- a/Engines/Wine/Tools/ConfigureWine/script.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "scriptName": "Configure Wine"
-}
diff --git a/Engines/Wine/Tools/KillWineProcesses/icon.png b/Engines/Wine/Tools/Kill Wine Processes/icon.png
similarity index 100%
rename from Engines/Wine/Tools/KillWineProcesses/icon.png
rename to Engines/Wine/Tools/Kill Wine Processes/icon.png
diff --git a/Engines/Wine/Tools/Kill Wine Processes/script.js b/Engines/Wine/Tools/Kill Wine Processes/script.js
new file mode 100644
index 0000000000..71749a0f52
--- /dev/null
+++ b/Engines/Wine/Tools/Kill Wine Processes/script.js
@@ -0,0 +1,30 @@
+include(["engines", "wine", "engine", "object"]);
+
+/**
+ * tool to kill running Wine processes
+ * @constructor
+ */
+var KillWineProcesses = function () {
+};
+
+/**
+* runs the tool
+* @param {String} container name
+* @returns {void}
+*/
+KillWineProcesses.prototype.run = function (container) {
+ new Wine()
+ .prefix(container)
+ .run("kill")
+ .wait();
+};
+
+/**
+* runs the KillWineProcesses tool
+* @param {String} container name
+* @returns {void}
+*/
+function run(container) { // eslint-disable-line no-unused-vars
+ var tool = new KillWineProcesses();
+ tool.run(container);
+}
diff --git a/Engines/Wine/Tools/Kill Wine Processes/script.json b/Engines/Wine/Tools/Kill Wine Processes/script.json
new file mode 100644
index 0000000000..7fc60cb8f5
--- /dev/null
+++ b/Engines/Wine/Tools/Kill Wine Processes/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Kill processes",
+ "id": "kill_wine_processes",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Tools/KillWineProcesses/script.js b/Engines/Wine/Tools/KillWineProcesses/script.js
deleted file mode 100644
index 1e5a718771..0000000000
--- a/Engines/Wine/Tools/KillWineProcesses/script.js
+++ /dev/null
@@ -1,19 +0,0 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-
-/**
- * tool to kill running Wine processes
- * @constructor
- */
-var KillWineProcesses = function() {
-};
-
-/**
-* runs the tool
-* @param {String} container name
-*/
-KillWineProcesses.prototype.run = function (container) {
- new Wine()
- .prefix(container)
- .run("kill")
- .wait();
-};
diff --git a/Engines/Wine/Tools/KillWineProcesses/script.json b/Engines/Wine/Tools/KillWineProcesses/script.json
deleted file mode 100644
index 97bb5bff7b..0000000000
--- a/Engines/Wine/Tools/KillWineProcesses/script.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "scriptName": "Kill processes"
-}
diff --git a/Engines/Wine/Tools/RebootWine/icon.png b/Engines/Wine/Tools/Reboot Wine/icon.png
similarity index 100%
rename from Engines/Wine/Tools/RebootWine/icon.png
rename to Engines/Wine/Tools/Reboot Wine/icon.png
diff --git a/Engines/Wine/Tools/Reboot Wine/script.js b/Engines/Wine/Tools/Reboot Wine/script.js
new file mode 100644
index 0000000000..d3c040821a
--- /dev/null
+++ b/Engines/Wine/Tools/Reboot Wine/script.js
@@ -0,0 +1,30 @@
+include(["engines", "wine", "engine", "object"]);
+
+/**
+ * tool to reboot Wine
+ * @constructor
+ */
+var RebootWine = function () {
+};
+
+/**
+* runs the tool
+* @param {String} container name
+* @returns {void}
+*/
+RebootWine.prototype.run = function (container) {
+ new Wine()
+ .prefix(container)
+ .run("wineboot")
+ .wait();
+};
+
+/**
+* runs the RebootWine tool
+* @param {String} container name
+* @returns {void}
+*/
+function run(container) { // eslint-disable-line no-unused-vars
+ var tool = new RebootWine();
+ tool.run(container);
+}
diff --git a/Engines/Wine/Tools/Reboot Wine/script.json b/Engines/Wine/Tools/Reboot Wine/script.json
new file mode 100644
index 0000000000..80e363a503
--- /dev/null
+++ b/Engines/Wine/Tools/Reboot Wine/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Windows reboot",
+ "id": "reboot_wine",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Tools/RebootWine/script.js b/Engines/Wine/Tools/RebootWine/script.js
deleted file mode 100644
index 583b4c04e2..0000000000
--- a/Engines/Wine/Tools/RebootWine/script.js
+++ /dev/null
@@ -1,19 +0,0 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-
-/**
- * tool to reboot Wine
- * @constructor
- */
-var RebootWine = function() {
-};
-
-/**
-* runs the tool
-* @param {String} container name
-*/
-RebootWine.prototype.run = function (container) {
- new Wine()
- .prefix(container)
- .run("wineboot")
- .wait();
-};
diff --git a/Engines/Wine/Tools/RebootWine/script.json b/Engines/Wine/Tools/RebootWine/script.json
deleted file mode 100644
index b2de3ef1c5..0000000000
--- a/Engines/Wine/Tools/RebootWine/script.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "scriptName": "Windows reboot"
-}
diff --git a/Engines/Wine/Tools/RepairWinePrefix/icon.png b/Engines/Wine/Tools/Repair Wine Prefix/icon.png
similarity index 100%
rename from Engines/Wine/Tools/RepairWinePrefix/icon.png
rename to Engines/Wine/Tools/Repair Wine Prefix/icon.png
diff --git a/Engines/Wine/Tools/Repair Wine Prefix/script.js b/Engines/Wine/Tools/Repair Wine Prefix/script.js
new file mode 100644
index 0000000000..9c0db68824
--- /dev/null
+++ b/Engines/Wine/Tools/Repair Wine Prefix/script.js
@@ -0,0 +1,30 @@
+include(["engines", "wine", "engine", "object"]);
+
+/**
+ * tool to repair a Wine prefix
+ * @constructor
+ */
+var RepairWinePrefix = function () {
+};
+
+/**
+* runs the tool
+* @param {String} container name
+* @returns {void}
+*/
+RepairWinePrefix.prototype.run = function (container) {
+ new Wine()
+ .prefix(container)
+ .run("wineboot")
+ .wait();
+};
+
+/**
+* runs the RepairWinePrefix tool
+* @param {String} container name
+* @returns {void}
+*/
+function run(container) { // eslint-disable-line no-unused-vars
+ var tool = new RepairWinePrefix();
+ tool.run(container);
+}
diff --git a/Engines/Wine/Tools/Repair Wine Prefix/script.json b/Engines/Wine/Tools/Repair Wine Prefix/script.json
new file mode 100644
index 0000000000..c011a58f7d
--- /dev/null
+++ b/Engines/Wine/Tools/Repair Wine Prefix/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Repair virtual drive",
+ "id": "repair_wine_prefix",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Tools/RepairWinePrefix/script.js b/Engines/Wine/Tools/RepairWinePrefix/script.js
deleted file mode 100644
index 4359cc2898..0000000000
--- a/Engines/Wine/Tools/RepairWinePrefix/script.js
+++ /dev/null
@@ -1,19 +0,0 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-
-/**
- * tool to repair a Wine prefix
- * @constructor
- */
-var RepairWinePrefix = function() {
-};
-
-/**
-* runs the tool
-* @param {String} container name
-*/
-RepairWinePrefix.prototype.run = function (container) {
- new Wine()
- .prefix(container)
- .run("wineboot")
- .wait();
-};
diff --git a/Engines/Wine/Tools/RepairWinePrefix/script.json b/Engines/Wine/Tools/RepairWinePrefix/script.json
deleted file mode 100644
index 284f81d90b..0000000000
--- a/Engines/Wine/Tools/RepairWinePrefix/script.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "scriptName": "Repair virtual drive"
-}
diff --git a/Engines/Wine/Tools/WineRegistryEditor/icon.png b/Engines/Wine/Tools/Wine Registry Editor/icon.png
similarity index 100%
rename from Engines/Wine/Tools/WineRegistryEditor/icon.png
rename to Engines/Wine/Tools/Wine Registry Editor/icon.png
diff --git a/Engines/Wine/Tools/Wine Registry Editor/script.js b/Engines/Wine/Tools/Wine Registry Editor/script.js
new file mode 100644
index 0000000000..d505c8eb2a
--- /dev/null
+++ b/Engines/Wine/Tools/Wine Registry Editor/script.js
@@ -0,0 +1,30 @@
+include(["engines", "wine", "engine", "object"]);
+
+/**
+ * tool to open the Wine registry editor
+ * @constructor
+ */
+var WineRegistryEditor = function () {
+};
+
+/**
+* runs the tool
+* @param {String} container name
+* @returns {void}
+*/
+WineRegistryEditor.prototype.run = function (container) {
+ new Wine()
+ .prefix(container)
+ .run("regedit")
+ .wait();
+};
+
+/**
+* runs the WineRegistryEditor tool
+* @param {String} container name
+* @returns {void}
+*/
+function run(container) { // eslint-disable-line no-unused-vars
+ var tool = new WineRegistryEditor();
+ tool.run(container);
+}
diff --git a/Engines/Wine/Tools/Wine Registry Editor/script.json b/Engines/Wine/Tools/Wine Registry Editor/script.json
new file mode 100644
index 0000000000..d9643c1174
--- /dev/null
+++ b/Engines/Wine/Tools/Wine Registry Editor/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Registry Editor",
+ "id": "wine_registry_editor",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Tools/WineTaskManager/icon.png b/Engines/Wine/Tools/Wine Task Manager/icon.png
similarity index 100%
rename from Engines/Wine/Tools/WineTaskManager/icon.png
rename to Engines/Wine/Tools/Wine Task Manager/icon.png
diff --git a/Engines/Wine/Tools/Wine Task Manager/script.js b/Engines/Wine/Tools/Wine Task Manager/script.js
new file mode 100644
index 0000000000..d1af24b22a
--- /dev/null
+++ b/Engines/Wine/Tools/Wine Task Manager/script.js
@@ -0,0 +1,30 @@
+include(["engines", "wine", "engine", "object"]);
+
+/**
+ * tool to open the Wine task manager
+ * @constructor
+ */
+var WineTaskManager = function () {
+};
+
+/**
+* runs the tool
+* @param {String} container name
+* @returns {void}
+*/
+WineTaskManager.prototype.run = function (container) {
+ new Wine()
+ .prefix(container)
+ .run("taskmgr")
+ .wait();
+};
+
+/**
+* runs the WineTaskManager tool
+* @param {String} container name
+* @returns {void}
+*/
+function run(container) { // eslint-disable-line no-unused-vars
+ var tool = new WineTaskManager();
+ tool.run(container);
+}
diff --git a/Engines/Wine/Tools/Wine Task Manager/script.json b/Engines/Wine/Tools/Wine Task Manager/script.json
new file mode 100644
index 0000000000..e450fc04bc
--- /dev/null
+++ b/Engines/Wine/Tools/Wine Task Manager/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Task manager",
+ "id": "wine_task_manager",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Tools/WineTerminalOpener/icon.png b/Engines/Wine/Tools/Wine Terminal Opener/icon.png
similarity index 100%
rename from Engines/Wine/Tools/WineTerminalOpener/icon.png
rename to Engines/Wine/Tools/Wine Terminal Opener/icon.png
diff --git a/Engines/Wine/Tools/WineTerminalOpener/script.js b/Engines/Wine/Tools/Wine Terminal Opener/script.js
similarity index 60%
rename from Engines/Wine/Tools/WineTerminalOpener/script.js
rename to Engines/Wine/Tools/Wine Terminal Opener/script.js
index fa225cfe4f..a679e59e96 100644
--- a/Engines/Wine/Tools/WineTerminalOpener/script.js
+++ b/Engines/Wine/Tools/Wine Terminal Opener/script.js
@@ -1,16 +1,17 @@
-include(["Engines", "Wine", "Engine", "Object"]);
+include(["engines", "wine", "engine", "object"]);
/**
* tool to open a terminal in a Wine prefix
* @constructor
*/
-var WineTerminalOpener = function() {
+var WineTerminalOpener = function () {
this._TerminalOpener = Bean("terminalOpener");
};
/**
* runs the tool
* @param {String} container name
+* @returns {void}
*/
WineTerminalOpener.prototype.run = function (container) {
var wine = new Wine()
@@ -20,3 +21,13 @@ WineTerminalOpener.prototype.run = function (container) {
environment["PATH"] = wine.binPath() + ":$PATH";
this._TerminalOpener.openTerminal(wine.prefixDirectory, environment);
};
+
+/**
+* runs the WineTerminalOpener tool
+* @param {String} container name
+* @returns {void}
+*/
+function run(container) { // eslint-disable-line no-unused-vars
+ var tool = new WineTerminalOpener();
+ tool.run(container);
+}
diff --git a/Engines/Wine/Tools/Wine Terminal Opener/script.json b/Engines/Wine/Tools/Wine Terminal Opener/script.json
new file mode 100644
index 0000000000..7965abd8bd
--- /dev/null
+++ b/Engines/Wine/Tools/Wine Terminal Opener/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Open a terminal",
+ "id": "wine_terminal_opener",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Tools/WineUninstaller/icon.png b/Engines/Wine/Tools/Wine Uninstaller/icon.png
similarity index 100%
rename from Engines/Wine/Tools/WineUninstaller/icon.png
rename to Engines/Wine/Tools/Wine Uninstaller/icon.png
diff --git a/Engines/Wine/Tools/Wine Uninstaller/script.js b/Engines/Wine/Tools/Wine Uninstaller/script.js
new file mode 100644
index 0000000000..90445db908
--- /dev/null
+++ b/Engines/Wine/Tools/Wine Uninstaller/script.js
@@ -0,0 +1,30 @@
+include(["engines", "wine", "engine", "object"]);
+
+/**
+ * tool to uninstall Wine
+ * @constructor
+ */
+var WineUninstaller = function () {
+};
+
+/**
+* runs the tool
+* @param {String} container name
+* @returns {void}
+*/
+WineUninstaller.prototype.run = function (container) {
+ new Wine()
+ .prefix(container)
+ .run("uninstaller")
+ .wait();
+};
+
+/**
+* runs the WineUninstaller tool
+* @param {String} container name
+* @returns {void}
+*/
+function run(container) { // eslint-disable-line no-unused-vars
+ var tool = new WineUninstaller();
+ tool.run(container);
+}
diff --git a/Engines/Wine/Tools/Wine Uninstaller/script.json b/Engines/Wine/Tools/Wine Uninstaller/script.json
new file mode 100644
index 0000000000..5d6fd38284
--- /dev/null
+++ b/Engines/Wine/Tools/Wine Uninstaller/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Wine uninstaller",
+ "id": "wine_uninstaller",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Tools/WineConsole/script.js b/Engines/Wine/Tools/WineConsole/script.js
index f186b44bd6..e534b1fb39 100644
--- a/Engines/Wine/Tools/WineConsole/script.js
+++ b/Engines/Wine/Tools/WineConsole/script.js
@@ -1,15 +1,16 @@
-include(["Engines", "Wine", "Engine", "Object"]);
+include(["engines", "wine", "engine", "object"]);
/**
* tool to open a Wine console
* @constructor
*/
-var WineConsole = function() {
+var WineConsole = function () {
};
/**
* runs the tool
* @param {String} container name
+* @returns {void}
*/
WineConsole.prototype.run = function (container) {
new Wine()
@@ -17,3 +18,13 @@ WineConsole.prototype.run = function (container) {
.run("wineconsole")
.wait();
};
+
+/**
+* runs the WineConsole tool
+* @param {String} container name
+* @returns {void}
+*/
+function run(container) { // eslint-disable-line no-unused-vars
+ var tool = new WineConsole();
+ tool.run(container);
+}
diff --git a/Engines/Wine/Tools/WineConsole/script.json b/Engines/Wine/Tools/WineConsole/script.json
index 3f152f5931..91360d0c38 100644
--- a/Engines/Wine/Tools/WineConsole/script.json
+++ b/Engines/Wine/Tools/WineConsole/script.json
@@ -1,3 +1,8 @@
{
- "scriptName": "Command prompt"
+ "scriptName": "Command prompt",
+ "id": "command_prompt",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
}
diff --git a/Engines/Wine/Tools/WineRegistryEditor/script.js b/Engines/Wine/Tools/WineRegistryEditor/script.js
deleted file mode 100644
index 627f25ba08..0000000000
--- a/Engines/Wine/Tools/WineRegistryEditor/script.js
+++ /dev/null
@@ -1,19 +0,0 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-
-/**
- * tool to open the Wine registry editor
- * @constructor
- */
-var WineRegistryEditor = function() {
-};
-
-/**
-* runs the tool
-* @param {String} container name
-*/
-WineRegistryEditor.prototype.run = function (container) {
- new Wine()
- .prefix(container)
- .run("regedit")
- .wait();
-};
diff --git a/Engines/Wine/Tools/WineRegistryEditor/script.json b/Engines/Wine/Tools/WineRegistryEditor/script.json
deleted file mode 100644
index eeb4e57db5..0000000000
--- a/Engines/Wine/Tools/WineRegistryEditor/script.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "scriptName": "Registry Editor"
-}
diff --git a/Engines/Wine/Tools/WineTaskManager/script.js b/Engines/Wine/Tools/WineTaskManager/script.js
deleted file mode 100644
index 2ce050c208..0000000000
--- a/Engines/Wine/Tools/WineTaskManager/script.js
+++ /dev/null
@@ -1,19 +0,0 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-
-/**
- * tool to open the Wine task manager
- * @constructor
- */
-var WineTaskManager = function() {
-};
-
-/**
-* runs the tool
-* @param {String} container name
-*/
-WineTaskManager.prototype.run = function (container) {
- new Wine()
- .prefix(container)
- .run("taskmgr")
- .wait();
-};
diff --git a/Engines/Wine/Tools/WineTaskManager/script.json b/Engines/Wine/Tools/WineTaskManager/script.json
deleted file mode 100644
index 21950bfa43..0000000000
--- a/Engines/Wine/Tools/WineTaskManager/script.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "scriptName": "Task manager"
-}
diff --git a/Engines/Wine/Tools/WineTerminalOpener/script.json b/Engines/Wine/Tools/WineTerminalOpener/script.json
deleted file mode 100644
index 158acb91ed..0000000000
--- a/Engines/Wine/Tools/WineTerminalOpener/script.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "scriptName": "Open a terminal"
-}
diff --git a/Engines/Wine/Tools/WineUninstaller/script.js b/Engines/Wine/Tools/WineUninstaller/script.js
deleted file mode 100644
index e37b0eceb4..0000000000
--- a/Engines/Wine/Tools/WineUninstaller/script.js
+++ /dev/null
@@ -1,19 +0,0 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-
-/**
- * tool to uninstall Wine
- * @constructor
- */
-var WineUninstaller = function() {
-};
-
-/**
-* runs the tool
-* @param {String} container name
-*/
-WineUninstaller.prototype.run = function (container) {
- new Wine()
- .prefix(container)
- .run("uninstaller")
- .wait();
-};
diff --git a/Engines/Wine/Tools/WineUninstaller/script.json b/Engines/Wine/Tools/WineUninstaller/script.json
deleted file mode 100644
index a6aba39ec8..0000000000
--- a/Engines/Wine/Tools/WineUninstaller/script.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "scriptName": "Wine uninstaller"
-}
diff --git a/Engines/Wine/Tools/application.json b/Engines/Wine/Tools/application.json
new file mode 100644
index 0000000000..30f41ee715
--- /dev/null
+++ b/Engines/Wine/Tools/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "Wine Tools",
+ "id": "tools",
+ "description": "Tools for Wine."
+}
diff --git a/Engines/Wine/Verbs/DXVK/script.js b/Engines/Wine/Verbs/DXVK/script.js
new file mode 100644
index 0000000000..8239d61ff6
--- /dev/null
+++ b/Engines/Wine/Verbs/DXVK/script.js
@@ -0,0 +1,46 @@
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["utils", "functions", "filesystem", "files"]);
+
+/**
+* Setup DXVK-> https://github.com/doitsujin/dxvk/
+* @returns {Wine} Wine object
+*/
+Wine.prototype.DXVK = function() {
+ print("NOTE: you need a driver that support Vulkan enough to run DXVK");
+ print("NOTE: wine version should be greater or equal to 3.5");
+
+ var setupFile = new Resource()
+ .wizard(this.wizard())
+ .url("https://github.com/doitsujin/dxvk/releases/download/v0.41/dxvk-0.41.tar.gz")
+ .checksum("4bbcb3020ba12a5a0cb7c388264579068b307bc6")
+ .name("dxvk-0.41.tar.gz")
+ .get();
+
+ new Extractor()
+ .wizard(this.wizard())
+ .archive(setupFile)
+ .to(this.prefixDirectory + "/TMP/")
+ .extract();
+
+ if (this.architecture() == "x86") {
+ cp(this.prefixDirectory + "/TMP/dxvk-0.41/x32/d3d11.dll", this.system32directory());
+ cp(this.prefixDirectory + "/TMP/dxvk-0.41/x32/dxgi.dll", this.system32directory());
+ }
+
+ if (this.architecture() == "amd64") {
+ cp(this.prefixDirectory + "/TMP/dxvk-0.41/x32/d3d11.dll", this.system64directory());
+ cp(this.prefixDirectory + "/TMP/dxvk-0.41/x32/dxgi.dll", this.system64directory());
+
+ cp(this.prefixDirectory + "/TMP/dxvk-0.41/x64/d3d11.dll", this.system32directory());
+ cp(this.prefixDirectory + "/TMP/dxvk-0.41/x64/dxgi.dll", this.system32directory());
+ }
+
+ this.overrideDLL()
+ .set("native", ["d3d11", "dxgi"])
+ .do();
+
+ remove(this.prefixDirectory + "/TMP/");
+
+ return this;
+}
diff --git a/Engines/Wine/Verbs/DXVK/script.json b/Engines/Wine/Verbs/DXVK/script.json
new file mode 100644
index 0000000000..580481c24b
--- /dev/null
+++ b/Engines/Wine/Verbs/DXVK/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "DXVK",
+ "id": "dxvk",
+ "compatibleOperatingSystems": ["LINUX"],
+ "testingOperatingSystems": ["LINUX"],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/physx/script.js b/Engines/Wine/Verbs/PhysX/script.js
similarity index 63%
rename from Engines/Wine/Verbs/physx/script.js
rename to Engines/Wine/Verbs/PhysX/script.js
index 9bf1162f73..3c66c526b7 100644
--- a/Engines/Wine/Verbs/physx/script.js
+++ b/Engines/Wine/Verbs/PhysX/script.js
@@ -1,8 +1,12 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
-Wine.prototype.physx = function() {
+/**
+* Verb to install Nvidia PhysX
+* @returns {Wine} Wine object
+*/
+Wine.prototype.physx = function () {
var setupFile = new Resource()
.wizard(this._wizard)
.url("http://uk.download.nvidia.com/Windows/9.14.0702/PhysX-9.14.0702-SystemSoftware.msi")
diff --git a/Engines/Wine/Verbs/PhysX/script.json b/Engines/Wine/Verbs/PhysX/script.json
new file mode 100644
index 0000000000..df995a70bf
--- /dev/null
+++ b/Engines/Wine/Verbs/PhysX/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "PhysX",
+ "id": "physx",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/quicktime76/script.js b/Engines/Wine/Verbs/QuickTime 7.6/script.js
similarity index 70%
rename from Engines/Wine/Verbs/quicktime76/script.js
rename to Engines/Wine/Verbs/QuickTime 7.6/script.js
index a71cba6ebc..f8f06048f5 100644
--- a/Engines/Wine/Verbs/quicktime76/script.js
+++ b/Engines/Wine/Verbs/QuickTime 7.6/script.js
@@ -1,4 +1,11 @@
-Wine.prototype.quicktime76 = function() {
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+
+/**
+* Verb to install QuickTime 7.6
+* @returns {Wine} Wine object
+*/
+Wine.prototype.quicktime76 = function () {
var setupFile = new Resource()
.wizard(this._wizard)
.url("http://appldnld.apple.com/QuickTime/041-0025.20101207.Ptrqt/QuickTimeInstaller.exe")
diff --git a/Engines/Wine/Verbs/QuickTime 7.6/script.json b/Engines/Wine/Verbs/QuickTime 7.6/script.json
new file mode 100644
index 0000000000..8dc0687f7b
--- /dev/null
+++ b/Engines/Wine/Verbs/QuickTime 7.6/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "QuickTime 7.6",
+ "id": "quicktime76",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/tahoma/script.js b/Engines/Wine/Verbs/Tahoma/script.js
similarity index 70%
rename from Engines/Wine/Verbs/tahoma/script.js
rename to Engines/Wine/Verbs/Tahoma/script.js
index 846ec22384..7fb308d3d3 100644
--- a/Engines/Wine/Verbs/tahoma/script.js
+++ b/Engines/Wine/Verbs/Tahoma/script.js
@@ -1,9 +1,13 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
+include(["utils", "functions", "filesystem", "files"]);
-Wine.prototype.tahoma = function() {
+/**
+* Verb to install the Tahoma font
+* @returns {Wine} Wine object
+*/
+Wine.prototype.tahoma = function () {
var tahoma = new Resource()
.wizard(this._wizard)
.url("https://github.com/caarlos0/msfonts/blob/master/fonts/tahoma.ttf?raw=true")
diff --git a/Engines/Wine/Verbs/Tahoma/script.json b/Engines/Wine/Verbs/Tahoma/script.json
new file mode 100644
index 0000000000..29c83a7f86
--- /dev/null
+++ b/Engines/Wine/Verbs/Tahoma/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Tahoma",
+ "id": "tahoma",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/uplay/script.js b/Engines/Wine/Verbs/Uplay/script.js
similarity index 68%
rename from Engines/Wine/Verbs/uplay/script.js
rename to Engines/Wine/Verbs/Uplay/script.js
index 651573dceb..7e8cbd60aa 100644
--- a/Engines/Wine/Verbs/uplay/script.js
+++ b/Engines/Wine/Verbs/Uplay/script.js
@@ -1,6 +1,11 @@
-include(["Engines", "Wine", "Engine", "Object"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
-Wine.prototype.uplay = function() {
+/**
+* Verb to install Uplay
+* @returns {Wine} Wine object
+*/
+Wine.prototype.uplay = function () {
var setupFile = new Resource()
.wizard(this._wizard)
.url("https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe")
diff --git a/Engines/Wine/Verbs/Uplay/script.json b/Engines/Wine/Verbs/Uplay/script.json
new file mode 100644
index 0000000000..df98b8081a
--- /dev/null
+++ b/Engines/Wine/Verbs/Uplay/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Uplay",
+ "id": "uplay",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/sp3extract/script.js b/Engines/Wine/Verbs/Windows XP SP 3/script.js
similarity index 72%
rename from Engines/Wine/Verbs/sp3extract/script.js
rename to Engines/Wine/Verbs/Windows XP SP 3/script.js
index f77fe3a147..15a63e97c2 100644
--- a/Engines/Wine/Verbs/sp3extract/script.js
+++ b/Engines/Wine/Verbs/Windows XP SP 3/script.js
@@ -1,11 +1,16 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
-Wine.prototype.sp3extract = function(fileToExtract) {
+/**
+* Verb to install Windows XP Service Pack 3
+* @param {string} fileToExtract path to file which shall be extracted
+* @returns {Wine} Wine object
+*/
+Wine.prototype.sp3extract = function (fileToExtract) {
var that = this;
that._targetDirectory = this.system32directory();
- this.targetDirectory = function(targetDirectory) {
+ this.targetDirectory = function (targetDirectory) {
that._targetDirectory = targetDirectory;
return that;
};
@@ -32,4 +37,4 @@ Wine.prototype.sp3extract = function(fileToExtract) {
.extract();
return this;
-};
\ No newline at end of file
+};
diff --git a/Engines/Wine/Verbs/Windows XP SP 3/script.json b/Engines/Wine/Verbs/Windows XP SP 3/script.json
new file mode 100644
index 0000000000..066b8175f1
--- /dev/null
+++ b/Engines/Wine/Verbs/Windows XP SP 3/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Windows XP Service Pack 3",
+ "id": "sp3extract",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/application.json b/Engines/Wine/Verbs/application.json
new file mode 100644
index 0000000000..1ec321c3e7
--- /dev/null
+++ b/Engines/Wine/Verbs/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "Wine Verbs",
+ "id": "verbs",
+ "description": "Verbs for Wine."
+}
diff --git a/Engines/Wine/Verbs/corefonts/script.js b/Engines/Wine/Verbs/corefonts/script.js
index 6bf127a5d2..028a5cd30a 100644
--- a/Engines/Wine/Verbs/corefonts/script.js
+++ b/Engines/Wine/Verbs/corefonts/script.js
@@ -1,79 +1,83 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
-Wine.prototype.corefonts = function() {
+/**
+* Verb to install corefonts
+* @returns {Wine} Wine object
+*/
+Wine.prototype.corefonts = function () {
var fontResources =
[
- new Resource()
- .wizard(this._wizard)
- .url("https://mirrors.kernel.org/gentoo/distfiles/arial32.exe")
- .checksum("6d75f8436f39ab2da5c31ce651b7443b4ad2916e")
- .name("arial32.exe")
- .get(),
+ new Resource()
+ .wizard(this._wizard)
+ .url("https://mirrors.kernel.org/gentoo/distfiles/arial32.exe")
+ .checksum("6d75f8436f39ab2da5c31ce651b7443b4ad2916e")
+ .name("arial32.exe")
+ .get(),
- new Resource()
- .wizard(this._wizard)
- .url("https://mirrors.kernel.org/gentoo/distfiles/arialb32.exe")
- .checksum("d45cdab84b7f4c1efd6d1b369f50ed0390e3d344")
- .name("arialb32.exe")
- .get(),
+ new Resource()
+ .wizard(this._wizard)
+ .url("https://mirrors.kernel.org/gentoo/distfiles/arialb32.exe")
+ .checksum("d45cdab84b7f4c1efd6d1b369f50ed0390e3d344")
+ .name("arialb32.exe")
+ .get(),
- new Resource()
- .wizard(this._wizard)
- .url("https://mirrors.kernel.org/gentoo/distfiles/comic32.exe")
- .checksum("2371d0327683dcc5ec1684fe7c275a8de1ef9a51")
- .name("comic32.exe")
- .get(),
+ new Resource()
+ .wizard(this._wizard)
+ .url("https://mirrors.kernel.org/gentoo/distfiles/comic32.exe")
+ .checksum("2371d0327683dcc5ec1684fe7c275a8de1ef9a51")
+ .name("comic32.exe")
+ .get(),
- new Resource()
- .wizard(this._wizard)
- .url("https://mirrors.kernel.org/gentoo/distfiles/courie32.exe")
- .checksum("06a745023c034f88b4135f5e294fece1a3c1b057")
- .name("courie32.exe")
- .get(),
+ new Resource()
+ .wizard(this._wizard)
+ .url("https://mirrors.kernel.org/gentoo/distfiles/courie32.exe")
+ .checksum("06a745023c034f88b4135f5e294fece1a3c1b057")
+ .name("courie32.exe")
+ .get(),
- new Resource()
- .wizard(this._wizard)
- .url("https://mirrors.kernel.org/gentoo/distfiles/georgi32.exe")
- .checksum("90e4070cb356f1d811acb943080bf97e419a8f1e")
- .name("georgi32.exe")
- .get(),
+ new Resource()
+ .wizard(this._wizard)
+ .url("https://mirrors.kernel.org/gentoo/distfiles/georgi32.exe")
+ .checksum("90e4070cb356f1d811acb943080bf97e419a8f1e")
+ .name("georgi32.exe")
+ .get(),
- new Resource()
- .wizard(this._wizard)
- .url("https://mirrors.kernel.org/gentoo/distfiles/impact32.exe")
- .checksum("86b34d650cfbbe5d3512d49d2545f7509a55aad2")
- .name("impact32.exe")
- .get(),
+ new Resource()
+ .wizard(this._wizard)
+ .url("https://mirrors.kernel.org/gentoo/distfiles/impact32.exe")
+ .checksum("86b34d650cfbbe5d3512d49d2545f7509a55aad2")
+ .name("impact32.exe")
+ .get(),
- new Resource()
- .wizard(this._wizard)
- .url("https://mirrors.kernel.org/gentoo/distfiles/times32.exe")
- .checksum("20b79e65cdef4e2d7195f84da202499e3aa83060")
- .name("times32.exe")
- .get(),
+ new Resource()
+ .wizard(this._wizard)
+ .url("https://mirrors.kernel.org/gentoo/distfiles/times32.exe")
+ .checksum("20b79e65cdef4e2d7195f84da202499e3aa83060")
+ .name("times32.exe")
+ .get(),
- new Resource()
- .wizard(this._wizard)
- .url("https://mirrors.kernel.org/gentoo/distfiles/trebuc32.exe ")
- .checksum("50aab0988423efcc9cf21fac7d64d534d6d0a34a")
- .name("trebuc32.exe")
- .get(),
+ new Resource()
+ .wizard(this._wizard)
+ .url("https://mirrors.kernel.org/gentoo/distfiles/trebuc32.exe ")
+ .checksum("50aab0988423efcc9cf21fac7d64d534d6d0a34a")
+ .name("trebuc32.exe")
+ .get(),
- new Resource()
- .wizard(this._wizard)
- .url("https://mirrors.kernel.org/gentoo/distfiles/verdan32.exe ")
- .checksum("f5b93cedf500edc67502f116578123618c64a42a")
- .name("verdan32.exe")
- .get(),
+ new Resource()
+ .wizard(this._wizard)
+ .url("https://mirrors.kernel.org/gentoo/distfiles/verdan32.exe ")
+ .checksum("f5b93cedf500edc67502f116578123618c64a42a")
+ .name("verdan32.exe")
+ .get(),
- new Resource()
- .wizard(this._wizard)
- .url("https://mirrors.kernel.org/gentoo/distfiles/webdin32.exe ")
- .checksum("2fb4a42c53e50bc70707a7b3c57baf62ba58398f")
- .name("webdin32.exe")
- .get()
+ new Resource()
+ .wizard(this._wizard)
+ .url("https://mirrors.kernel.org/gentoo/distfiles/webdin32.exe ")
+ .checksum("2fb4a42c53e50bc70707a7b3c57baf62ba58398f")
+ .name("webdin32.exe")
+ .get()
];
var progressBar = this._wizard.progressBar(tr("Please wait ..."));
@@ -82,7 +86,7 @@ Wine.prototype.corefonts = function() {
var numInstalledFonts = 0;
var that = this;
- fontResources.forEach(function(fontResource) {
+ fontResources.forEach(function (fontResource) {
progressBar.setText(tr("Installing {0} ...", tr("fonts")));
progressBar.setProgressPercentage(numInstalledFonts * 100 / fontResources.length);
diff --git a/Engines/Wine/Verbs/corefonts/script.json b/Engines/Wine/Verbs/corefonts/script.json
new file mode 100644
index 0000000000..99c819a555
--- /dev/null
+++ b/Engines/Wine/Verbs/corefonts/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "corefonts",
+ "id": "corefonts",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/crypt32/script.js b/Engines/Wine/Verbs/crypt32/script.js
index 4fab0cd6b6..11192bf850 100644
--- a/Engines/Wine/Verbs/crypt32/script.js
+++ b/Engines/Wine/Verbs/crypt32/script.js
@@ -1,6 +1,10 @@
-include(["Engines", "Wine", "Verbs", "sp3extract"]);
+include(["engines", "wine", "verbs", "sp3extract"]);
-Wine.prototype.crypt32 = function() {
+/**
+* Verb to install crypt32
+* @returns {Wine} Wine object
+*/
+Wine.prototype.crypt32 = function () {
this.sp3extract("crypt32.dll");
this.sp3extract("msasn1.dll");
diff --git a/Engines/Wine/Verbs/crypt32/script.json b/Engines/Wine/Verbs/crypt32/script.json
new file mode 100644
index 0000000000..49b2063937
--- /dev/null
+++ b/Engines/Wine/Verbs/crypt32/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "crypt32",
+ "id": "crypt32",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/d3dx10/script.js b/Engines/Wine/Verbs/d3dx10/script.js
index c9897f7b4b..626e0ca95b 100644
--- a/Engines/Wine/Verbs/d3dx10/script.js
+++ b/Engines/Wine/Verbs/d3dx10/script.js
@@ -1,12 +1,16 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+/**
+* Verb to install D3DX10
+* @returns {Wine} Wine object
+*/
Wine.prototype.d3dx10 = function () {
var that = this;
- var extractDirectXtoSystemDirectory = function(progressBar, filesToExtract, destination, pattern) {
+ var extractDirectXtoSystemDirectory = function (progressBar, filesToExtract, destination, pattern) {
var numberOfExtractedFiles = 0;
- filesToExtract.forEach(function(cabFile) {
+ filesToExtract.forEach(function (cabFile) {
print(tr("Extracting {0} ...", cabFile));
progressBar.setText(tr("Extracting {0} ...", "DirectX 10"));
progressBar.setProgressPercentage(numberOfExtractedFiles * 100 / filesToExtract.length);
@@ -36,13 +40,13 @@ Wine.prototype.d3dx10 = function () {
.to(this.prefixDirectory + "/drive_c/d3dx10/")
.extract(["-L", "-F", "*d3dx10*x86*"]);
- var filesToExtract = [
+ var filesToExtractx86 = [
"apr2007_d3dx10_33_x86.cab", "aug2007_d3dx10_35_x86.cab", "aug2008_d3dx10_39_x86.cab",
"aug2009_d3dx10_42_x86.cab", "dec2006_d3dx10_00_x86.cab", "jun2007_d3dx10_34_x86.cab",
"jun2008_d3dx10_38_x86.cab", "jun2010_d3dx10_43_x86.cab", "mar2008_d3dx10_37_x86.cab",
"mar2009_d3dx10_41_x86.cab", "nov2007_d3dx10_36_x86.cab", "nov2008_d3dx10_40_x86.cab"
];
- extractDirectXtoSystemDirectory(progressBar, filesToExtract, that.system32directory(), "d3dx10*.dll");
+ extractDirectXtoSystemDirectory(progressBar, filesToExtractx86, that.system32directory(), "d3dx10*.dll");
if (this.architecture() == "amd64") {
new CabExtract()
@@ -50,19 +54,19 @@ Wine.prototype.d3dx10 = function () {
.to(this.prefixDirectory + "/drive_c/d3dx10/")
.extract(["-L", "-F", "*d3dx10*x64*"]);
- var filesToExtract = [
+ var filesToExtractx64 = [
"apr2007_d3dx10_33_x64.cab", "aug2007_d3dx10_35_x64.cab", "aug2008_d3dx10_39_x64.cab",
"aug2009_d3dx10_42_x64.cab", "dec2006_d3dx10_00_x64.cab", "jun2007_d3dx10_34_x64.cab",
"jun2008_d3dx10_38_x64.cab", "jun2010_d3dx10_43_x64.cab", "mar2008_d3dx10_37_x64.cab",
"mar2009_d3dx10_41_x64.cab", "nov2007_d3dx10_36_x64.cab", "nov2008_d3dx10_40_x64.cab"
];
- extractDirectXtoSystemDirectory(progressBar, filesToExtract, that.system64directory(), "d3dx10*.dll");
+ extractDirectXtoSystemDirectory(progressBar, filesToExtractx64, that.system64directory(), "d3dx10*.dll");
}
this.overrideDLL()
.set("native", [
- "d3dx10_33", "d3dx10_34", "d3dx10_35", "d3dx10_36", "d3dx10_37", "d3dx10_38",
+ "d3dx10_33", "d3dx10_34", "d3dx10_35", "d3dx10_36", "d3dx10_37", "d3dx10_38",
"d3dx10_39", "d3dx10_40", "d3dx10_41", "d3dx10_42", "d3dx10_43"
])
.do();
diff --git a/Engines/Wine/Verbs/d3dx10/script.json b/Engines/Wine/Verbs/d3dx10/script.json
new file mode 100644
index 0000000000..d89add0aef
--- /dev/null
+++ b/Engines/Wine/Verbs/d3dx10/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "d3dx10",
+ "id": "d3dx10",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/d3dx9/script.js b/Engines/Wine/Verbs/d3dx9/script.js
index 1c36b0f3ea..f5a1aff9cc 100644
--- a/Engines/Wine/Verbs/d3dx9/script.js
+++ b/Engines/Wine/Verbs/d3dx9/script.js
@@ -1,12 +1,16 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+/**
+* Verb to install D3DX9
+* @returns {Wine} Wine object
+*/
Wine.prototype.d3dx9 = function () {
var that = this;
- var extractDirectXtoSystemDirectory = function(progressBar, filesToExtract, destination, pattern) {
+ var extractDirectXtoSystemDirectory = function (progressBar, filesToExtract, destination, pattern) {
var numberOfExtractedFiles = 0;
- filesToExtract.forEach(function(cabFile) {
+ filesToExtract.forEach(function (cabFile) {
print(tr("Extracting {0} ...", cabFile));
progressBar.setText(tr("Extracting {0} ...", "DirectX 9"));
progressBar.setProgressPercentage(numberOfExtractedFiles * 100 / filesToExtract.length);
@@ -36,7 +40,7 @@ Wine.prototype.d3dx9 = function () {
.to(this.prefixDirectory + "/drive_c/d3dx9/")
.extract(["-L", "-F", "*d3dx9*x86*"]);
- var filesToExtract = [
+ var filesToExtractx86 = [
"apr2007_d3dx9_33_x86.cab", "aug2007_d3dx9_35_x86.cab", "apr2005_d3dx9_25_x86.cab",
"apr2006_d3dx9_30_x86.cab", "aug2005_d3dx9_27_x86.cab", "aug2008_d3dx9_39_x86.cab",
"aug2009_d3dx9_42_x86.cab", "dec2006_d3dx9_32_x86.cab", "dec2005_d3dx9_28_x86.cab",
@@ -45,7 +49,7 @@ Wine.prototype.d3dx9 = function () {
"mar2008_d3dx9_37_x86.cab", "mar2009_d3dx9_41_x86.cab", "nov2007_d3dx9_36_x86.cab",
"nov2008_d3dx9_40_x86.cab", "oct2006_d3dx9_31_x86.cab"
];
- extractDirectXtoSystemDirectory(progressBar, filesToExtract, that.system32directory(), "d3dx9*.dll");
+ extractDirectXtoSystemDirectory(progressBar, filesToExtractx86, that.system32directory(), "d3dx9*.dll");
if (this.architecture() == "amd64") {
new CabExtract()
@@ -53,7 +57,7 @@ Wine.prototype.d3dx9 = function () {
.to(this.prefixDirectory + "/drive_c/d3dx9/")
.extract(["-L", "-F", "*d3dx9*x64*"]);
- var filesToExtract = [
+ var filesToExtractx64 = [
"APR2007_d3dx9_33_x64.cab", "AUG2007_d3dx9_35_x64.cab", "Apr2005_d3dx9_25_x64.cab",
"Apr2006_d3dx9_30_x64.cab", "Aug2005_d3dx9_27_x64.cab", "Aug2008_d3dx9_39_x64.cab",
"Aug2009_d3dx9_42_x64.cab", "DEC2006_d3dx9_32_x64.cab", "Dec2005_d3dx9_28_x64.cab",
@@ -63,7 +67,7 @@ Wine.prototype.d3dx9 = function () {
"Nov2008_d3dx9_40_x64.cab", "OCT2006_d3dx9_31_x64.cab"
];
- extractDirectXtoSystemDirectory(progressBar, filesToExtract, that.system64directory(), "d3dx9*.dll");
+ extractDirectXtoSystemDirectory(progressBar, filesToExtractx64, that.system64directory(), "d3dx9*.dll");
}
this.overrideDLL()
diff --git a/Engines/Wine/Verbs/d3dx9/script.json b/Engines/Wine/Verbs/d3dx9/script.json
new file mode 100644
index 0000000000..a4ddc6b83a
--- /dev/null
+++ b/Engines/Wine/Verbs/d3dx9/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "d3dx9",
+ "id": "d3dx9",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/dotnet40/script.js b/Engines/Wine/Verbs/dotnet40/script.js
index 59cfb2d51a..fd19ce0e47 100644
--- a/Engines/Wine/Verbs/dotnet40/script.js
+++ b/Engines/Wine/Verbs/dotnet40/script.js
@@ -1,9 +1,13 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
-
-Wine.prototype.dotnet40 = function() {
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
+include(["utils", "functions", "filesystem", "files"]);
+
+/**
+* Verb to install .NET 4.0
+* @returns {Wine} Wine object
+*/
+Wine.prototype.dotnet40 = function () {
var setupFile = new Resource()
.wizard(this._wizard)
.url("http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe")
diff --git a/Engines/Wine/Verbs/dotnet40/script.json b/Engines/Wine/Verbs/dotnet40/script.json
new file mode 100644
index 0000000000..d25a4b3035
--- /dev/null
+++ b/Engines/Wine/Verbs/dotnet40/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": ".NET 4.0",
+ "id": "dotnet40",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/dotnet45/script.js b/Engines/Wine/Verbs/dotnet45/script.js
index 4256cba49a..619b067706 100644
--- a/Engines/Wine/Verbs/dotnet45/script.js
+++ b/Engines/Wine/Verbs/dotnet45/script.js
@@ -1,20 +1,19 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
-include(["Engines", "Wine", "Verbs", "dotnet40"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
+include(["utils", "functions", "filesystem", "files"]);
+include(["engines", "wine", "verbs", "dotnet40"]);
/**
-* Inspired from dotnet40 verb, winetricks dotnet45 and POL4 POL_install_dotnet45
-* -> https://github.com/Winetricks/winetricks/blob/63bc6dbe612d017a0cb6bf6e4cde265162d75bca/src/winetricks#L6886
-* @returns {Wine}
+* Verb to install .NET 4.5
+* @returns {Wine} Wine object
*/
-Wine.prototype.dotnet45 = function() {
-
+Wine.prototype.dotnet45 = function () {
+
if (this.architecture() == "amd64") {
throw "{0} cannot be installed in a 64bit wine prefix!".format("dotnet45");
}
-
+
var OSVersion = this.windowsVersion();
var setupFile = new Resource()
@@ -25,12 +24,12 @@ Wine.prototype.dotnet45 = function() {
.get();
this.uninstall("Mono");
-
+
this.run("reg", ["delete", "HKLM\Software\Microsoft\NET Framework Setup\NDP\v4", "/f"])
.wait(tr("Please wait ..."));
remove(this.system32directory() + "/mscoree.dll");
-
+
this.dotnet40();
this.windowsVersion("win7");
@@ -44,12 +43,12 @@ Wine.prototype.dotnet45 = function() {
this.overrideDLL()
.set("native", ["mscoree"])
.do();
-
+
this.windowsVersion(OSVersion);
-
- if(OSVersion != "win2003") {
+
+ if (OSVersion != "win2003") {
print(tr("{0} applications can have issues when windows version is not set to \"win2003\"", ".NET 4.5"));
}
-
+
return this;
};
diff --git a/Engines/Wine/Verbs/dotnet45/script.json b/Engines/Wine/Verbs/dotnet45/script.json
new file mode 100644
index 0000000000..f13f5e0a0b
--- /dev/null
+++ b/Engines/Wine/Verbs/dotnet45/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": ".NET 4.5",
+ "id": "dotnet45",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/dotnet452/script.js b/Engines/Wine/Verbs/dotnet452/script.js
index 868cc0842c..56c3826195 100644
--- a/Engines/Wine/Verbs/dotnet452/script.js
+++ b/Engines/Wine/Verbs/dotnet452/script.js
@@ -1,19 +1,18 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
-include(["Engines", "Wine", "Verbs", "dotnet40"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
+include(["utils", "functions", "filesystem", "files"]);
+include(["engines", "wine", "verbs", "dotnet40"]);
/**
-* Inspired from dotnet40 verb, winetricks dotnet452 and POL4 POL_install_dotnet45
-* -> https://github.com/Winetricks/winetricks/blob/63bc6dbe612d017a0cb6bf6e4cde265162d75bca/src/winetricks#L6938
-* @returns {Wine}
+* Verb to install .NET 4.5.2
+* @returns {Wine} Wine object
*/
-Wine.prototype.dotnet452 = function() {
+Wine.prototype.dotnet452 = function () {
if (this.architecture() == "amd64") {
throw "{0} cannot be installed in a 64bit wine prefix!".format("dotnet452");
}
-
+
var OSVersion = this.windowsVersion();
var setupFile = new Resource()
@@ -24,12 +23,12 @@ Wine.prototype.dotnet452 = function() {
.get();
this.uninstall("Mono");
-
+
this.run("reg", ["delete", "HKLM\Software\Microsoft\NET Framework Setup\NDP\v4", "/f"])
.wait(tr("Please wait ..."));
remove(this.system32directory() + "/mscoree.dll");
-
+
this.dotnet40();
this.windowsVersion("win7");
@@ -43,12 +42,12 @@ Wine.prototype.dotnet452 = function() {
this.overrideDLL()
.set("native", ["mscoree"])
.do();
-
+
this.windowsVersion(OSVersion);
-
- if(OSVersion != "win2003") {
+
+ if (OSVersion != "win2003") {
print(tr("{0} applications can have issues when windows version is not set to \"win2003\"", ".NET 4.5.2"));
}
-
+
return this;
};
diff --git a/Engines/Wine/Verbs/dotnet452/script.json b/Engines/Wine/Verbs/dotnet452/script.json
new file mode 100644
index 0000000000..c125c12a6f
--- /dev/null
+++ b/Engines/Wine/Verbs/dotnet452/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": ".NET 4.5.2",
+ "id": "dotnet452",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/luna/script.js b/Engines/Wine/Verbs/luna/script.js
index 22a33ab6e4..f95309544c 100644
--- a/Engines/Wine/Verbs/luna/script.js
+++ b/Engines/Wine/Verbs/luna/script.js
@@ -1,8 +1,12 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
-include(["Utils", "Functions", "Net", "Resource"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "filesystem", "files"]);
+include(["utils", "functions", "net", "resource"]);
-Wine.prototype.luna = function() {
+/**
+* Verb to install luna
+* @returns {Wine} Wine object
+*/
+Wine.prototype.luna = function () {
var lunaStyle = new Resource()
.wizard(this._wizard)
.url("http://repository.playonlinux.com/divers/luna.msstyles")
@@ -23,4 +27,4 @@ Wine.prototype.luna = function() {
this.regedit().open(lunaReg);
return this;
-};
\ No newline at end of file
+};
diff --git a/Engines/Wine/Verbs/luna/script.json b/Engines/Wine/Verbs/luna/script.json
new file mode 100644
index 0000000000..ef0489f1f2
--- /dev/null
+++ b/Engines/Wine/Verbs/luna/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "luna",
+ "id": "luna",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/mfc42/script.js b/Engines/Wine/Verbs/mfc42/script.js
index 88ef4ca0b8..6d0b123986 100644
--- a/Engines/Wine/Verbs/mfc42/script.js
+++ b/Engines/Wine/Verbs/mfc42/script.js
@@ -1,7 +1,11 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
-Wine.prototype.mfc42 = function() {
+/**
+* Verb to install mfc42.dll and mfc42u.dll
+* @returns {Wine} Wine object
+*/
+Wine.prototype.mfc42 = function () {
var setupFile = new Resource()
.wizard(this._wizard)
.url("http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe")
diff --git a/Engines/Wine/Verbs/mfc42/script.json b/Engines/Wine/Verbs/mfc42/script.json
new file mode 100644
index 0000000000..f14ae6768d
--- /dev/null
+++ b/Engines/Wine/Verbs/mfc42/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "mfc42",
+ "id": "mfc42",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/msls31/script.js b/Engines/Wine/Verbs/msls31/script.js
index 397ceaa459..298006b023 100644
--- a/Engines/Wine/Verbs/msls31/script.js
+++ b/Engines/Wine/Verbs/msls31/script.js
@@ -1,7 +1,11 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
-Wine.prototype.msls31 = function() {
+/**
+* Verb to install msls31.dll
+* @returns {Wine} Wine object
+*/
+Wine.prototype.msls31 = function () {
var setupFile = new Resource()
.wizard(this._wizard)
.url("ftp://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe")
diff --git a/Engines/Wine/Verbs/msls31/script.json b/Engines/Wine/Verbs/msls31/script.json
new file mode 100644
index 0000000000..2bc3678504
--- /dev/null
+++ b/Engines/Wine/Verbs/msls31/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "msls31",
+ "id": "msls31",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/mspatcha/script.js b/Engines/Wine/Verbs/mspatcha/script.js
index d8b5aa0b08..d03aa5e27d 100644
--- a/Engines/Wine/Verbs/mspatcha/script.js
+++ b/Engines/Wine/Verbs/mspatcha/script.js
@@ -1,8 +1,12 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["utils", "functions", "filesystem", "files"]);
-Wine.prototype.mspatcha = function() {
+/**
+* Verb to install mspatcha
+* @returns {Wine} Wine object
+*/
+Wine.prototype.mspatcha = function () {
//Inspired from winetricks mspatcha, but with a link Phoenicis can understand
var setupFile = new Resource()
.wizard(this._wizard)
@@ -18,13 +22,13 @@ Wine.prototype.mspatcha = function() {
.wizard(this._wizard)
.to(this.system32directory())
.extract();
-
- new CabExtract()
+
+ new CabExtract()
.archive(this.system32directory() + "/i386/mspatcha.dl_")
.wizard(this._wizard)
.to(this.system32directory())
.extract();
-
+
remove(this.system32directory() + "/i386/");
this.overrideDLL()
diff --git a/Engines/Wine/Verbs/mspatcha/script.json b/Engines/Wine/Verbs/mspatcha/script.json
new file mode 100644
index 0000000000..6c0bdc9ce9
--- /dev/null
+++ b/Engines/Wine/Verbs/mspatcha/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "mspatcha",
+ "id": "mspatcha",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/quartz/script.js b/Engines/Wine/Verbs/quartz/script.js
index 5e046ff171..cfa84afc09 100644
--- a/Engines/Wine/Verbs/quartz/script.js
+++ b/Engines/Wine/Verbs/quartz/script.js
@@ -1,38 +1,38 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["utils", "functions", "filesystem", "files"]);
/**
- * Inspired from winetricks quartz -> https://github.com/Winetricks/winetricks/blob/63bc6dbe612d017a0cb6bf6e4cde265162d75bca/src/winetricks#L8523
- * @returns {Wine}
- */
-Wine.prototype.quartz = function(){
+* Verb to install quartz
+* @returns {Wine} Wine object
+*/
+Wine.prototype.quartz = function (){
var setupFile = new Resource()
.wizard(this._wizard)
.url("https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe")
.checksum("a97c820915dc20929e84b49646ec275760012a42")
.name("directx_feb2010_redist.exe")
.get();
-
+
new CabExtract()
.archive(setupFile)
.wizard(this._wizard)
.to(this.prefixDirectory + "/TMP/")
.extract(["-L", "-F", "dxnt.cab"]);
-
+
new CabExtract()
.archive(this.prefixDirectory + "/TMP/dxnt.cab")
.wizard(this._wizard)
.to(this.system32directory())
.extract(["-L", "-F", "quartz.dll"]);
-
+
remove(this.prefixDirectory + "/TMP/");
-
+
this.regsvr32().install("quartz.dll");
-
+
this.overrideDLL()
.set("native, builtin", ["quartz"])
.do()
-
+
return this;
}
diff --git a/Engines/Wine/Verbs/quartz/script.json b/Engines/Wine/Verbs/quartz/script.json
new file mode 100644
index 0000000000..328c5259f6
--- /dev/null
+++ b/Engines/Wine/Verbs/quartz/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "quartz",
+ "id": "quartz",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/sandbox/script.js b/Engines/Wine/Verbs/sandbox/script.js
index f9db9addf9..9e744c5f21 100644
--- a/Engines/Wine/Verbs/sandbox/script.js
+++ b/Engines/Wine/Verbs/sandbox/script.js
@@ -1,7 +1,11 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
-Wine.prototype.sandbox = function() {
+/**
+* Verb to install a sandbox
+* @returns {Wine} Wine object
+*/
+Wine.prototype.sandbox = function () {
var tmp = Bean("propertyReader").getProperty("application.user.tmp");
var resources = Bean("propertyReader").getProperty("application.user.resources");
@@ -12,4 +16,4 @@ Wine.prototype.sandbox = function() {
lns(resources, this.prefixDirectory + "/dosdevices/y:");
return this;
-};
\ No newline at end of file
+};
diff --git a/Engines/Wine/Verbs/sandbox/script.json b/Engines/Wine/Verbs/sandbox/script.json
new file mode 100644
index 0000000000..5f098b1e10
--- /dev/null
+++ b/Engines/Wine/Verbs/sandbox/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "sandbox",
+ "id": "sandbox",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/secur32/script.js b/Engines/Wine/Verbs/secur32/script.js
index bfa2b98687..f11b80f873 100644
--- a/Engines/Wine/Verbs/secur32/script.js
+++ b/Engines/Wine/Verbs/secur32/script.js
@@ -1,52 +1,51 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["utils", "functions", "filesystem", "files"]);
/**
-* Inspired from winetricks secur32
-* -> https://github.com/Winetricks/winetricks/blob/63bc6dbe612d017a0cb6bf6e4cde265162d75bca/src/winetricks#L8744
-* @returns {Wine}
+* Verb to install secur32
+* @returns {Wine} Wine object
*/
-Wine.prototype.secur32 = function() {
- var setupFile = new Resource()
+Wine.prototype.secur32 = function () {
+ var setupFilex86 = new Resource()
+ .wizard(this._wizard)
+ .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe")
+ .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa")
+ .name("windows6.1-KB976932-X86.exe")
+ .get();
+
+ new CabExtract()
+ .archive(setupFilex86)
+ .wizard(this._wizard)
+ .to(this.prefixDirectory + "/TMP/")
+ .extract(["-L", "-F", "x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll"]);
+
+ cp(this.prefixDirectory + "/TMP/" + "x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll", this.system32directory());
+
+ remove(this.prefixDirectory + "/TMP/");
+
+ if (this.architecture() == "amd64") {
+ var setupFilex64 = new Resource()
.wizard(this._wizard)
- .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe")
- .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa")
- .name("windows6.1-KB976932-X86.exe")
+ .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe")
+ .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab")
+ .name("windows6.1-KB976932-X64.exe")
.get();
-
- new CabExtract()
- .archive(setupFile)
+
+ new CabExtract()
+ .archive(setupFilex64)
.wizard(this._wizard)
.to(this.prefixDirectory + "/TMP/")
- .extract(["-L", "-F", "x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll"]);
-
- cp(this.prefixDirectory + "/TMP/" + "x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll", this.system32directory());
-
- remove(this.prefixDirectory + "/TMP/");
-
- if (this.architecture() == "amd64") {
- var setupFile = new Resource()
- .wizard(this._wizard)
- .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe")
- .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab")
- .name("windows6.1-KB976932-X64.exe")
- .get();
-
- new CabExtract()
- .archive(setupFile)
- .wizard(this._wizard)
- .to(this.prefixDirectory + "/TMP/")
- .extract(["-L", "-F", "amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll"]);
-
- cp(this.prefixDirectory + "/TMP/" + "amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll", this.system64directory());
-
- remove(this.prefixDirectory + "/TMP/");
- }
-
- this.overrideDLL()
- .set("native, builtin", ["secur32"])
- .do()
-
- return this;
+ .extract(["-L", "-F", "amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll"]);
+
+ cp(this.prefixDirectory + "/TMP/" + "amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll", this.system64directory());
+
+ remove(this.prefixDirectory + "/TMP/");
+ }
+
+ this.overrideDLL()
+ .set("native, builtin", ["secur32"])
+ .do()
+
+ return this;
}
diff --git a/Engines/Wine/Verbs/secur32/script.json b/Engines/Wine/Verbs/secur32/script.json
new file mode 100644
index 0000000000..e2e87cbad2
--- /dev/null
+++ b/Engines/Wine/Verbs/secur32/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "secur32",
+ "id": "secur32",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/vcrun2003/script.js b/Engines/Wine/Verbs/vcrun2003/script.js
index d59d976760..d61265ab95 100644
--- a/Engines/Wine/Verbs/vcrun2003/script.js
+++ b/Engines/Wine/Verbs/vcrun2003/script.js
@@ -1,9 +1,13 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["utils", "functions", "filesystem", "files"]);
+include(["engines", "wine", "verbs", "luna"]);
-Wine.prototype.vcrun2003 = function() {
+/**
+* Verb to install vcrun2003
+* @returns {Wine} Wine object
+*/
+Wine.prototype.vcrun2003 = function () {
var setupFile = new Resource()
.wizard(this._wizard)
.url("https://sourceforge.net/projects/bzflag/files/bzedit%20win32/1.6.5/BZEditW32_1.6.5.exe")
diff --git a/Engines/Wine/Verbs/vcrun2003/script.json b/Engines/Wine/Verbs/vcrun2003/script.json
new file mode 100644
index 0000000000..35f2608071
--- /dev/null
+++ b/Engines/Wine/Verbs/vcrun2003/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "vcrun2003",
+ "id": "vcrun2003",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/vcrun2005/script.js b/Engines/Wine/Verbs/vcrun2005/script.js
index 0631032258..b9a7744431 100644
--- a/Engines/Wine/Verbs/vcrun2005/script.js
+++ b/Engines/Wine/Verbs/vcrun2005/script.js
@@ -1,8 +1,12 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
-Wine.prototype.vcrun2005 = function() {
+/**
+* Verb to install vcrun2005
+* @returns {Wine} Wine object
+*/
+Wine.prototype.vcrun2005 = function () {
var setupFile = new Resource()
.wizard(this._wizard)
.url("http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE")
diff --git a/Engines/Wine/Verbs/vcrun2005/script.json b/Engines/Wine/Verbs/vcrun2005/script.json
new file mode 100644
index 0000000000..2c0b572f1f
--- /dev/null
+++ b/Engines/Wine/Verbs/vcrun2005/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "vcrun2005",
+ "id": "vcrun2005",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/vcrun2008/script.js b/Engines/Wine/Verbs/vcrun2008/script.js
index 0f0bd5bd7c..0c6310aa6a 100644
--- a/Engines/Wine/Verbs/vcrun2008/script.js
+++ b/Engines/Wine/Verbs/vcrun2008/script.js
@@ -1,8 +1,12 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
-Wine.prototype.vcrun2008 = function() {
+/**
+* Verb to install vcrun2008
+* @returns {Wine} Wine object
+*/
+Wine.prototype.vcrun2008 = function () {
var setupFile32 = new Resource()
.wizard(this._wizard)
.url("http://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe")
diff --git a/Engines/Wine/Verbs/vcrun2008/script.json b/Engines/Wine/Verbs/vcrun2008/script.json
new file mode 100644
index 0000000000..fbfb8ab436
--- /dev/null
+++ b/Engines/Wine/Verbs/vcrun2008/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "vcrun2008",
+ "id": "vcrun2008",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/vcrun2010/script.js b/Engines/Wine/Verbs/vcrun2010/script.js
index 67e47ff36d..2afd33507c 100644
--- a/Engines/Wine/Verbs/vcrun2010/script.js
+++ b/Engines/Wine/Verbs/vcrun2010/script.js
@@ -1,8 +1,12 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
-Wine.prototype.vcrun2010 = function() {
+/**
+* Verb to install vcrun2010
+* @returns {Wine} Wine object
+*/
+Wine.prototype.vcrun2010 = function () {
var setupFile32 = new Resource()
.wizard(this._wizard)
.url("http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86.exe")
diff --git a/Engines/Wine/Verbs/vcrun2010/script.json b/Engines/Wine/Verbs/vcrun2010/script.json
new file mode 100644
index 0000000000..65517f0b1c
--- /dev/null
+++ b/Engines/Wine/Verbs/vcrun2010/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "vcrun2010",
+ "id": "vcrun2010",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/vcrun2012/script.js b/Engines/Wine/Verbs/vcrun2012/script.js
index d66147fe50..cea3edc0fb 100644
--- a/Engines/Wine/Verbs/vcrun2012/script.js
+++ b/Engines/Wine/Verbs/vcrun2012/script.js
@@ -1,8 +1,12 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
-Wine.prototype.vcrun2012 = function() {
+/**
+* Verb to install vcrun2012
+* @returns {Wine} Wine object
+*/
+Wine.prototype.vcrun2012 = function () {
var setupFile32 = new Resource()
.wizard(this._wizard)
.url("http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe")
diff --git a/Engines/Wine/Verbs/vcrun2012/script.json b/Engines/Wine/Verbs/vcrun2012/script.json
new file mode 100644
index 0000000000..7513d0e01f
--- /dev/null
+++ b/Engines/Wine/Verbs/vcrun2012/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "vcrun2012",
+ "id": "vcrun2012",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/vcrun2013/script.js b/Engines/Wine/Verbs/vcrun2013/script.js
index 89eb015ce9..2892bf1b6c 100644
--- a/Engines/Wine/Verbs/vcrun2013/script.js
+++ b/Engines/Wine/Verbs/vcrun2013/script.js
@@ -1,8 +1,12 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
-Wine.prototype.vcrun2013 = function() {
+/**
+* Verb to install vcrun2013
+* @returns {Wine} Wine object
+*/
+Wine.prototype.vcrun2013 = function () {
var setupFile32 = new Resource()
.wizard(this._wizard)
.url("http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe")
@@ -11,7 +15,7 @@ Wine.prototype.vcrun2013 = function() {
.get();
this.run(setupFile32, "/q")
- .wait(tr("Please wait while {0} is installed ...","Microsoft Visual C++ 2013 Redistributable (x86)"));
+ .wait(tr("Please wait while {0} is installed ...", "Microsoft Visual C++ 2013 Redistributable (x86)"));
if (this.architecture() == "amd64") {
var setupFile64 = new Resource()
@@ -22,7 +26,7 @@ Wine.prototype.vcrun2013 = function() {
.get();
this.run(setupFile64, "/q")
- .wait(tr("Please wait while {0} is installed ...","Microsoft Visual C++ 2013 Redistributable (x64)"));
+ .wait(tr("Please wait while {0} is installed ...", "Microsoft Visual C++ 2013 Redistributable (x64)"));
}
this.overrideDLL()
diff --git a/Engines/Wine/Verbs/vcrun2013/script.json b/Engines/Wine/Verbs/vcrun2013/script.json
new file mode 100644
index 0000000000..62b6bec599
--- /dev/null
+++ b/Engines/Wine/Verbs/vcrun2013/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "vcrun2013",
+ "id": "vcrun2013",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/vcrun2015/script.js b/Engines/Wine/Verbs/vcrun2015/script.js
index 81f16c5add..a2db22d03c 100644
--- a/Engines/Wine/Verbs/vcrun2015/script.js
+++ b/Engines/Wine/Verbs/vcrun2015/script.js
@@ -1,8 +1,12 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Engines", "Wine", "Verbs", "luna"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["engines", "wine", "verbs", "luna"]);
-Wine.prototype.vcrun2015 = function() {
+/**
+* Verb to install vcrun2015
+* @returns {Wine} Wine object
+*/
+Wine.prototype.vcrun2015 = function () {
var setupFile32 = new Resource()
.wizard(this._wizard)
.url("https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe")
diff --git a/Engines/Wine/Verbs/vcrun2015/script.json b/Engines/Wine/Verbs/vcrun2015/script.json
new file mode 100644
index 0000000000..65433a3504
--- /dev/null
+++ b/Engines/Wine/Verbs/vcrun2015/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "vcrun2015",
+ "id": "vcrun2015",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/Verbs/xact/script.js b/Engines/Wine/Verbs/xact/script.js
index 25bc87fc47..53f2af9ece 100644
--- a/Engines/Wine/Verbs/xact/script.js
+++ b/Engines/Wine/Verbs/xact/script.js
@@ -1,18 +1,17 @@
-include(["Engines", "Wine", "Engine", "Object"]);
-include(["Utils", "Functions", "Net", "Resource"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["engines", "wine", "engine", "object"]);
+include(["utils", "functions", "net", "resource"]);
+include(["utils", "functions", "filesystem", "files"]);
/**
-* Inspired from d3dx9 verb, winetricks xact
-* -> https://github.com/Winetricks/winetricks/blob/63bc6dbe612d017a0cb6bf6e4cde265162d75bca/src/winetricks#L9643
-* @returns {Wine}
+* Verb to install xact
+* @returns {Wine} Wine object
*/
Wine.prototype.xact = function () {
var that = this;
- var extractFiles = function(progressBar, filesToExtract, destination, pattern, directory) {
+ var extractFiles = function (progressBar, filesToExtract, destination, pattern, directory) {
var numberOfExtractedFiles = 0;
- filesToExtract.forEach(function(cabFile) {
+ filesToExtract.forEach(function (cabFile) {
print(tr("Extracting {0} ...", cabFile));
progressBar.setText(tr("Extracting {0} ...", "Xact"));
progressBar.setProgressPercentage(numberOfExtractedFiles * 100 / filesToExtract.length);
@@ -25,11 +24,11 @@ Wine.prototype.xact = function () {
numberOfExtractedFiles++;
});
};
-
- //This function executes regsvr32 on the dlls present in dllToRegsvr
- var regsvr32Xact = function(progressBar, dllToRegsvr) {
+
+ //This function executes regsvr32 on the dlls present in dllToRegsvr
+ var regsvr32Xact = function (progressBar, dllToRegsvr) {
var numberOfExtractedFiles = 0;
- dllToRegsvr.forEach(function(dll) {
+ dllToRegsvr.forEach(function (dll) {
print(tr("Registering {0} ...", dll));
progressBar.setText(tr("Registering {0} ...", "Xact"));
progressBar.setProgressPercentage(numberOfExtractedFiles * 100 / filesToExtract.length);
@@ -51,72 +50,74 @@ Wine.prototype.xact = function () {
progressBar.setText(tr("Extracting {0} ...", "Xact"));
progressBar.setProgressPercentage(0.);
+ var filesToExtract = []
+
//---------------------------------------------------------Extract xactengine*.dll--------------------------------------------
new CabExtract()
.archive(setupFile)
.to(this.prefixDirectory + "/drive_c/xact_x86/")
.extract(["-L", "-F", "*_xact_*x86*"]);
- var filesToExtract = [
+ filesToExtract = [
"apr2006_xact_x86.cab", "apr2007_xact_x86.cab", "aug2006_xact_x86.cab",
"aug2007_xact_x86.cab", "aug2008_xact_x86.cab", "aug2009_xact_x86.cab",
"dec2006_xact_x86.cab", "fev2006_xact_x86.cab", "fev2007_xact_x86.cab",
"fev2010_xact_x86.cab", "jun2006_xact_x86.cab", "jun2007_xact_x86.cab",
"jun2008_xact_x86.cab", "jun2010_xact_x86.cab", "mar2008_xact_x86.cab",
"mar2009_xact_x86.cab", "nov2007_xact_x86.cab", "nov2008_xact_x86.cab",
- "oct2006_xact_x86.cab",
+ "oct2006_xact_x86.cab",
];
extractFiles(progressBar, filesToExtract, that.system32directory(), "xactengine*.dll", "xact_x86/");
-
-
+
+
//---------------------------------------------------------Extract X3Daudio*.dll----------------------------------------------
new CabExtract()
.archive(setupFile)
.to(this.prefixDirectory + "/drive_c/x3daudio_x86/")
.extract(["-L", "-F", "*_x3daudio_*x86*"]);
-
- var filesToExtract = [
+
+ filesToExtract = [
"feb2010_x3daudio_x86.cab", "jun2008_x3daudio_x86.cab", "mar2008_x3daudio_x86.cab",
"mar2009_x3daudio_x86.cab", "nov2007_x3daudio_x86.cab", "nov2008_x3daudio_x86.cab"
];
extractFiles(progressBar, filesToExtract, that.system32directory(), "X3Daudio*.dll", "x3daudio_x86/");
-
-
+
+
//---------------------------------------------------------Extract XAudio*.dll and XAPOFX*.dll---------------------------------
new CabExtract()
.archive(setupFile)
.to(this.prefixDirectory + "/drive_c/xaudio_x86/")
.extract(["-L", "-F", "*_xaudio_*x86*"]);
-
- var filesToExtract = [
+
+ filesToExtract = [
"aug2008_xaudio_x86.cab", "aug2009_xaudio_x86.cab", "feb2010_xaudio_x86.cab",
"jun2008_xaudio_x86.cab", "jun2010_xaudio_x86.cab", "mar2008_xaudio_x86.cab",
"mar2009_xaudio_x86.cab", "nov2008_xaudio_x86.cab"
];
extractFiles(progressBar, filesToExtract, that.system32directory(), "XAudio*.dll", "xaudio_x86/");
extractFiles(progressBar, filesToExtract, that.system32directory(), "XAPOFX*.dll", "xaudio_x86/");
-
+
var xactToRegserv = [
"xactengine2_1.dll", "xactengine2_2.dll", "xactengine2_3.dll", "xactengine2_4.dll",
"xactengine2_5.dll", "xactengine2_7.dll", "xactengine2_8.dll", "xactengine2_9.dll",
"xactengine2_10.dll", "xactengine3_0.dll", "xactengine3_1.dll", "xactengine3_2.dll",
"xactengine3_3.dll", "xactengine3_4.dll", "xactengine3_5.dll", "xactengine3_7.dll"
];
-
+
var xaudioToRegserv = [
"xaudio2_0.dll", "xaudio2_1.dll", "xaudio2_2.dll",
"xaudio2_3.dll", "xaudio2_4.dll", "xaudio2_5.dll",
"xaudio2_6.dll", "xaudio2_7.dll", "xaudio2_9.dll"
];
-
+
regsvr32Xact(progressBar, xactToRegserv);
regsvr32Xact(progressBar, xaudioToRegserv);
-
+
remove(this.prefixDirectory + "/drive_c/xact_x86/");
remove(this.prefixDirectory + "/drive_c/x3daudio_x86/");
remove(this.prefixDirectory + "/drive_c/xaudio_x86/");
-
-
+
+
if (this.architecture() == "amd64") {
//---------------------------------------------------------Extract xactengine*.dll (x64)--------------------------------------------
new CabExtract()
@@ -124,51 +125,51 @@ Wine.prototype.xact = function () {
.to(this.prefixDirectory + "/drive_c/xact_x64/")
.extract(["-L", "-F", "*_xact_*x64*"]);
- var filesToExtract = [
+ filesToExtract = [
"apr2006_xact_x64.cab", "apr2007_xact_x64.cab", "aug2006_xact_x64.cab",
"aug2007_xact_x64.cab", "aug2008_xact_x64.cab", "aug2009_xact_x64.cab",
"dec2006_xact_x64.cab", "fev2006_xact_x64.cab", "fev2007_xact_x64.cab",
"fev2010_xact_x64.cab", "jun2006_xact_x64.cab", "jun2007_xact_x64.cab",
"jun2008_xact_x64.cab", "jun2010_xact_x64.cab", "mar2008_xact_x64.cab",
"mar2009_xact_x64.cab", "nov2007_xact_x64.cab", "nov2008_xact_x64.cab",
- "oct2006_xact_x64.cab",
+ "oct2006_xact_x64.cab",
];
extractFiles(progressBar, filesToExtract, that.system64directory(), "xactengine*.dll", "xact_x64/");
-
-
+
+
//---------------------------------------------------------Extract X3Daudio*.dll (x64)----------------------------------------------
new CabExtract()
.archive(setupFile)
.to(this.prefixDirectory + "/drive_c/x3daudio_x64/")
.extract(["-L", "-F", "*_x3daudio_*x64*"]);
-
- var filesToExtract = [
+
+ filesToExtract = [
"feb2010_x3daudio_x64.cab", "jun2008_x3daudio_x64.cab", "mar2008_x3daudio_x64.cab",
"mar2009_x3daudio_x64.cab", "nov2007_x3daudio_x64.cab", "nov2008_x3daudio_x64.cab"
];
extractFiles(progressBar, filesToExtract, that.system64directory(), "X3Daudio*.dll", "x3daudio_x64/");
-
-
+
+
//---------------------------------------------------------Extract XAudio*.dll and XAPOFX*.dll (x64)---------------------------------
new CabExtract()
.archive(setupFile)
.to(this.prefixDirectory + "/drive_c/xaudio_x64/")
.extract(["-L", "-F", "*_xaudio_*64*"]);
-
- var filesToExtract = [
+
+ filesToExtract = [
"aug2008_xaudio_x64.cab", "aug2009_xaudio_x64.cab", "feb2010_xaudio_x64.cab",
"jun2008_xaudio_x64.cab", "jun2010_xaudio_x64.cab", "mar2008_xaudio_x64.cab",
"mar2009_xaudio_x64.cab", "nov2008_xaudio_x64.cab"
];
extractFiles(progressBar, filesToExtract, that.system64directory(), "XAudio*.dll", "xaudio_x64/");
extractFiles(progressBar, filesToExtract, that.system64directory(), "XAPOFX*.dll", "xaudio_x64/");
-
+
remove(this.prefixDirectory + "/drive_c/xact_x64/");
remove(this.prefixDirectory + "/drive_c/x3daudio_x64/");
remove(this.prefixDirectory + "/drive_c/xaudio_x64/");
-
+
}
-
+
return this;
};
diff --git a/Engines/Wine/Verbs/xact/script.json b/Engines/Wine/Verbs/xact/script.json
new file mode 100644
index 0000000000..e7bc6b7b2c
--- /dev/null
+++ b/Engines/Wine/Verbs/xact/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "xact",
+ "id": "xact",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Engines/Wine/category.json b/Engines/Wine/category.json
index fbb67d7786..105204dd2e 100644
--- a/Engines/Wine/category.json
+++ b/Engines/Wine/category.json
@@ -1,4 +1,5 @@
{
"name": "Wine",
+ "id": "wine",
"type": "FUNCTIONS"
}
diff --git a/Engines/type.json b/Engines/type.json
index 9df931a79b..8e99a7047f 100644
--- a/Engines/type.json
+++ b/Engines/type.json
@@ -1,3 +1,4 @@
{
- "name": "Engines"
+ "name": "Engines",
+ "id": "engines"
}
diff --git a/README.md b/README.md
index 901e27dbf0..75ac76becd 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-[![Build Status](https://travis-ci.org/PhoenicisOrg/Scripts.svg?branch=master)](https://travis-ci.org/PhoenicisOrg/Scripts)
-[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ec5268b4e2c0412ead8d90e561795fd1)](https://app.codacy.com/app/PhoenicisOrg/Scripts?utm_source=github.com&utm_medium=referral&utm_content=PhoenicisOrg/Scripts&utm_campaign=badger)
+[![Build Status](https://travis-ci.org/PhoenicisOrg/scripts.svg?branch=master)](https://travis-ci.org/PhoenicisOrg/scripts)
+[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ff0c41daa31549e4a9bb3998ca0c87ae)](https://www.codacy.com/app/PhoenicisOrg/scripts?utm_source=github.com&utm_medium=referral&utm_content=PhoenicisOrg/scripts&utm_campaign=Badge_Grade)
[![Crowdin Badge](https://d322cqt584bo4o.cloudfront.net/phoenicis-scripts/localized.svg)](https://crowdin.com/project/phoenicis-scripts)
# How to add a script
@@ -31,8 +31,8 @@
Even if the application name contains ®, ™ or the like, you should not use it in the folder name.
3. Fill the files:
- * [script.js](https://github.com/PlayOnLinux/Scripts/wiki/script.js): actual installation script
- * [script.json](https://github.com/PlayOnLinux/Scripts/wiki/script.json): describes the installation script
+ * [script.js](https://phoenicisorg.github.io/scripts/script-js): actual installation script
+ * [script.json](https://phoenicisorg.github.io/scripts/script-json): describes the installation script
```json
{
"scriptName": "Online",
@@ -43,7 +43,7 @@
}
```
* main.png: application icon (400px x 300px)
- * [application.json](https://github.com/PlayOnLinux/Scripts/wiki/application.json): describes the application
+ * [application.json](https://phoenicisorg.github.io/scripts/application-json): describes the application
```json
{
"name": "Steam",
@@ -54,5 +54,5 @@
4. Create a pull request
* Please create one pull request per script if you want to commit multiple scripts.
* use the following naming convention
- * for a new script: "added \" (e.g. "added 7-zip")
- * for an updated script: "updated \ \" (e.g. "updated 7-zip to use Wine 2.1")
+ * for a new script: "Add \" (e.g. "Add 7-zip")
+ * for an updated script: "Update \ \" (e.g. "Update 7-zip to use Wine 2.1")
diff --git a/Utils/Functions/Apps/Resources/script.js b/Utils/Functions/Apps/Resources/script.js
index a495a842eb..ca6c15f2c9 100644
--- a/Utils/Functions/Apps/Resources/script.js
+++ b/Utils/Functions/Apps/Resources/script.js
@@ -1,24 +1,36 @@
-var AppResource = function() {
- var that = this;
- that._appsManager = Bean("repositoryManager");
+/**
+* AppResource prototype
+* @constructor
+*/
+function AppResource() {
+ this._appsManager = Bean("repositoryManager");
+}
- this.application = function(application) {
- that._application = application;
- return that;
- };
+/**
+* sets application
+* @param {string} application application of the resource
+* @returns {AppResource} AppResource object
+*/
+AppResource.prototype.application = function (application) {
+ this._application = application;
+ return this;
+}
- this.get = function(resourceName) {
- var application = that._appsManager.getApplication(that._application);
- var foundResource = null;
- if(application != null && application.resources != null) {
- application.resources.forEach(function(resource) {
- if(resource.name == resourceName) {
- foundResource = resource.content;
- }
- });
- }
-
- return foundResource;
+/**
+* returns resource
+* @param {string} resourceName name of the resource
+* @returns {Resource} found resource
+*/
+AppResource.prototype.get = function (resourceName) {
+ var application = this._appsManager.getApplication(this._application);
+ var foundResource = null;
+ if (application != null && application.resources != null) {
+ application.resources.forEach(function (resource) {
+ if (resource.name == resourceName) {
+ foundResource = resource.content;
+ }
+ });
}
-};
+ return foundResource;
+}
\ No newline at end of file
diff --git a/Utils/Functions/Apps/Resources/script.json b/Utils/Functions/Apps/Resources/script.json
new file mode 100644
index 0000000000..d38370ee45
--- /dev/null
+++ b/Utils/Functions/Apps/Resources/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "App Resources",
+ "id": "resources",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Utils/Functions/Apps/application.json b/Utils/Functions/Apps/application.json
new file mode 100644
index 0000000000..79f5c64106
--- /dev/null
+++ b/Utils/Functions/Apps/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "App Utils",
+ "id": "apps",
+ "description": "Utils for apps."
+}
diff --git a/Utils/Functions/Filesystem/Extract/script.js b/Utils/Functions/Filesystem/Extract/script.js
index 269f8ecac2..67f62525c3 100644
--- a/Utils/Functions/Filesystem/Extract/script.js
+++ b/Utils/Functions/Filesystem/Extract/script.js
@@ -1,83 +1,142 @@
-include(["Utils", "Functions", "Filesystem", "Files"]);
-
-var CabExtract = function() {
- var that = this;
-
- that.wizard = function (wizard) {
- that._wizard = wizard;
- return that;
- };
-
- that.archive = function (archive) {
- that._archive = archive;
- return that;
- };
-
- that.message = function (progressMessage) {
- that._progressMessage = progressMessage;
- return that;
- };
-
- that.to = function (destination) {
- that._destination = destination;
- return that;
- };
-
- that.extract = function(arguments) {
- if (!that._progressMessage) {
- that._progressMessage = tr("Please wait while {0} is extracted ...", that._archive);
- }
-
- if(that._wizard) {
- var progressBar = that._wizard.progressBar(that._progressMessage);
- }
-
- var processArguments;
- if(arguments) {
- processArguments = ["cabextract"].concat(arguments).concat([that._archive]);
- } else {
- processArguments = ["cabextract", that._archive];
- }
-
- print("Extracting to: " + that._destination);
- mkdir(that._destination);
- var processBuilder = new java.lang.ProcessBuilder(Java.to(processArguments, "java.lang.String[]"));
- processBuilder.directory(new java.io.File(that._destination));
- processBuilder.inheritIO();
- processBuilder.start().waitFor();
+include(["utils", "functions", "filesystem", "files"]);
+
+/**
+* CabExtract prototype
+* @constructor
+*/
+function CabExtract() {
+}
+
+/**
+* sets wizard
+* @param {SetupWizard} wizard setup wizard
+* @returns {CabExtract} CabExtract object
+*/
+CabExtract.prototype.wizard = function (wizard) {
+ this._wizard = wizard;
+ return this;
+}
+
+/**
+* sets archive
+* @param {string} archive archive which shall be extracted
+* @returns {CabExtract} CabExtract object
+*/
+CabExtract.prototype.archive = function (archive) {
+ this._archive = archive;
+ return this;
+}
+
+/**
+* sets progress message text
+* @param {string} progressMessage progress message
+* @returns {CabExtract} CabExtract object
+*/
+CabExtract.prototype.message = function (progressMessage) {
+ this._progressMessage = progressMessage;
+ return this;
+}
+
+/**
+* sets destination
+* @param {string} destination place where the archive shall be extracted
+* @returns {CabExtract} CabExtract object
+*/
+CabExtract.prototype.to = function (destination) {
+ this._destination = destination;
+ return this;
+}
+
+/**
+* extracts archive
+* @param {string} args arguments for the extraction
+* @returns {void}
+*/
+CabExtract.prototype.extract = function (args) {
+ if (!this._progressMessage) {
+ this._progressMessage = tr("Please wait while {0} is extracted ...", this._archive);
+ }
+
+ if (this._wizard) {
+ var progressBar = this._wizard.progressBar(this._progressMessage);
+ }
+
+ var processArguments;
+ if (args) {
+ processArguments = ["cabextract"].concat(args).concat([this._archive]);
+ } else {
+ processArguments = ["cabextract", this._archive];
}
-};
-
-var Extractor = function () {
- var that = this;
- that._extractor = Bean("extractor");
- that.wizard = function (wizard) {
- that._wizard = wizard;
- return that;
- };
- that.archive = function (archive) {
- that._archive = archive;
- return that;
- };
- that.message = function (progressMessage) {
- that._progressMessage = progressMessage;
- return that;
- };
- that.to = function (destination) {
- that._destination = destination;
- return that;
- };
- that.extract = function () {
- if (!that._progressMessage) {
- that._progressMessage = tr("Please wait while {0} is extracted ...", that._archive);
- }
-
- var progressBar = that._wizard.progressBar(that._progressMessage);
-
- mkdir(that._destination);
- that._extractor.uncompress(that._archive, that._destination, function (progress) {
- progressBar.accept(progress);
- });
+ print("Extracting to: " + this._destination);
+ mkdir(this._destination);
+ var processBuilder = new java.lang.ProcessBuilder(Java.to(processArguments, "java.lang.String[]"));
+ processBuilder.directory(new java.io.File(this._destination));
+ processBuilder.inheritIO();
+ processBuilder.start().waitFor();
+}
+
+/**
+* Extractor prototype
+* @constructor
+*/
+function Extractor() {
+ this._extractor = Bean("extractor");
+}
+
+/**
+* sets wizard
+* @param {SetupWizard} wizard setup wizard
+* @returns {Extractor} Extractor object
+*/
+Extractor.prototype.wizard = function (wizard) {
+ this._wizard = wizard;
+ return this;
+}
+
+/**
+* sets archive
+* @param {string} archive archive which shall be extracted
+* @returns {Extractor} Extractor object
+*/
+Extractor.prototype.archive = function (archive) {
+ this._archive = archive;
+ return this;
+}
+
+/**
+* sets progress message text
+* @param {string} progressMessage progress message
+* @returns {Extractor} Extractor object
+*/
+Extractor.prototype.message = function (progressMessage) {
+ this._progressMessage = progressMessage;
+ return this;
+}
+
+/**
+* sets destination
+* @param {string} destination place where the archive shall be extracted
+* @returns {Extractor} Extractor object
+*/
+Extractor.prototype.to = function (destination) {
+ this._destination = destination;
+ return this;
+}
+
+/**
+* extracts archive
+* @returns {void}
+*/
+Extractor.prototype.extract = function () {
+ if (!this._progressMessage) {
+ this._progressMessage = tr("Please wait while {0} is extracted ...", this._archive);
}
-};
\ No newline at end of file
+
+ var progressBar = this._wizard.progressBar(this._progressMessage);
+
+ mkdir(this._destination);
+ this._extractor.uncompress(this._archive, this._destination, function (progress) {
+ progressBar.accept(progress);
+ });
+}
diff --git a/Utils/Functions/Filesystem/Extract/script.json b/Utils/Functions/Filesystem/Extract/script.json
new file mode 100644
index 0000000000..3f2e67d169
--- /dev/null
+++ b/Utils/Functions/Filesystem/Extract/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "File Extractors",
+ "id": "extract",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Utils/Functions/Filesystem/Files/script.js b/Utils/Functions/Filesystem/Files/script.js
index 48bdece364..ddc4bdac87 100644
--- a/Utils/Functions/Filesystem/Files/script.js
+++ b/Utils/Functions/Filesystem/Files/script.js
@@ -1,78 +1,162 @@
var fileAnalyser = Bean("fileAnalyser");
var fileUtilities = Bean("fileUtilities");
-var mkdir = function (directoryPath) {
+/**
+* creates directory
+* @param {string} directoryPath directory path
+* @returns {void}
+*/
+function mkdir(directoryPath) { // eslint-disable-line no-unused-vars
fileUtilities.mkdir(new java.io.File(directoryPath))
-};
+}
-var fileExists = function (filePath) {
+/**
+* check if file exists
+* @param {string} filePath file path
+* @returns {boolean} true if file exists
+*/
+function fileExists(filePath) { // eslint-disable-line no-unused-vars
return new java.io.File(filePath).exists();
-};
+}
-var cat = function(filePath) {
+/**
+* returns file content
+* @param {string} filePath file path
+* @returns {string} content
+*/
+function cat(filePath) { // eslint-disable-line no-unused-vars
return Bean("fileUtilities").getFileContent(new java.io.File(filePath));
-};
+}
-var cp = function(source, target) {
+/**
+* copies file
+* @param {string} source source
+* @param {string} target target
+* @returns {void}
+*/
+function cp(source, target) { // eslint-disable-line no-unused-vars
return Bean("fileUtilities").copy(new java.io.File(source), new java.io.File(target));
-};
+}
-var getFileSize = function(filePath) {
+/**
+* returns file size
+* @param {string} filePath file path
+* @returns {number} file size
+*/
+function getFileSize(filePath) { // eslint-disable-line no-unused-vars
return Bean("fileUtilities").getSize(new java.io.File(filePath));
-};
+}
-var fileName = function(filePath) {
+/**
+* returns file name
+* @param {string} filePath file path
+* @returns {string} file name
+*/
+function fileName(filePath) { // eslint-disable-line no-unused-vars
return new java.io.File(filePath).getName();
-};
+}
-var lns = function(target, destination) {
+/**
+* creates link
+* @param {string} target target
+* @param {string} destination destination
+* @returns {void}
+*/
+function lns(target, destination) { // eslint-disable-line no-unused-vars
return Bean("fileUtilities").createSymbolicLink(new java.io.File(destination), new java.io.File(target));
-};
+}
-var remove = function(filePath) {
+/**
+* removes file
+* @param {string} filePath file path
+* @returns {void}
+*/
+function remove(filePath) { // eslint-disable-line no-unused-vars
return Bean("fileUtilities").remove(new java.io.File(filePath));
-};
+}
-var touch = function(filePath) {
+/**
+* creates empty file
+* @param {string} filePath file path
+* @returns {void}
+*/
+function touch(filePath) { // eslint-disable-line no-unused-vars
if (!fileExists(filePath)) {
Bean("fileUtilities").writeToFile(new java.io.File(filePath), "");
}
-};
+}
-var writeToFile = function(filePath, content) {
+/**
+* writes content into file
+* @param {string} filePath file path
+* @param {string} content content which shall be written
+* @returns {void}
+*/
+function writeToFile(filePath, content) { // eslint-disable-line no-unused-vars
Bean("fileUtilities").writeToFile(new java.io.File(filePath), content);
-};
+}
-var createTempFile = function (extension) {
+/**
+* creates temporary file
+* @param {string} extension file extension
+* @returns {string} file path of created temporary file
+*/
+function createTempFile(extension) { // eslint-disable-line no-unused-vars
var tmpFile = Bean("fileUtilities").createTmpFile(extension);
return tmpFile.getAbsolutePath();
-};
-
-var Checksum = function () {
- var that = this;
- that._method = "SHA";
- that._checksumCalculator = Bean("checksumCalculator");
- that.wizard = function (wizard) {
- that._wizard = wizard;
- return that;
- };
- that.method = function (algorithm) {
- that._method = algorithm;
- return that;
- };
- that.of = function (file) {
- that._file = file;
- return that;
- };
- that.get = function () {
- if(that._wizard) {
- var progressBar = that._wizard.progressBar(tr("Checking file consistency ..."));
- }
+}
+
+/**
+* Checksum prototype
+* @constructor
+*/
+function Checksum() {
+ this._method = "SHA";
+ this._checksumCalculator = Bean("checksumCalculator");
+}
+
+/**
+* sets wizard
+* @param {SetupWizard} wizard setup wizard
+* @returns {Checksum} Checksum object
+*/
+Checksum.prototype.wizard = function (wizard) {
+ this._wizard = wizard;
+ return this;
+}
+
+/**
+* sets checksum algorithm
+* @param {string} algorithm algorithm (e.g. "SHA")
+* @returns {Checksum} Checksum object
+*/
+Checksum.prototype.method = function (algorithm) {
+ this._method = algorithm;
+ return this;
+}
- return that._checksumCalculator.calculate(that._file, that._method, function (progressEntity) {
- if(progressBar) {
- progressBar.accept(progressEntity);
- }
- });
+/**
+* sets file for which the checksum shall be computed
+* @param {string} file file for which the checksum shall be computed
+* @returns {Checksum} Checksum object
+*/
+Checksum.prototype.of = function (file) {
+ this._file = file;
+ return this;
+}
+
+/**
+* returns calculated checksum
+* @returns {string} calculated checksum
+*/
+Checksum.prototype.get = function () {
+ if (this._wizard) {
+ var progressBar = this._wizard.progressBar(tr("Checking file consistency ..."));
}
-};
+
+ return this._checksumCalculator.calculate(this._file, this._method, function (progressEntity) {
+ if (progressBar) {
+ progressBar.accept(progressEntity);
+ }
+ });
+}
\ No newline at end of file
diff --git a/Utils/Functions/Filesystem/Files/script.json b/Utils/Functions/Filesystem/Files/script.json
new file mode 100644
index 0000000000..2094cb210e
--- /dev/null
+++ b/Utils/Functions/Filesystem/Files/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "File Utilities",
+ "id": "files",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Utils/Functions/Filesystem/application.json b/Utils/Functions/Filesystem/application.json
new file mode 100644
index 0000000000..3748946228
--- /dev/null
+++ b/Utils/Functions/Filesystem/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "Filesystem Utils",
+ "id": "filesystem",
+ "description": "Utils for file system interaction."
+}
diff --git a/Utils/Functions/Net/Download/script.js b/Utils/Functions/Net/Download/script.js
index e1770fdc64..774bbb4b76 100644
--- a/Utils/Functions/Net/Download/script.js
+++ b/Utils/Functions/Net/Download/script.js
@@ -1,86 +1,141 @@
-include(["Utils", "Functions", "Filesystem", "Files"]);
-
-var Downloader = function () {
- var that = this;
- that._downloader = Bean("downloader");
- that._algorithm = "SHA";
-
- that._fetchFileNameFromUrl = function (url) {
- return url.substring(url.lastIndexOf('/') + 1);
- };
- that.wizard = function (wizard) {
- that._wizard = wizard;
- return that;
- };
- that.url = function (url) {
- that._url = url;
- return that;
- };
- that.algorithm = function(algorithm) {
- that._algorithm = algorithm;
- return that;
- };
- that.checksum = function (checksum) {
- that._checksum = checksum;
- return that;
- };
- that.message = function (message) {
- that._message = message;
- return that;
- };
- that.to = function (localFile) {
- that._localFile = localFile;
- return that;
- };
- that.onlyIfUpdateAvailable = function (onlyIfUpdateAvailable) {
- that._onlyIfUpdateAvailable = onlyIfUpdateAvailable;
- return that;
+include(["utils", "functions", "filesystem", "files"]);
+
+/**
+* Downloader prototype
+* @constructor
+*/
+function Downloader() {
+ this._downloader = Bean("downloader");
+ this._algorithm = "SHA";
+}
+
+/**
+* fetches the file name from an URL
+* @param {string} url URL
+* @returns {string} file name
+*/
+Downloader.prototype._fetchFileNameFromUrl = function (url) {
+ return url.substring(url.lastIndexOf('/') + 1);
+}
+
+/**
+* sets wizard
+* @param {SetupWizard} wizard setup wizard
+* @returns {Downloader} Downloader object
+*/
+Downloader.prototype.wizard = function (wizard) {
+ this._wizard = wizard;
+ return this;
+}
+
+/**
+* sets URL which shall be used for the download
+* @param {string} url URL
+* @returns {Downloader} Downloader object
+*/
+Downloader.prototype.url = function (url) {
+ this._url = url;
+ return this;
+}
+
+/**
+* sets algorithm which shall be used to verify the checksum
+* @param {string} algorithm checksum algorithm (e.g. "SHA")
+* @returns {Downloader} Downloader object
+*/
+Downloader.prototype.algorithm = function (algorithm) {
+ this._algorithm = algorithm;
+ return this;
+}
+
+/**
+* sets checksum
+* @param {string} checksum checksum which shall be used to verify the download
+* @returns {Downloader} Downloader object
+*/
+Downloader.prototype.checksum = function (checksum) {
+ this._checksum = checksum;
+ return this;
+}
+
+/**
+* sets message text
+* @param {string} message download message
+* @returns {Downloader} Downloader object
+*/
+Downloader.prototype.message = function (message) {
+ this._message = message;
+ return this;
+}
+
+/**
+* sets destination
+* @param {string} localFile destination of the download
+* @returns {Downloader} Downloader object
+*/
+Downloader.prototype.to = function (localFile) {
+ this._localFile = localFile;
+ return this;
+}
+
+/**
+* specifies if the download shall be executed only if a newer version is available
+* @param {boolean} onlyIfUpdateAvailable true the download shall be executed only if a newer version is available
+* @returns {Downloader} Downloader object
+*/
+Downloader.prototype.onlyIfUpdateAvailable = function (onlyIfUpdateAvailable) {
+ this._onlyIfUpdateAvailable = onlyIfUpdateAvailable;
+ return this;
+}
+
+/**
+* returns downloaded file
+* @returns {String} content of downloaded file
+*/
+Downloader.prototype.get = function () {
+ if (!this._message) {
+ this._message = tr("Please wait while {0} is downloaded ...", this._fetchFileNameFromUrl(this._url));
}
- that.get = function () {
- if (!that._message) {
- that._message = tr("Please wait while {0} is downloaded ...", that._fetchFileNameFromUrl(that._url));
- }
- if(that._wizard) {
- var progressBar = that._wizard.progressBar(that._message);
- }
+ if (this._wizard) {
+ var progressBar = this._wizard.progressBar(this._message);
+ }
- if (that._onlyIfUpdateAvailable) {
- if (!that._downloader.isUpdateAvailable(that._localFile, that._url)) {
- print(that._localFile + " already up-to-date.");
- return;
- }
+ if (this._onlyIfUpdateAvailable) {
+ if (!this._downloader.isUpdateAvailable(this._localFile, this._url)) {
+ print(this._localFile + " already up-to-date.");
+ return;
}
+ }
- if (that._localFile) {
- that._downloader.get(that._url, that._localFile, function (progressEntity) {
- if (progressBar) {
- progressBar.accept(progressEntity);
- }
- });
+ if (this._localFile) {
+ this._downloader.get(this._url, this._localFile, function (progressEntity) {
+ if (progressBar) {
+ progressBar.accept(progressEntity);
+ }
+ });
- if (that._checksum) {
- var fileChecksum = new Checksum()
- .wizard(that._wizard)
- .of(that._localFile)
- .method(that._algorithm)
- .get();
+ if (this._checksum) {
+ var fileChecksum = new Checksum()
+ .wizard(this._wizard)
+ .of(this._localFile)
+ .method(this._algorithm)
+ .get();
- if (fileChecksum != that._checksum) {
- var checksumErrorMessage = tr("Error while calculating checksum. \n\nExpected = {0}\nActual = {1}",
- that._checksum, fileChecksum);
+ if (fileChecksum != this._checksum) {
+ var checksumErrorMessage = tr("Error while calculating checksum. \n\nExpected = {0}\nActual = {1}",
+ this._checksum, fileChecksum);
- that._wizard.message(checksumErrorMessage);
+ this._wizard.message(checksumErrorMessage);
- throw checksumErrorMessage;
- }
+ throw checksumErrorMessage;
}
- } else {
- return that._downloader.get(that._url, function (progressEntity) {
- if (progressBar) {
- progressBar.accept(progressEntity);
- }
- });
}
+ } else {
+ return this._downloader.get(this._url, function (progressEntity) {
+ if (progressBar) {
+ progressBar.accept(progressEntity);
+ }
+ });
}
-};
+}
\ No newline at end of file
diff --git a/Utils/Functions/Net/Download/script.json b/Utils/Functions/Net/Download/script.json
new file mode 100644
index 0000000000..15ca8b2198
--- /dev/null
+++ b/Utils/Functions/Net/Download/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Downloader",
+ "id": "download",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Utils/Functions/Net/Resource/script.js b/Utils/Functions/Net/Resource/script.js
index a2ce50f22b..d95d5a01a1 100644
--- a/Utils/Functions/Net/Resource/script.js
+++ b/Utils/Functions/Net/Resource/script.js
@@ -1,78 +1,110 @@
-include(["Utils", "Functions", "Net", "Download"]);
-include(["Utils", "Functions", "Filesystem", "Files"]);
+include(["utils", "functions", "net", "download"]);
+include(["utils", "functions", "filesystem", "files"]);
-var Resource = function () {
- var that = this;
+/**
+* Resource prototype
+* @constructor
+*/
+function Resource() {
this._algorithm = "SHA";
this._resourcesPath = Bean("propertyReader").getProperty("application.user.resources");
this._directory = "";
+}
- that.wizard = function(wizard) {
- that._wizard = wizard;
- return that;
- };
+/**
+* sets wizard
+* @param {SetupWizard} wizard setup wizard
+* @returns {Resource} Resource object
+*/
+Resource.prototype.wizard = function (wizard) {
+ this._wizard = wizard;
+ return this;
+}
- that.algorithm = function(algorithm) {
- that._algorithm = algorithm;
- return that;
- };
+/**
+* sets algorithm
+* @param {string} algorithm algorithm to verify the checksum (e.g. "SHA")
+* @returns {Resource} Resource object
+*/
+Resource.prototype.algorithm = function (algorithm) {
+ this._algorithm = algorithm;
+ return this;
+}
- that.name = function (name) {
- that._name = name;
- return that;
- };
+/**
+* sets name
+* @param {string} name name of the resource
+* @returns {Resource} Resource object
+*/
+Resource.prototype.name = function (name) {
+ this._name = name;
+ return this;
+}
- that.checksum = function (checksum) {
- that._checksum = checksum;
- return that;
- };
+/**
+* sets checksum which shall be used to verify the resource
+* @param {string} checksum checksum
+* @returns {Resource} Resource object
+*/
+Resource.prototype.checksum = function (checksum) {
+ this._checksum = checksum;
+ return this;
+}
- that.url = function(url) {
- that._url = url;
- return that;
- };
+/**
+* sets URL
+* @param {string} url URL
+* @returns {Resource} Resource object
+*/
+Resource.prototype.url = function (url) {
+ this._url = url;
+ return this;
+}
- /**
- * directory inside the resource directory where the Resource is stored
- * @param {string} directory
- * @returns {Resource}
- */
- that.directory = function(directory) {
- that._directory = directory;
- return that;
- };
+/**
+* sets directory inside the resource directory where the Resource is stored
+* @param {string} directory directory path
+* @returns {Resource} Resource object
+*/
+Resource.prototype.directory = function (directory) {
+ this._directory = directory;
+ return this;
+}
- that.get = function () {
- if (!that._message) {
- that._message = tr("Please wait while {0} is downloaded ...", that._name);
- }
+/**
+* returns the Resource
+* @returns {Resource} downloaded Resource object
+*/
+Resource.prototype.get = function () {
+ if (!this._message) {
+ this._message = tr("Please wait while {0} is downloaded ...", this._name);
+ }
- var resourcesPath = that._resourcesPath + "/" + that._directory;
- mkdir(resourcesPath);
+ var resourcesPath = this._resourcesPath + "/" + this._directory;
+ mkdir(resourcesPath);
- var resourcePath = resourcesPath + "/" + that._name;
+ var resourcePath = resourcesPath + "/" + this._name;
- if (fileExists(resourcePath)) {
- var fileChecksum = new Checksum()
- .wizard(that._wizard)
- .of(resourcePath)
- .method(that._algorithm)
- .get();
+ if (fileExists(resourcePath)) {
+ var fileChecksum = new Checksum()
+ .wizard(this._wizard)
+ .of(resourcePath)
+ .method(this._algorithm)
+ .get();
- if(fileChecksum == that._checksum) {
- return resourcePath;
- }
+ if (fileChecksum == this._checksum) {
+ return resourcePath;
}
+ }
- new Downloader()
- .url(that._url)
- .wizard(that._wizard)
- .message(that._message)
- .checksum(that._checksum)
- .algorithm(that._algorithm)
- .to(resourcePath)
- .get();
+ new Downloader()
+ .url(this._url)
+ .wizard(this._wizard)
+ .message(this._message)
+ .checksum(this._checksum)
+ .algorithm(this._algorithm)
+ .to(resourcePath)
+ .get();
- return resourcePath;
- }
-};
+ return resourcePath;
+}
diff --git a/Utils/Functions/Net/Resource/script.json b/Utils/Functions/Net/Resource/script.json
new file mode 100644
index 0000000000..2efdade80f
--- /dev/null
+++ b/Utils/Functions/Net/Resource/script.json
@@ -0,0 +1,8 @@
+{
+ "scriptName": "Internet Resource",
+ "id": "resource",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
diff --git a/Utils/Functions/Net/application.json b/Utils/Functions/Net/application.json
new file mode 100644
index 0000000000..d1f7e98d0c
--- /dev/null
+++ b/Utils/Functions/Net/application.json
@@ -0,0 +1,5 @@
+{
+ "name": "Net Utils",
+ "id": "net",
+ "description": "Utils for interaction with the Internet."
+}
diff --git a/Utils/Functions/category.json b/Utils/Functions/category.json
index 96a8143123..924375a56d 100644
--- a/Utils/Functions/category.json
+++ b/Utils/Functions/category.json
@@ -1,4 +1,5 @@
{
"name": "Functions",
+ "id": "functions",
"type": "FUNCTIONS"
}
diff --git a/Utils/type.json b/Utils/type.json
index 9d1dd5c3a9..badec75c8b 100644
--- a/Utils/type.json
+++ b/Utils/type.json
@@ -1,3 +1,4 @@
{
- "name": "Utils"
+ "name": "Utils",
+ "id": "utils"
}
diff --git a/crowdin.yml b/crowdin.yml
index 0e4abc2f0a..b70f91888e 100644
--- a/crowdin.yml
+++ b/crowdin.yml
@@ -1,4 +1,4 @@
-commit_message: '[Crowdin] updated translations'
+commit_message: '[Crowdin] Update translations'
files:
- source: /i18n/*.pot
diff --git a/docs/.gitignore b/docs/.gitignore
new file mode 100644
index 0000000000..3fa29d683d
--- /dev/null
+++ b/docs/.gitignore
@@ -0,0 +1,2 @@
+/Gemfile.lock
+/_site/
diff --git a/docs/Gemfile b/docs/Gemfile
new file mode 100644
index 0000000000..bbb65e14f6
--- /dev/null
+++ b/docs/Gemfile
@@ -0,0 +1,11 @@
+source "https://rubygems.org"
+
+gem "jekyll"
+gem "jekyll-remote-theme"
+
+gem "github-pages", group: :jekyll_plugins
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
+
+gem "html-proofer"
diff --git a/docs/_config.yml b/docs/_config.yml
new file mode 100644
index 0000000000..f44cf19cc7
--- /dev/null
+++ b/docs/_config.yml
@@ -0,0 +1,51 @@
+title : Phoenicis Scripts Documentation
+name : phoenicis.org
+description : The documentation for Phoenicis scripts.
+repository : PhoenicisOrg/scripts
+
+remote_theme : mmistakes/minimal-mistakes
+minimal_mistakes_skin : air
+
+markdown : kramdown
+permalink : /:categories/:title/
+
+plugins:
+ - jekyll-paginate
+ - jekyll-sitemap
+ - jekyll-gist
+ - jekyll-feed
+ - jemoji
+ - jekyll-remote-theme
+
+# mimic GitHub Pages with --safe
+whitelist:
+ - jekyll-paginate
+ - jekyll-sitemap
+ - jekyll-gist
+ - jekyll-feed
+ - jemoji
+
+include:
+ - _pages
+
+encoding: "utf-8"
+markdown_ext: "markdown,mkdown,mkdn,mkd,md"
+
+defaults:
+ # _pages
+ - scope:
+ path: "_pages"
+ type: pages
+ values:
+ layout: single
+ author_profile: false
+ sidebar:
+ nav: "docs"
+
+author:
+ name: Phoenicis
+ github: PhoenicisOrg
+
+# HTML Compression
+compress_html:
+ clippings: all
diff --git a/docs/_data/navigation.yml b/docs/_data/navigation.yml
new file mode 100644
index 0000000000..dcc46cf71a
--- /dev/null
+++ b/docs/_data/navigation.yml
@@ -0,0 +1,23 @@
+docs:
+ - title: "Develop"
+ children:
+ - title: "application.json"
+ url: /application-json/
+ - title: "script.json"
+ url: /script-json/
+ - title: "script.js"
+ url: /script-js/
+ - title: "Utils"
+ url: /utils/
+ - title: "Verbs"
+ url: /verbs/
+ - title: "SetupWizard"
+ url: /setup-wizard/
+ - title: "JSDoc"
+ url: /jsdoc/
+ - title: "General"
+ children:
+ - title: "Translation"
+ url: /translation/
+ - title: "Best practices"
+ url: /best-practices/
diff --git a/docs/_includes/head/custom.html b/docs/_includes/head/custom.html
new file mode 100644
index 0000000000..a04d93809d
--- /dev/null
+++ b/docs/_includes/head/custom.html
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/docs/_pages/application-json.md b/docs/_pages/application-json.md
new file mode 100644
index 0000000000..be5086b27f
--- /dev/null
+++ b/docs/_pages/application-json.md
@@ -0,0 +1,19 @@
+---
+title: "application.json"
+permalink: /application-json/
+toc: false
+---
+
+This file describes the application.
+
+```json
+{
+ "name": "Application",
+ "id": "application",
+ "description": "Application description"
+}
+```
+
+If the application name contains ®, ™ or the like, you should use it here.
+
+The `description` supports HTML (see [Photofiltre](https://github.com/PhoenicisOrg/scripts/blob/master/Applications/Graphics/Photofiltre/application.json)).
diff --git a/docs/_pages/best-practices.md b/docs/_pages/best-practices.md
new file mode 100644
index 0000000000..2f4be93c37
--- /dev/null
+++ b/docs/_pages/best-practices.md
@@ -0,0 +1,17 @@
+---
+title: "Best practices"
+permalink: /best-practices/
+toc: false
+---
+
+This page describes best practices for writing your scripts.
+
+1. Fork the repository
+2. Create a new branch for your script
+3. Clone your fork to your local scripts repository (usually `~/.Phoenicis/repository/`)
+4. Checkout your branch
+5. Follow the [how to](https://github.com/PhoenicisOrg/scripts/blob/master/README.md)
+6. Commit your changes and create a pull request
+
+## Unfinished scripts
+If your script is unfinished/not fully tested but you still want to share it (e.g. because you need help), create a pull request and label it "help wanted". People can then help you with comments or by submitting pull requests for the branch on your fork.
diff --git a/docs/_pages/home.md b/docs/_pages/home.md
new file mode 100644
index 0000000000..136e1d8411
--- /dev/null
+++ b/docs/_pages/home.md
@@ -0,0 +1,6 @@
+---
+permalink: /
+---
+
+This is the documentation for the scripts for [Phoenicis](https://github.com/PhoenicisOrg/phoenicis).
+
diff --git a/docs/_pages/script-js.md b/docs/_pages/script-js.md
new file mode 100644
index 0000000000..1db873c8fd
--- /dev/null
+++ b/docs/_pages/script-js.md
@@ -0,0 +1,244 @@
+---
+title: "script.js"
+permalink: /script-js/
+toc: true
+---
+
+## QuickScript
+
+The QuickScript should be sufficient for the vast majority of scripts. It provides a simple interface to install the following types of applications:
+* Local Windows executable (LocalInstallerScript)
+* Online Windows executable (OnlineInstallerScript)
+* Steam game (SteamScript)
+* .zip file (ZipScript)
+
+QuickScripts use the latest stable wine version by default (recommended).
+
+### SteamScript
+A basic script looks like:
+
+```javascript
+include(["engines", "wine", "quick_script", "steam_script"]);
+
+new SteamScript()
+ .name("A Game") // name of the game
+ .editor("The developer") // editor of the game (see Steam store: developer)
+ .author("Forename Surname") // author of this script (you)
+ .appId(123456) // Steam application ID
+ .go();
+```
+
+This script will install the game for the category "Games" and create a shortcut for
+```
+Steam.exe -silent -applaunch 265890
+```
+To disable the game overlay:
+```javascript
+ .gameOverlay(false)
+```
+If you need a different category, use:
+```javascript
+ .catgory("Category")
+```
+For a different shortcut (e.g. if you want to pass arguments):
+```javascript
+ .executable("Steam.exe", ["-silent", "-applaunch", 123456, "-someArgument"])
+```
+
+### UplayScript
+A basic script looks like:
+
+```javascript
+include(["engines", "wine", "quick_script", "uplay_script"]);
+
+new UplayScript()
+ .name("A Game") // name of the game
+ .editor("The developer") // editor of the game (see Steam store: developer)
+ .applicationHomepage("http://www.someurl.com") // application homepage
+ .author("Forename Surname") // author of this script (you)
+ .appId(123456) // Uplay application ID
+ .go();
+```
+You can determine the app ID by starting the download and checking the folders in `Ubisoft/Ubisoft Game Launcher/data/`.
+
+### LocalInstallerScript
+Installs a local Windows executable. Shows a setup window browse step (see [SetupWizard]({{ site.baseurl }}{% link _pages/setup-wizard.md %})) to query the executable.
+
+A basic script looks like:
+
+```javascript
+include(["engines", "wine", "quick_script", "local_installer_script"]);
+
+new LocalInstallerScript()
+ .name("Application-Name") // name of the application
+ .editor("Editor") // editor of the application
+ .applicationHomepage("http://www.someurl.com") // application homepage
+ .author("Forename Surname") // author of this script (you)
+ .category("Category") // category
+ .executable("Application.exe") // exe name (for the shortcut)
+ .go();
+```
+
+### OnlineInstallerScript
+Downloads and installs a Windows executable.
+
+A basic script looks like:
+
+```javascript
+include(["engines", "wine", "quick_script", "online_installer_script"]);
+
+new OnlineInstallerScript()
+ .name("Application-Name") // name of the application
+ .editor("Editor") // editor of the application
+ .applicationHomepage("http://www.someurl.com") // application homepage
+ .author("Forename Surname") // author of this script (you)
+ .url("http://url_to_exe") // where the exe can be downloaded
+ .checksum("exe_checksum") // sha1sum of the exe
+ .category("Category") // category
+ .executable("Application.exe") // exe name (for the shortcut)
+ .go();
+```
+
+### CustomInstallerScript
+Executes a custom installation command:
+```javascript
+include(["engines", "wine", "quick_script", "custom_installer_script"]);
+
+new CustomInstallerScript()
+ .name("Application-Name") // name of the application
+ .editor("Editor") // editor of the application
+ .applicationHomepage("http://www.someurl.com") // application homepage
+ .author("Forename Surname") // author of this script (you)
+ .installationCommand(function(wizard) { // function specifying the installation command
+ return {command: "msiexec", args: ["/i", "C://app.msi"]};
+ })
+ .category("Category") // category
+ .executable("Application.exe") // exe name (for the shortcut)
+ .go();
+```
+
+### ZipScript
+A basic script looks like:
+
+```javascript
+include(["engines", "wine", "quick_script", "zip_script"]);
+
+new ZipScript()
+ .name("Application-Name") // name of the application
+ .editor("Editor") // editor of the application
+ .applicationHomepage("http://www.someurl.com") // application homepage
+ .author("Forename Surname") // author of this script (you)
+ .url("http://url_to_exe") // where the .zip can be downloaded
+ .checksum("exe_checksum") // sha1sum of the zip
+ .category("Category") // category
+ .executable("Application.exe") // exe name (for the shortcut)
+ .go();
+```
+
+### Advanced
+This section describes some advanced methods which give you more possibilities to control your script.
+
+#### Executable arguments
+By default, the `.executable` runs the application without arguments. If you need arguments, pass an array as second parameter.
+
+For example, for a steam game:
+```javascript
+ .executable("Steam.exe", ["-silent", "-applaunch", 123456, "-someArgument"])
+```
+
+#### Pre/Post install hooks
+With the pre/post install hooks, you can specify a function which is executed before/after the installation. The function receives a wine object and the [SetupWizard]({{ site.baseurl }}{% link _pages/setup-wizard.md %}). By default, the pre/post install hooks do nothing.
+
+These hooks are especially useful to set DLL overrides.
+You can find the complete list of available verbs [here](https://github.com/PhoenicisOrg/scripts/tree/master/Engines/Wine/Verbs).
+
+For example, in the script for "Assassin’s Creed: Brotherhood":
+```javascript
+include(["engines", "wine", "verbs", "d3dx9"]);
+include(["engines", "wine", "verbs", "crypt32"]);
+
+new SteamScript()
+ ...
+ .preInstall(function(wine, wizard) {
+ wine.crypt32();
+ wine.d3dx9();
+ })
+```
+The wizard can be used to show additional setup pages (e.g. to query a file path).
+
+#### Wine settings
+Specific distribution ("upstream" or "staging"):
+```javascript
+ .wineDistribution("staging")
+```
+Specific wine version:
+```javascript
+ .wineVersion("1.9.23")
+```
+You can also use variables for the wine version:
+* LATEST_DEVELOPMENT_VERSION
+* LATEST_STAGING_VERSION
+
+Specific wine architecture ("x86" or "amd64"):
+```javascript
+ .wineArchitecture("x86")
+```
+Specific windows version:
+```javascript
+ .preInstall(function(wine, wizard) {
+ wine.windowsVersion("win7");
+ })
+```
+
+#### Registry
+If the script requires a special registry setting, there are 2 options:
+1. If the setting is something which could be useful for other scripts as well, extend the [Wine script](https://github.com/PhoenicisOrg/scripts/blob/master/Engines/Wine/Engine/Object/script.js) (compare e.g. Wine.prototype.nativeApplication).
+
+2. If the setting is special for this script, use a registry file. Create a `registry.reg` in `/resources` (see [IE6](https://github.com/PhoenicisOrg/scripts/blob/master/Applications/Internet/Internet%20Explorer%206.0/resources/ie6.reg)) and apply this in `pre/postInstall()` via
+```javascript
+var registrySettings = new AppResource().application([TYPE_ID, CATEGORY_ID, APPLICATION_ID]).get("registry.reg");
+wine.regedit().patch(registrySettings);
+```
+
+## Custom script
+If the QuickScript is not sufficient for you, you can still write a custom script which will give you control over the complete installation process.
+
+The frame for a custom script looks like this:
+```javascript
+include(["engines", "wine", "engines", "wine"]);
+include(["engines", "wine", "shortcuts", "wine"]);
+
+var application = "application name"
+
+var setupWizard = SetupWizard(application);
+
+setupWizard.presentation(application, "Editor", "http://applicationhomepage.com", "script author");
+
+var wine = new Wine()
+ .wizard(setupWizard)
+ .architecture("x86")
+ .version(LATEST_STABLE_VERSION)
+ .prefix(application)
+ .luna()
+ .run("your command")
+ .wait();
+
+new WineShortcut()
+ .name(application)
+ .prefix(application)
+ .search("application.exe")
+ .miniature(["category", application])
+ .create();
+
+setupWizard.close();
+```
+
+You can take [Internet Explorer 7.0](https://github.com/PhoenicisOrg/scripts/blob/master/Applications/Internet/Internet%20Explorer%207.0/Online/script.js) as an example.
+
+## Debug
+To print debug output, simply use:
+```javascript
+print("Debug output");
+```
+
+You can also use JavaScript debugging in your IDE (e.g. with [IntelliJ IDEA](https://blog.jetbrains.com/idea/2014/03/debugger-for-jdk8s-nashorn-javascript-in-intellij-idea-13-1/))
diff --git a/docs/_pages/script-json.md b/docs/_pages/script-json.md
new file mode 100644
index 0000000000..36c606c1cd
--- /dev/null
+++ b/docs/_pages/script-json.md
@@ -0,0 +1,47 @@
+---
+title: "script.json"
+permalink: /script-json/
+toc: false
+---
+
+This file describes the script.
+
+```json
+{
+ "scriptName": "name of the script",
+ "id": "script_id",
+ "compatibleOperatingSystems": ["MACOSX", "LINUX"],
+ "testingOperatingSystems": [],
+ "free": true,
+ "requiresPatch": false
+}
+```
+
+## scriptName
+Name of the script. Typical values are:
+* Steam: script installs a game from Steam
+* Online: script downloads the application from the Internet
+
+## id
+ID of the script. Requirements:
+* all lower case
+* only a-z, 0-9, _
+
+## compatibleOperatingSystems
+Operating systems which the script is known to work with. Can be:
+* MACOSX
+* LINUX
+
+## testingOperatingSystems
+Operating systems for which the script is in beta. Should be set if you are unsure that the script will run properly for everybody (like if it requires a huge amount of hack, or if it is not compatible with a any graphics cards, etc...). Takes the same values as `compatibleOperatingSystems`.
+
+Must be a subset of `compatibleOperatingSystems`, i.e.
+* compatible does not contain "LINUX": app is not compatible with Linux at all
+* compatible contains "LINUX" and testing does not contain "LINUX": app is fully compatible with Linux
+* compatible contains "LINUX" and testing contains "LINUX": app is compatible with Linux, but beta
+
+## free
+The application can be downloaded for free (free as in beer).
+
+## requiresPatch
+Application cannot work without patching the original protection. It may be illegal to install it depending on your country.
diff --git a/docs/_pages/setup-wizard.md b/docs/_pages/setup-wizard.md
new file mode 100644
index 0000000000..a1cf5acf6d
--- /dev/null
+++ b/docs/_pages/setup-wizard.md
@@ -0,0 +1,101 @@
+---
+title: "SetupWizard"
+permalink: /setup-wizard/
+toc: true
+---
+
+The SetupWizard guides the user through the installation. It provides tools for several purposes.
+
+## Create
+```javascript
+var setupWizard = SetupWizard(InstallationType.APPS, applicationName, miniature);
+```
+or
+```javascript
+var setupWizard = SetupWizard(InstallationType.ENGINES, applicationName, miniature);
+```
+
+The miniature can be retrieved like:
+```javascript
+var appsManager = Bean("repositoryManager");
+var application = appsManager.getApplication(["Applications", "Development", "Notepad++"]);
+var miniature = application.getMainMiniature();
+```
+
+## Presentation
+Shows a default script presentation with information about the installed application, its editor, application homepage and the author of the script.
+```javascript
+setupWizard.presentation(application, editor, applicationHomepage, scriptAuthor);
+```
+
+## License
+Message + license file:
+```javascript
+setupWizard.licenceFile(message, filePath);
+```
+
+Message + license text:
+```javascript
+setupWizard.licence(message, licenseText);
+```
+
+## Show a message
+To show a message and wait until the user clicks "Next":
+```javascript
+setupWizard.message(message);
+```
+
+## Query user input
+### Text
+Query text:
+```javascript
+var userText = setupWizard.textbox(message);
+```
+
+Query text with default value:
+```javascript
+var userText = setupWizard.textbox(message, default);
+```
+### File
+Query file:
+```javascript
+var userFilePath = setupWizard.browse(message);
+```
+
+Query file with default directory and allowed file extension:
+```javascript
+var userFilePath = setupWizard.browse(message, directoryPath, ["txt", "pdf"]);
+```
+
+### Menu
+Show a menu with items to select from:
+```javascript
+var userChoice = setupWizard.menu(message, ["option1", "option2"]);
+var selectedText = userChoice.text;
+var selectedIndex = userChoice.index;
+```
+
+Show a menu with a default option:
+```javascript
+var userChoice = setupWizard.menu(message, ["option1", "option2"], "option2");
+```
+
+## Show progress
+For a spinning wheel:
+```javascript
+setupWizard.wait(message);
+```
+
+For a progress bar:
+```javascript
+var progressBar = setupWizard.progressBar(message);
+progressBar.setText(text);
+progressBar.setProgressPercentage(0.);
+```
+You can find an example for the progress bar usage in the [corefonts verb](https://github.com/PhoenicisOrg/scripts/blob/master/Engines/Wine/Verbs/corefonts/script.js).
+
+## Close
+Don't forget to close the SetupWizard when the installation is finished:
+```javascript
+setupWizard.close();
+```
diff --git a/docs/_pages/translation.md b/docs/_pages/translation.md
new file mode 100644
index 0000000000..3ae0af9305
--- /dev/null
+++ b/docs/_pages/translation.md
@@ -0,0 +1,12 @@
+---
+title: "Translation"
+permalink: /translation/
+toc: false
+---
+
+Travis ensures that the translation files are kept up-to-date.
+
+However, the `.po` must be created once for a new language:
+```bash
+msginit -i i18n/keys.pot -o i18n/de.po
+```
diff --git a/docs/_pages/utils.md b/docs/_pages/utils.md
new file mode 100644
index 0000000000..dedb0077bc
--- /dev/null
+++ b/docs/_pages/utils.md
@@ -0,0 +1,13 @@
+---
+title: "Utils"
+permalink: /utils/
+toc: false
+---
+
+The [Utils](https://github.com/PhoenicisOrg/scripts/tree/master/Utils) contain helper scripts which assist in writing scripts.
+
+They are divided in several categories:
+- Apps: everything directly related to applications
+- Filesystem: interaction with files/directories
+- Net: everything on the Internet
+- Shortcuts: shortcuts to run an application
diff --git a/docs/_pages/verbs.md b/docs/_pages/verbs.md
new file mode 100644
index 0000000000..13f50f76e8
--- /dev/null
+++ b/docs/_pages/verbs.md
@@ -0,0 +1,65 @@
+---
+title: "Verbs"
+permalink: /verbs/
+toc: true
+---
+
+The following text describes Verbs for the example of the Wine engine.
+
+## Writing a new verb
+Probably, the verb you want to add has already been implemented somewhere else. Take that as an example:
+* [winetricks](https://github.com/Winetricks/winetricks/blob/master/src/winetricks)
+* [playonlinux.com search](https://www.playonlinux.com/en/forums.html)
+
+Create a new folder in `Engines/Wine/Verbs` and add a `script.js`. The `script.js` must contain a function like this:
+```javascript
+Wine.prototype.verb = function() {
+ ...
+ return this;
+}
+```
+
+The verb extends `Wine`. You can therefore access `Ẁine` methods via `this`.
+
+### Resource
+To download a file, use `Resource`:
+```javascript
+var setupFile = new Resource()
+ .wizard(this._wizard)
+ .url("http://url/file.exe")
+ .checksum("sha1sum")
+ .algorithm("SHA" / "MD5") // optional: default is "SHA"
+ .name("file.exe")
+ .get();
+```
+
+To install the downloaded `Resource`:
+```javascript
+this.run(setupFile, ["arg1", "arg2"])
+ .wait("Please wait while {0} is installed ...".format("Verb"));
+```
+If possible, perform a silent installation. Many installers provide parameters like `/q`, `/S`, `-silent` etc. to do so.
+
+### CabExtract
+Sometimes, it is necessary to extract files from the download instead of installing it directly. You can do that with `CabExtract`:
+```javascript
+new CabExtract()
+ .archive(setupFile) // the Resource
+ .wizard(null)
+ .to("path/to/directory") // often: this.system32directory()
+ .extract();
+```
+
+It is also possible to pass additional parameters to the `extract()`, e.g.
+```javascript
+ .extract(["-L", "-F", "*d3dx9*x86*"]);
+```
+
+If you extract many files, don't forget to add a progress bar like it is done for [d3dx9](https://github.com/PhoenicisOrg/scripts/blob/master/Engines/Wine/Verbs/d3dx9/script.js).
+
+### DLL Overrides
+```javascript
+this.overrideDLL()
+ .set("native, builtin", ["dll1.dll", "dll2.dll"])
+ .do();
+```
diff --git a/docs/assets/images/android-chrome-192x192.png b/docs/assets/images/android-chrome-192x192.png
new file mode 100644
index 0000000000..984b1cc9ea
Binary files /dev/null and b/docs/assets/images/android-chrome-192x192.png differ
diff --git a/docs/assets/images/android-chrome-384x384.png b/docs/assets/images/android-chrome-384x384.png
new file mode 100644
index 0000000000..0a2303286a
Binary files /dev/null and b/docs/assets/images/android-chrome-384x384.png differ
diff --git a/docs/assets/images/apple-touch-icon.png b/docs/assets/images/apple-touch-icon.png
new file mode 100644
index 0000000000..8113b7e486
Binary files /dev/null and b/docs/assets/images/apple-touch-icon.png differ
diff --git a/docs/assets/images/browserconfig.xml b/docs/assets/images/browserconfig.xml
new file mode 100644
index 0000000000..3baac445c3
--- /dev/null
+++ b/docs/assets/images/browserconfig.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+ #da532c
+
+
+
diff --git a/docs/assets/images/favicon-16x16.png b/docs/assets/images/favicon-16x16.png
new file mode 100644
index 0000000000..e45f6df988
Binary files /dev/null and b/docs/assets/images/favicon-16x16.png differ
diff --git a/docs/assets/images/favicon-32x32.png b/docs/assets/images/favicon-32x32.png
new file mode 100644
index 0000000000..42f831bf2a
Binary files /dev/null and b/docs/assets/images/favicon-32x32.png differ
diff --git a/docs/assets/images/favicon.ico b/docs/assets/images/favicon.ico
new file mode 100644
index 0000000000..4e2cbaaaf9
Binary files /dev/null and b/docs/assets/images/favicon.ico differ
diff --git a/docs/assets/images/mstile-150x150.png b/docs/assets/images/mstile-150x150.png
new file mode 100644
index 0000000000..886ba3c216
Binary files /dev/null and b/docs/assets/images/mstile-150x150.png differ
diff --git a/docs/assets/images/phoenicis.png b/docs/assets/images/phoenicis.png
new file mode 100644
index 0000000000..0c306a04d9
Binary files /dev/null and b/docs/assets/images/phoenicis.png differ
diff --git a/docs/assets/images/safari-pinned-tab.svg b/docs/assets/images/safari-pinned-tab.svg
new file mode 100644
index 0000000000..13c6c73cfb
--- /dev/null
+++ b/docs/assets/images/safari-pinned-tab.svg
@@ -0,0 +1,69 @@
+
+
+
diff --git a/docs/assets/images/site.webmanifest b/docs/assets/images/site.webmanifest
new file mode 100644
index 0000000000..be4117cf98
--- /dev/null
+++ b/docs/assets/images/site.webmanifest
@@ -0,0 +1,19 @@
+{
+ "name": "Phoenicis Scripts",
+ "short_name": "Phoenicis Scripts",
+ "icons": [
+ {
+ "src": "android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "android-chrome-384x384.png",
+ "sizes": "384x384",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#ffffff",
+ "background_color": "#ffffff",
+ "display": "standalone"
+}
diff --git a/docs/jsdoc/ConfigureWine.html b/docs/jsdoc/ConfigureWine.html
new file mode 100644
index 0000000000..6c13ab3eb7
--- /dev/null
+++ b/docs/jsdoc/ConfigureWine.html
@@ -0,0 +1,307 @@
+
+
+
+
+ JSDoc: Class: ConfigureWine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/jsdoc/fonts/OpenSans-Bold-webfont.eot b/docs/jsdoc/fonts/OpenSans-Bold-webfont.eot
new file mode 100644
index 0000000000..5d20d91633
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-Bold-webfont.eot differ
diff --git a/docs/jsdoc/fonts/OpenSans-Bold-webfont.svg b/docs/jsdoc/fonts/OpenSans-Bold-webfont.svg
new file mode 100644
index 0000000000..3ed7be4bc5
--- /dev/null
+++ b/docs/jsdoc/fonts/OpenSans-Bold-webfont.svg
@@ -0,0 +1,1830 @@
+
+
+
\ No newline at end of file
diff --git a/docs/jsdoc/fonts/OpenSans-Bold-webfont.woff b/docs/jsdoc/fonts/OpenSans-Bold-webfont.woff
new file mode 100644
index 0000000000..1205787b0e
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-Bold-webfont.woff differ
diff --git a/docs/jsdoc/fonts/OpenSans-BoldItalic-webfont.eot b/docs/jsdoc/fonts/OpenSans-BoldItalic-webfont.eot
new file mode 100644
index 0000000000..1f639a15ff
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-BoldItalic-webfont.eot differ
diff --git a/docs/jsdoc/fonts/OpenSans-BoldItalic-webfont.svg b/docs/jsdoc/fonts/OpenSans-BoldItalic-webfont.svg
new file mode 100644
index 0000000000..6a2607b9da
--- /dev/null
+++ b/docs/jsdoc/fonts/OpenSans-BoldItalic-webfont.svg
@@ -0,0 +1,1830 @@
+
+
+
\ No newline at end of file
diff --git a/docs/jsdoc/fonts/OpenSans-BoldItalic-webfont.woff b/docs/jsdoc/fonts/OpenSans-BoldItalic-webfont.woff
new file mode 100644
index 0000000000..ed760c0628
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-BoldItalic-webfont.woff differ
diff --git a/docs/jsdoc/fonts/OpenSans-Italic-webfont.eot b/docs/jsdoc/fonts/OpenSans-Italic-webfont.eot
new file mode 100644
index 0000000000..0c8a0ae06e
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-Italic-webfont.eot differ
diff --git a/docs/jsdoc/fonts/OpenSans-Italic-webfont.svg b/docs/jsdoc/fonts/OpenSans-Italic-webfont.svg
new file mode 100644
index 0000000000..e1075dcc24
--- /dev/null
+++ b/docs/jsdoc/fonts/OpenSans-Italic-webfont.svg
@@ -0,0 +1,1830 @@
+
+
+
\ No newline at end of file
diff --git a/docs/jsdoc/fonts/OpenSans-Italic-webfont.woff b/docs/jsdoc/fonts/OpenSans-Italic-webfont.woff
new file mode 100644
index 0000000000..ff652e6435
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-Italic-webfont.woff differ
diff --git a/docs/jsdoc/fonts/OpenSans-Light-webfont.eot b/docs/jsdoc/fonts/OpenSans-Light-webfont.eot
new file mode 100644
index 0000000000..14868406aa
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-Light-webfont.eot differ
diff --git a/docs/jsdoc/fonts/OpenSans-Light-webfont.svg b/docs/jsdoc/fonts/OpenSans-Light-webfont.svg
new file mode 100644
index 0000000000..11a472ca8a
--- /dev/null
+++ b/docs/jsdoc/fonts/OpenSans-Light-webfont.svg
@@ -0,0 +1,1831 @@
+
+
+
\ No newline at end of file
diff --git a/docs/jsdoc/fonts/OpenSans-Light-webfont.woff b/docs/jsdoc/fonts/OpenSans-Light-webfont.woff
new file mode 100644
index 0000000000..e786074813
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-Light-webfont.woff differ
diff --git a/docs/jsdoc/fonts/OpenSans-LightItalic-webfont.eot b/docs/jsdoc/fonts/OpenSans-LightItalic-webfont.eot
new file mode 100644
index 0000000000..8f445929ff
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-LightItalic-webfont.eot differ
diff --git a/docs/jsdoc/fonts/OpenSans-LightItalic-webfont.svg b/docs/jsdoc/fonts/OpenSans-LightItalic-webfont.svg
new file mode 100644
index 0000000000..431d7e3546
--- /dev/null
+++ b/docs/jsdoc/fonts/OpenSans-LightItalic-webfont.svg
@@ -0,0 +1,1835 @@
+
+
+
\ No newline at end of file
diff --git a/docs/jsdoc/fonts/OpenSans-LightItalic-webfont.woff b/docs/jsdoc/fonts/OpenSans-LightItalic-webfont.woff
new file mode 100644
index 0000000000..43e8b9e6cc
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-LightItalic-webfont.woff differ
diff --git a/docs/jsdoc/fonts/OpenSans-Regular-webfont.eot b/docs/jsdoc/fonts/OpenSans-Regular-webfont.eot
new file mode 100644
index 0000000000..6bbc3cf58c
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-Regular-webfont.eot differ
diff --git a/docs/jsdoc/fonts/OpenSans-Regular-webfont.svg b/docs/jsdoc/fonts/OpenSans-Regular-webfont.svg
new file mode 100644
index 0000000000..25a3952340
--- /dev/null
+++ b/docs/jsdoc/fonts/OpenSans-Regular-webfont.svg
@@ -0,0 +1,1831 @@
+
+
+
\ No newline at end of file
diff --git a/docs/jsdoc/fonts/OpenSans-Regular-webfont.woff b/docs/jsdoc/fonts/OpenSans-Regular-webfont.woff
new file mode 100644
index 0000000000..e231183dce
Binary files /dev/null and b/docs/jsdoc/fonts/OpenSans-Regular-webfont.woff differ
diff --git a/docs/jsdoc/index.html b/docs/jsdoc/index.html
new file mode 100644
index 0000000000..7c3d3c5ff5
--- /dev/null
+++ b/docs/jsdoc/index.html
@@ -0,0 +1,65 @@
+
+
+
+
+ JSDoc: Home
+
+
+
+
+
+
+
+
+
+
+
+
+
Home
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/jsdoc/scripts/linenumber.js b/docs/jsdoc/scripts/linenumber.js
new file mode 100644
index 0000000000..8d52f7eafd
--- /dev/null
+++ b/docs/jsdoc/scripts/linenumber.js
@@ -0,0 +1,25 @@
+/*global document */
+(function() {
+ var source = document.getElementsByClassName('prettyprint source linenums');
+ var i = 0;
+ var lineNumber = 0;
+ var lineId;
+ var lines;
+ var totalLines;
+ var anchorHash;
+
+ if (source && source[0]) {
+ anchorHash = document.location.hash.substring(1);
+ lines = source[0].getElementsByTagName('li');
+ totalLines = lines.length;
+
+ for (; i < totalLines; i++) {
+ lineNumber++;
+ lineId = 'line' + lineNumber;
+ lines[i].id = lineId;
+ if (lineId === anchorHash) {
+ lines[i].className += ' selected';
+ }
+ }
+ }
+})();
diff --git a/docs/jsdoc/scripts/prettify/Apache-License-2.0.txt b/docs/jsdoc/scripts/prettify/Apache-License-2.0.txt
new file mode 100644
index 0000000000..d645695673
--- /dev/null
+++ b/docs/jsdoc/scripts/prettify/Apache-License-2.0.txt
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/docs/jsdoc/scripts/prettify/lang-css.js b/docs/jsdoc/scripts/prettify/lang-css.js
new file mode 100644
index 0000000000..041e1f5906
--- /dev/null
+++ b/docs/jsdoc/scripts/prettify/lang-css.js
@@ -0,0 +1,2 @@
+PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n"]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com",
+/^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]);
diff --git a/docs/jsdoc/scripts/prettify/prettify.js b/docs/jsdoc/scripts/prettify/prettify.js
new file mode 100644
index 0000000000..eef5ad7e6a
--- /dev/null
+++ b/docs/jsdoc/scripts/prettify/prettify.js
@@ -0,0 +1,28 @@
+var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
+(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a=
+[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m),
+l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
+q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/,
+q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,
+"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a),
+a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e}
+for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
+"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],
+H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
+J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+
+I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]+/],["dec",/^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^