Skip to content

A wrapper for pxtone's Windows DLL (32-bit GM versions only)

Notifications You must be signed in to change notification settings

YAL-GameMaker/pxtonegm

Repository files navigation

pxtoneGM

Supported platforms: Windows, Windows (YYC)
Supported versions: GM8.1, GM:S, GMS2.x, x86 runtimes on GM2022 (pre-GM2022.8)

This is a wrapper for pxtone's Windows DLL! It lets you play music made in pxtone Collage.

It's intended to be API-compatible with the 2010 DLL by Anokorok.

Differences

  • Does not depend on an antique version of Microsoft Visual C++ Runtime Redistributable
  • GM:S/newer extensions use the extension system to load the extension instead of calling pxtone_init_wrapper() yourself.
  • Buffer functions for GM:S and newer
  • Added a few other missing functions.
  • There's pxtone_get_clock instead of pxtone_get_sample because no copies of the DLL with that addition have survived and I can't tell what it's supposed to return (or even what the clock callback returns, really).

Caveats

So I have implemented the library from this official website, which

  1. Doesn't have a 64-bit version
  2. Doesn't support some of the tracks made with latest Collab..?
    Even though that version string appears in the DLL

But instead I should have been implementing the library from this official website, which is cross-platform and has a completely different API.

Here's my reaction to finding that out after I already wrote most of the code and started testing the thing on various tracks:

Meta

Consider this to be MIT or whatever.

About

A wrapper for pxtone's Windows DLL (32-bit GM versions only)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published