-
Notifications
You must be signed in to change notification settings - Fork 45
Add Lego Rock Raiders #520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
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 82b3f6d
Update script.js
Zemogiter 4281903
Update script.js
Zemogiter cfb92a5
added registry fix
Zemogiter 338ed96
Delete fix.reg
Zemogiter 160136f
added registry fix inside the folder
Zemogiter 1337ffd
Update script.js
Zemogiter 36b9c08
Update script.js
Zemogiter e107a0b
Merge pull request #2 from PhoenicisOrg/master
Zemogiter abade9c
Update script.js
Zemogiter bedbead
Update application.json
Zemogiter f43ff72
Delete fix.reg
Zemogiter 1952245
Update script.json
Zemogiter 8cb6f80
Update script.js
Zemogiter f16c440
Update script.json
Zemogiter a4d665e
Update application.json
Zemogiter c9dcb1c
Update script.json
Zemogiter 374d39e
Update application.json
Zemogiter d00a336
Update script.js
Zemogiter 3e50649
Update script.js
Zemogiter 46c4986
Update script.js
Zemogiter da0fec1
Update script.js
Zemogiter d64efd4
Update script.js
Zemogiter 9d96de9
Update script.js
Zemogiter 98bd47a
Update script.js
Zemogiter 3bcbae7
Update script.js
Zemogiter 5d800a1
Update script.js
Zemogiter c01277f
Update script.js
Zemogiter 0b79b42
Update script.js
Zemogiter 9d9d3e9
Update script.js
Zemogiter a84443b
Update script.js
Zemogiter fdefeb4
Update application.json
Zemogiter caaeee9
Update script.js
Zemogiter c122ccd
Update script.js
Zemogiter f2b659f
Update script.js
Zemogiter 0018f2b
Update script.js
Zemogiter 24c6ae9
Update script.js
Zemogiter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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", | ||
| "LINUX" | ||
| ], | ||
| "free" : false, | ||
| "requiresPatch" : true | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.