Description

Chiptune Player is an extension that uses game_music_emu and audio buffers in GMS to play chiptune music in several formats including NSF (NES, Nintendo Entertainment System), GBS (Nintendo Game Boy) and SPC (Super Nintendo). Individual voices can be muted and tempo can be changed in real time. An example of usage is included in the asset, should be very easy to use. Chiptune Player currently supports Windows, Linux (32bit and 64bit) and Android (32bit). The shared library is included for Mac OS X 64-bit, but it is unsupported.

NOTE1: If you have a room / game speed of lower than 60 (or maybe even then), you may need to increase the number of buffers used by the Chiptune Player extension to avoid noise or glitches. You can do this by increasing the value of the variable buffer_count to 20 (or even higher) in the create event of obj_gme.

View the documentation (pdf)

game_music_emu is released under LGPL (GNU Lesser General Public License), so you are allowed to use it in commercial games since the library is dynamically linked to your project. To comply with LGPL, the source code for the shared library need to be included in your game project (the source code I used to build the library is included with this asset and is only 154KB, the archive also includes instructions for building the library on the different platforms). You should also mention in your game credits that you are using the game_music_emu library. The game_music_emu project can be found here: https://bitbucket.org/mpyne/game-music-emu/wiki/Home

Because of the hassle with licenses I'm releasing this for free, if you want to support my work then you can get the MOD Player available from me here on the Gamemaker Marketplace.

Note: GMS2 version only tested on Windows 7, GMS1.4 version tested on Windows 7, Ubuntu 14.04, Ubuntu 16.04 64bit and Samsung Galaxy S5 with Android 5.0

Supported formats:

  • AY (ZX Spectrum / Amstrad CPC)
  • GBS (Nintendo Game Boy)
  • GYM (Sega Genesis / Mega Drive)
  • HES (NEC TurboGrafx-16 / PC Engine)
  • KSS (MSX Home Computer / other Z80 systems (doesn't support FM sound))
  • NSF/NSFE (Nintendo NES / Famicom (with VRC 6, Namco 106, and FME-7 sound))
  • SAP (Atari systems using POKEY sound chip)
  • SPC (Super Nintendo / Super Famicom)
  • VGM/VGZ* (Sega Master System / Mark III, Sega Genesis / Mega Drive, BBC Micro)

*) VGZ files are gzipped vgm and will need to be extracted to work.

End User Licence Agreement (EULA).

Changes in 1.3.0

  • Mac OS X dylib built for 64-bit (untested)

Version 1.3.0. Published September 7, 2018

Created with GameMaker: Studio v1.4.1772

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Anonymous 08 August 2018

Great asset, but still get noise

Even after setting the buffer count to 30, I get noise on SPC's, but I can't expect perfection. This was on both commercial SPC's and my own creations. Using the latest version of GMS2 and Windows 10 x64. Still, runs great and I can hear the music clearly. I still highly recommend this asset to anyone wanting custom retro music, or ripped commercial for a fan game, in their projects.

This review was left for a previous version of this asset.

Logo

Mick @ GamePhase (Publisher) 06 September 2018

That's a shame, something changed with the new audio engine YoYo introduced for Windows, there's not much I can do about it. I don't seem to experience that issue myself on Windows 7 x64.


Gravatar

Anonymous 30 July 2018

This review was left for a previous version of this asset.


Gravatar

Anonymous 17 July 2018

This review was left for a previous version of this asset.


Gravatar

Anonymous 14 July 2018

This review was left for a previous version of this asset.


Gravatar

Clint F 07 April 2018

This review was left for a previous version of this asset.


Gravatar

Anonymous 25 March 2018

This review was left for a previous version of this asset.


Gravatar

Anonymous 23 March 2018

I love this extension. I have some requests.....

Thank you for sharing this extension for free. I would love it if you added GME_SetPitch or something.

This review was left for a previous version of this asset.


Gravatar

Daniel B 08 March 2018

This review was left for a previous version of this asset.


Gravatar

Anonymous 24 February 2018

This review was left for a previous version of this asset.


Gravatar

davide m 17 February 2018

Fantastique!

In this period i'm playing with Sid Wizard, Famitracker and LSDJ: with the assets made by Mick i feel like a child at christmas eve. :D
Flawless asset, i totally love it. Thank you so much!

This review was left for a previous version of this asset.


Gravatar

Anonymous 13 February 2018

Perfect

Is it possible to adjust the track position with audio_sound_set_track_position?
And a feature like audio_sound_length would be useful?

This review was left for a previous version of this asset.

Logo

Mick @ GamePhase (Publisher) 05 February 2018

It might be possible to make functions to set the position and get the length, I will look into it!

EDIT: I have now added these functions. At the same time I added a function to get track position and some functions to get metadata (for some formats). The documentation has been updated to reflect the additions.


Gravatar

Mario A 31 July 2017

Fantastic

Easy to setup and use in your projects, this extension is a godsend, it infused my project with not only NSF songs but also with renewed motivation. Remember to support the dev getting one of his paid extensions!

This review was left for a previous version of this asset.


Gravatar

Djemie G 26 April 2017

Amazing. Just amazing

Surprisingly easy to set up and to my knowledge the only reliable way to play many of these music files in GMS2. Thank you for making this!

This review was left for a previous version of this asset.

Package contents

Loading, please wait

What is the issue?

Back to Top