Distribute a game - Desktop

Monkey Forums/Monkey Programming/Distribute a game - Desktop

cgrossi(Posted 2015) [#1]
Hi, guys.

How do I distribute a game? I've tried to run the executable I've created and the application asks for OpenAL.


dawlane(Posted 2015) [#2]
Some where in the MonkeyX targets directory is a installer called oal.exe. This is a redistributable made by creative labs that you can package with your application.
You can create an executable installer with the aid of NSIS or Inno.


Soap(Posted 2015) [#3]
We use Inno for building and this is how we install OpenAL with the installer.

Like dawlane said the oalinst.exe file can be found in the zip you get when you download any version of Monkey.

[Files]
Source: "C:\dev\oalinst.exe"; DestDir: "{tmp}"; Flags: ignoreversion

[Run]
; Install OpenAL
Filename: "{tmp}\oalinst.exe"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait; Parameters: "/s"

This does a silent install which the oalinst.exe file supports.

These will make sense as to what to do with them if you download Inno and make a few installers with it.

I also include a copy of oalinst.exe on our site on product pages and in the binary files in the install just in case for some reason silent install doesn't go through.