Hey all, I'm working on a small standalone instant run executable that will run and view my .nfo files.
for a picture and source code of this project.
One of the last things I have to figure out is how to use BASS in this project. I've implemented irrKlang before, but it didn't support all tracks I wanted to use.
The demo player of BASS did play those tracks. The source code was for C, so I couldn't open it... -.-
So far I've got this working:
Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, IntPtr.Zero);
int music = Bass.BASS_StreamCreateFile("lol.mp3", 0, 0, BASSFlag.BASS_DEFAULT | BASSFlag.BASS_MUSIC_LOOP);
Problem is: 1) It plays from debug/project folder, I want to use a location on computer, but prefer using the Resource option!
2) It's .mp3, I want to play mod files (.it, .xm, .mod) which don't even work in the project folder.
So, how do I:
> Play the mod files? Is it the way I load them.. is StreamCreateFile for .mp3 only? MusicLoad didn't work either, what do I need to use?
> Play the mod files from resources, I want to add the mod file as a resource file and then play it from there, so I don't have to sent my mod file with every application and let it play it from a specific location on the computer...
Can anyone help me out with these steps please?