---
name: "Profile"
type: topic
source: https://community.bistudio.com/wiki/Profile
revid: 353531
updated: 2024-03-19T12:01:24Z
---

# Profile

All Real Virtuality games allow you to create multiple profiles. Personal settings like video configuration, campaign progress or controls assigments are saved in profile files.

### Directory

Path varies depending on a project, see following table for specific directories.

Green text means variable based on your local settings.

| Icon | Game | Path | Extension |
|---|---|---|---|
| Operation Flashpoint v1.00 | **Arma: Cold War Assault** | `Arma: CWA directory\Users\ProfileName\` | N/A |
| Armed Assault v1.00 | **Armed Assault** | ```<br>My Documents\ArmA\<br>My Documents\ArmA Other Profiles\ProfileName\<br>``` | `*.ArmAProfile` |
| Arma 2 v1.00 | **Arma 2** | ```<br>My Documents\Arma 2\<br>My Documents\Arma 2 Other Profiles\ProfileName\<br>``` | `*.ArmA2Profile` |
| Arma 2: Operation Arrowhead v1.50 | **Arma 2: Operation Arrowhead** | ```<br>My Documents\Arma 2\<br>My Documents\Arma 2 Other Profiles\ProfileName\<br>``` | `*.ArmA2OAProfile` |
| Take On Helicopters v1.00 | **Take On Helicopters** | ```<br>My Documents\Take On Helicopters\<br>My Documents\Take On Helicopters Other Profiles\ProfileName\<br>``` | `*.TakeOnHProfile` |
| Arma 3 v1.00 | **Arma 3** | ```<br>My Documents\Arma 3\<br>My Documents\Arma 3 - Other Profiles\ProfileName\<br>``` | `*.Arma3Profile` |

### Contents

#### Files

- **ProfileName.Extension** - file with all basic profile settings. Commonly referred to as a **profile file**.
- **ProfileName.vars.Extension** - file with scripted variables used by scenarios or modules. See [Scripting](../topics/Profile.md#scripting) section below for more details. The file is binarized, which means it is encrypted and cannot be opened as a plain text and saved afterwards. This is to prevent cheating by editing values of certain variables.
- **ProfileName.3den.Extension** - Eden Editor specific settings.
- **UserInfo.cfg** - file with all basic profile settings used in Arma: CWA.

#### Folders

- ***Compositions*** - [custom compositions](../topics/Eden_Editor~3A_Custom_Composition.md) saved by the editor
- ***Missions*** - scenarios saved by Eden Editor
- ***MPMissions*** - scenarios saved by Eden Editor when it was opened on a server
- ***Saved*** - savegames of scenarios and campaigns. Also contains local versions of subscribed Steam scenarios.
- ***Screenshot*** - folder where pictures are saved by [screenshot](../commands/screenshot.md) command. By default limited to 250 MB to prevent abuse, see the command page for description on how to increase the size.
- ***UserSaved*** - savegames of scenarios previewed in the editor.

### Scripting (Take On Helicopters v1.00Arma 3 v1.00)

You can save any variable to the profile using [profileNamespace](../commands/profileNamespace.md) command.
This is used to preserve persistent information like character progress, resources or various mod settings.

```sqf
profileNamespace setVariable ["myVariable", 1];
```

This will save it to namespace, but not yet to the file itself, so restarting would not preserve the variable. To mirror the namespace into the file, call:

```sqf
saveProfileNamespace;
```

Once set, you can retrieve the variable using:

```sqf
private _myVar = profileNamespace getVariable "myVariable";
```

> [!IMPORTANT]
> Do not save large amount of data to the profile: the larger the profile file gets, the slower it loads!

<sub>Source: [BI Community Wiki — Profile](https://community.bistudio.com/wiki/Profile) (revision 353531).</sub>
