# 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&#x26;token=4393f69f-ac95-41c3-b298-a545eaf87a3b" alt=""><figcaption></figcaption></figure>
