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 


[Help] Background Music

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Thu Jun 28, 2007 1:24 pm    Post subject: [Help] Background Music Reply with quote

Can I do something like that on Delphi...?

Thx :]

_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Thu Jun 28, 2007 1:26 pm    Post subject: Reply with quote

depends on what you want.

.mp3 files?
.wav files?

want it to be avaible to all computers (takes up alot of space on your program) or just for your own?

If first thing i mentioned: Use .rc files to .res files (will describe if its what you want)

2nd thing: just use ShellAPI and ShellExecute to execute the song which is at the path you mention

Edit: Of course you can do it, but it just depends on these things i mentioned above.
Back to top
View user's profile Send private message MSN Messenger
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Thu Jun 28, 2007 10:06 pm    Post subject: Reply with quote

Kevinnn wrote:
depends on what you want.

.mp3 files?
.wav files?

want it to be avaible to all computers (takes up alot of space on your program) or just for your own?

If first thing i mentioned: Use .rc files to .res files (will describe if its what you want)

2nd thing: just use ShellAPI and ShellExecute to execute the song which is at the path you mention

Edit: Of course you can do it, but it just depends on these things i mentioned above.

I want MP3.

But, I don't want the first thing. I want to the second, BUT, I don't want the music to be visible to the user of the program. He'll open the program and the song will start without any clicking or somethin' like that...
Understood...?

_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Jun 28, 2007 10:08 pm    Post subject: Reply with quote

1. on formcreate, dump mp3 to temp path
2. play with mciSendString
3. ???
4. Profit!
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Thu Jun 28, 2007 10:56 pm    Post subject: Reply with quote

appalsap , is that with ShellAPI, ShellExecute?

or not?

because if not he needs to make .rc files to .res files before being able to play the music.
Back to top
View user's profile Send private message MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Jun 28, 2007 10:58 pm    Post subject: Reply with quote

Do a little research before you start making accusations. It's NOT with shellapi, and shellexecute is the worst possible thing you could do, because it starts up the program associated with that file (html, could be the browser, bat, windows command processor etc) instead of playing it yourself. He DOESNT need to make rc or res files, he can just play the music on disk.
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Thu Jun 28, 2007 11:01 pm    Post subject: Reply with quote

hmm, i dont get it :\

im using .rc to .res files to let it play my music. And its only .wav files i can have playing on background on form.create, otherwise i need a MediaPlayer component to start/stop the music if its a .mp3 file.
Back to top
View user's profile Send private message MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Jun 28, 2007 11:13 pm    Post subject: Reply with quote

nope
Back to top
View user's profile Send private message
Ksbunker
Advanced Cheater
Reputation: 0

Joined: 18 Oct 2006
Posts: 88

PostPosted: Fri Jun 29, 2007 12:15 am    Post subject: re: Reply with quote

Don't use mp3 or wav sound format as they bloat trainer file size immensely.

Chiptunes are a better alternative and is what most reknowned keygens and trainers coders use.

Read the following tutorial to learn how to implement chiptunes into your projects. Its written for MASM, however explictly details how to implement detail by detail, api by api. The most important component of the tutorial are the mfmplayer.inc and mfmplayer.lib includes

To download and test chiptunes, visit www.chiptunes.org or google "chiptunes".

Rep is useful



The Extension 'zip' was deactivated by an board admin, therefore this Attachment is not displayed.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites