[BACK]Return to fnaify.1 CVS log [TXT][DIR] Up to [local] / projects / fnaify

Annotation of projects/fnaify/fnaify.1, Revision 1.22

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

Contact: <mail@mail.thfr.info>