> For the complete documentation index, see [llms.txt](https://gamelauncher.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gamelauncher.gitbook.io/documentation/utilities/launch-arguments.md).

# Launch Arguments

### **For recent versions (v2.3.2 or newer)**

In Visual Studio, **GameLauncher** Project.

1. Locate and open *Models/Patcher/LauncherConfig.cs*
2. Set your parameters in the variable\
   **GlobalCustomLaunchArguments**

That's all.

### **Older versions (v2.3.1 or less)**

On older GameLauncher Editions, please add this line to the *Models/Patcher/LauncherConfig.cs*

```csharp
// Global Custom launch arguments for the game(s)
public static string GlobalCustomLaunchArguments = ""; // e.g. "-novid -fullscreen", "-user legend -password 1234"
```

Then, in *Models/Patcher/PatcherFunctions.cs,* **locate PlayButtonClicked()** function and add this line after `string launchArgs declaration`

```csharp
launchArgs += LauncherConfig.GlobalCustomLaunchArguments;
```

<figure><img src="/files/FxbsSIZLvKs9uRVq7dok" alt=""><figcaption></figcaption></figure>
