Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: Calculus on June 02, 2008, 07:24:09 AM

Title: Chip Tunes
Post by: Calculus on June 02, 2008, 07:24:09 AM
Ive searched around on the forum and couldnt find anything on it, so im making a new topic

basically I was wondering if there is a plugin for rockbox that will let me play .mod files
i really want to listen to some chiptunes and i hate putting them into mp3's

i installed rockbox last night in about 2 minutes, manually as the automatic installation failed to see my ipod, im happily running rockbox now, how i also have a question, how do i actually turn my ipod off?

it seems the only way is to reset it, is there an off function that I havent noticed..

Title: Re: Chip Tunes
Post by: MarcGuay on June 02, 2008, 07:26:58 AM
Support for MOD files was implemented recently, just try to play those tracks and see what happens.  And for the button configuration of your player, check the Quick Start section of the manual.
Title: Re: Chip Tunes
Post by: Calculus on June 02, 2008, 07:28:51 AM
yay im gonna try now! thanks!
Title: Re: Chip Tunes
Post by: LambdaCalculus on June 02, 2008, 08:08:24 AM
If you really want to know what chip tune formats Rockbox plays, you can see that information here (http://www.rockbox.org/twiki/bin/view/Main/SoundCodecs).
Title: Re: Chip Tunes
Post by: Calculus on June 02, 2008, 09:55:56 AM
thankyou very much.
im happily listening to my chiptunes now :)
Title: Re: Chip Tunes
Post by: Alzheimers on June 06, 2008, 09:24:27 AM
Just registered so I could add my appreciation to whomever added .MOD support to Rockbox.

You've restored my faith in humanity, as well as bolstered hope for the rest of the major sample tracker formats -- S3M, XM, and IT

WOOT!
Title: Re: Chip Tunes
Post by: LambdaCalculus on June 06, 2008, 09:42:38 AM
There's a patch in Flyspray for other S3M, XM, and IT tracker formats; see FS #8806 (http://www.rockbox.org/tracker/task/8806?histring=8806).

However, it's a viewer plugin, instead of a codec using the playback engine. A lot of work has to be done to rewrite it as a codec.
Title: Re: Chip Tunes
Post by: Alzheimers on June 06, 2008, 04:27:56 PM
So is it a patch or a plugin?  As far as I can tell,  plugins just need to be copied to my device, while patches need to be compiled.
Title: Re: Chip Tunes
Post by: MarcGuay on June 06, 2008, 04:45:36 PM
It's a patch for a plugin.  Parts of plugins are built into the source so you'll need to compile yourself to give it a try. 
Title: Re: Chip Tunes
Post by: Alzheimers on June 06, 2008, 04:53:36 PM
Thanks for the reply.

That's what I was afraid of.  If there's a QnD shortcut that someone could point to for me for the process, I'd greatly appreciate it. Otherwise it'll be a weekend of mucking around.

edit: thanks for the link! I just stumbled on http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling when I saw your post -- for anyone else curious enough to try
Title: Re: Chip Tunes
Post by: Chronon on June 06, 2008, 04:57:40 PM
Look here: http://www.rockbox.org/twiki/bin/view/Main/DocsIndex#For_Developers

In particular, the SimpleGuideToCompiling page might be a good start.
Title: Re: Chip Tunes
Post by: MarcGuay on June 06, 2008, 05:04:04 PM
If you're using Windows, I recommend VMWare over Cygwin for both ease of installation and speed.
Title: Re: Chip Tunes
Post by: pailes on June 09, 2008, 04:45:58 PM
There is also a module playing library included in the MilkyTracker source code package. It offers very accurate module replay for a lot of formats but it's written in C++.
Title: Re: Chip Tunes
Post by: Calculus on June 10, 2008, 01:26:52 PM
fantastic isnt it?!
i can walk down the street listening to maktone and estrayk now :)
im going to make a new thread and we should compile a list of good chiptune artists with their best tunes named.
Title: Re: Chip Tunes
Post by: LambdaCalculus on June 10, 2008, 01:32:19 PM
Oh, no you don't! That's off-topic for these forums.

If you want to compile such a list, do it elsewhere. These forums are for Rockbox and technical talk related to the project. Favorite music and movies and such has no place here.
Title: Re: Chip Tunes
Post by: Alzheimers on June 16, 2008, 04:55:36 PM
Just wanted to check in and see if anyone had success compiling that plugin.  I tried a little bit since last week using cygwin, but I haven't had much time to figure out what was going wrong. 

I'm hoping the other chiptune formats get implemented into the official build, as most of my favorites (such as Leviathan, and Skaven and Purple Motion from FC) are in the .S3M or .IT formats

edit: IT WORKS!

After applying the patches in order and continuing to get errors about duplicate declarations of plugin_start I restarted from scratch with the daily build and JUST the "patch-3".  But I was still getting an error:

Code: [Select]
enum plugin_status plugin_start(const struct plugin_api* rockbox, const void* parameter)

after browsing the code a minute, I realized the declaration should be changed to

Code: [Select]
enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)

Make again ... and this time it compiled flawlessly.

I'm now enjoying all my old S3Ms on my iRiver H10 20gb.  Thanks!!!