Difference between revisions of "How to package a Mini Micro game"

From MiniScript Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
To "package" a [[Mini Micro]] game means to bundle up all the files into a format that end-users can download (or access on the web) and play without needing anything else.
 
To "package" a [[Mini Micro]] game means to bundle up all the files into a format that end-users can download (or access on the web) and play without needing anything else.
  
The basic idea is simple: Mini Micro will automatically look for a zip file (or folder) next to the executable called ''user.minidisk'', and if it finds this, it would automatically mount that as ''/usr'' and run any program it finds there as ''/usr/startup.ms''.  So packaging amounts to taking a standard Mini Micro distribution, adding the desired ''user.minidisk'' file, and tweaking things like the app name and icon.  Exact details, though, vary with the platform you're targeting.
+
The basic idea is simple: Mini Micro will automatically look for a zip file (or folder) next to the executable called '''user.minidisk''', and if it finds this, it would automatically mount that as '''/usr''' and run any program it finds there as '''/usr/startup.ms'''.  So packaging amounts to taking a standard Mini Micro distribution, adding the desired '''user.minidisk''' file, and tweaking things like the app name and icon.  Exact details, though, vary with the platform you're targeting.
  
 
== Packaging for Windows Download ==
 
== Packaging for Windows Download ==

Revision as of 00:09, 14 March 2020

To "package" a Mini Micro game means to bundle up all the files into a format that end-users can download (or access on the web) and play without needing anything else.

The basic idea is simple: Mini Micro will automatically look for a zip file (or folder) next to the executable called user.minidisk, and if it finds this, it would automatically mount that as /usr and run any program it finds there as /usr/startup.ms. So packaging amounts to taking a standard Mini Micro distribution, adding the desired user.minidisk file, and tweaking things like the app name and icon. Exact details, though, vary with the platform you're targeting.

Packaging for Windows Download

  1. Make a virtual disk containing just the files needed for your game or app.
  2. Add a startup.ms script that loads and runs your program.
  3. If your virtual disk is (in the real file system) a folder, zip it. Rename the zip file exactly user.minidisk.
  4. Download the Windows distribution of Mini Micro from the official web page.
  5. Put your user.minidisk file next to the Mini Micro.exe file.
  6. If you like, rename Mini Micro.exe to the name of your game.
  7. Zip up (or otherwise archive, as you prefer) the whole folder containing the .exe, your user.minidisk file, and everything else that came with the original Windows distribution.

The resulting archive file can then be uploaded to DropBox or itch.io or otherwise distributed to your players.

Packaging for MacOS Download

Packaging for Linux Download

Packaging for the Web

[[Category::Mini Micro]] [[Category::How To]]