SPC driver for GameMaker By: jobromedia
Want to play SPC music then this is your best friend. Works with GM but I dunno if it works with any of the clik tools. Read the GML file to get started.

News just in: Huge update with examples for both GM5, GM6 and GM7, D&D Libraries are included as well!

Update History
07/24/07  Made a very huge update since there is users who couldn't get this going. So here it is haha. GM5, GM6 and GM7 examples and D&D libraries. Enjoy!
 
[O] Created: Aug 16 2006, 8:54 AM
[O] Updated: Jul 24 2007, 9:28 PM
[O] File Size: 309.08 KB
[O] Views: 27707
[O] Downloads: 3308
[O] Favorites: 0
View / Download

Comments
No Icon
shadysback321
Sep 4 2006, 6:34 PM
What does this do?
 
No Icon
jobromedia
Sep 15 2006, 9:51 PM
This is a dll to play SPC musicfiles from native SNES games.
 
No Icon
the real wart
Oct 30 2006, 12:32 AM
where do you put it?
 
User Icon
btermini
Nov 29 2006, 10:24 AM
any one got it to work?
 
No Icon
toadsworth262
Jan 14 2007, 10:06 PM
it not a GM file
 
No Icon
FoxGuy
Feb 17 2007, 12:57 PM
Most likely you need a script to work this.(assuming)
 
No Icon
greato2009
Feb 26 2007, 9:41 PM
can you make a spc driver for the games factory?because i like to play spc musics
in that program
 
No Icon
Yoshling 97
Mar 7 2007, 1:48 AM
Ack! Computer talk! Speak English!!!
======================================
Does this play ONLY SNES Midis?
 
User Icon
Giga M64
Mar 23 2007, 4:59 PM
what the heck is this ment to do?
 
User Icon
Giga M64
Apr 5 2007, 4:15 PM
Quote (jobromedia on Sep 15 2006, 9:51 PM)
This is a dll to play SPC musicfiles from native SNES games.

Hey! We're all asking you how to wor this, and your not telling us! HOW DOES IT WORK!?
 
No Icon
Superluigi64
May 13 2007, 8:48 PM
Can you do this with NSFs?
 
User Icon
Jaklub
May 26 2007, 4:01 PM
It's cool! I like it - now I don't record spc files to wavs. :D

Quote
Hey! We're all asking you how to wor this, and your not telling us! HOW DOES IT WORK!?


Import GML file into your gm project. On game start room use code:
Init(41000,16);
If you wanna play a file:
Play(somewhere)

If I wan't to stop music, I play Super Adventure Island complete level theme - it beeps and stops music.
 
No Icon
Superluigi64
May 27 2007, 7:51 PM
Quote (Giga M64 on Apr 5 2007, 4:15 PM)
Hey! We're all asking you how to wor this, and your not telling us! HOW DOES IT WORK!?

 
User Icon
Jaklub
Jun 1 2007, 2:09 PM
It reads the SPC file and (realtime) convert it into a song... or something like that.
 
No Icon
jobromedia
Jul 24 2007, 5:45 PM
Hey girls & guys I'm sorry for not being around much lately, but with over 50 communities to visit then I don't have much time.

Here is an easy manual:

1. Put both DLL's in the game folder. Easiest to do this is to open the Global Game Settings in GM6 and add them in the Include tab. That way the DLL's are unpacked when you run the game and deleted when you end the game.

2. Import the GML script (Scripts > Import script).

3. Now create a new object.
a. In the Game_Start you put the initialize code:

_Init(44100,16);

b. In the Room_Start you put the play command:

_Play("Myfile.spc");

c. Now there is no way to stop the playback, instead you have to run the _Init again. That stops the music. So in the Room_End you put:

_Init(44100,16);

I hope this clears up the thing. Note that I've recently started to create a GameMaker7 Extension that will have a complete drag&drop library as well.
 
No Icon
ADL
Aug 1 2007, 6:20 PM
UHHHHHHHHHHHHHHHHHHHHH.
Whats this peice of Junk do.
 
No Icon
ADL
Aug 1 2007, 6:21 PM
Quote (jobromedia on Jul 24 2007, 12:45 PM)
Hey girls & guys I'm sorry for not being around much lately, but with over 50 communities to visit then I don't have much time.

