Description

This is a music module player that uses libmodplug and audio buffers in GMS to play MOD music in 22 different formats (Amiga MOD, XM, S3M, IT etc.). Individual tracks can be muted and tempo can be changed in real time. MOD 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 MOD 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_mod_player.

View the documentation (pdf)

The libmodplug source code is released under public domain so there should be no restrictions to use it in your games.

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:

  • MOD (ProTracker (Amiga))
  • STM (ScreamTracker 2)
  • S3M (ScreamTracker 3)
  • XM (FastTracker 2)
  • IT (Impulse Tracker)
  • 669 (Composer 669)
  • AMF (ASYLUM Music Format / DSMI Advanced Music Format)
  • AMS (Extreme's Tracker / Velvet Studio)
  • DBM (Digi Booster Pro)
  • DMF (X-Tracker)
  • DSM (DSIK Format)
  • FAR (Farandole Composer)
  • MDL (DigiTrakker)
  • MED (OctaMED (Amiga))
  • MTM (MultiTracker)
  • OKT (Oktalyzer)
  • PTM (PolyTracker)
  • ULT (UltraTracker)
  • UMX (Unreal Music Package)
  • MT2 (MadTracker 2)
  • PSM (Epic Megagames MASI)

Functions

  • MOD_LoadSong(filename, repeat_count)
  • MOD_Play()
  • MOD_Pause(pause)
  • MOD_Stop()
  • MOD_GetName()
  • MOD_GetLength()
  • MOD_GetTempo()
  • MOD_SetTempo(tempo)
  • MOD_NumChannels()
  • MOD_MuteChannel(channel, mute)
  • MOD_GetChannelVolume(channel)
  • MOD_SetChannelVolume(channel, volume)

End User Licence Agreement (EULA).

Changes in 1.4.0

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

Version 1.4.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

Meryl I 23 September 2018

Awesome Player

This is a great extension, had to change a few references such as MOD_Init to ModPlug_Init etc.. to get the demo to work (used my own included mod file). Is there any way to reference channel data to utilise peak bars/vu-meters as per Protracker etc...not sure if this is based on volume per channel (realtime) or note trigger, as it would be really cool for some demo style coding #retrogeek =)


Gravatar

Rasmus D 09 June 2018

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


Gravatar

David M 09 June 2018

Cool !

Excelent mod reader.
Quality support by the author. Go for it!

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


Gravatar

Ednei N 08 June 2018

It works perfectly

Excellent mod. I recommend.
Support is great.

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

Logo

Mick @ GamePhase (Publisher) 09 June 2018

Ednei helped me troubleshoot a problem caused by the new audio engine in GMS. Basically you may need to increase the number of buffers used by the MOD Player, details can be found in the updated documentation.


Gravatar

Rhys J 12 September 2017

Works like a charm!

It plays a large variety of file types and enables significant file size savings compared with mp3 music
Mick responded really quickly to my questions.

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


Gravatar

Troy B 25 August 2017

Perfect.

A flawless asset in every way. Developer was quick to answer questions and it works great in my game.

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


Gravatar

Chris M 12 May 2017

love it!

i love this player, and the .xm files i'm playing sound great.

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

Package contents

Loading, please wait

What is the issue?

Back to Top