Autor Tema: mod_gme: Game Music Emulator  (Leído 7654 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado warrior_rockk

  • Full Member
  • ***
  • Mensajes: 225
  • Karma: 8
    • Ver Perfil
mod_gme: Game Music Emulator
« en: Septiembre 09, 2015, 05:19:16 am »
Module for play videogame music in our respective formats.
The current systems / formats that allowed:



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


This is the list of functions:


Citar
int gme_load_song(string filename)


int gme_play_song()


int gme_stop_song()


int gme_pause_song()


int gme_resume_song()


int gme_voice_count()


int gme_mute_voice(int voice)


int gme_unmute_voice(int voice)


int gme_set_tempo(float tempo)


int gme_song_ended()


string gme_get_song_info(int info_type)


double gme_get_song_length()


double gme_get_intro_length()


double gme_get_loop_length()


double gme_get_song_pos()


int gme_fade_off(double duration_ms)


int gme_is_fading()


I attached the module and example of use.


Desconectado warrior_rockk

  • Full Member
  • ***
  • Mensajes: 225
  • Karma: 8
    • Ver Perfil
Re:mod_gme: Game Music Emulator
« Respuesta #1 en: Septiembre 14, 2015, 11:11:32 pm »
Solved a bug on gme_set_tempo function



Desconectado cmunoz

  • Newbie
  • *
  • Mensajes: 42
  • Karma: 0
  • Sexo: Masculino
    • Ver Perfil
Re:mod_gme: Game Music Emulator
« Respuesta #2 en: Septiembre 16, 2015, 11:35:19 am »
SO cool! I've been dreaming of something like this. Thanks a million!!!!
@thistof

Desconectado handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • Sexo: Masculino
  • I'm the eye in the sky.
    • Ver Perfil
    • dyko designs
Re:mod_gme: Game Music Emulator
« Respuesta #3 en: Septiembre 18, 2015, 11:14:39 am »
He, that's very interessting! Back in the fenix day's I've always wanted something like this. If I have some time I'll check it out. I know I'm not currently active with programming since I've got a new job last november (so little time for hobbies) :)

Desconectado SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12457
  • Karma: 367
  • Sexo: Masculino
    • Ver Perfil
Re:mod_gme: Game Music Emulator
« Respuesta #4 en: Septiembre 19, 2015, 12:24:31 pm »
cool!
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

Desconectado warrior_rockk

  • Full Member
  • ***
  • Mensajes: 225
  • Karma: 8
    • Ver Perfil
Re:mod_gme: Game Music Emulator
« Respuesta #5 en: Septiembre 26, 2015, 10:36:03 am »
Added function to seek and obtain song position, a function to play concrete track on multitrack song files, optional parameter on play_song and play_track for the play mode (GME_PLAY_ONCE or GME_PLAY_LOOP), and fixed the MSX example file.


Conectado FreeYourMind

  • Hero Member
  • *****
  • Mensajes: 5543
  • Karma: 125
  • Sexo: Masculino
    • Ver Perfil
    • GECA soft
Re:mod_gme: Game Music Emulator
« Respuesta #6 en: Diciembre 03, 2015, 01:26:56 pm »
can you port the module to gcw zero ? (i can try to port it if you dont have time)

Desconectado warrior_rockk

  • Full Member
  • ***
  • Mensajes: 225
  • Karma: 8
    • Ver Perfil
Re:mod_gme: Game Music Emulator
« Respuesta #7 en: Diciembre 21, 2015, 11:09:01 am »
I don't know which dependencies are necessary to compile on to gcw zero, but, I can try find out...

Desconectado MikeDX

  • Jr. Member
  • **
  • Mensajes: 50
  • Karma: 0
  • Sexo: Masculino
    • Ver Perfil
    • Div Arena
Re:mod_gme: Game Music Emulator
« Respuesta #8 en: Febrero 15, 2016, 01:49:18 pm »
Will you be releasing the source to the DLL? I have a semi working version for div which I should really complete. I assume it uses game music emu which is LGPL

Website: http://www.slack.net/~ant/

(I am guessing this because the dll has references to the same music source files as those contained in it)

Desconectado warrior_rockk

  • Full Member
  • ***
  • Mensajes: 225
  • Karma: 8
    • Ver Perfil
Re:mod_gme: Game Music Emulator
« Respuesta #9 en: Febrero 16, 2016, 12:28:02 am »
Will you be releasing the source to the DLL? I have a semi working version for div which I should really complete. I assume it uses game music emu which is LGPL

Website: http://www.slack.net/~ant/

(I am guessing this because the dll has references to the same music source files as those contained in it)


Ouch! I forgot to release the sources. And yes, it is based on gme library.


can you port the module to gcw zero ? (i can try to port it if you dont have time)


Sorry, I totally forgot that you had request the sources...

Desconectado MikeDX

  • Jr. Member
  • **
  • Mensajes: 50
  • Karma: 0
  • Sexo: Masculino
    • Ver Perfil
    • Div Arena
Re:mod_gme: Game Music Emulator
« Respuesta #10 en: Febrero 16, 2016, 04:31:15 am »
Excellent work warrior rock :) thanks for the zip!