-
Notifications
You must be signed in to change notification settings - Fork 45
Add The Sims 2 #927
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
Open
Zemogiter
wants to merge
51
commits into
PhoenicisOrg:master
Choose a base branch
from
Zemogiter:The-Sims-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add The Sims 2 #927
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
254649c
Merge pull request #1 from PhoenicisOrg/master
Zemogiter 63f898c
Merge pull request #3 from PhoenicisOrg/master
Zemogiter 71cd3d8
Merge pull request #4 from PhoenicisOrg/master
Zemogiter 60c3cb5
Merge pull request #5 from PhoenicisOrg/master
Zemogiter 69e7bf2
Merge pull request #6 from PhoenicisOrg/master
Zemogiter 5bf56fe
Merge pull request #7 from PhoenicisOrg/master
Zemogiter 1c4fe31
Merge pull request #8 from PhoenicisOrg/master
Zemogiter 66bd276
Merge pull request #9 from PhoenicisOrg/master
Zemogiter 1791c28
Add files via upload
Zemogiter 0cd3195
Add files via upload
Zemogiter dac4c85
Update script.js
Zemogiter b283130
Update script.js
Zemogiter 160fb54
Merge pull request #19 from PhoenicisOrg/master
Zemogiter 66cefa4
Update script.js
Zemogiter a54dc42
Update script.js
Zemogiter ce25bfc
Update script.js
Zemogiter eaebba6
Update script.js
Zemogiter e152fb5
Update script.js
Zemogiter f1138c8
Update script.js
Zemogiter af76e3c
Update script.js
Zemogiter 1149c09
Update script.js
Zemogiter c507760
Update script.js
Zemogiter d5a6145
Update script.json
Zemogiter 24dc8cd
Merge pull request #25 from PhoenicisOrg/master
Zemogiter 7faec3d
Update script.js
Zemogiter ce2e56d
Update script.js
Zemogiter ab32e7d
Merge pull request #27 from PhoenicisOrg/master
Zemogiter 7d9eae6
Update script.js
Zemogiter ffbcdf5
Update script.js
Zemogiter ce73826
Update script.js
Zemogiter 0772cda
Update script.js
Zemogiter 8f0cc48
Update script.js
Zemogiter d1c15ce
Update script.js
Zemogiter c446ca1
Update script.js
Zemogiter 914a55b
Update script.js
Zemogiter 270d218
Update script.js
Zemogiter 9fd460b
Update script.js
Zemogiter 3f56141
Update registry.reg
Zemogiter 5535fb6
Update script.js
Zemogiter b8fac0a
Update script.js
Zemogiter 53dbb87
Update script.js
Zemogiter ac60311
Update script.js
Zemogiter eb7cbe8
Update script.js
Zemogiter 28df4eb
Merge pull request #29 from PhoenicisOrg/master
Zemogiter a8d5b51
Update script.js
Zemogiter 5ef5788
Update script.js
Zemogiter bed2d92
Update script.js
Zemogiter 00ce7cf
Update script.js
Zemogiter ad962cf
Delete script.js
Zemogiter f7cb465
Delete script.json
Zemogiter 968b273
Delete registry.reg
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,50 @@ | ||
| const OriginScript = include("engines.wine.quick_script.origin_script"); | ||
| const vcrun2010 = include("engines.wine.verbs.vcrun2010"); | ||
| const vcrun2013 = include("engines.wine.verbs.vcrun2013"); | ||
| const System = Java.type("java.lang.System"); | ||
| const Extractor = include("utils.functions.filesystem.extract"); | ||
| const Resource = include("utils.functions.net.resource"); | ||
| const {touch, writeToFile} = include("utils.functions.filesystem.files"); | ||
| const D9VK = include("engines.wine.verbs.d9vk"); | ||
| const OverrideDLL = include("engines.wine.plugins.override_dll"); | ||
|
|
||
| new OriginScript() | ||
| .name("The Sims 2") | ||
| .editor("Electronic Arts") | ||
| .applicationHomepage("http://thesims2.ea.com") | ||
| .author("ZemoScripter") | ||
| .category("Games") | ||
| .wineVersion("4.20") | ||
| .wineDistribution("upstream") | ||
| .wineArchitecture("amd64") | ||
| .appId("1014457,sims2_apt_life,sims2_bestofbusiness_dd,sims2_bonvoyage_na,sims2dd_remaster,sims2_freetime,sims2_funwpets_dd,sims2_stuffpackglamour_na,sims2_holiday2_na,sims2-holiday,sims2_inseason_na,sims2_collegepack_dd") | ||
| .preInstall(function (wine) { | ||
| new vcrun2010(wine).go(); | ||
| new vcrun2013(wine).go(); | ||
| new D9VK(wine).go(); | ||
| const dxvkConfigFile = wine.prefixDirectory() + "/drive_c/dxvk.conf"; | ||
| touch(dxvkConfigFile); | ||
| writeToFile(dxvkConfigFile, "dxgi.nvapiHack = False"); | ||
| new OverrideDLL(wine) | ||
| .withMode("disabled", ["nvapi, nvapi64"]) | ||
| .go(); | ||
| }) | ||
| .postInstall(function (wine) { | ||
| const username = System.getProperty("user.name"); | ||
| const fixes = new Resource() | ||
| .wizard(wine.wizard()) | ||
| .url("https://github.com/tannisroot/installer-fixes/raw/master/sims2_fixes.tar.xz") | ||
| .name("sims2_fixes.tar.xz") | ||
| .get(); | ||
|
|
||
| new Extractor() | ||
| .wizard(wine.wizard()) | ||
| .archive(fixes) | ||
| .to(wine.prefixDirectory() + "/drive_c/users/" + username + "My Documents/EA Games/The Sims\u2122 2 Ultimate Collection/Downloads") | ||
| .extract(); | ||
|
|
||
| const configFile = wine.prefixDirectory() + "drive_c/users/" + username + "My Documents/EA Games/The Sims\u2122 2 Ultimate Collection/Config/userstartup.cheat"; | ||
| touch(configFile); | ||
| writeToFile(configFile, "boolprop useshaders true"); | ||
| }) | ||
| .environment('{ "LARGE_ADDRESS_AWARE": "1", "DXVK_CONFIG_FILE": "configFile"}') | ||
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" : "Origin (Ultimate Collection)", | ||
| "id" : "applications.games.the_sims_2.origin", | ||
| "compatibleOperatingSystems" : [ | ||
| "MACOSX", | ||
| "LINUX" | ||
| ], | ||
| "testingOperatingSystems" : [ | ||
| "MACOSX", | ||
| "LINUX" | ||
| ], | ||
| "free" : false, | ||
| "requiresPatch" : false | ||
| } |
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" : "The Sims 2", | ||
| "id" : "applications.games.the_sims_2", | ||
| "description" : "The Sims 2 is a strategic life simulation computer game developed by Maxis and published by Electronic Arts. It is the sequel The Sims. The game builds on its predecessor by allowing Sims, the simulated human characters, to age through six stages of life and incorporating a more powerful 3D graphics engine." | ||
| } |
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.