Using Tracker Musics as BGM in Ren'Py, is it possible?

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
YuudachiPoi1999
Newbie
Posts: 5
Joined: Sat Dec 12, 2015 10:49 pm
Projects: Flower of the Winter
Organization: Invasion Games
Soundcloud: YuudachiPoi1999
Location: Yogyakarta,Indonesia
Contact:

Using Tracker Musics as BGM in Ren'Py, is it possible?

#1 Post by YuudachiPoi1999 » Sun Jan 17, 2016 5:40 am

I'm currently working on my visual novel titled 'Flower of the Winter', but kinda have a problem here.

I composing the baackground musics using OpenMPT (honestly, I'm sucks at FL Studio or DAW-based softwares, also I started to use tracker software since 2006). But I encounter difficulties when using the music in the Ren'Py.
First, Ren'Py seems doesn't support tracker formats like .s3m, .xm, .it, or even .mo3 (perhaps there is sort of plug-ins for this?) Because if using .ogg (streamed ones), I have to create two .ogg files (one for the intro part and for the looping part), which is hard to make the music loops properly (I need to find the exact spot where the music should looping).
Second, .ogg files uses more spaces rather than tracker files (especially the compressed format, .mo3). I just inserted 8 BGMs and they uses about +15 MB space, while my tracked format just 3 MB in one file (Impulse Tracker) an can contain multiple song tracks.

Perhaps there is a special plugin for Ren'Py to play tracked musics, and specify the starting position for few musics (as PopCap Games' Bejeweled 2 does, if you know)?

User avatar
SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Using Tracker Musics as BGM in Ren'Py, is it possible?

#2 Post by SundownKid » Sun Jan 17, 2016 4:27 pm

http://www.renpy.org/doc/html/audio.html

The only file formats supported are ogg, mp3 and wav.

You can't set a loop point but you can queue up the two music tracks so that the intro plays, then the looping music.

As for supporting tracker files, not likely to ever happen. Pytom has his hands full updating the engine, and saving 15MB of space is not really a top priority considering that most people have terabytes of hard drive space these days.

But if you really felt strongly about it, Renpy is open source, so if you know of someone who could implement it, you certainly can.

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Using Tracker Musics as BGM in Ren'Py, is it possible?

#3 Post by PyTom » Mon Jan 18, 2016 1:02 am

Ren'Py supported tracker music for its first few years, and nobody ever used it. They're formats that are - in practice - obsolete for new development.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
YuudachiPoi1999
Newbie
Posts: 5
Joined: Sat Dec 12, 2015 10:49 pm
Projects: Flower of the Winter
Organization: Invasion Games
Soundcloud: YuudachiPoi1999
Location: Yogyakarta,Indonesia
Contact:

Re: Using Tracker Musics as BGM in Ren'Py, is it possible?

#4 Post by YuudachiPoi1999 » Mon Jan 18, 2016 3:38 am

SundownKid wrote:As for supporting tracker files, not likely to ever happen. Pytom has his hands full updating the engine, and saving 15MB of space is not really a top priority considering that most people have terabytes of hard drive space these days.
I'll gonna feel guilty for few Android phone users (not tablets nor the OUYA console), since most of few low-end phones didn't have many spaces in internal memory (and most of Indonesian people stuck at low-end Android phones).
SundownKid wrote:But if you really felt strongly about it, Renpy is open source, so if you know of someone who could implement it, you certainly can.
Probably modifying several plug-ins or source codes should help. If it does, I'll consider.
PyTom wrote:Ren'Py supported tracker music for its first few years, and nobody ever used it. They're formats that are - in practice - obsolete for new development.
Probably you still have the 'forgotten tracker music' source code in your hard disk or somewhere? If you do, can I grab those code? It should be handy for me at least, if I can slightly modify the code!

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Using Tracker Musics as BGM in Ren'Py, is it possible?

#5 Post by PyTom » Mon Jan 18, 2016 10:38 am

I have it, but it wouldn't be very useful to you. It stopped working when Ren'Py added support for ffmpeg/libav.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
YuudachiPoi1999
Newbie
Posts: 5
Joined: Sat Dec 12, 2015 10:49 pm
Projects: Flower of the Winter
Organization: Invasion Games
Soundcloud: YuudachiPoi1999
Location: Yogyakarta,Indonesia
Contact:

Re: Using Tracker Musics as BGM in Ren'Py, is it possible?

#6 Post by YuudachiPoi1999 » Wed Jan 20, 2016 6:22 am

PyTom wrote:I have it, but it wouldn't be very useful to you. It stopped working when Ren'Py added support for ffmpeg/libav.
Hm... Okay then... Looks like I should stuck on spliting the music that had looped twice from my beloved tracker music... :(
Thanks for the advice. :cry:

Post Reply

Who is online

Users browsing this forum: No registered users