TS3 Work

Finding your Serial Key using Terminal

If you’ve lost your serial key for the game you can find it using Terminal, providing the game is still installed on your Mac.

  • Go to Finder > Utilities > Terminal
  • Copy and paste the following into the window then hit enter:

cat Library/Preferences/The\ Sims\ 3\ Preferences/system.reg |grep -A1 ergc

You should see the following (minus the stuff in red):

TerminalCommand

68 thoughts on “Finding your Serial Key using Terminal

  1. Amy

    You are a total and utter life saver! I have been attempting to sort this for the last 3 months and now its all working within a couple of minutes after finding this, thank you so much!

    Like

    Reply
  2. Audrey

    Hey 🙂 This worked for my sims 3 games (which are not the ones I needed :P). Do you have the same cat Library/Preferences/The\ Sims\ 3\ Preferences/system.reg |grep -A1 ergc for the Sims Medieval?

    Like

    Reply
    1. BluebellFlora Post author

      It’s only a file path, try replacing the 3 with medieval and see if that works? Or you could go into the games Preferences within the Library on your Mac and look in the Medieval folder for a system.reg file 🙂

      Like

      Reply
    1. BluebellFlora Post author

      Make sure you copy and paste this:

      cat Library/Preferences/The\ Sims\ 3\ Preferences/system.reg |grep -A1 ergc

      and nothing else. There’s no reason why it shouldn’t work, unless you’ve already uninstalled the game?

      Like

      Reply
  3. Ryan Alexander

    This was excellent 😀
    However, not sure if you can help? I’ve two daughters who both have the game and have both lost the book with the serial key on it. One daughter used the above to find her key (successfully) but then used this to reload the game on her sisters Mac (so when I now use the above both mac’s have the same key). I have the System.Reg from the original version which was deleted but how do I determine the serial key from that as nothing in the file looks to be the serial key format :S

    Like

    Reply
  4. seraysulun

    Hiya everything wiped off my computer so i have to download the sims 3 again.. and i tried this method and nothing came up is there any other way?

    Like

    Reply
      1. jen

        I have the same issue. I followed your instructions and received the same no such file or directory. I have the game installed. I am looking at the game launcher as i type this. and even logged in but can’t play sims 3 because i misplaced the cd

        Like

        Reply
          1. Dave

            ^I have this problem. The computer was backed up onto an external drive but then the computer died. Is there a way to access the code now on the hard drive through another mac?

            Like

    1. BluebellFlora Post author

      It’s just a file path to the location. Finder > Go > Library > Preferences > The Sims 3 Preferences (From Lion onwards Apple hid the Library folder, if you can’t see it hold down Alt after you click on Go).

      Have a look there and see if there is a similar TS2 one? It may say Aspyr. I don’t have it installed so can’t look.

      Like

      Reply
  5. rufustBarley

    I’d like to find a key for a different game, can you explain this method more thoroughly? Can I use it to find the key for a simple paid-for downloaded game like Monopoly?

    Like

    Reply
    1. BluebellFlora Post author

      It’s just a file path. Navigate to the Preferences folder, look for the game and hunt around for the specific file. Not all software installs the same files so it is impossible to give you an exact answer I’m afraid.

      Like

      Reply
        1. BluebellFlora Post author

          hmmm, what’s wrong with Origin? The game will only work with it open. Unfortunately TS4 is completely wrapped up in Origin. I haven’t found a way to access the serial code yet, let me have a quick look now.

          Like

          Reply
          1. kt

            I really don’t know i’m working on it but i think that someone hacked my account because even my name or email address is not on origin anymore (and i’m sure that i used that email address and name). So i have created a new account and i was hoping that maybe knowing my serial code would help.

            Like

  6. N

    How do I find the serial code for Sims Medieval? I bought the game on Origin but I never got the code so I can’t play it. Do you know how to fix this?

    Like

    Reply
  7. Phoebe

    Sorry to bring up an old thread but I’ve done this and got all the codes except the one for the base game which is the one I needed! Is there a reason for this or have I done something wrong? thanks

    Like

    Reply
  8. Simi

    Ugh thank you SOOO much!! I’m planning on getting a new computer and I couldn’t find my codes ANYWHERE. You’re a life saver!!

    Like

    Reply
  9. TRWin

    Hello! i got to the terminal window but when i copy and paste Library/Preferences/The\ Sims\ 3\ Preferences/system.reg |grep -A1 ergc it says permission denied. do you have any idea why? thank you so much!!!

    Like

    Reply
  10. Smay

    Oh my god I literally just deleted my Sims 3 Pets off my external hard drive (I recently restored the hard drive of an old laptop with the Sims 3 Pets which I haven’t had access to since 2012) and then immediately after find this tread! 😩 So is it true, there’s no way to retrieve the code after I’ve uninstalled the game, even if I have the original CD?

    Like

    Reply
  11. Gabriela

    I’m trying for The Sims Medieval, I tried to replace 3 for medieval but it doesn’t work. Any hints? thank you so much

    Like

    Reply
    1. BluebellFlora Post author

      You need to look for where the Preference files are stored for Medieval. Make sure you’re in Finder then click on Go in the menu bar, hold down Alt and the Library folder will appear. Have a look in there for the Medieval files and then enter the file path in Terminal.

      Like

      Reply

Leave a reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s