Forum Discussion
97 Replies
New results :
Spoiler+/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:3> locale=pt_BR
+/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:4> plistDestDir='/Users/Isabela/Library/Application Support/Origin/Installer Data'
+/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:5> plistName='/Users/Isabela/Library/Application Support/Origin/Installer Data/Sims4_Locale.plist'
+/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:6> logName='/Users/Isabela/Library/Application Support/Origin/Installer Data/sims4_setLocale.log'
+/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:8> [ ! -d '/Users/Isabela/Library/Application Support/Origin/Installer Data' ']'
+/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:12> echo 'Starting setLocale'
+/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:13> echo 'Setting Locale to pt_BR'
+/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:15> cat
+/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:26> echo 'Finished setLocale'
- MaxisJoe5 years ago
EA Staff
@isabelacfi OK, now let's try:
USER=admin zsh -x ~/Applications/The\ Sims\ 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh pt_BR
Show me the output and tell me if the game launches.
- @MaxisJoe well maybe it could work for someone else, I really don't know ahah Anyway, thank you a lot for helping me 🙂
- MaxisJoe5 years ago
EA Staff
I've got something for you to try. It might look a little frightening, but I'll explain what every part does.
First the whole command (this is a single line):
cd ~/Applications/The\ Sims\ 4.app/Contents/__Installer/customcomponent/setLocale ; mv -f setLocale.zsh setLocale.zsh_bkp ; cat setLocale.zsh_bkp | sed 's+/Users/\$USER+$HOME+g' > setLocale.zsh ; chmod +x setLocale.zsh
After you do this try to start The Sims 4 again. If it doesn't work at first try to do a repair. Let me know what happens.
What this command is doing: It's actually several commands strung together to make it easier to copy/paste. Each individual command explained:
cd ~/Applications/The\ Sims\ 4.app/Contents/__Installer/customcomponent/setLocale
This command tells Terminal to move the "active" directory to the "setLocale" directory inside The Sims 4's application bundle. If you have moved The Sims 4 to some other location then this path will need to be adjusted to reflect the new location. The semi-colon ( ; ) in the original command above means "once the last command is done do this next command."
mv -f setLocale.zsh setLocale.zsh_bkp
This command renames (or moves, hence "mv") the original script to a new name so that we keep it as a backup. Backups are always a good idea in case we need to undo our changes. 🙂
cat setLocale.zsh_bkp | sed 's+/Users/\$USER+$HOME+g' > setLocale.zsh
This command strings together two commands into one. The "cat" command means "print the contents of the specified files". The Bar character (actually called a "pipe" (|)) means "take the output from the prior command and run that output into the next command.
The "sed" command allows us to replace one string of letters characters (letters, numbers, etc) with a different string. The mashup of letters there means "find the string '/Users/$USER' and replace it with '$HOME'", and finally the ">" means "take the output from the prior command and write it out to a file."
And finally the "chmod" command. This simply makes sure that the modified script is able to be run.
You can check that the change happened as expected by doing something like this:
diff setLocale.zsh_bkp setLocale.zsh
This will output this text:
4c4 < plistDestDir="/Users/$USER/Library/Application Support/Origin/Installer Data" --- > plistDestDir="$HOME/Library/Application Support/Origin/Installer Data"
What that means is "the first file I looked had this line that is different from the next file I looked at." You can see that the only line that was changed is this one line, and that the change is that "/Users/$USER" has been replaced with "$HOME".
- @MaxisJoe Umm I don't know what I did but somehow it's working again... In English instead of Dutch, but it's running again 😉🙂
- MaxisJoe5 years ago
EA Staff
@aylagunilla That is good luck! I'm glad you're running again. Sorry for they delay. Now (with admin) that is the result :
+/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:3> locale=pt_BR +/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:4> plistDestDir='/Users/admin/Library/Application Support/Origin/Installer Data' +/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:5> plistName='/Users/admin/Library/Application Support/Origin/Installer Data/Sims4_Locale.plist' +/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:6> logName='/Users/admin/Library/Application Support/Origin/Installer Data/sims4_setLocale.log' +/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:8> [ ! -d '/Users/admin/Library/Application Support/Origin/Installer Data' ']' +/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:12> echo 'Starting setLocale' +/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:13> echo 'Setting Locale to pt_BR' +/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:15> cat +/Users/admin/Applications/The Sims 4.app/Contents/__Installer/customcomponent/setLocale/setLocale.zsh:26> echo 'Finished setLocale'
I am wondering if is it possible to roll back the game to the previous version, without the update ? That would solve the issue for the moment.
@MaxisJoe Hi!
I don't know if I clearly understand, this will not work if I have my Sims installed on an exterior disc?- @MaxisJoe Should I try this solution ?
- @MaxisJoe Unfortunatelly, it didn't work for me, even after repairing the game through Origin. But maybe it's because I don't have "USER" on my mac, and my home catalog is called "Lena". Could this be it?
Also, as I mentioned few posts earlier, my game is in this folder "Lena" (with home icon so I assume that this is my home catalog), but two mentioned in this thread files - plist and log - are in different folder "Lenika" (that's my user name, I THINK, but at this point I don't know if I know a single thing :D). So I think I have similiar problem as @Kamajla90.
I know that you're finishing for today, thank you for all your help and patience, and maybe we could try fix my issue tomorrow?
I would really appreciate that. - @MaxisJoe but how do you use that?
- MaxisJoe5 years ago
EA Staff
@zochala The commands I've been asking people to try rely on paths being the default values. If the game is installed on an external disk the commands can still work but you will need to adjust the paths to point to the correct location. For example:
~/Applications/The\ Sims\ 4.app
would instead be:
/Volumes/External\ Disk/The\ Sims\ 4.app
if you installed in onto an external drive called "External Disk" - MaxisJoe5 years ago
EA Staff
@isabelacfi Please try the command I wrote about here: https://answers.ea.com/t5/Technical-Issues-Mac/135dec40-90f690cf-00000075-495f32a0-Updated-patch-now-can-t-open/m-p/8970789#M31782
I very much want to know if this works for you. - MaxisJoe5 years ago
EA Staff
@lenawadera and @andre14066 and @almujacquess I don't have a workaround yet. I'm still trying things to see if what works. I wouldn't recommend you try anything here unless I've asked you to. Please check back regularly to see what the progress is.
- @MaxisJoe I found my issue! And as I suspected at first, it was in front of my eyes all the time, but with zero computer skills I wasn't sure how to deal with it. I just unified wherever I could the username on my mac, deleted the folder under a different, non-matching name, (with the .plist and .log files) restarted the computer and repaired the game with Origin. It worked.
Thank you SO MUCH for all the help and your patience. And I'm sorry for wasting your time on my posts because in my case - this was clearly my fault. - MaxisJoe5 years ago
EA Staff
@lenawadera I'm glad you're back to working. Thanks for the update! I had the same problem with the error message, and thanks to you I was able to solve it! thank you so much again! I started by changing the languages and the games worked but without my saves, and I discovered 2 Electronic Arts folder one in aplications and one in documents, I switched the file saves folder in the right folder and everything worked! Thank you again!
- @MaxisJoe Is it just me or I don't understand at all what I have to do?? It really suck to buy a game and it works 1/2...
- MaxisJoe5 years ago
EA Staff
@VikaaaRo I'm glad you're back in the game. Cheers! - MaxisJoe5 years ago
EA Staff
@Fgenereux Please open the Terminal and type this command:
echo $USER $HOME
Please copy/paste the results back here. - @MaxisJoe Bonjour, qu'est ce que le terminal?... J'ai des installer mon jeu je l'ai réinstaller j'ai choisi français et maintenant il ne s'ouvre plus même message d'erreur!!
- MaxisJoe5 years ago
EA Staff
@Fgenereux I'm sorry, but I do not speak French. Google Translate tells me that you're not sure where Terminal is though.
In your Applications folder is a folder called Utilities. In this folder is a program called Terminal. When you open this program you will have a small window that you can type into. The things you type here are commands that are sent to the computer. Often times the text that comes from these commands can help better understand what's happening, or more quickly change settings.
In this case I want you to open the Terminal program and tell me what gets printed after you type
echo $USER $HOME
Be sure to hit the Return key at the end of the line. - @MaxisJoe Thanks i found it. I accidently press 2 rimes the return key..
Its writen "my name" /users/admin
[air-de-admin:~ my name$ The game steal dont work..
- MaxisJoe5 years ago
EA Staff
@Fgenereux Is your user name "admin" or something else?