Mac Saved Game Data

Comments

How to Transfer App Data and Game Saves from One iOS Device to Another. To manually backup and transfer data, we're going to use the free Mac and Windows. That's where your saved data.

Mac saved game data on my summer carGame
  • tagging @rosemow and @Colton147147 who might have an answer for you
    http://friendlysimmers.forumotion.ca/
    http://delightfulsims.net/index.php
    Please note that forums are in maitnance mode
    Repose en paix mamie tu va me manquer :
    1923-2016 mamie
  • edited April 2016
    Hello,
    When you get your new computer, download and install the PC version of origin onto your computer.
    Your sims 4 game is linked to your origin account. You can log into origin using the same account that you used to register the game, then go to my games section, go to the sims 4 picture and download/install it there. Then click the little 'i' button that is next to the play button. That will take you to a screen that shows you what game packs, stuff packs and eps you own. Go to the pack sections, and you can then download/install them there.
    Make a copy of the 'saves ' ' tray' ' 'custom music' and ' screenshots' folders from your old computer that is in Documents > Electronic Arts > The Sims 4 folder and place it on an external drive.
    Then after installing the sims 4 game onto the new computer, play the game once to generate a new sims 4 folder.
    Your saves folder contains your save games and the tray folder contains your lots and households that you have uploaded to your library or have downloaded from the community gallery. Replace the saves, tray, custom music and screenshots folders that are in the new sims 4 folder with the same folders that are on your external drive. You will then have your old save games and creations etc on your new computer.

    http://forums.thesims.com/en_US/discussion/817478/hello-come-and-introduce-yourself
    http://tinyurl.com/OneRoomOneWeek
    My Gallery Page https://tinyurl.com/Roseymow
    My Showcase thread https://forums.thesims.com/en_US/discussion/948861/rosemow-s-rooms-showcase
  • 2

  • http://forums.thesims.com/en_US/discussion/817478/hello-come-and-introduce-yourself
    http://tinyurl.com/OneRoomOneWeek
    My Gallery Page https://tinyurl.com/Roseymow
    My Showcase thread https://forums.thesims.com/en_US/discussion/948861/rosemow-s-rooms-showcase
  • Everything has gone well so far but when I tried to put my CC back into the Mods folder I can't even open the game. I tried to take the CC folders out one by one to see if it was a particular file that was the culprit but it seems like having ANY CC at all is making the game unable to open. Is there something I'm doing wrong or will I have to re-download all my CC?
    Thanks for any help!
  • Hello
    Move your mods folder that is in the sims 4 folder to the desktop. Start the game , and a new mods folder will be generated. Exit the game. Then put your mods/CC into the newly generated mods folder that is in your sims 4 folder. Make sure that there is only one resource.cfg file in the mods folder. Then try to launch the game and also test to see if the cc appears in your game.

    http://forums.thesims.com/en_US/discussion/817478/hello-come-and-introduce-yourself
    http://tinyurl.com/OneRoomOneWeek
    My Gallery Page https://tinyurl.com/Roseymow
    My Showcase thread https://forums.thesims.com/en_US/discussion/948861/rosemow-s-rooms-showcase
  • I tried that but after I put the mods from my old game into the folder I can't open the game at all... I tried re-downloading a mod to test it and I could open my game. So I'm wondering if I have to just re-download them all on the new computer? (I'm glad I didn't let myself go too crazy with CC before this...)
  • I am sorry that you have this issue. Do you have many cc items? If you don't have too much, it may be best to redownload the files again.

    http://forums.thesims.com/en_US/discussion/817478/hello-come-and-introduce-yourself
    http://tinyurl.com/OneRoomOneWeek
    My Gallery Page https://tinyurl.com/Roseymow
    My Showcase thread https://forums.thesims.com/en_US/discussion/948861/rosemow-s-rooms-showcase
  • I'm going to suck it up and re-download. So far it seems to be working and it will help me think about which ones I really want to keep, LOL!
  • I'm going to suck it up and re-download. So far it seems to be working and it will help me think about which ones I really want to keep, LOL!

    I hope that the redownloading of the mods/cc goes okay

    http://forums.thesims.com/en_US/discussion/817478/hello-come-and-introduce-yourself
    http://tinyurl.com/OneRoomOneWeek
    My Gallery Page https://tinyurl.com/Roseymow
    My Showcase thread https://forums.thesims.com/en_US/discussion/948861/rosemow-s-rooms-showcase

