Mod Archive Forums
Community => Project / Coder's Corner => Topic started by: tritonfx on April 10, 2010, 22:33:49
-
Hey guys, I was going to make my own modarchive streamer but lucked out whe. I found out that samples are stored in the end of a .mod file so I would have to download the entire file before playing it. I was wondering if the online player downloaded it completely first?
-
1) Before leeching tunes automatically from the archive, ask for permission first.
2) Get familiar with the ProTracker .MOD format (or .XM, or .S3M, or .IT, or whatever you want to play). You would see then pretty quickly that you cannot "stream" module files, i.e. you need the whole file to play it, because samples and patterns are essential for that.
-
I wasnt leeching from MA. I used a local zipped file to test if downloading would work because conceptually itd be similar to opening a file as I was testing on an emulator. This was meant for the ds. I used this as a proof of concept and was going to apply for an api key if it worked but it didnt.
-
Well, aren't there mod players for the DS already?
-
Well, aren't there mod players for the DS already?
None that download :(
-
well, yeah, that's what you call abstraction. :P one part of the program is a music playing library (which already exists) and the other part is a downloader for example. those parts should be developed independently. the music part has already been done for you, but i really cannot help you with the downloading part; basically, you need to download the files somehow, decompress them and pass them to the module player.
-
I was working a bit on it today since I had nothing else to do and got pretty good results ... except the dswifi library is really slow. Tops out at around 10 kilobytes per second making anything larger than 100 kB or so a long wait to download. :(