/MK-Packager

VMs for packaging Marin-MK programs

Primary LanguageShellGNU General Public License v2.0GPL-2.0

MK-Packager

Vagrant and Docker configurations for developing and packaging installers for the Marin-MK RPG tools (mkxp for MK-Starter-Kit, and MK-Editor with its dependencies odl and SDL2-CS). Currently only debug builds are supported. Release builds will be added once MK-Editor comes out of alpha.

Quick Start

First, install Vagrant, the latest VirtualBox, and git. MK-Packager does not require the VirtualBox extension pack. Now, open PowerShell or bash, and cd into the folder you want to put MK-Packager. Run the following to retrieve the project and create the Linux VM (I apologize for my stupid username):

git clone https://github.com/NighttimeDriver50000/MK-Packager.git
cd MK-Packager
git submodule update --recursive --init
vagrant up ubuntu

You can also run vagrant up fedora to create the Fedora VM, or vagrant up windows to create the Windows VM (Note: the Fedora VM is experimental, and probably always will be. You can build everything on it, but it is not as thoroughly tested. The Windows VM is for testing Windows targets only; it has no build scripts).

VirtualBox will open, and the provisioner scripts will run. This may take a while. Once the provisioning finishes, the VM will shut down. Run vagrant up [ubuntu/fedora/windows] again, and you will end up just on the Desktop. There should be several icons, including ReadMe (TODO). Open ReadMe, and follow the instructions there.

Once you are done with the VM, you can shut it down normally from within the VM. If you need to boot it again, you can cd into MK-Packager and run vagrant up [ubuntu/fedora/windows] again. If you wish to re-run the provisioner scripts, run vagrant up --provision [ubuntu/fedora/windows]. The VM will automatically shut down when the re-provisioning finishes. If you wish to delete the VM entirely, shut it down and run vagrant destroy [ubuntu/fedora/windows].

Targets

Target Technology MKXP MK-Editor
Self-Contained
Portable EXE .NET Core SFP
AppImage pkg2appimage
Installers
Windows 10 Installer WiX msi
Ubuntu 18.04 Package deb
Fedora 31 Package rpm