Skip to main content

Various Python tools for messing around with GB Studio projects.

Project description

GBS Toolkit

Python tools for messing around with GB Studio projects.

GBS Toolkit is a tool I've built while working on Soul and Silicon, a queer/trans dating simulator I'm writing for the GameBoy Color. It's a very text-heavy game, and while GB Studio has a dialogue review section, it can't always easily handle lots of branching dialogue, and there's no way for it to add new dialogue.

GBS Toolkit allows you to export the entirety of a GB Studio project into a collection of files written in kdl. These files define the properties and scripts for every scene, actor, trigger, asset, and more in the game, and can be reimported into a GB Studio .gbsproj file once you're done editing them. No data should be lost between importing and exporting, so you can edit freely without worrying about having to reimplement things.

The GBS Toolkit project is also set up so that other Python projects can use it as a library for interacting with GB Studio project files.

Requirements

  • Tested with GB Studio v2.0 beta 5. Other versions may not work properly.
  • Python 3.6 or higher.
  • kdl-py 1.0.0 or higher.

Installation and Usage

GBS Toolkit can be used either through the command line or a GUI. There will be executable bundles for MacOS and Windows available in Releases soon, but as I don't currently have access to an x86 Linux machine, I'm not able to create a bundle for it. If anyone would like to help with that, please let me know!

GBS Toolkit can be installed from PyPI:

pip install gbstoolkit

In order to run the GBS Toolkit GUI from the command line:

gbstoolkit gui

In order to convert a project from a .gbsproj file to kdl:

gbstoolkit format <gbsproj file> <kdl directory>

In order to convert a project from kdl to a .gbsproj file:

gbstoolkit parse <kdl directory> <gbsproj file>

Running a bundled executable will launch the GUI immediately.

Future Plans

Currently, there is no support for custom plugins or engines. Support is planned for future versions, but I'm still figuring out how to write a plugin system that doesn't allow for arbitrary code execution.

GBS Toolkit will be updated to support GB Studio v3 once it exits alpha and is recommended for games to use.

Licensing and Contribution

Contributions are more than welcome, and GBS Toolkit is publicly available under FAFOL 0.2. You can use, modify, and even redistribute it however you want, as long as you're not being exploitative with it. Thank you for giving GBS Toolkit a look!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gbstoolkit-1.0.0.tar.gz (34.2 kB view details)

Uploaded Source

Built Distribution

gbstoolkit-1.0.0-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

Details for the file gbstoolkit-1.0.0.tar.gz.

File metadata

  • Download URL: gbstoolkit-1.0.0.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for gbstoolkit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d7c0a3257df669027127f0366eac47594595366745747cdfa2d3b62dbf007670
MD5 d4e6c1fc37302af9977210562fc40dc4
BLAKE2b-256 4d0d6db2099460d0214cb65a467241d33740d278cf813dad51686e62098088b6

See more details on using hashes here.

File details

Details for the file gbstoolkit-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gbstoolkit-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 44.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for gbstoolkit-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66190019dba2a7d6837392d4e716091f4030cfe69d9010b05e6c220761a3d6b9
MD5 cb1548871a4376e3e7ee36895b654625
BLAKE2b-256 4165a9db5f7aa5791e68df94eb9a1d6cc016afe27e56aeaafbb9d974a4a884c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page