{"name":"Profile","title":"Profile","type":"topic","url":"https://community.bistudio.com/wiki/Profile","revid":353531,"updated":"2024-03-19T12:01:24Z","aliases":[],"markdown":"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.\n\n### Directory\n\nPath varies depending on a project, see following table for specific directories.\n\nGreen text means variable based on your local settings.\n\n| Icon | Game | Path | Extension |\n|---|---|---|---|\n| Operation Flashpoint v1.00 | **Arma: Cold War Assault** | `Arma: CWA directory\\Users\\ProfileName\\` | N/A |\n| Armed Assault v1.00 | **Armed Assault** | ```<br>My Documents\\ArmA\\<br>My Documents\\ArmA Other Profiles\\ProfileName\\<br>``` | `*.ArmAProfile` |\n| Arma 2 v1.00 | **Arma 2** | ```<br>My Documents\\Arma 2\\<br>My Documents\\Arma 2 Other Profiles\\ProfileName\\<br>``` | `*.ArmA2Profile` |\n| 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` |\n| 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` |\n| Arma 3 v1.00 | **Arma 3** | ```<br>My Documents\\Arma 3\\<br>My Documents\\Arma 3 - Other Profiles\\ProfileName\\<br>``` | `*.Arma3Profile` |\n\n### Contents\n\n#### Files\n\n- **ProfileName.Extension** - file with all basic profile settings. Commonly referred to as a **profile file**.\n- **ProfileName.vars.Extension** - file with scripted variables used by scenarios or modules. See 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.\n- **ProfileName.3den.Extension** - Eden Editor specific settings.\n- **UserInfo.cfg** - file with all basic profile settings used in Arma: CWA.\n\n#### Folders\n\n- ***Compositions*** - custom compositions saved by the editor\n- ***Missions*** - scenarios saved by Eden Editor\n- ***MPMissions*** - scenarios saved by Eden Editor when it was opened on a server\n- ***Saved*** - savegames of scenarios and campaigns. Also contains local versions of subscribed Steam scenarios.\n- ***Screenshot*** - folder where pictures are saved by screenshot command. By default limited to 250 MB to prevent abuse, see the command page for description on how to increase the size.\n- ***UserSaved*** - savegames of scenarios previewed in the editor.\n\n### Scripting (Take On Helicopters v1.00Arma 3 v1.00)\n\nYou can save any variable to the profile using profileNamespace command.\nThis is used to preserve persistent information like character progress, resources or various mod settings.\n\n```sqf\nprofileNamespace setVariable [\"myVariable\", 1];\n```\n\nThis 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:\n\n```sqf\nsaveProfileNamespace;\n```\n\nOnce set, you can retrieve the variable using:\n\n```sqf\nprivate _myVar = profileNamespace getVariable \"myVariable\";\n```\n\n> [!IMPORTANT]\n> Do not save large amount of data to the profile: the larger the profile file gets, the slower it loads!","sections":[{"heading":null,"level":1,"markdown":"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."},{"heading":"Directory","level":3,"markdown":"Path varies depending on a project, see following table for specific directories.\n\nGreen text means variable based on your local settings.\n\n| Icon | Game | Path | Extension |\n|---|---|---|---|\n| Operation Flashpoint v1.00 | **Arma: Cold War Assault** | `Arma: CWA directory\\Users\\ProfileName\\` | N/A |\n| Armed Assault v1.00 | **Armed Assault** | ```<br>My Documents\\ArmA\\<br>My Documents\\ArmA Other Profiles\\ProfileName\\<br>``` | `*.ArmAProfile` |\n| Arma 2 v1.00 | **Arma 2** | ```<br>My Documents\\Arma 2\\<br>My Documents\\Arma 2 Other Profiles\\ProfileName\\<br>``` | `*.ArmA2Profile` |\n| 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` |\n| 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` |\n| Arma 3 v1.00 | **Arma 3** | ```<br>My Documents\\Arma 3\\<br>My Documents\\Arma 3 - Other Profiles\\ProfileName\\<br>``` | `*.Arma3Profile` |"},{"heading":"Contents","level":3,"markdown":""},{"heading":"Files","level":4,"markdown":"- **ProfileName.Extension** - file with all basic profile settings. Commonly referred to as a **profile file**.\n- **ProfileName.vars.Extension** - file with scripted variables used by scenarios or modules. See 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.\n- **ProfileName.3den.Extension** - Eden Editor specific settings.\n- **UserInfo.cfg** - file with all basic profile settings used in Arma: CWA."},{"heading":"Folders","level":4,"markdown":"- ***Compositions*** - custom compositions saved by the editor\n- ***Missions*** - scenarios saved by Eden Editor\n- ***MPMissions*** - scenarios saved by Eden Editor when it was opened on a server\n- ***Saved*** - savegames of scenarios and campaigns. Also contains local versions of subscribed Steam scenarios.\n- ***Screenshot*** - folder where pictures are saved by screenshot command. By default limited to 250 MB to prevent abuse, see the command page for description on how to increase the size.\n- ***UserSaved*** - savegames of scenarios previewed in the editor."},{"heading":"Scripting (Take On Helicopters v1.00Arma 3 v1.00)","level":3,"markdown":"You can save any variable to the profile using profileNamespace command.\nThis is used to preserve persistent information like character progress, resources or various mod settings.\n\n```sqf\nprofileNamespace setVariable [\"myVariable\", 1];\n```\n\nThis 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:\n\n```sqf\nsaveProfileNamespace;\n```\n\nOnce set, you can retrieve the variable using:\n\n```sqf\nprivate _myVar = profileNamespace getVariable \"myVariable\";\n```\n\n> [!IMPORTANT]\n> Do not save large amount of data to the profile: the larger the profile file gets, the slower it loads!"}],"categories":["ArmA: Armed Assault: Editing","Arma 2: Editing","Arma 3: Editing","Operation Flashpoint: Editing","Take On Helicopters: Editing"],"groups":["Game and Troubleshooting"]}