> 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="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FVovLtlcsClprmxR4Ym2W%2Fimage.png?alt=media&amp;token=4393f69f-ac95-41c3-b298-a545eaf87a3b" alt=""><figcaption></figcaption></figure>
