Skip to content

zBassMusic

zBassMusic is a modern music system for Gothic games based on ZenGin. It replaces the original DirectMusic system with a custom engine built on top of BASS Library to provide easier workflow for composers and additional functions for the perfect soundtrack design. The most important features include:

  • Direct playback of common audio formats (WAV, OGG, MP3) instead of DirectMusic proprietary formats
  • Out-of-the-box support for existing music theme definitions (just change the audio file)
  • Alternative scheduling & transition systems to support smooth cross-fades between themes
  • Loading of music files from VDF volumes (DirectMusic required physical files)
  • Scriptable interface for controlling the system from Deadalus scripts
  • Backward compatibility with original .sgt music (it's redirected to the DirectMusic system)

Project Status

zBassMusic is still in the development phase and some APIs may be unstable, incomplete or buggy. You can help the project by using the plugin and reporting bugs or proposing ideas for the next features. The current state and plans for the future are on the Roadmap.

  • : Release Builds


    Release builds are ready to be used in Gothic and we publish them automatically on our GitHub.

    Releases

  • Source Code


    zBassMusic is open source and you can access the code on our public repo hosted by GitHub.

    GitHub

  • Bug Reporting


    If you have found a bug in zBassMusic, please create an issue on GitHub and tell us what's wrong.

    Issues

  • Discussions


    We listen to ideas for new features, so if something is missing from zBassMusic, let us know and we'll do it.

    Discussions

For modders

zBassMusic is designed exclusively for Gothic modders to include it in their mods and it's licensed under a permissive MIT License, so you can use the plugin for free in any project1. It's built using the new union-api and can be embedded either as a Union 1.0m plugin or as a completely standalone plugin for base Gothic with System Pack.

Check out Getting Started for instructions how to start working with zBassMusic.

For players

Unlike most Union plugins, zBassMusic doesn't provide any functions directly for the players who just play base game or some other mod utilizing the original music system. In order to make use of the plugin, you have to actually put your music in the game, so there is no point of installing zBassMusic if you are not making a mod.

Repository

zBassMusic is an open source project with the source code available on GitHub.

Authors

zBassMusic development started in 2023 as an internal plugin for Nek's History to ease the collaboration with our composer2 who had zero knowledge of DirectMusic Producer workflow and forcing him to learn it would be a complete waste of time and possibly limit the creativity. Sometime later the internal code base based on Union SDK 1.0m was rewritten for union‑api — the successor of Union SDK, and published as an open source project.

The project is maintained under Silver Ore Team modding group by tehe:

The mentionable contributors for the early stage development are Boguś and Emu who have helped sorting some things up. If you'd like to also help zBassMusic development, check out Developer Guide and feel free to submit a Pull Request. One accepted merge and you will join the gallery.

Mosaic of zBassMusic contributors


  1. zBassMusic depends on vendored libraries union-api and gothic-api licensed under GNU GPL Version 3 and on propertiary licensed BASS Library that's free for non-commercial use only. Make sure you are not violating these terms while using zBassMusic. 

  2. Adam Dzieżyk, composer for Golden Gate, Golden Gate 2, Nek's History and many non-Gothic projects. Also a reason why zBassMusic exists.