Plan for Distribution menu

From OHRRPGCE-Wiki
Jump to: navigation, search

The Distribution menu will be a menu in custom that allows you to easily and automatically package your game for distribution in various ways on various platforms.

All (or most) of these distribution methods will require some helper application to be installed. Some of these could only work on certain platforms.

There should also be some kind of option for managing your README.txt file, and perhaps the ability to create a new one based on a template.

LICENSE-binary.txt will also be included along with any copy of game.exe

Contents

[edit] Zip file

Create a zip file containing:

  • a copy of your RPG file
  • a copy of game.exe renamed to match your game's filename
  • LICENSE-binary.txt
  • your README.txt

[edit] Windows Installer

Using either Innosetup or NSIS, create a Windows installer of your game. This would include the same files as the zip file, and would add your game to the program files menu, and have an option to add shortcuts to the desktop.

There should be an option for whether the fullscreen command line argument should be included in the shortcuts.

[edit] Mac App Bundle

Make a renamed copy of OHRRPGCE-Game.app with your rpg file inside it. Optionally select an icon. The OSX icon format is .ics; it would be nice to accept either this or .bmp/.png etc. which would require packaging a conversion tool. Also, change the name of the application menu (currently "OHRRPGCE Game") to match the game's name.

Package the app along with your README.txt in a dmg compressed volume.

hdiutil is the commandline tool for creating dmg files. .dmg is a propriety format, and only 3rd party tools to read it appear to exist, so other platforms will have to use something else, like zip files.

[edit] Tarball

Just like the ZIP file, but as a .tar.gz or a .tar.bz2

[edit] Debian/Ubuntu .deb

Build a .deb file that will install your game and create a menu shortcut to it. This should not include a copy of the ohrrpgce-game binary, instead it should set the .deb file to depend on the ohrrpgce package being installed with a new enough date version number

Personal tools