In iOS apps, files are used as the means for storing and restoring the state of an active game. If you’ve done any programming in any language (C, C++, Java, C#, you name it), you’ve used files to read data from and write data to. Objective-C allows you to work with files as wellFiles in iOS are organized into directories.

Mac Saved Game Data On Xbox One

  1. Sep 28, 2019  Linux: $XDGDATAHOME/Surviving Mars/Save Mac: / Library /Application Support/ Surviving Mars/Save Facebook; Twitter; LinkedIn.
  2. The Documents directory holds data that your app can’t re-create, such as user-generated documents or content. This is the directory where the Tic-Tac-Toe app saves games, keeps its SQLite files, and so on. ITunes backs up this directory, so when you connect your device to your Mac, the data here will be saved.

Each app gets its own directory where the app resides and its data can be stored. This directory is known as the app’s sandbox.

An app is prohibited from accessing or creating files outside its sandbox. When an app needs to work with the user’s contacts or music, the system needs to (and does) allow the file-related operations needed to read from or modify these data stores, which are outside the app’s sandbox.

This sandbox directory is organized in a set of subdirectories. Apple specifies how each of these subdirectories should be used, as follows:

Mac Saved Game Data
  • The <app name>.app directory is where the app’s executable and all the files in its bundle reside (such as the X and O images for Tic-Tac-Toe).

  • The Documents directory holds data that your app can’t re-create, such as user-generated documents or content. This is the directory where the Tic-Tac-Toe app saves games, keeps its SQLite files, and so on. iTunes backs up this directory, so when you connect your device to your Mac, the data here will be saved.

  • The Inbox directory within the Documents directory has special meaning. This directory stores files that other apps ask your app to open. For example, the Mail program places e-mail attachments associated with your app in this directory. Your app can read and delete files in this directory but can’t create new files or write to existing files.

  • The Library directory is used for files that aren’t user data files but need to be backed up. With the exception of a subdirectory named Caches (which is specifically for data the app temporarily wants to save for faster access), the files here are backed up by iTunes.

  • The tmp subdirectory saves temporary data that doesn’t need to persist between app runs. Your app should remove files from this directory when they’re no longer needed. The system may also purge lingering files from this directory when your app isn’t running or disk space is low. The contents of this directory are not backed up.

Now, look at a quick example in Tic-Tac-Toe that shows how to write to and read from files. In this example, use a file to save and restore the state of a game.

When a user touches Save Game, the current state of the game is saved to a file named SavedGames.data in the Documents directory in the app’s sandbox (the path to this file was set using #define as the constant TTTGAMESESSIONSAVEDFILEPATH in the file TTTGameSessionViewController.h).

If the user exits without finishing the game, she can return to the game session screen and return to the saved game by selecting Restore Game.

Mac Saved Game Data Is Corrupted

Now for some code. The following code shows saveGame:

Psp Saved Game Data

Writing to a file is easy. You just build the pathname of the file using the method stringByAppendingPathComponent on an object representing the app’s home directory (which you get by calling the function NSHomeDirectory). Then [savedGameString writeToFile:savedGamesFilePath …] does the actual writing.

Reading from a file is straightforward, too. Here’s the code for restoreGame:

You’ve already seen how a path to the file is created using the NSHomeDirectory function to get the home directory object, and then using this object’s method stringByAppendingPathComponent to create the string. Next, you read the entire file into a string using [NSString stringWithContentsOfFile:savedGamesFilePath …], and then you’re free to process the string as needed.