Annotation of projects/fnaify/fnaify.1, Revision 1.50
1.50 ! thfr 1: .Dd $Mdocdate: October 7 2020 $
1.1 thfr 2: .Dt FNAIFY 1
3: .Os
4: .Sh NAME
5: .Nm fnaify
1.6 thfr 6: .Nd run FNA/XNA games on OpenBSD
1.1 thfr 7: .Sh SYNOPSIS
8: .Nm
9: .Op Fl i | y
1.45 thfr 10: .Op Fl hsv
1.7 thfr 11: .Op Fl c Ar configfile
1.45 thfr 12: .Op Fl D Ar depdir
13: .Op Fl d Ar gamedir
14: .Op Fl f Ar frameworkfile | Fl F Ar frameworkversion
1.1 thfr 15: .Op Fl m Ar monopath
1.45 thfr 16: .Op Ar userflags
1.1 thfr 17: .Sh DESCRIPTION
18: .Nm
1.45 thfr 19: runs games based on the FNA engine with OpenBSD-native
1.3 thfr 20: libraries and its
21: .Xr mono 1
22: runtime.
1.1 thfr 23: .Pp
24: As of version 2.0,
25: .Nm
26: has been extended to attempt configuring XNA games as well.
27: .Nm
1.3 thfr 28: can be run in 3 basic modes regarding the addition of missing libraries:
1.45 thfr 29: restrictive
30: .Po
31: default
32: .Pc
33: , interactive, and permissive.
34: .Pp
35: As of version 3.0,
36: .Nm
37: unifies both setup and launch of supported games in one command.
1.1 thfr 38: .Pp
1.19 thfr 39: All games require additional libraries from ports, like SDL2. Some of
1.45 thfr 40: them can be found in the fnaify-extralibs package, like libatomstb or
1.19 thfr 41: libfmod_SDL.
42: .Pp
1.1 thfr 43: The arguments are as follows:
44: .Bl -tag -width Ds
45: .It Fl i | y
46: The mode determines how
47: .Nm
48: handles situations where compatibility problems are identified that can
49: be addressed with drop-in DLL replacements, or where an option needs to
50: be selected.
51: With
1.3 thfr 52: .Fl i ,
1.1 thfr 53: .Nm
54: runs in interactive mode, meaning the user will be prompted in every
55: case.
56: With
1.3 thfr 57: .Fl y ,
1.1 thfr 58: .Nm
1.3 thfr 59: runs in permissive mode
60: .Po
1.1 thfr 61: .Fl y
62: for
1.3 thfr 63: .Dq yes
64: to all
65: .Pc .
66: This means that any suggested drop-in DLLs will be installed,
1.1 thfr 67: and if different options are possible (like picking among several .exe
68: files for the launch script), the first one will be selected
69: automatically.
70: If neither
71: .Fl i
72: nor
73: .Fl y
74: is specified,
75: .Nm
76: runs in restrictive mode, that is no drop-in DLLs will be installed.
1.7 thfr 77: .It Fl c Ar configfile
78: Optional. Use
79: .Ar configfile
80: for the configuration of
81: .Xr mono 1 .
82: This sets up dllmap/dllentry settings to use the correct libraries. See
83: .Xr mono-config 5
84: for details. If this option is omitted,
85: .Nm
86: looks first for
1.9 thfr 87: .Pa ~/.config/fnaify/fnaify.dllmap.config
1.7 thfr 88: and then for
1.9 thfr 89: .Pa /usr/local/share/fnaify/fnaify.dllmap.config .
1.7 thfr 90: If neither one is found,
91: .Nm
92: creates
93: .Pa ~/.config/fnaify/fnaify.dllmap.config
94: with default settings.
1.45 thfr 95: .It Fl D Ar depdir
1.1 thfr 96: Add
97: .Ar depdir
1.3 thfr 98: to the directories to search for native library dependencies.
99: A directory specified this way will be searched
1.1 thfr 100: .Em before
1.3 thfr 101: the default locations
102: .Pq Pa /usr/local/lib No etc. .
1.45 thfr 103: .It Fl d Ar gamedir
104: Path to the game's directory
105: .Pq defaults to the current working directory .
1.46 thfr 106: .It Fl F Ar frameworkversion
107: Choose a specific framework version to use.
1.45 thfr 108: .It Fl f Ar frameworkfile
109: Framework file to use. Typically
110: .Pa FNA.dll
111: or
112: .Pa MonoGame.Framework.dll .
113: By default will automatically identify the bundled file in the
114: game's directory.
115: .It Fl h
116: Prints help text.
1.1 thfr 117: .It Fl m Ar monopath
118: Add
119: .Ar monopath
1.3 thfr 120: to the directories the
121: .Xr mono 1
122: runtime will search for DLLs.
1.45 thfr 123: .It Fl s
1.46 thfr 124: Force (re-)running setup.
1.45 thfr 125: .It Fl V
126: Display version of
127: .Nm .
1.1 thfr 128: .It Fl v
129: Verbose mode.
1.45 thfr 130: .It Ar userflags
1.3 thfr 131: Optional.
1.45 thfr 132: Flags that are passed to the game as arguments
1.1 thfr 133: .El
134: .Sh SUPPORTED GAMES
1.3 thfr 135: .Bl -item -compact
136: .It
1.1 thfr 137: The Adventures of Shuggy
1.3 thfr 138: .It
1.6 thfr 139: Akane the Kunoichi
140: .It
141: Amazing Princess Sarah
142: .It
1.1 thfr 143: Apotheon
1.3 thfr 144: .It
1.6 thfr 145: Apple Jack 1&2
146: .It
1.19 thfr 147: Atom Zombie Smasher
148: .It
1.36 thfr 149: A Virus Named TOM [!]
150: .It
1.25 thfr 151: Before the Echo [!]
1.40 thfr 152: .It
153: Bird Assassin
1.24 thfr 154: .It
1.1 thfr 155: Bleed
1.3 thfr 156: .It
1.1 thfr 157: Bleed 2
1.3 thfr 158: .It
1.1 thfr 159: Breath of Death VII
1.3 thfr 160: .It
1.1 thfr 161: Brushwood Buddies
1.3 thfr 162: .It
1.37 thfr 163: Camera Obscura
164: .It
1.1 thfr 165: Capsized
1.3 thfr 166: .It
1.37 thfr 167: Celeste (no audio)
1.19 thfr 168: .It
1.1 thfr 169: Chaos Heart
1.3 thfr 170: .It
1.1 thfr 171: Charlie Murder
1.3 thfr 172: .It
1.1 thfr 173: Chasm
1.3 thfr 174: .It
1.1 thfr 175: CometStriker
1.3 thfr 176: .It
1.1 thfr 177: Cryptark
1.3 thfr 178: .It
1.23 thfr 179: Cthulhu Saves the World
1.3 thfr 180: .It
1.1 thfr 181: Curse of the Crescent Isle DX
1.3 thfr 182: .It
1.1 thfr 183: Dad Quest
1.3 thfr 184: .It
1.22 thfr 185: Dead Pixels [!]
1.6 thfr 186: .It
1.22 thfr 187: Dead Pixels II [!]
1.3 thfr 188: .It
1.1 thfr 189: The Dishwasher: Vampire Smile
1.3 thfr 190: .It
1.6 thfr 191: Draw a Stickman: EPIC
192: .It
1.1 thfr 193: Dust: An Elysian Tail
1.3 thfr 194: .It
1.38 thfr 195: Eagle Island
196: .It
1.15 thfr 197: Eliza
198: .It
1.1 thfr 199: Escape Goat
1.3 thfr 200: .It
1.1 thfr 201: Escape Goat 2
1.3 thfr 202: .It
1.15 thfr 203: EXAPUNKS
204: .It
1.1 thfr 205: FEZ
1.3 thfr 206: .It
1.1 thfr 207: Fist Puncher
1.3 thfr 208: .It
1.1 thfr 209: Flinthook
1.3 thfr 210: .It
1.1 thfr 211: Flotilla
1.6 thfr 212: .It
1.1 thfr 213: Gateways
1.50 ! thfr 214: .It
! 215: Glitchangels
1.3 thfr 216: .It
1.22 thfr 217: Grand Class Melee 2 [!]
1.6 thfr 218: .It
1.1 thfr 219: Growing Pains
1.3 thfr 220: .It
1.24 thfr 221: HackNet
1.3 thfr 222: .It
1.32 thfr 223: Hidden in Plain Sight
224: .It
1.42 thfr 225: Hive
1.3 thfr 226: .It
1.1 thfr 227: Hyphen
1.3 thfr 228: .It
1.1 thfr 229: Jon Shafer's At the Gates
1.3 thfr 230: .It
1.26 thfr 231: LaserCat
1.3 thfr 232: .It
1.13 thfr 233: Little Racers STREET
234: .It
1.1 thfr 235: Mercenary Kings
1.19 thfr 236: .It
237: MidBoss
1.3 thfr 238: .It
1.15 thfr 239: Molek-Syntez
240: .It
1.32 thfr 241: Mount Your Friends [!]
1.16 thfr 242: .It
243: NeuroVoider
1.4 thfr 244: .It
1.1 thfr 245: Ninja Warrior
1.3 thfr 246: .It
1.28 thfr 247: One Finger Death Punch
1.3 thfr 248: .It
1.29 thfr 249: Opus Magnum
1.15 thfr 250: .It
1.1 thfr 251: Overdriven Reloaded
1.3 thfr 252: .It
1.1 thfr 253: Owlboy
1.3 thfr 254: .It
1.1 thfr 255: Paladin
1.3 thfr 256: .It
1.1 thfr 257: Penny Arcade's On the Rain-Slick Precipice of Darkness 3
1.3 thfr 258: .It
1.1 thfr 259: Penny Arcade's On the Rain-Slick Precipice of Darkness 4
1.6 thfr 260: .It
1.30 thfr 261: Phoenix Force
1.3 thfr 262: .It
1.32 thfr 263: PlanetFriend
264: .It
1.31 thfr 265: Press X to Not Die
1.3 thfr 266: .It
1.1 thfr 267: Rex Rocket
1.3 thfr 268: .It
1.1 thfr 269: Rogue Legacy
1.3 thfr 270: .It
1.32 thfr 271: Ruggnar
272: .It
1.1 thfr 273: Salt and Sanctuary
1.3 thfr 274: .It
1.32 thfr 275: Session Seven
276: .It
1.18 thfr 277: Shenzhen I/O
278: .It
1.1 thfr 279: Shipwreck
1.39 thfr 280: .It
281: Signs of Life
1.3 thfr 282: .It
1.1 thfr 283: Skulls of the Shogun
1.3 thfr 284: .It
1.1 thfr 285: Soulcaster 1 & 2
1.3 thfr 286: .It
1.32 thfr 287: SpaceChem [!]
1.20 thfr 288: .It
1.1 thfr 289: SpeedRunners
1.3 thfr 290: .It
1.1 thfr 291: Stardew Valley
1.3 thfr 292: .It
1.1 thfr 293: Sumico
1.3 thfr 294: .It
1.32 thfr 295: Super Amazing Wagon Adventure [!]
1.3 thfr 296: .It
1.4 thfr 297: Super Blood Hockey
298: .It
1.1 thfr 299: Super Rad Raygun
1.4 thfr 300: .It
1.32 thfr 301: Sword of the Stars: The Pit [!]
1.3 thfr 302: .It
1.11 thfr 303: Terraria
304: .It
1.1 thfr 305: Timespinner
1.3 thfr 306: .It
1.1 thfr 307: TowerFall: Ascension
1.3 thfr 308: .It
1.32 thfr 309: Ultra Hat Dimension
310: .It
1.1 thfr 311: Unexplored
1.3 thfr 312: .It
1.1 thfr 313: Unholy Heights (no audio)
1.3 thfr 314: .It
1.1 thfr 315: The Useful Dead
1.3 thfr 316: .It
1.32 thfr 317: Weapon of Choice [!]
1.36 thfr 318: .It
319: Wizorb
1.3 thfr 320: .It
1.1 thfr 321: Wyv and Keep
1.3 thfr 322: .El
1.1 thfr 323: .Sh FILES
324: .Bl -tag -width Ds
1.10 thfr 325: .It Pa /usr/local/share/fnaify/fnaify.dllmap.config
326: Default configuration file to map DLLs to native libraries.
1.9 thfr 327: .It Pa ~/.config/fnaify/fnaify.dllmap.config
1.10 thfr 328: User directory configuration file. Takes precedence if it exists.
1.15 thfr 329: Make sure to keep it up-to-date!
1.1 thfr 330: .El
331: .Sh EXIT STATUS
332: .Nm
1.47 thfr 333: returns 1 if an error occurred, otherwise 0.
1.1 thfr 334: .Sh EXAMPLES
335: Run in permissive mode, suitable to set up most supported games
336: automatically.
337: .Pp
1.47 thfr 338: .Dl $ fnaify -y -d path/to/game/directory
1.1 thfr 339: .Pp
340: Run in interactive mode.
341: .Nm
342: will prompt the user if any additional DLLs are recommended, or if a
343: file needs to be selected for the launch script.
344: .Pp
1.47 thfr 345: .Dl $ fnaify -i
1.1 thfr 346: .Sh SEE ALSO
1.7 thfr 347: .Xr mono 1 ,
348: .Xr mono-config 5
1.1 thfr 349: .Sh HISTORY
350: The
351: .Nm
352: utility was originally created in December 2017 by
1.7 thfr 353: .An Thomas Frohwein Aq Mt thfr@openbsd.org .
1.2 thfr 354: .Sh RELEASE HISTORY
355: .Bl -tag -width Ds
1.33 thfr 356: .It 3.0
1.44 thfr 357: Stop creating launch script. Instead use fnaify for both
358: setup and launch.
1.17 thfr 359: Support for several Zachtronics games. Add libstubborn use to dllmap.
360: Symlinking for MonoGame, e.g. NeuroVoider.
1.49 thfr 361: Preferential use of installed FNA.dll over bundled one.
1.14 thfr 362: .It 2.2
363: Fix config for mono 6. Add support for libcestub.
1.8 thfr 364: .It 2.1
1.12 thfr 365: Support for additional XNA games. Add MONO_FORCE_COMPAT quirk.
1.2 thfr 366: .It 2.0
1.3 thfr 367: Add support for XNA games.
1.35 thfr 368: Introduce interactivity flags
1.2 thfr 369: .Fl i | y
370: to facilitate adding in needed assemblies/libraries.
371: .It 1.3
1.3 thfr 372: Add prompt to download and replace
373: .Pa FNA.dll
374: if incompatible version is found.
375: Detect steamstubs directory and use Steamworks stubs if present.
1.2 thfr 376: .It 1.2
377: FreeBSD portability fixes, account for more special cases (MidBoss,
378: Adventures of Shuggy, Atom Zombie Smasher), add directory path to plug
379: in additional libraries.
380: .It 1.1
381: Fix bug selecting .exe by separating input variables.
382: .It 1.0
383: Initial release.
384: .El
1.1 thfr 385: .Sh AUTHORS
386: .An -nosplit
387: .An Thomas Frohwein Aq Mt thfr@openbsd.org
1.48 thfr 388: .An Mariusz Zaborski
Contact: <mail@mail.thfr.info>