AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Combine a Sound with exe?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Autex675



Joined: 11 May 2008
Posts: 9

PostPosted: Sun May 11, 2008 12:54 am    Post subject: Combine a Sound with exe? Reply with quote

Some games can play sounds without any sound files because the sound files are combined with the executable. How can I combine a sound file such as a wave file with a compiled Autohotkey script so that the sounds in the compiled script don't need to be separate files? Idea Question Shocked

Last edited by Autex675 on Sun May 11, 2008 10:59 pm; edited 2 times in total
Back to top
View user's profile Send private message
Superfraggle



Joined: 02 Nov 2004
Posts: 753
Location: London, UK

PostPosted: Sun May 11, 2008 12:57 am    Post subject: Reply with quote

Search the help file for fileinstall.
_________________
Steve F AKA Superfraggle

http://r.yuwie.com/superfraggle
Back to top
View user's profile Send private message MSN Messenger
Autex675



Joined: 11 May 2008
Posts: 9

PostPosted: Sun May 11, 2008 4:06 pm    Post subject: FileInstall Reply with quote

I don't think that file install will work for this because it puts files into compiled scripts and then when you run the compiled script it puts the file back out of it again. I don't think it can permanently store wave files.

P.S. How can you make a file that is combined with a compiled script play?

Thanks Very Happy
Back to top
View user's profile Send private message
Oberon



Joined: 18 Feb 2008
Posts: 408

PostPosted: Sun May 11, 2008 4:36 pm    Post subject: Reply with quote

Why do you post such meaningless titles?
_________________
Back to top
View user's profile Send private message
Troll
Guest





PostPosted: Mon May 12, 2008 1:06 am    Post subject: Reply with quote

FileInstall will work, stop being such a negative nooblet.



You can quote me on that if you like. Cool
Back to top
Autex675



Joined: 11 May 2008
Posts: 9

PostPosted: Mon May 12, 2008 2:54 am    Post subject: Reply with quote

I tried fileinstall and it didn't do what I wanted! Sad
Back to top
View user's profile Send private message
Z Gecko
Guest





PostPosted: Mon May 12, 2008 3:57 am    Post subject: Reply with quote

maybe this is, what you want: http://www.autohotkey.com/forum/topic30088.html
Back to top
Lexikos



Joined: 17 Oct 2006
Posts: 2364
Location: Australia, Qld

PostPosted: Mon May 12, 2008 9:19 am    Post subject: Reply with quote

Z Gecko wrote:
maybe this is, what you want: http://www.autohotkey.com/forum/topic30088.html
That would still require some method of loading or playing the sound data. SKAN has demonstrated how to do this, though with a WAV embedded as a resource.
Back to top
View user's profile Send private message
Troll
Guest





PostPosted: Mon May 12, 2008 9:01 pm    Post subject: Reply with quote

Why are you being such a negative nooblet about FileInstall?

Just have it file install into a temporary folder, play the sound, then delete the folder. If its security you're worried about, use FileSetAttrib to make it +HSR (Hidden, System Protected, Read Only)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group