How To Set Up Proxy Support

If you require Proxy Support for your installation of GameMaker Studio 2, this can be added simply by editing a file in the GMS2 installation. The file that you will need to change is the GameMakerStudio.exe.config which can be found in your GameMaker Studio 2 install directory, normally located at: C:\Program Files\GameMaker Studio 2\GameMakerStudio.exe.config.

If you then open this file in a text editor it will look like this:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
</configuration>

You can now add in your proxy details. An example of how the file should be formatted and what details are required is shown below:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <system.net>
        <defaultProxy useDefaultCredentials="true" enabled="true">
            <module type="GMSProxy.NetworkProxy, GMSProxy"/>
        </defaultProxy>
    </system.net>
    <appSettings>
        <add key="user" value="hamish"/>
        <add key="password" value="ChangeMe123"/>
        <add key="domain" value="revo"/>
        <add key="proxy" value="http://xx.xx.xx.xx:port"/>
        <add key="bypass" value="account.yoyogames.com,www.google.com"/>
    </appSettings>
</configuration>

Some of the fields shown above are optional and if there is one you don't require then you will need to delete the whole line to remove it. Before continuing however it is worth noting that if you have set a proxy in your Windows Internet Options", and it doesn't require a username/password, it should just work "as is" and you probably will not be required to edit this file.

If your proxy does require a username and/or password, then you'll need to use the above config and remove the parts you don't want (which means that you have to remove the whole line from the file, and not just use empty quotes "" or something else). Note that in these cases the username/password/proxy details will always be required, and that the proxy ip should also have the port added.

The domain/bypass fields are optional and will depend on your requirements but if you don't use them, then delete the lines completely from the file. Note that the bypass field is a comma separated list of "hosts" (not domains) and that you need to specify complete site addresses (so, for example, you wouldn't use "yoyogames.com", but rather "account.yoyogames.com", "gms.yoyogames.com",  etc...).

Once you have made the changes to the file, save it and then run GameMakerStudio2.

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk