Cant find Module 'Bah.sid'

BlitzMax Forums/Brucey's Modules/Cant find Module 'Bah.sid'

Hotshot2005(Posted 2010) [#1]
I have put all the files (such as gmebass.mod,gmeopenal.mod and gme.mod) in blitzmax mod folder then the code i used are

I have compled it by press Ctrl and D to complied the modules which is fine but when i run it

Framework BaH.SID

Local sid:TSID=TSID.Load("R-type.sid")

sid.Play()

While Not KeyDown(KEY_ESCAPE)

	sid.Update()

Wend


it say cant find interface for module 'Bah.sid'

p.s. my blitzmax Version i am using is 1.38 :)


Hotshot2005(Posted 2010) [#2]
Building SID
Compiling:SID.bmx
Compile Error: Can't find interface for module 'bah.sid'
[C:/Users/____/Desktop/SID.bmx;4;1]
Build Error: failed to compile C:/Users/____/Desktop/SID.bmx
Process complete


xlsior(Posted 2010) [#3]
- Make sure that you're using the proper folder hierarchy, e.g.: mod\bah.mod\sid.mod

- Rebuild the documentation, this will tell Blitzmax about the new commands


Hotshot2005(Posted 2010) [#4]
I dont have "bah.mod" in blitzmax mod folder!


xlsior(Posted 2010) [#5]
Which is exactly the problem.

you are telling Blitzmax to import bah.sid -- which the compiler expects to be in the bah.mod\sid.mod folder.

Same as any of the other modules: if you import brl.retro, it will look for under brl.mod\retro.mod
when you import pub.freeaudio, it will look for pub.mod\freeaudio.mod

When you tell it to get bah.sid, it will expect bah.mod\sid.mod. You can't just drop sid.mod straight under the mod folder, it NEEDS the parent directory.


Brucey(Posted 2010) [#6]
There is no bah.sid module.


xlsior(Posted 2010) [#7]
There is no bah.sid module.


Heh. I just figured there must be, based on the 'Framework BaH.SID' line. :-?

Looking around for a minute, I found that the snippet posting above is pretty much verbatim from one of your worklog postings, March '09:
http://www.blitzbasic.com/logs/userlog.php?user=8077&log=1434

I guess hotshot stumbled across it, and tried to run it...


Brucey(Posted 2010) [#8]
Yes, I should probably re-word that... There is no released bah.sid module :-)


Hotshot2005(Posted 2010) [#9]
that is a shame cos i do love sid music to on my game :)


Stu_ovine(Posted 2010) [#10]
Ive just happened across this thread and its related one at http://www.blitzbasic.com/logs/userlog.php?user=8077&log=1434

Is there any chance of a bah.sid ?


Russell(Posted 2011) [#11]
I could have sworn that REDi was about to, or did, release a sid-playing module. Maybe it was a dream? ...

I have to admit, I get a big smile on my face whenever I hear some of those old sid tunes playing, like:
http://www.youtube.com/watch?v=jSvf-aqHR_I&feature=mfu_in_order&list=UL

or

http://www.youtube.com/watch?v=FCNMcUzQ3Ws

or

http://www.youtube.com/watch?v=BrPZ1unJH4g

or

http://www.youtube.com/watch?v=LeAnnlpF9tQ

I could go on and on... But anyways, those were the days... (Like waiting an hour for a game to download from my local BBS using my 300BAUD modem, only to find that it didn't work! HA HA LOL!)

Russell


Brucey(Posted 2011) [#12]
I dropped something into SVN at the end of August. BASS only for now though.

Last edited 2011


Russell(Posted 2011) [#13]
Cool, I'll check it out! Is it called Bah.Sid, I'm guessing? (Just checked: It is!)

Not sure how many people will use this one, but I, for one, will. Will be especially useful for making retro-style remakes.

Thank you very much, sir!
Russell


Russell(Posted 2011) [#14]
In the sid.mod/examples folder, I only see one file and one folder: 'music' folder and 'example_base.bmx' (I got it through svn). The example_base.bmx file seems to be an include file for some other example programs. Could you post one or two here (or stick them in the svn and I'll update)?

I'm sure I can get it going, but was just wondering.

Thanks a million!
Russell

p.s. I was really surprised how small the bass.dll file was! (Only about 103k!)


Brucey(Posted 2011) [#15]
There is a specific example in the sidbass examples folder. You can run it from there.


Russell(Posted 2011) [#16]
Unfortunately, there doesn't seem to be a 'sidbass' folder in the examples folder, just the one called 'Music' (which contains the various example sid tunes) and one file called 'example_base.bmx'.

I tried updating (through TortoiseSVN) the sid.mod module and still no luck. :(

Maybe it's TortoiseSVN? Not seeing all of the files?

I'm sure I can get it going. It's no big deal. I'll try to update again when I get home later to see if that helps.

Thanks for all that you do for the community, Brucey. Don't worry too much about this one.

Russell


Brucey(Posted 2011) [#17]
That would be sidbass.mod, where the bass audio driver resides :-)


Russell(Posted 2011) [#18]
Ahhhhhh, I see... <clears throat>

Just tried it, and it works like a charm!

Sorry for my idiocy... I assumed that I would just need your bass.mod, but you know what they say about the word 'assume': You make an 'ass' out of 'u' and 'me'. LOL

Thanks again,
Russell