Skip to content

Conversation

@ericoporto
Copy link
Member

@ericoporto ericoporto commented Jul 3, 2025

this is just a sketch, the idea is to output a makefile or ninja-build that can be run with make/ninja and build an ags game using the command line tools and the game Game.agf project file. My goal for ninja is it is a nicely self contained executable that could be shipped easily, but I guess some people may prefer make so I thought to come up with some general "architecture" with the idea that there could be some code reuse but this didn't happen for real yet.

Note this can't actually build a game yet since some necessary tools don't exist yet.

Consider the code a huge sketch. Most of the comments are from my thought process.

We can decide we don't want this, but writing this helped me understand all the necessary steps to build a game with command line tools and exercise what is written in the wiki (see https://github.com/adventuregamestudio/ags/wiki/AGS-Game-Build-process-(3.5.*)).

@ericoporto ericoporto force-pushed the gen-build-2 branch 3 times, most recently from 7262278 to 21bc6c8 Compare July 4, 2025 02:06
This is still a sketch.

example usage is

    cd ags-project
    mkdir build
    agfbuildgen Game.agf build/
    cd build
    ninja
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant