Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # addtogame.sh v1
- # this script install certain sim 3 mods from archived files
- # this is crude. I made it in like 30 seconds for my narrow purpose
- # I get mods from modthesims.info - some mods need to be installed differently
- # setup
- # to make it work you need to setup the mod framework and to change the Packages directory in the script
- # framework
- # You can either make files and folders yourself or download a .zip file containing these and put them in the folder; the .zip file can be found in this guide: https://steamcommunity.com/sharedfiles/filedetails/?id=1528390853
- # That zip also contains two mods, "nointro.package" and "NoBuildSparkles.package"
- # To do it yourself you need to add the following to Sims 3's installation folder:
- # a. Mods directory
- # b. Resource.cfg file in Mods (the content of which is in comments at the bottom of this script)
- # c. Packages directory in Mods
- # d. Overrides directory in Mods (this crude script doesn't use it but it's proper framework)
- # usage
- # put compressed files containing .package files into their own folder, then run this script and it will extract them and move the .package files into the right directory
- #################################################################################################
- directory="/home/$USER/.local/share/Steam/steamapps/compatdata/47890/pfx/drive_c/users/steamuser/Documents/Electronic Arts/The Sims 3/Mods/Packages" # change this to your directory
- unrar x "*.rar"
- 7z x "*.7z"
- unzip "*.zip"
- mv *.package "$directory"
- #################################################################################################
- #Resource.cfg
- #
- #Priority 501
- #DirectoryFiles Files/... autoupdate
- #Priority 1000
- #PackedFile Overrides/*.package
- #PackedFile Overrides/*/*.package
- #PackedFile Overrides/*/*/*.package
- #PackedFile Overrides/*/*/*/*.package
- #PackedFile Overrides/*/*/*/*/*.package
- #Priority 500
- #PackedFile Packages/*.package
- #PackedFile Packages/*/*.package
- #PackedFile Packages/*/*/*.package
- #PackedFile Packages/*/*/*/*.package
- #PackedFile Packages/*/*/*/*/*.package
- #Priority 499
- #PackedFile Test/*.package
- #PackedFile Test/*/*.package
- #PackedFile Test/*/*/*.package
- #PackedFile Test/*/*/*/*.package
- #PackedFile Test/*/*/*/*/*.package
- #Priority -50
- #PackedFile Probation/*.package
- #PackedFile Probation/*/*.package
- #PackedFile Probation/*/*/*.package
- #PackedFile Probation/*/*/*/*.package
- #PackedFile Probation/*/*/*/*/*.package
- #Priority 500
- #PackedFile DCCache/*.dbc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement