version 1.44, 2020/09/06 03:26:43 |
version 1.45, 2020/09/08 08:22:02 |
|
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm |
.Nm |
.Op Fl i | y |
.Op Fl i | y |
.Op Fl hv |
.Op Fl hsv |
.Op Fl c Ar configfile |
.Op Fl c Ar configfile |
.Op Fl d Ar depdir |
.Op Fl D Ar depdir |
|
.Op Fl d Ar gamedir |
|
.Op Fl f Ar frameworkfile | Fl F Ar frameworkversion |
.Op Fl m Ar monopath |
.Op Fl m Ar monopath |
.Op Ar gamedir |
.Op Ar userflags |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm |
.Nm |
sets up games based on the FNA engine to operate with OpenBSD-native |
runs games based on the FNA engine with OpenBSD-native |
libraries and its |
libraries and its |
.Xr mono 1 |
.Xr mono 1 |
runtime. |
runtime. |
|
|
has been extended to attempt configuring XNA games as well. |
has been extended to attempt configuring XNA games as well. |
.Nm |
.Nm |
can be run in 3 basic modes regarding the addition of missing libraries: |
can be run in 3 basic modes regarding the addition of missing libraries: |
restrictive, interactive, and permissive. |
restrictive |
|
.Po |
|
default |
|
.Pc |
|
, interactive, and permissive. |
.Pp |
.Pp |
|
As of version 3.0, |
|
.Nm |
|
unifies both setup and launch of supported games in one command. |
|
.Pp |
All games require additional libraries from ports, like SDL2. Some of |
All games require additional libraries from ports, like SDL2. Some of |
them can be found in fnaify-extralibs package, like libatomstb or |
them can be found in the fnaify-extralibs package, like libatomstb or |
libfmod_SDL. |
libfmod_SDL. |
.Pp |
.Pp |
The arguments are as follows: |
The arguments are as follows: |
|
|
creates |
creates |
.Pa ~/.config/fnaify/fnaify.dllmap.config |
.Pa ~/.config/fnaify/fnaify.dllmap.config |
with default settings. |
with default settings. |
.It Fl d Ar depdir |
.It Fl D Ar depdir |
Add |
Add |
.Ar depdir |
.Ar depdir |
to the directories to search for native library dependencies. |
to the directories to search for native library dependencies. |
|
|
.Em before |
.Em before |
the default locations |
the default locations |
.Pq Pa /usr/local/lib No etc. . |
.Pq Pa /usr/local/lib No etc. . |
|
.It Fl d Ar gamedir |
|
Path to the game's directory |
|
.Pq defaults to the current working directory . |
|
.It Fl f Ar frameworkfile |
|
Framework file to use. Typically |
|
.Pa FNA.dll |
|
or |
|
.Pa MonoGame.Framework.dll . |
|
By default will automatically identify the bundled file in the |
|
game's directory. |
|
.It Fl F Ar frameworkversion |
|
Choose a specific framework version to use. |
|
.It Fl h |
|
Prints help text. |
.It Fl m Ar monopath |
.It Fl m Ar monopath |
Add |
Add |
.Ar monopath |
.Ar monopath |
to the directories the |
to the directories the |
.Xr mono 1 |
.Xr mono 1 |
runtime will search for DLLs. |
runtime will search for DLLs. |
.It Fl h |
.It Fl s |
Prints help text. |
Force |
|
.Pq re- |
|
running setup. |
|
.It Fl V |
|
Display version of |
|
.Nm . |
.It Fl v |
.It Fl v |
Verbose mode. |
Verbose mode. |
.It Ar gamedir |
.It Ar userflags |
Optional. |
Optional. |
Path to the game directory to process. |
Flags that are passed to the game as arguments |
If not specified, the current working directory will be used. |
|
.El |
.El |
.Sh SUPPORTED GAMES |
.Sh SUPPORTED GAMES |
.Bl -item -compact |
.Bl -item -compact |