Author Topic: agikit v0.8.0: AGIv3 support, VSCode UX improvements, project config, and more!  (Read 844 times)

0 Members and 1 Guest are viewing this topic.

Offline natbudin

Hello everyone!  I've just released agikit version 0.8.0.  This is a huge release!  It contains the following changes:

  • AGIv3 extraction and build support
  • New format for .agipic files (a JSON list of commands). Reading the binary format is still supported; editing a binary .agipic in Visual Studio Code and saving it will automatically convert it to JSON format. This new format makes it easier to transition between AGIv2 and AGIv3 because they use slightly different binary encodings for PIC resources.
  • Added a new file called agikit-project.json at the root of a project. This currently allows setting the target AGI version and game ID, but in the future can be extended to support many other options.
  • Improved console output for build and extract, with automatic color support detection
  • extract CLI command now accepts -l, -v, -p, and -s options (like XV3 does) for extracting specific LOGIC, VIEW, PIC, and SOUND resources specifically
  • extract CLI command no longer outputs .dot or .agiasm files by default when decompiling LOGIC scripts. Passing the new -d option will cause it to output them for debug purposes
  • VSCode extension now supports using ScummVM as a "debugger". This doesn't actually add step-through debug support, because ScummVM doesn't expose an interface for external apps to do that, but it does allow the VSCode extension's build and run workflow to work more like VSCode users expect, with tasks.json and launch.json support.
  • Added the beginnings of an automated test suite using Jest. Right now, the only tested code is the LZW and PIC compression and decompression, but I hope to expand the tests in the future.

As usual, you can get agikit by following the instructions in the README at:

I was curious to see whether it would be possible to use this to upgrade an AGIv2 game to v3, so I pulled out one of my old projects, the Operation: RECON trailer.  The source code to this has been lost, but I'm attempting to reconstruct it.  I was able to extract the trailer as v2, compile and run it with ScummVM, and then change the agikit-project.json file to use v3, and compile and run it again.  It doesn't get very far (it shows the opening screen, then goes to the lab scene, but the sprites appear in the wrong places on screen and as a result the scene never really gets started).  I'm going to play with this more and see what it takes to fully upgrade it to AGIv3 and then publish the results as an example AGIv3 program.

Any feedback, wishes, questions, etc. would be most welcome!

SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.013 seconds with 22 queries.