Game Directory On Mac

Posted on
  1. Game Directory Mac
  2. Mac Directory Path
  3. Home Directory Mac
  4. Mac File Directory

With Steam installed, it is relatively easy to get to the wanted location. Right clicking Mac users? on Kerbal Space Program in the Steam library opens a menu. Selecting properties opens a new window. In the tab local files the button browse local files opens the root directory where Kerbal Space Program is installed in the file browser. Default location. Mac OS X doesn’t have an obvious way to view the exact text based path to a folder (otherwise known as a directory) in the finder window. You can have it show a graphical path, but getting just the text based path to a directory (for use in the Terminal for example) requires a couple of extra steps. Browse the newest, top selling and discounted macOS supported games New and Trending Top Selling What's Being Played Upcoming Results exclude some products based on your preferences-40%. Astrela Starlight. Indie, Adventure, RPG, Simulation. Using Finder, navigate to the /Applications directory. Right-click the game folder and select Get Info. In the info box, go to the Sharing & Permissions section and click on the lock to unlock it. Enter your administrator password when prompted. Jun 24, 2010 This Site Might Help You. RE: Steam Content Folder on a Mac? I don't know where it is! I need it, and it's not in my Documents folder. Can someone please tell me where the Steam Content Folder is on a Mac?

For information about how the game saves progress on mobile devices, see Mobile Saves.

The game saves progress when the in-game day ends, i.e., when the farmer goes to bed, collapses from exhaustion, or collapses at 2am. All progress during a day is lost if the player quits the game without ending the day. In multiplayer, the game saves after all players click through the prompts at end of day and wake up in the morning.

  • 2Find your save files
  • 3Transfer a save
  • 4Troubleshooting
  • 5Advanced

Save format

The saves are stored as XML files on your computer or mobile device. They're stored separately from your game, so you can safely reinstall or update the game without losing them. On PC, they're shared between different copies of the game (e.g. if you buy it from both GOG and Steam).

Each save has a folder like JonSnow_123456789, with two main files inside it: JonSnow_123456789 and SaveGameInfo. Both files are needed to load the save.

Find your save files

Note: in multiplayer, the save is only on the main player's computer.

Best indie horror games mac. This means you have to master melee combat to have a chance against the onslaught of enemies.Rounded out by a beautiful soundtrack and fantastic animations, Hyper Light Drifter is a moving experience with an understated, but powerful story.BroforceBroforce is an awesome and hilarious run-and-gun. Your job as an action hero parody is to save your bros from terrorist captivity. This top-down adventure features extremely challenging gameplay with a neat gimmick.Your main weapon, an energy sword, has to strike enemies in order to charge your supplementary, ranged weapons.

Windows

  1. Press
    Windows
    + to show a 'run' dialogue box.
  2. Paste this exact text:
  3. Click 'OK' to open the folder.

Linux

  1. From Files, click Go » Enter Location.
  2. Enter this exact text:
  3. Submit to open the folder.

Mac

  1. From Finder, click Go » Go to Folder.
  2. Enter this exact text:
  3. Submit to open the folder.

Mobile (Android)

  1. Connect the device to your PC.
  2. Browse to internal shared storage > Stardew-Valley. (The folder won't appear if you haven't created a save yet.)
  3. Each subfolder inside is a save slot.

Mobile (iOS)

In iOS v1.30+:

  1. Open the Files app.
  2. Tap the Browse button on the bottom-right side of the screen.
  3. Under the Locations section, tap On My iPhone.
  4. Select the Stardew Valley folder.
  5. Each subfolder inside is a save slot.

Before iOS v1.30:

  1. Open iTunes on your computer.
  2. Attach your iOS device via USB.
  3. When iTunes opens, click on the device icon in the top toolbar (If the icon doesn't appear, try disconnecting and reconnecting the device USB cable). The device's page should appear.
  4. Click 'File Sharing' in the menu on the left.
  5. Click Stardew Valley in the 'apps' list that appears.
  6. The 'Stardew Valley Documents' panel shows which save files are already on your iOS device. (They appear as folders, but you can't navigate into the folders directly.)

Transfer a save

Back up or transfer between two PCs

  1. Find your save files.
  2. Zip the entire folder that looks like JonSnow_123456789.
  3. Share or back up that zip file.

Android

Android to PC
  1. Find the saves on your device.
  2. Copy it into your computer's saves folder.
PC to Android
  1. If you use mods, remove any custom content before transferring to mobile.
  2. Find the save folder on your computer.
  3. Find the Android saves on your device.
  4. Copy the entire save folder (the one that looks like JonSnow_123456789) into the saves folder on your device.

iOS

iOS to PC
  1. Find the saves in iTunes.
  2. Choose the save folder in iTunes and click the 'save' button.
  3. That will save a folder containing two files (both required for the save to work).
  4. Copy the whole folder to your computer's save location.
PC to iOS
  1. If you use mods, remove any custom content before transferring to mobile.
  2. Find the save folder on your computer.
  3. Find the iOS saves in iTunes.
  4. Copy the entire save folder (the one that looks like JonSnow_123456789) into the 'Stardew Valley Documents' panel in iTunes.
    Note: there's one folder for each save. You need to drag each of these folders into iTunes, so that the individual save folders are all in the 'root' of the 'Stardew Valley Documents' panel. You can't drag the folder containing all your save games into iTunes.
  5. Click the 'sync' button in iTunes to synchronize your iOS device with your computer. The save should now appear in the game's Load Game menu on your device.

Troubleshooting

Save disappeared or doesn't load

Here's how to recover your save in most cases. (Note that save issues are almost always caused by the game itself, not mods.)

  1. Find your save files.
    • If the files are still there, here are some common fixes (try one at a time):
      1. If some of the files have _STARDEWVALLEYSAVETMP in the name, remove that from their name and reload the game.
      2. If you recently renamed or created the folder (e.g. to restore a backup), make sure the folder name exactly matches the file that looks like YourName_0123456789.
      3. Try undoing the last save.
    • If the files are missing but you have SMAPI installed, here's how to recover a backup:
      1. Find your game folder.
      2. Open the save-backups subfolder.
      3. Unzip the latest backup which has your save, and copy the save folder back into Saves.
  2. If the above fixes didn't help, see this guide or ask for help; we might be able to recover the save for you.

Note: don't keep backup folders in the saves folder, since the game will try to load them. Either move those into a different folder, or delete them.

Undo the last save

If something went wrong, you can undo the last save.

For a save from Linux/Mac/Windows/Android:

  1. Find your save files.
    You should see two files with an _old suffix in the name; if not, ask for help instead!
  2. Back up your save folder just in case.
  3. Delete SaveGameInfo and the file that looks like YourName_123456789.
  4. Remove the _old suffix from SaveGameInfo_old and the file that looks like YourName_123456789_old.

For a save from iOS:

  1. Find your save files.
    You should see a file with an _SVBAK suffix in the name; if not, ask for help instead!
  2. Back up your save folder just in case.
  3. Delete the files that look like YourName_123456789 and YourName_123456789_SVEMERG.
  4. Remove the _SVBAK suffix from the file that looks like YourName_123456789_SVBAK.

Advanced

Edit a save

Game Directory Mac

A save file open in Sublime Text with formatted XML.

You can edit your save to fix some common issues or change your choices. This can permanently break your save; don't forget to create a backup first. You should also avoid automatic save editor tools, since they often break the save.

  1. Install Sublime Text for Linux, Mac, or Windows. (If you already have another text editor which supports XML formatting, feel free to use that instead.)
  2. Install the Package Control extension for Sublime Text.
  3. Use the Package Control extension to install the Indent XML and XPath plugins (see how to add plugins).
  4. Open your save file (the file that looks like Name_0123456789) in Sublime Text.
  5. Click Selection > Format > Indent XML.
  6. Make any changes you want and save. (See the sections below, this guide for changing the host of a co-op save, and this guide for other changes.)

Tips:

  • Click an element, and press CTRL + SHIFT + [ to collapse the whole section which contains it. This is useful when you want to ignore a large field. For example, given this text in the save file:

    Click on one of the <int> fields and press those keys, and it will collapse into this:

  • Click any element, and look in the status bar to see the path to where you are in the save format (like /SaveGame/player/friendships/item[32]).

Duplicate a save

You can duplicate a save for testing purposes, or to explore different options without starting over.

  1. Find your save files.
  2. Create the new save folder:
    1. Duplicate the target save folder.
    2. Rename the new folder:
      • change the name so you can recognise it in-game;
      • change the number at the end to any number that's not used by another save.
    3. Open the new folder for the next steps.
  3. Prepare the new files:
    1. Delete any file whose name ends with _old or .back.*.
    2. Rename the file that looks like Name_0123456789 to match your new folder name.
  4. Edit the save metadata:
    1. Open the SaveGameInfo file in a text editor like Notepad.
    2. Look for <name> on the first line. Your farmer's name should be right after that. Change it to your new name.
    3. Search for the 2nd mention of your name (ctrl+f to 'find') and change it to your new name.
  5. Edit the save file:
    1. Open the file that looks like Name_0123456789 in a text editor like Notepad.
    2. Look for <name> on the first line. Your farmer's name should be right after that. Change it to your new name.
    3. Search for the 2nd mention of your name (ctrl+f to 'find') and change it to your new name.
    4. Search for the old save ID (the number from the filename). Change it to your new number.

That's it! Launch the game and check the load menu; you'll see both saves now.

Change farm type

You can change farm type by editing your save file:

  1. Open your save file for editing.
  2. Search for <whichFarm>. The number after that open tag is the farm type.
  3. Change the number to the one you want:
    code farm type
    0 standard farm
    1 riverland farm
    2 forest farm
    3 hilltop farm
    4 wilderness farm
    5 four corners farm

That will change the farm map, but everything placed on the farm will stay where it is. You may have things in an invalid position, like trees in a lake. Here are some ways to fix that:

Mac Directory Path

  • Take note of what's out of bounds, then switch back to the old farm type and move them.
  • If you use SMAPI, install the Noclip Mode mod to reach things that are out of bounds, so you can remove or move them.
  • If you use SMAPI, enter one of these commands in the SMAPI console:
    command effect
    world_clear farm debris remove stones, branches, weeds, and dead crops.
    world_clear farm trees remove non-fruit trees.
    world_clear farm fruit-trees remove fruit trees.
    world_clear farm grass remove tall grass.
    world_clear farm everything remove everything, including placed objects.

Remove an NPC

You can remove an NPC from your save file (e.g. to fix an NPC permanently stuck in an invalid place). If it still exists in the game data, the NPC will respawn when you reload the save file. This should be a last resort, and is unnecessary when using SMAPI versions 3.0 and up, as SMAPI will attempt to remove this data for you.

  1. Open your save file for editing. Make sure you format the file for readability per those instructions.
  2. Remove the NPC:
    1. Search for the NPC's default name between 'name' tags (e.g. to remove Penny: <name>Penny</name>).
    2. Remove the entire 'NPC' section containing the line you found, starting from the previous <NPC> line up to and including the next </NPC> line.
  3. (optional) Remove the NPC friendship data:
    1. Search for the NPC's default name between 'string' tags (e.g. to remove Penny: <string>Penny</string>).
    2. Remove the entire 'item' section containing the line you found, starting from the previous <item> line up to the next </item> line.
Retrieved from 'https://stardewvalleywiki.com/mediawiki/index.php?title=Saves&oldid=98951'

Setting up a proper game development environment is critically important when making MODs and content for the Source Engine. The most important aspect of the game environment is determining the location of the game directory. This document explains what the game directory is, and how it is used.

  • 2Setting the current game directory
  • 4Notes

The game directory is the folder that the tools refer to when they are looking for a game's content. For example, the Hammer Editor needs to know where it can find your materials so it can display them. Studiomdl will compile a model, but it needs to know where to place the compiled model files. Vrad.exe will light a map, but it needs to know where to find prop models so it can load them and determine how they block light. None of the SDK tools will run unless they can find your game directory.

Examples of the game directory for the core Source games:

Half-Life 2C:Program FilesSteamSteamAppsCommonHalf-Life 2hl2
Counter-Strike: SourceC:Program FilesSteamSteamAppsCommoncounter-strike sourcecstrike
Half-Life 2: DeathmatchC:Program FilesSteamSteamAppsCommonhalf-life 2 deathmatchhl2mp

In the following examples, we're going to refer to the game directory as C:Program FilesSteamSteamAppssourcemodsMyModBlasters. This would be the case if you selected Create a Mod in the SDK launcher, entered C:Program FilesSteamSteamAppssourcemodsMyMod as the directory, and entered Blasters as the mod name.

One way to determine the game directory of your game is to look for a file called GameInfo.txt. If you find the GameInfo.txt file, then the directory it sits in is the game directory. In the example above, if you had created C:Program FilesSteamSteamAppssourcemodsMyModBlasters, there would be a file on your hard drive called C:Program FilesSteamSteamAppssourcemodsMyModBlastersGameInfo.txt. Once you've found the game directory, you need to tell the SDK tools where that directory is.

For information on how GameInfo.txt can be created for your own MOD, and how the contents are used, see GameInfo.txt File Structure.

The active game directory is set so that all the tools know how to find the game content without having to specify it each time. The Current Game drop-down list on the Source SDK Launcher is the primary way to set the active game directory.

Using the Source SDK Launcher to set the game directory

To set the active game directory with the Source SDK Launcher:

  1. Double-click Source SDK from the Steam Play Games Menu.
  2. Next you must choose the correct Current Game from the Source SDK Launcher.
  3. Now launch one of the SDK tools, such as the Hammer Editor, by double-clicking it.

Using VConfig to set the game directory

The VConfig application can also be used to set the active game directory. It provides a similar function to setting the Current Game in the SDK Launcher.

The vconfig.exe application is found in the sourcesdkbin directory.

For example, if you installed Steam at C:Program FilesSteam, VConfig would be found here:

To set your active game directory with VConfig:

  1. Double-click the vconfig.exe application.
  2. Next you must choose the correct Current Game from the drop-down list.
  3. Click OK.
  4. Now launch one of the SDK tools, such as the Hammer Editor, by double-clicking it.

Alternatively, you can specify the game directory you wish to use without launching VConfig and choosing from the menu. To do this, simply run VConfig with the command-line parameter -game [directory]. This can be especially useful for setting the game directory in a batch file or other automated process.

For example, the following command would set the game directory to the default Half-Life 2 install path without having to actually launch VConfig:

An alternative method to set the current game directory is to directly specify the directory location on the command line when running each SDK tool. All of the SDK tools support the -game <directory>command line parameter. The advantage to specifying the game directory on the command line is that you are being explicit about where your game's content is to be found.

Here are some examples of running tools where you specify the game directory explicitly:

Note:If you have spaces in your game directory path, you must use quotation marks around the game directory path:

Using the -game command-line parameter to specify the current game directory gives you the advantage of being able to work on multiple games or MODs at once, and change your configurations for each. This can be easily done by making shortcuts to tools such as vtex with the -game parameter built-into the shortcut. When doing this, make sure to add quotes around the game directory path, if the path contains spaces.

Left 4 Dead 2 and later don't work properly when attempting to open the Hammer Editor on a 64-bit system after upgrading from 32-bit, as there comes one or two error messages:VCONFIG Error

Setup file 'gameinfo.txt' doesn't exist in subdirectory'c:program files (x86)steamsteamappscommonleft 4 dead 2binvconfigCheck your -game parameter or VCONFIG setting.Error

Setup file 'gameinfo.txt' doesn't exist in subdirectory'c:program filessteamsteamappscommonleft 4 dead 2left4dead2Check your -game parameter or VCONFIG setting.{


This problem however, can be fixed by editing the GameConfig.txt in the bin folder:

Home Directory Mac

English or other language: Add a space and '(x86) after 'program files' on all locationsSwedish: Replace 'program' with 'Program Files (x86)'

See Also

Mac File Directory

Retrieved from 'https://developer.valvesoftware.com/w/index.php?title=Game_Directory&oldid=215281'