- 
                Notifications
    
You must be signed in to change notification settings  - Fork 45
 
Add The Sims 4 #944
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-4
  
      
      
   
  
    
  
  
  
 
  
      
    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 4 #944
Changes from 50 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 1b29e02
              
                Add files via upload
              
              
                Zemogiter c0dcd4f
              
                Delete script.js
              
              
                Zemogiter 3394614
              
                Delete script.json
              
              
                Zemogiter 039d8a3
              
                Update script.js
              
              
                Zemogiter a517263
              
                Update script.js
              
              
                Zemogiter ce8c955
              
                Add files via upload
              
              
                Zemogiter ea9fb7a
              
                Update registry.reg
              
              
                Zemogiter 77fecb0
              
                Update script.js
              
              
                Zemogiter 3d475d3
              
                Update script.js
              
              
                Zemogiter 44537ea
              
                Merge pull request #20 from PhoenicisOrg/master
              
              
                Zemogiter e905185
              
                Update script.js
              
              
                Zemogiter a436bb4
              
                Update script.js
              
              
                Zemogiter 2d5d942
              
                Update script.js
              
              
                Zemogiter c13cf0d
              
                Update script.js
              
              
                Zemogiter 1c89c13
              
                Update script.js
              
              
                Zemogiter 0d1a771
              
                Update script.js
              
              
                Zemogiter c367dfe
              
                Update script.js
              
              
                Zemogiter 8e8e9f8
              
                Update script.js
              
              
                Zemogiter c885abe
              
                Update script.js
              
              
                Zemogiter a210806
              
                Update script.js
              
              
                Zemogiter dda1f66
              
                Update script.js
              
              
                Zemogiter 62b1e71
              
                Update script.js
              
              
                Zemogiter ddab905
              
                Update script.js
              
              
                Zemogiter c33e3dd
              
                Update script.js
              
              
                Zemogiter db06cc7
              
                Merge pull request #26 from PhoenicisOrg/master
              
              
                Zemogiter d8bc50d
              
                Update script.js
              
              
                Zemogiter 71d9c47
              
                Update script.js
              
              
                Zemogiter 371b32a
              
                Update script.js
              
              
                Zemogiter 81d1ffb
              
                Update script.js
              
              
                Zemogiter 3c32172
              
                Update script.js
              
              
                Zemogiter fd01635
              
                Update script.js
              
              
                Zemogiter 8fb3faf
              
                Update script.js
              
              
                Zemogiter 7649168
              
                Update script.js
              
              
                Zemogiter c8ee9c7
              
                Update script.js
              
              
                Zemogiter 3589722
              
                Merge pull request #28 from PhoenicisOrg/master
              
              
                Zemogiter b681373
              
                Update script.js
              
              
                Zemogiter 556bc19
              
                Update script.js
              
              
                Zemogiter d9cf1bb
              
                Update script.js
              
              
                Zemogiter 73362e1
              
                Update script.js
              
              
                Zemogiter 1283632
              
                Update script.js
              
              
                Zemogiter e43bbbc
              
                Update script.js
              
              
                Zemogiter eb3a401
              
                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,36 @@ | ||
| const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script"); | ||
| const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); | ||
| const AppResource = include("utils.functions.apps.resources"); | ||
| const vcrun6sp6 = include("engines.wine.verbs.vcrun6sp6"); | ||
| const MFC42 = include("engines.wine.verbs.mfc42"); | ||
| const dotnet20sp2 = include("engines.wine.verbs.dotnet20sp2"); | ||
| const vcrun2010 = include("engines.wine.verbs.vcrun2010"); | ||
| const vcrun2013 = include("engines.wine.verbs.vcrun2013"); | ||
| const D9VK = include("engines.wine.verbs.d9vk"); | ||
| include("engines.wine.plugins.regedit"); | ||
| include("engines.wine.plugins.override_dll"); | ||
| 
     | 
||
| new LocalInstallerScript() | ||
| .name("The Sims 4") | ||
| .editor("Electronic Arts") | ||
| .applicationHomepage("https://www.ea.com/games/the-sims/the-sims-4/pc") | ||
| .author("ZemoScripter") | ||
| .category("Games") | ||
| .executable("TS4_x64.exe") | ||
| .wineArchitecture("amd64") | ||
| .wineVersion(LATEST_STAGING_VERSION) | ||
                
      
                  Zemogiter marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
         | 
||
| .wineDistribution("staging") | ||
| .preInstall(function (wine) { | ||
| new dotnet20sp2(wine).go(); | ||
| new vcrun6sp6(wine).go(); | ||
| new MFC42(wine).go(); | ||
| new vcrun2010(wine).go(); | ||
| new vcrun2013(wine).go(); | ||
| new D9VK(wine).go(); | ||
| const registrySettings = new AppResource().application([TYPE_ID, CATEGORY_ID, APPLICATION_ID]).get("registry.reg"); | ||
| wine.regedit().patch(registrySettings); | ||
| wine.overrideDLL() | ||
| .set("disabled", ["nvapi", "nvapi64"]) | ||
| .do(); | ||
                
      
                  Zemogiter marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
                
      
                  Zemogiter marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
         | 
||
| }) | ||
| .environment('{ "STAGING_SHARED_MEMORY": "0", "__GL_SHADER_DISK_CACHE": "1"}') | ||
  
    
      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,11 @@ | ||