Here is an easy manual:

1. Put both DLL's in the game folder. Easiest to do this is to open the Global Game Settings in GM6 and add them in the Include tab. That way the DLL's are unpacked when you run the game and deleted when you end the game.

2. Import the GML script (Scripts > Import script).

3. Now create a new object.
a. In the Game_Start you put the initialize code:

_Init(44100,16);

b. In the Room_Start you put the play command:

_Play("Myfile.spc");

c. Now there is no way to stop the playback, instead you have to run the _Init again. That stops the music. So in the Room_End you put:

_Init(44100,16);

I hope this clears up the thing. Note that I've recently started to create a GameMaker7 Extension that will have a complete drag&drop library as well.

English please o 0
?
 
No Icon
J-Crew
Aug 3 2007, 12:02 PM
An spc is basically a ripped music or sound file from the SNES. They are very useful sometimes due to the fact that they are typically small in file size. This set of dll's allow you to play the spc's directly in gamemaker rather than converting them to space consuming wavs or mp3's. Jobromedia basically described the only way to use this. It is difficult at first but easy when you get the hang of it. If you search the internet for a program called Super Jukebox, you'll find that it can play and convert spc's into wav's. The gamemaker 7 extension will be greatly appreciated.
 
No Icon
SnakeEater
Aug 24 2007, 1:33 AM
Here's Some Helpful Information About SPC's,
There Actually Music From The Actual Game's For SNES, Cool eh? Any SPC, really good though
 
No Icon
andross46
Nov 8 2007, 2:40 PM
dude nice, but um dont you need the original snes sound fonts. cuz spc to midi generaters need to use windows wavetable while the snes has it built in. thus you have to chose the intruments for each sound channel cuz its original intrument data isnt supported by windows.
 
No Icon
TaJ Man
Nov 8 2007, 4:29 PM
Thank you J-Crew, finally some helpful information about this thing. It sounds pretty Maybe I'll use for a game I'm making. Hmmm...
 
No Icon
EggmanDr
Jan 24 2008, 1:59 AM
Quote (andross46 on Nov 8 2007, 7:40 AM)
dude nice, but um dont you need the original snes sound fonts. cuz spc to midi generaters need to use windows wavetable while the snes has it built in. thus you have to chose the intruments for each sound channel cuz its original intrument data isnt supported by windows.

Nope. All the data needed to play an SPC file properly is in the SPC itself. Listening to an SPC is just a matter of finding either a program or plugin (if you want to play them in Winamp) that supports the format.
 
No Icon
Shyguy Boshi
Jan 27 2008, 11:45 PM
AUGHHH!!! WHAT ARE YOU TALKING ABOUT????
 
No Icon
LUGIALV100
Feb 1 2009, 11:45 PM
Quote (jobromedia on Jul 24 2007, 11:45 AM)
Hey girls & guys I'm sorry for not being around much lately, but with over 50 communities to visit then I don't have much time.

Here is an easy manual:

1. Put both DLL's in the game folder. Easiest to do this is to open the Global Game Settings in GM6 and add them in the Include tab. That way the DLL's are unpacked when you run the game and deleted when you end the game.

2. Import the GML script (Scripts > Import script).

3. Now create a new object.
a. In the Game_Start you put the initialize code:

_Init(44100,16);

b. In the Room_Start you put the play command:

_Play("Myfile.spc");

c. Now there is no way to stop the playback, instead you have to run the _Init again. That stops the music. So in the Room_End you put:

_Init(44100,16);

I hope this clears up the thing. Note that I've recently started to create a GameMaker7 Extension that will have a complete drag&drop library as well.

Blah, I was hoping it'd have more functionality, like sound_play and sound_stop working for it. X.x
 
User Icon
BuzzNBen
Dec 13 2009, 6:58 PM
Quote (btermini on Nov 29 2006, 10:24 AM)
any one got it to work?

I did. But does anyone know how to stop the playing file?
 
No Icon
petersvp
Jan 12 2010, 4:16 AM
To stop playing file, call _Init again
 
No Icon
Depressed Mario
Jul 23 2019, 10:41 PM
make one for game maker studio (a.k.a Game Maker 9+)
 
Pages: (1) 1 | Last Unread