01-05-2004, 05:04 AM
in my game maker program it says you can use MCI commands but i don't know what the MCI commands are. it said to see the windows documentation for more on MCI commands but i don't know where the documentation is?
01-05-2004, 05:43 AM
MCI stands for Media Control Interface, basically it will help to make your software more device independent.
Microsoft Windows reference is available online from http://www.msdn.com - Microsoft Developers Network .. :)
01-05-2004, 11:03 PM
01-06-2004, 03:07 AM
No problem. :)
01-07-2004, 02:42 AM
what codeing language would you program them in and what program do i need for it to write the commands in? its would be to hard to screw with it forever with out a clue in a made up codeing language.
01-07-2004, 03:19 AM
Well I'd do it in c++ but you are using game maker, doesn't it work of a scripting language?
I whent briefly (very very briefly) through the documentation and found nothing about Microsoft Win API MCI functions.
[edit:] A little too briefly I guess ;) ... Here is what it says about using MCI ..
There is one very general function to access the multimedia functionality of windows.
MCI_command(str) This functions sends the command string to the windows multimedia system using the Media Control Interface (MCI). It returns the return string. You can use this to control all sorts of multimedia devices. See the Windows documentation for information in how to use this command. For example MCI_command('play cdaudio from 1') plays a cd (after you have correctly initialized it using other commands. This function is only for advanced use!
01-07-2004, 03:21 AM
the documetation of game maker?
01-07-2004, 03:24 AM
Yes the documentation of Game Maker ...
I edited my post but you replied to quickly :D read from '[edit:]' ...
01-07-2004, 03:28 AM
bassicly all i need is the controls that make the volume change and a panning code thing.
01-07-2004, 03:35 AM
I don't think MCI is what you're looking for if that is what you want to do ...
Doesn't game maker have code for this?
Sure enough I read the documentation and found this -
sound_volume(index,value) Changes the volume for the indicates sound (0 = low, 1 = high).
sound_pan(index,value) Changes the pan for the indicates sound (0 = left, 1 = right).
01-07-2004, 04:10 AM
yes GM uses code and those code actions only apply to wav files and i want to make a media player.
01-07-2004, 04:51 AM
A media player, like as in windows media player and winamp?
01-07-2004, 04:53 AM
i guess so
01-07-2004, 05:02 AM
Well I don't like your chances ... You will need to be able to load libraries and then find some for mp3,wav,cdda,ogg etc ... I gather gm can load libraries?
For this sort of thing you are probably best off learning c++ or something though ...
01-07-2004, 05:06 AM
i asked about a new coding language earlier and you said somthing abuot somthing because GM can use external code i believe and for now i can get it to play the cd i just need other stuff
01-07-2004, 05:09 AM
Well it seems to have some built in support for media files but it isn't great. There are lots more popular audio formats than it supports so you will need to program a dll for the specific media types you want.
01-07-2004, 05:11 AM
i know but i think you have to register for dll's
01-07-2004, 05:13 AM
Register to get premade ones or register to use ones you've made?
01-07-2004, 05:14 AM
it costs money and the comp i program on don't have the internet:( but ithink if i used an external editor maybe i could use dll's?
01-07-2004, 05:16 AM
I don't understand, do you mean you have to register game maker to USE .dll files? OR do you have to register to DOWNLOAD ONES ALREADY MADE?
01-07-2004, 05:19 AM
i think if it detects a dll at all it will throw an error telling you this function is only avalible in the registered version of GM
01-07-2004, 05:21 AM
Alright thankyou :) ... This means that you will not be able to make a media player that supports more media formats than game maker does natively (without dlls) ...
01-07-2004, 05:23 AM
so do you have a clue how to proramm the MCI command code in GM?
01-07-2004, 05:26 AM
Yes but this will not help you, MCI is for controlling hardware.
01-07-2004, 05:28 AM
so if i reg. GM i could make a dll that can play multiple music formats and adjust the pan and volume
01-07-2004, 05:31 AM
You can already adjust pan and volume natively, if you register you could (if you know how) create a dll to handle the loading of a specific media format, or find one already made and download it (base on the license agreements etc) ...
So yes. But I'd look into other options before hand which could save you money.
For instance you could spend a few weeks learning C++ and create your own skinnable media player like winamp (early versions of it) .. :)
01-07-2004, 05:35 AM
only the wav files can use those three command in GM could i program those things for cda files if i used dll
01-07-2004, 05:46 AM
um...hullo... i have gmkr
01-07-2004, 05:55 AM
What are you on about? I think it was obvious you had gamemaker when you started this thread! -- lol ;)
Anyway with a dll you can do anything you want ..
01-07-2004, 05:59 AM
wut programming language should u program the dll in?
where are some good tutorials for wutever language that is?
01-07-2004, 07:05 AM
You can program the DLL in any language you like. I would program it in c++ ... To learn c++ I suggest www.cprogramming.com