Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cheat Engine Forum Index
PostGo back to topic
Grandmaster Cheater Supreme
Reputation: 52
Joined: 10 Apr 2015
Posts: 1545

PostPosted: Sat May 16, 2020 3:46 pm    Post subject:

Aylin wrote:
I think I should copy 5 "winmm.dll". Smile

No you dont. If the songs are on local disk (not table file), use mciSendString like this :

function playMulti(song1, song2,...)
 if not initializeMP3Player() then return end
 local fileName
 fileName = song1
 MP3PlayerSendCommand("open "..fileName.." type mpegvideo alias FirstSound", 0, 0, 0)
 MP3PlayerSendCommand("play FirstSound", 0, 0, 0)

 fileName = song2
 MP3PlayerSendCommand("open "..fileName.." type mpegvideo alias SecondSound", 0, 0, 0)
 MP3PlayerSendCommand("play SecondSound",0, 0, 0)

 -- add here until filename = song5


s1 = "E:\\test1.mp3"
s2 = "E:\\test2.mp3"

If your song2 are on table file then you need to find them and save as local files on temporary dir. and then play the sounds from there.
And when then delete them all when the trainer closes. As usual, we did.
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Post reviews:   Approve 1
Author Review
Review: Approve
Post reference:
ReviewPosted: Sun May 31, 2020 5:36 am

A code that gives the second step to start.
And sorry for the delayed appreciation.
I was waiting for the restriction period of the DB. Smile
Thanks again buddy.

Back to top
View user's profile Send private message MSN Messenger
Cheat Engine Forum Index

Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites