Wrote a quick bash script to run S2PCI on Linux
Hey there folks,
After some trouble getting the clean S2Pack installer to work under Linux for the new "Legacy" version, I wrote a quick bash script to run it via protontricks, making it feasible to install your sims2pack files under Linux!
You will, obviously enough, need protontricks installed for this. Also, due to differences in file handling the Wine layer does not seem to handle well, this is only capable of batch-installing an entire folder´s worth of files.
Copy the included code into a .sh file (a text file can be renamed so) wherever you unzipped the Clean Installer´s no-install version (Make sure it´s next to the exe file). Make it executable after that (usually done by viewing the file´s properties but can also be done in terminal) and run it.
Code:
#!/bin/bash
flatpak run --command=protontricks-launch com.github.Matoking.protontricks --appid 3314070 "Sims2Pack Clean Installer.exe" "-f"
wait
If the above script fails to do much, try this instead:
Code:
#!/bin/bash
protontricks-launch --appid 3314070 "Sims2Pack Clean Installer.exe" "-f"
From here, select the folder wherein your .sims2pack files lie, click through some dialogues and that´s that! Use the same shell script (.sh) file anytime you need to install some packs.
Do note that, if you have the new Legacy Edition (like me), you need to:
Move your files out of the users/steamuser/documents/the Sims 2/ folder and into users/steamuser/documents/the Sims 2 Legacy/ (under your game´s wine prefix)
OR make users/steamuser/documents/the Sims 2/ a symlink to users/steamuser/documents/the Sims 2 Legacy/
OR, better yet, just edit S2PCI.INI (in your Clean Installer Folder) so the SaveGameFolder line is: SaveGamePath="C:\Users\steamuser\Documents\EA Games\The Sims 2 Legacy" .
I hope to have helped someone or other with this! GLHF Simmers!