Skip to content
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

Add The Sims 2 #927

Open
wants to merge 51 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
254649c
Merge pull request #1 from PhoenicisOrg/master
Zemogiter Mar 27, 2018
63f898c
Merge pull request #3 from PhoenicisOrg/master
Zemogiter Mar 29, 2018
71cd3d8
Merge pull request #4 from PhoenicisOrg/master
Zemogiter Apr 1, 2018
60c3cb5
Merge pull request #5 from PhoenicisOrg/master
Zemogiter Apr 10, 2018
69e7bf2
Merge pull request #6 from PhoenicisOrg/master
Zemogiter Apr 23, 2018
5bf56fe
Merge pull request #7 from PhoenicisOrg/master
Zemogiter May 16, 2018
1c4fe31
Merge pull request #8 from PhoenicisOrg/master
Zemogiter Jun 1, 2018
66bd276
Merge pull request #9 from PhoenicisOrg/master
Zemogiter Jul 11, 2018
1791c28
Add files via upload
Zemogiter May 1, 2019
0cd3195
Add files via upload
Zemogiter May 6, 2019
dac4c85
Update script.js
Zemogiter May 6, 2019
b283130
Update script.js
Zemogiter May 6, 2019
160fb54
Merge pull request #19 from PhoenicisOrg/master
Zemogiter May 6, 2019
66cefa4
Update script.js
Zemogiter May 6, 2019
a54dc42
Update script.js
Zemogiter May 6, 2019
ce25bfc
Update script.js
Zemogiter May 6, 2019
eaebba6
Update script.js
Zemogiter May 6, 2019
e152fb5
Update script.js
Zemogiter May 6, 2019
f1138c8
Update script.js
Zemogiter May 7, 2019
af76e3c
Update script.js
Zemogiter May 8, 2019
1149c09
Update script.js
Zemogiter May 8, 2019
c507760
Update script.js
Zemogiter May 8, 2019
d5a6145
Update script.json
Zemogiter May 9, 2019
24dc8cd
Merge pull request #25 from PhoenicisOrg/master
Zemogiter Aug 25, 2019
7faec3d
Update script.js
Zemogiter Aug 25, 2019
ce2e56d
Update script.js
Zemogiter Aug 25, 2019
ab32e7d
Merge pull request #27 from PhoenicisOrg/master
Zemogiter Sep 13, 2019
7d9eae6
Update script.js
Zemogiter Sep 14, 2019
ffbcdf5
Update script.js
Zemogiter Sep 14, 2019
ce73826
Update script.js
Zemogiter Sep 14, 2019
0772cda
Update script.js
Zemogiter Sep 14, 2019
8f0cc48
Update script.js
Zemogiter Sep 14, 2019
d1c15ce
Update script.js
Zemogiter Sep 14, 2019
c446ca1
Update script.js
Zemogiter Sep 14, 2019
914a55b
Update script.js
Zemogiter Sep 14, 2019
270d218
Update script.js
Zemogiter Sep 14, 2019
9fd460b
Update script.js
Zemogiter Sep 14, 2019
3f56141
Update registry.reg
Zemogiter Sep 15, 2019
5535fb6
Update script.js
Zemogiter Sep 15, 2019
b8fac0a
Update script.js
Zemogiter Oct 30, 2019
53dbb87
Update script.js
Zemogiter Oct 30, 2019
ac60311
Update script.js
Zemogiter Oct 30, 2019
eb7cbe8
Update script.js
Zemogiter Oct 30, 2019
28df4eb
Merge pull request #29 from PhoenicisOrg/master
Zemogiter Nov 25, 2019
a8d5b51
Update script.js
Zemogiter Nov 26, 2019
5ef5788
Update script.js
Zemogiter Nov 26, 2019
bed2d92
Update script.js
Zemogiter Dec 9, 2019
00ce7cf
Update script.js
Zemogiter Dec 9, 2019
ad962cf
Delete script.js
Zemogiter Dec 28, 2019
f7cb465
Delete script.json
Zemogiter Dec 28, 2019
968b273
Delete registry.reg
Zemogiter Dec 28, 2019
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
10 changes: 5 additions & 5 deletions Applications/Games/The Sims 2/Local/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,31 @@ include("engines.wine.plugins.windows_version");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");
include("utils.functions.filesystem.extract");
include("utils.functions.apps.resources");
Zemogiter marked this conversation as resolved.
Show resolved Hide resolved

var installerImplementation = {
run: function () {
new LocalInstallerScript()
.name("The Sims 2")
.editor("Electronic Arts")
.applicationHomepage("https://www.ea.com/en-gb/games/simcity")
.applicationHomepage("http://thesims2.ea.com")
.author("ZemoScripter")
.category("Games")
.executable("Origin.exe")
.wineVersion("4.5")
.wineDistribution("staging")
.preInstall(function (wine) {
.preInstall(function(wine) {
wine.vcrun2010();
wine.vcrun2013();
wine.windowsVersion("winxp");
var registrySettings = new AppResource().application([TYPE_ID, CATEGORY_ID, APPLICATION_ID]).get("registry.reg");
wine.regedit().patch(registrySettings);
})
.postInstall(function (wine) {
.postInstall(function(wine) {
var fixes = new Resource()
.wizard(this.wizard())
.url("https://raw.githubusercontent.com/tannisroot/installer-fixes/master/sims2_fixes.tar.xz")
.name("sims2_fixes.tar.xz")
.name(sims2_fixes.tar.xz)
ImperatorS79 marked this conversation as resolved.
Show resolved Hide resolved
.get();

new Extractor()
Expand All @@ -47,4 +48,3 @@ var installerImplementation = {

/* exported Installer */
var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation);