• Welcome to Dark Bit Factory & Gravity.
 

Rbraz's Libminifmod170 as Purebasic Userlib

Started by energy, November 27, 2010

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

energy

Wrapped to Purebasic!

Thanx to Rbraz for the modified Lib!   :-*

eNeRGy 
coding: jwasm,masm
hobby: www.scd2003.de


Teddy Rogers

Has anyone got this lib working on PB 5.22?

Ted.
Reverse code engineering... https://tuts4you.com

Hotshot

It doesnt work on Purebasic 5.22 as I get error saying


line 8 syntax error of music .xm

dont know why is that as there is some change in purebasic 5.22

padman

User libs suck because they usually only work with a specific PB built. Just use the static lib provided with the PDX Fucktro remake source. Should also work with PB 5.22.  ;)

>>Click here for the thread.<<
Challenge Trophies Won:

Teddy Rogers

I have been using a similar libminifmod170.lib but this one peeked my interest because of its smaller file size...

Ted.
Reverse code engineering... https://tuts4you.com

energy

Hi,
Lib works fine with PB5.22 under Win7 32bit.
Copy USERLIB as usual under  \PureBasic\PureLibraries\UserLibraries

then try:


MiniFmod_Init(?MusicStart,?MusicEnd-?MusicStart)
MiniFmod_Play()
MessageRequester("RBRAZ-libminifmod170","Playing with PB-USERLIB")
MiniFmod_Free()
End

DataSection
MusicStart:
  IncludeBinary "Example\ORiON - TVTool9.7kg.xm"
MusicEnd:
EndDataSection
coding: jwasm,masm
hobby: www.scd2003.de

Teddy Rogers

I'm using Windows 7 64bit and compiling the code and lib with the 32bit version of PureBasic compiler. I'll have to give it a try in Windows 7 32bit tomorrow, see if I can get it to work. Thank you for the information...

Ted.
Reverse code engineering... https://tuts4you.com

Mijikai