Advertisement
Guest User

addtogame.sh v1

a guest
Dec 27th, 2021
48
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. # addtogame.sh v1
  4. # this script install certain sim 3 mods from archived files
  5. # this is crude. I made it in like 30 seconds for my narrow purpose
  6. # I get mods from modthesims.info - some mods need to be installed differently
  7.  
  8. # setup
  9. # to make it work you need to setup the mod framework and to change the Packages directory in the script
  10. # framework
  11. # 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
  12. # That zip also contains two mods, "nointro.package" and "NoBuildSparkles.package"
  13. # To do it yourself you need to add the following to Sims 3's installation folder:
  14. # a. Mods directory
  15. # b. Resource.cfg file in Mods (the content of which is in comments at the bottom of this script)
  16. # c. Packages directory in Mods
  17. # d. Overrides directory in Mods (this crude script doesn't use it but it's proper framework)
  18.  
  19. # usage
  20. # 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
  21. #################################################################################################
  22. 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
  23.  
  24. unrar x "*.rar"
  25. 7z x "*.7z"
  26. unzip "*.zip"
  27.  
  28. mv *.package "$directory"
  29.  
  30. #################################################################################################
  31. #Resource.cfg
  32. #
  33. #Priority 501
  34. #DirectoryFiles Files/... autoupdate
  35. #Priority 1000
  36. #PackedFile Overrides/*.package
  37. #PackedFile Overrides/*/*.package
  38. #PackedFile Overrides/*/*/*.package
  39. #PackedFile Overrides/*/*/*/*.package
  40. #PackedFile Overrides/*/*/*/*/*.package
  41. #Priority 500
  42. #PackedFile Packages/*.package
  43. #PackedFile Packages/*/*.package
  44. #PackedFile Packages/*/*/*.package
  45. #PackedFile Packages/*/*/*/*.package
  46. #PackedFile Packages/*/*/*/*/*.package
  47. #Priority 499
  48. #PackedFile Test/*.package
  49. #PackedFile Test/*/*.package
  50. #PackedFile Test/*/*/*.package
  51. #PackedFile Test/*/*/*/*.package
  52. #PackedFile Test/*/*/*/*/*.package
  53. #Priority -50
  54. #PackedFile Probation/*.package
  55. #PackedFile Probation/*/*.package
  56. #PackedFile Probation/*/*/*.package
  57. #PackedFile Probation/*/*/*/*.package
  58. #PackedFile Probation/*/*/*/*/*.package
  59. #Priority 500
  60. #PackedFile DCCache/*.dbc
  61.  
Advertisement
RAW Paste Data Copied
Advertisement