The Dink Network

mp3 support in dink (Closed)

September 2nd 2002, 07:38 PM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
i made a program with visual basic that allows me to play mp3s in dink. i have some questions. does anyone know anything about visual basic? this is my first vb program so one thing is still incomplete and i dont even know if this will work on any computer. email me or something.
September 2nd 2002, 07:49 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
September 2nd 2002, 08:10 PM
wizardg.gif
Paul
Peasant He/Him United States
 
: i made a program with visual basic that allows me to play mp3s in dink. i have some questions. does anyone know anything about visual basic? this is my first vb program so one thing is still incomplete and i dont even know if this will work on any computer. email me or something.

I know VB. Feel free to mail me your questions, or post here, whichever.
September 2nd 2002, 09:16 PM
knightg.gif
WC
Peasant He/Him United States
Destroying noobs since 1999. 
I took 2 years of VB, I don't know if I can help much, but I can try.

--WC
September 2nd 2002, 11:29 PM
stonegiant.gif
: i made a program with visual basic that allows me to play mp3s in dink. i have some questions. does anyone know anything about visual basic? this is my first vb program so one thing is still incomplete and i dont even know if this will work on any computer. email me or something.

MP3's?? man, forget those, teh future is in ogg vorbis.. seriously, I'll pay for a program which allows me to play Ogg files in a dink dmod... how does it work exactly??
September 3rd 2002, 02:53 AM
goblins.gif
Dukie
Peasant He/Him
 
(nt)
September 3rd 2002, 04:19 AM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
: i made a program with visual basic that allows me to play mp3s in dink. i have some questions. does anyone know anything about visual basic? this is my first vb program so one thing is still incomplete and i dont even know if this will work on any computer. email me or something.

Yup, here's your VB man.

I can help you if you have any questions.
September 3rd 2002, 09:19 AM
fish.gif
Eldron
Peasant They/Them
 
September 3rd 2002, 12:33 PM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
well i know dinkc and delphi/pascal and html, so i decided to mess around with vb too. i dont know much about it yet, like i said, its my first program in vb, so dont laugh at my ignorance. i right click in the box that has the icons to add pictures/buttons etc. and select 'components' then i scroll down to the very bottom and pick 'windows media player.' this is what plays the mp3 files. now, will this work on any computer, does it actually use wmp? how does that work?

anyway, what the program does is searches for a save file, from 1000 to 1999 every 3 seconds. then, if it finds it, it plays 1001.mp3, 1002.mp3 etc. when it finds a save that is not for one already playing, it deletes the save for the one already playing and plays the mp3 of the new save.

it works and everything, i have tested it and stuff, but just on one pc.

what i need to know is i want to have a button to run the dmod. you open this and then open the dmod, so rather than a frontend, you just click the button. how do i do this? the mp3 program goes right into the dmod folder, and the mp3s are in the sound dir. i think i have to do a "shell" or something, but i have no idea of how to do that.
September 3rd 2002, 06:01 PM
custom_odd.gif
: well i know dinkc and delphi/pascal and html, so i decided to mess around with vb too. i dont know much about it yet, like i said, its my first program in vb, so dont laugh at my ignorance. i right click in the box that has the icons to add pictures/buttons etc. and select 'components' then i scroll down to the very bottom and pick 'windows media player.' this is what plays the mp3 files. now, will this work on any computer, does it actually use wmp? how does that work?

: anyway, what the program does is searches for a save file, from 1000 to 1999 every 3 seconds. then, if it finds it, it plays 1001.mp3, 1002.mp3 etc. when it finds a save that is not for one already playing, it deletes the save for the one already playing and plays the mp3 of the new save.

: it works and everything, i have tested it and stuff, but just on one pc.

: what i need to know is i want to have a button to run the dmod. you open this and then open the dmod, so rather than a frontend, you just click the button. how do i do this? the mp3 program goes right into the dmod folder, and the mp3s are in the sound dir. i think i have to do a "shell" or something, but i have no idea of how to do that.

I myself do not know exactly how to do this, but i'm sure someone could create a .bat file that opens the program and also the dmod...

But uh, i'm really interested in this, because until now i've had to use .wavs...because the music my friend does for me is mp3s...some could be midi, but it sounds like ass if its a midi and not an mp3...so uh ya..that'll be really good
September 3rd 2002, 10:22 PM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
: well i know dinkc and delphi/pascal and html, so i decided to mess around with vb too. i dont know much about it yet, like i said, its my first program in vb, so dont laugh at my ignorance. i right click in the box that has the icons to add pictures/buttons etc. and select 'components' then i scroll down to the very bottom and pick 'windows media player.' this is what plays the mp3 files. now, will this work on any computer, does it actually use wmp? how does that work?

There is a way better way playing mp3s than using components like that... using the MCI API or so.. cause I'm not sure that the windows media player component is the same in every version of windows. But the API is a tricky thing, and sorta hard to teach right here, right now... that's my first comment.

: anyway, what the program does is searches for a save file, from 1000 to 1999 every 3 seconds. then, if it finds it, it plays 1001.mp3, 1002.mp3 etc. when it finds a save that is not for one already playing, it deletes the save for the one already playing and plays the mp3 of the new save.

Just a suggestion, reserve a number for stopping the playback as well. Wouldn't be a bad idea.

: it works and everything, i have tested it and stuff, but just on one pc.

: what i need to know is i want to have a button to run the dmod. you open this and then open the dmod, so rather than a frontend, you just click the button. how do i do this? the mp3 program goes right into the dmod folder, and the mp3s are in the sound dir. i think i have to do a "shell" or something, but i have no idea of how to do that.

Could you send me the source to my email? Then I'll try adding what I think it is you want, with heavy comments, so you'll understand it, and then send it back to you. If that's ok with you.
September 4th 2002, 12:51 AM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
i will send it today
September 4th 2002, 04:13 AM
pq_water.gif
September 4th 2002, 03:50 PM
custom_odd.gif
: i will send it today

Hey, if you ever get this working, could you let me know? Email, on the board, aim, something...I check email and board pretty often

Thanks
September 5th 2002, 02:33 AM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
: : i will send it today

: Hey, if you ever get this working, could you let me know?  Email, on the board, aim, something...I check email and board pretty often

: Thanks

it already works.

September 5th 2002, 04:28 PM
custom_odd.gif
: : : i will send it today

: : Hey, if you ever get this working, could you let me know?  Email, on the board, aim, something...I check email and board pretty often

: : Thanks

: it already works.

Well then!

Heh, gonna be nice and share?