Skip to content

adambiser/agkbuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgkBuild

What is AgkBuild?

AgkBuild is a Python script that automates building and exporting AppGameKit Classic Tier 1 projects.

Sometimes write once, run anywhere isn't enough. As you develop your game, you might end up having a full version, a demo, a Steam release, paid and ad-supported Android releases on Google Play and Amazon, etc. all being built from the same code base.

AppGameKit doesn't have conditional compilation and #include/#insert lines are always performed, even inside of a false condition.

if 0  // No conditional compilation
    #include "steam.agc"  // This file is always included!
endif

This script allows you to swap #include/#insert files depending on what's being built, set a different APK package name for a release, and more.

Requirements

Currently this script only works on Windows systems.

You must own AppGameKit Classic to use this. This script will not work with the new AppGameKit Studio because it does not have a separate compiler application (AGKCompiler.exe).

You will also need Python 3.7+ to run the script.

Installing

Before getting started, you'll need to install the script requirements using

pip install -r requirements.txt

Reporting Issues

Please use the issue tracker.

Licenses

The Python code in this project and the agkbuild.nsi include file are licensed under the GPL-2.0 License to match the AppGameKit IDE from which some of this code (export_apk and export_html5) was ported.

Projects used by this code have their own licenses.

Microsoft DirectX SDK Redistributables (June 2010)

Homepage

SDK License

Redist License

Nullsoft Scriptable Install System (NSIS)

Homepage

License

Windows Packager

Homepage

License