Dark Bit Factory & Gravity
GENERAL => Projects => Topic started by: padman on April 21, 2010
-
Ok, here's something I've been fiddling about with lately. It would be nice if some of you guys (especially with Windows Vista/7) could test it and tell me if it works or not.
What is it?
Now, this little program uses the good old in_sk00l.dll Winamp plugin some of you might have heard of already for Amiga music playback. That's nothing new (both the dll and using it in your own program) and not my achievement either. BUT, what always bugged me is that you couldn't select the subsongs, since this could only be done in a modal(!) dialog with a slider which made it pretty much unusable in own prods, especially when in fullscreen mode. It really sucks, when your demo/intro/ whatever switches back to the desktop for changing subsongs...:D Well, now a couple of Peeks and Pokes later, I can switch the subsongs without the bloody modal dialog. YAY! And even the automatic max subsong detection works. (not always, but quite often :D)Since this is kind of a wild (i.e. crap) "hack", involving 2 dlls in memory and the afore mentioned peeking and poking I'm not sure if that works especially on newer machines. That's why I decided to put it up here. If it works, I might do a retro Amiga chip disk or something, dunno yet... ;) The GUI was quickly hacked together to show it here, so if it has bugs it doesn't really matter. What I'm after is crashes or odd behavior regarding the music playback.
Formats that can be replayed this way and make it quite handy imho:
Sound-/Noise-/Star-/Ultima-/Pro-Tracker (*.MOD)
Brian Postma's SoundMon (*.BP;*.BP3)
DigiBooster (*.DBM)
SoundFX (*.SFX)
Oktalyzer (*.OKT;*.OK)
Future Composer (*.FC;*.FC3;*.FC4;*.FC13;*.FC14)
DeliTracker CUSTOM (*.CUST;*.CUS;*.CUSTOM)
David Whittaker (*.DW)
Jochen Hippel (*.HIP)
SidMon 1 (*.SID1)
Fred Monitor (*.FRED)
Music Assembler (*.MA)
Mark II (*.MKII;*.MK2)
Maniacs Of Noise (*.MON)
Delta Music 2.0 (*.DM2)
Any feedback is welcome!
Cheers,
Pad :)
-
lovely little thing :) (now listen to 5th gear the whole night) :clap: :clap: :|| :||
works fine here (vista) ..everything cool padman
-
Works perfect for me mate on XP :clap:
Any chance of doing this as a stand alone player for us??
They just sound SO much better in this to me anyway keep up the amazing work on this. :goodpost:
-
Good news is that this great little player works on Windows 7 too :)
-
Thanks for testing guys! :) For a change it seems as if this runs fine on all Windows platforms... :||
Any chance of doing this as a stand alone player for us??
I don't know if it's really worth the effort to create a whole new standalone player out of this, since there are so many better and more compatible players available (Deliplayer, XMplay+Delix plugin etc.) but I quickly shoehorned in a very basic load option so you can play with it. Simply drag your files (one by one or it'll f**k up ;)) onto the listview. The file will be added to the bottom of the list right after the inbuilt songs. There's no check on extensions etc, so you might drag a text file on there, but it doesn't matter. The only thing is you won't hear any music. ;D To remove an entry just drag the file off the listview after you have stopped the playback. Max subsong detection doesn't work for manually loaded files yet, you can still hit Subsong+ and it'll change the songs if there are any. If you don't hear anything anymore then you are out of subsongs ;) Changing subsongs works for CUSTOM, HIPPEL and WHITTAKER format so far. There are more formats that might contain subsongs, only the first song is played then.
Enjoy! :)
[Edit] Attachment removed. New version available in the 1st post!
-
Thanx for the quick hack on this one m8 :clap:
I think it would be a nice tool to have by someone on this board but that is up to you.
I hope you do an Amiga chipdisk now you know it works :updance:
-
Wonderfull work Padman dude, i've tried it out on XP, and I really like the mention of maniacs of noise to me they are leg ends.
im installing vista in an hour or so,and will let you know if anything happens, if it does that is. I do know that alot of game music played really nasty as they didnt make the direct audio backward compatable or words to that affect.
were can I find some maniacs of noise .mon formats dude, and will tryout some drag and dropping!
-
Thx mate! :)
were can I find some maniacs of noise .mon formats dude, and will tryout some drag and dropping!
Try:
ftp://ftp.modland.com/pub/modules/Maniacs%20Of%20Noise/
-
i've just tried in Vista the flimbo's quest.mon and it has pauses between parts of the currently playing tune. it also doesn't display who it's by and any subsongs.
-
Hmm, it shouldn't studder. I don't know why that is happening.
it also doesn't display who it's by and any subsongs.
That's normal because the load option was a quick (=crap) addition. The title has 12 subsongs, I'll work on that, it isn't recognised yet because of:
Changing subsongs works for CUSTOM, HIPPEL and WHITTAKER format so far. There are more formats that might contain subsongs, only the first song is played then.
Thanks for testing anyway! ;)
-
Added support for Maniacs of Noise subsong switching.
Working on Fred Monitor support...
Edit: Added support for Fred Monitor subsong switching.
New version dl in the first post. Future versions will be available from there too. :)
-
I've been listening some tunes while coding. I'd have seconded the request to make it into a stand alone player, but the load hack does the trick nicely! :)
-
This is turning into a bit of a labour of love Padman :) Nice work.
-
This is turning into a bit of a labour of love Padman :) Nice work.
Yeah, well, what can I say, I like coding useless stuff especially when it's kinda retro... :D
So here ya go guys. Time for an update:
Added:
Max Subsong detection for all formats. :kewl:
File extension check. (No more dragging txt files on the window :P)
Path shortened to file name only in the listview.
A couple of bugs.
Removed:
A couple of bugs.
Plans:
I think I'll make a complete standalone player out of this, even if I first didn't want to. That means the inbuilt songs will be removed, volume control will be added and blah blub blah. Just stay tuned. You'll see :)
Enjoy! (Dl in the first post.)
Pad :)
Edit: I just found out, that UPX had somehow f***ed up the subsong detection. (I truly hope it isn't useless completely :D) I think it's fixed now. If not, please let me know!
-
They all work fine to me Padman :clap:
I can't wait for the proper standalone player now :updance:
-
Just found out that there are still some probs with the subsong detection for manually loaded songs on other machines than mine in the new version. Looks like a cock up with the memory pointer. I thought I had fixed that. :vangry: I'll look into that asap. probably on Monday. So if anybody gets only 1 or even better 63562653 (i.e a random high number) subsongs and knows that there should be more than 1 subsong, please let me know. Thx! :-\
Edit: DL version rolled back to v1 with the basic load option until further notice. I have to fix that memory pointer problem first, which isn't all that easy :-[
-
Oh man this thing is so cool, bringing back a lot of memories!
-
nice job there m8 :cheers:
indeed those tunes takes us really back :P :P
you know for me it doesn't matter if there are 1.000.000 players out there, what matters is that i'm using a player that one of us in this forum created (in this case you).
that's what matters for me ;)
-
Thanks guys! Glad you like it! (eventhough it's not even half finished yet ;D) Your comments just encouraged me to embellish the existing player a little and to release some sort of a "final version" in the near future. :) So stay tuned. Due to DMA I probably won't get the max subsong detection to work though. At first I thought I had found a static memory pointer to the address where the subsong value is stored. But nu uh, it's not static. :vangry: My computer just tricked me once again. And I guess DLL injection or code caves are not an option nor necessary (besides the fact that this is all Greek to me :D). That'd be like breaking a fly on the wheel, since there are way better players around anyways.
-
(besides the fact that this is all Greek to me :D)
hey if it's Greek i can translate :inspired:
:lolup: :lolup: :lolup:
-
hey if it's Greek i can translate :inspired:
:D :D :D
-
a nice thing would be a right click on a track the user has loaded with the option to remove it from the list, or even better a remove button below the stop button to remove the selected track from the list.
-
You are right, the "interface" needs to become a little more user friendly. I'll add something like you suggested. You can remove tracks already though. Simply drag them off the window after you stopped the song.
-
Hi guys!
I resurrected this project after quite a long break the other day. I dropped the idea of reading the max subsong number from memory since it just wouldn't work. Instead I now search for a certain pattern in the files, which is way easier anyway. ::) I found the places where the number is stored for MON, FRED and HIP formats, but I haven't had any luck with CUSTOM and DW so far.
I know this is a very specific problem, but since there are some Amiga fans on here and it's my favorite forum I'll ask here nevertheless:
Does anyone have format descriptions to the aforementioned 2 formats? Or any hints where I could find them? Does anyone know from memory because they are genius? Any random guesses on how to find them?
Any hint, help would be higly appreciated!
Thanks!
Pad :)
[EDIT:] Yay, I found the pattern for CUSTOM myself, so only DW left.
-
Just checked this out. Nice work Padman! Looking forward to seeing the next version. It would be nice to have a 'previous subsong' button and some more songs :)
I've had a hunt around for info on the David Whitaker (DW) format or source for a replayer but came up blank I'm afraid :( Doesn't look like that's going to be easy to achieve...
-
Thanks mate! :) Just download v1 of it and get some compatible songs from ftp://ftp.modland.com/pub/modules/ (ftp://ftp.modland.com/pub/modules/)[Edit]: Looks like the in_sk00l.dll doesn't get the subsongs info right either. It always shows 4 subsongs, even if there are more and it always starts with the 2nd one. :-\ With my 'hack' you can at least switch through all available subsongs (well, minus one)...