| { | ||
| "scriptName" : "Local", | ||
| "id" : "applications.games.the_sims_4.local", | ||
| "compatibleOperatingSystems" : [ | ||
| "MACOSX", | ||
| "LINUX" | ||
| ], | ||
| "testingOperatingSystems" : [], | ||
| "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,31 @@ | ||
| const OriginScript = include("engines.wine.quick_script.origin_script"); | ||
| const vcrun2010 = include("engines.wine.verbs.vcrun2010"); | ||
| const vcrun2013 = include("engines.wine.verbs.vcrun2013"); | ||
| const vcrun2015 = include("engines.wine.verbs.vcrun2015"); | ||
| const D9VK = include("engines.wine.verbs.d9vk"); | ||
| const { touch, writeToFile } = include("utils.functions.filesystem.files"); | ||
| const OverrideDLL = include("engines.wine.plugins.override_dll"); | ||
| 
     | 
||
| new OriginScript() | ||
| .name("The Sims 4") | ||
| .editor("Electronic Arts") | ||
| .applicationHomepage("https://www.ea.com/games/the-sims/the-sims-4/pc") | ||
| .author("ZemoScripter") | ||
| .category("Games") | ||
| .wineVersion("4.21") | ||
| .wineDistribution("upstream") | ||
| .wineArchitecture("amd64") | ||
| .appId("1011164,1015875,1015876,1015793,1015794,1015795,1015806,1015807,1015808,1018025,1018023,1015236,1015235,1015224") | ||
| .preInstall(function (wine) { | ||
| new vcrun2010(wine).go(); | ||
| new vcrun2013(wine).go(); | ||
| new vcrun2015(wine).go(); | ||
| new D9VK(wine).go(); | ||
| var configFile = wine.prefixDirectory() + "/drive_c/dxvk.conf"; | ||
                
       | 
||
| touch(configFile); | ||
| writeToFile(configFile, "dxgi.nvapiHack = False"); | ||
| new OverrideDLL(wine) | ||
| .withMode("disabled", ["nvapi, nvapi64"]) | ||
| .go(); | ||
| }) | ||
| .environment('{ "STAGING_SHARED_MEMORY": "0", "__GL_SHADER_DISK_CACHE": "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,11 @@ | ||
| { | ||
| "scriptName" : "Origin", | ||
| "id" : "applications.games.the_sims_4.origin", | ||
| "compatibleOperatingSystems" : [ | ||
| "MACOSX", | ||
| "LINUX" | ||
| ], | ||
| "testingOperatingSystems" : [], | ||
| "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 4", | ||
| "id" : "applications.games.the_sims_4", | ||
| "description" : "Enjoy the power to create and control people in a virtual world where there are no rules. Express your creativity as you customize your Sims distinct appearances and unique personalities. Choose their fashions, select their hairstyles, and give them life aspirations. Effortlessly build your Sims the perfect homes with the all-new room-based Build Mode, choosing your favorite designs and décor. Develop your Sims’ relationships, pursue new careers, and shape the rich and entertaining moments of their lives. Explore beautiful worlds with unique environments and travel to neighborhoods where you can visit venues and meet other interesting Sims. Be powerful and free, have fun, and play with life!<br/>Create Unique Sims Create a variety of unique Sims with distinct appearances, big personalities, and all-new emotions. Sculpt your Sims’ body shape using the powerful new Create A Sim tool then choose their hairstyles, walk-styles, and fashions. Give their lives purpose by selecting their traits and aspirations that give you control over their mind, body, and heart.<br/>Build the Perfect Home Effortlessly build and design homes for your Sims using the new room-based Build Mode. Construct the home of your dreams by designing its layout, choosing its furnishings, and altering the landscape.<br/>Explore Vibrant Worlds Travel between worlds, explore unique neighborhoods, and discover interesting venues. Your Sims can visit new communities to expand their social circle, hangout with friends in parks, or find and collect fun new objects.<br/>Add New Experiences The all-new Gallery gives you the power to discover amazing community content to add to your game, or share your own creations with the world. Download, like, and comment on your favorite Sims, complete homes, and fully designed rooms." | ||
| } | 
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
  
    
      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,7 @@ | ||
| REGEDIT4 | ||
| 
     | 
||
| [HKEY_CURRENT_USER\Software\Wine\Direct3D] | ||
| "VideoPciVendorID"=dword:1002 | ||
| 
     | 
||
| [HKEY_CURRENT_USER\Software\Wine\Direct3D] | ||
| "VideoPciDeviceID"=dword:699f | ||
                
      
                  Zemogiter marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
         | 
||
  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.