Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ffb9d4d
Add files via upload
Zemogiter Mar 25, 2018
82b3f6d
Update script.js
Zemogiter Mar 25, 2018
4281903
Update script.js
Zemogiter Mar 25, 2018
cfb92a5
added registry fix
Zemogiter Mar 26, 2018
338ed96
Delete fix.reg
Zemogiter Mar 26, 2018
160136f
added registry fix inside the folder
Zemogiter Mar 26, 2018
1337ffd
Update script.js
Zemogiter Mar 26, 2018
36b9c08
Update script.js
Zemogiter Mar 26, 2018
e107a0b
Merge pull request #2 from PhoenicisOrg/master
Zemogiter Mar 27, 2018
abade9c
Update script.js
Zemogiter Mar 28, 2018
bedbead
Update application.json
Zemogiter Mar 28, 2018
f43ff72
Delete fix.reg
Zemogiter Mar 28, 2018
1952245
Update script.json
Zemogiter Mar 28, 2018
8cb6f80
Update script.js
Zemogiter Sep 5, 2018
f16c440
Update script.json
Zemogiter Sep 5, 2018
a4d665e
Update application.json
Zemogiter Sep 5, 2018
c9dcb1c
Update script.json
Zemogiter Sep 5, 2018
374d39e
Update application.json
Zemogiter Sep 6, 2018
d00a336
Update script.js
Zemogiter Sep 6, 2018
3e50649
Update script.js
Zemogiter Sep 7, 2018
46c4986
Update script.js
Zemogiter Sep 8, 2018
da0fec1
Update script.js
Zemogiter Sep 8, 2018
d64efd4
Update script.js
Zemogiter Sep 8, 2018
9d96de9
Update script.js
Zemogiter Sep 9, 2018
98bd47a
Update script.js
Zemogiter Sep 9, 2018
3bcbae7
Update script.js
Zemogiter Sep 9, 2018
5d800a1
Update script.js
Zemogiter Sep 9, 2018
c01277f
Update script.js
Zemogiter Sep 11, 2018
0b79b42
Update script.js
Zemogiter Sep 12, 2018
9d9d3e9
Update script.js
Zemogiter Sep 22, 2018
a84443b
Update script.js
Zemogiter Sep 22, 2018
fdefeb4
Update application.json
Zemogiter Sep 22, 2018
caaeee9
Update script.js
Zemogiter Dec 12, 2018
c122ccd
Update script.js
Zemogiter Dec 18, 2018
f2b659f
Update script.js
Zemogiter Dec 19, 2018
0018f2b
Update script.js
Zemogiter Dec 19, 2018
24c6ae9
Update script.js
Zemogiter Dec 21, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions Applications/Games/Lego Rock Raiders/Local/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
include(["engines", "wine", "quick_script", "local_installer_script"]);
include(["utils", "functions", "net", "download"]);
include(["utils", "functions", "filesystem", "extract"]);
include(["utils", "functions", "filesystem", "files"]);
include(["engines", "wine", "verbs", "amstream"]);
include(["engines", "wine", "verbs", "quartz"]);
include(["engines", "wine", "verbs", "devenum"]);
include(["engines", "wine", "verbs", "d3drm"]);

var installerImplementation = {
run: function() {
new LocalInstallerScript()
.name("Lego Rock Raiders")
.editor("LEGO Media")
.author("Zemogiter")
.category("Games")
.executable("LegoRR.exe")
.wineVersion("3.0.3")
.wineDistribution("upstream")
.preInstall(function (wine, wizard){
wine.amstream();
wine.quartz();
wine.devenum();
wine.d3drm();
wizard.message(tr("When the game ask to install DirectX Media click yes. Click no when it ask for DirectX 6."));
})
.postInstall(function (wine, wizard){
wizard.message(tr("This game needs a copy protection patch to work. It may be illegal in your country to patch copy protection. You must patch the game yourself."));
var zipLocation = wine.prefixDirectory() + "drive_c/RockRaidersCodec_490085.zip";
new Downloader()
.wizard(wizard)
.url("http://rrubucket.s3.amazonaws.com/RockRaidersCodec_490085.zip")
.checksum("991a343dc608c6a1914127a55f2e5b47")
.algorithm("MD5")
.to(zipLocation)
.get();
new Extractor()
.wizard(wizard)
.archive(wine.prefixDirectory() + "/drive_c/RockRaidersCodec_490085.zip")
.to(wine.prefixDirectory() + "/drive_c/RockRaidersCodec/")
.extract(["-F", "iv5setup.exe"]);
wizard.message(tr("When installing Indeo codecs you must choose custom installation type. Then uncheck ownload DirectShow filter and Indeo 5 Netscape Browser Extension or else the installer will crash."));
wine.run(wine.prefixDirectory() + "/drive_c/RockRaidersCodec/iv5setup.exe");
wine.wait();
})
.go();
}
};

/* exported Installer */
var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation);
14 changes: 14 additions & 0 deletions Applications/Games/Lego Rock Raiders/Local/script.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"scriptName" : "Local",
"id" : "lego_rock_raiders",
"compatibleOperatingSystems" : [
"MACOSX",
"LINUX"
],
"testingOperatingSystems" : [
"MACOSX",
Comment thread
Zemogiter marked this conversation as resolved.
"LINUX"
],
"free" : false,
"requiresPatch" : true
}
5 changes: 5 additions & 0 deletions Applications/Games/Lego Rock Raiders/application.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name" : "Lego Rock Raiders",
"id" : "lego_rock_raiders",
"description" : "A Lego Sci-Fi real time strategy game. The objective is to complete missions by mining a certain quota of energy crystal, while defending your mining base or even struggling to keep a breathable atmosphere in the mine."
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.