Hi,
The most common way and the "qquick fix" way if you don't want people to
easily get at your sounds is to use a resource file. The reason I say quick
fix is because it's not impossible to get stuff from a resource file. For
instance, there are programs that can enumerate the resource file and
present the resources for you in a nice list, offering you the ability to
save the byte data to a file. Try googling "creating resource files using
vb6" and you should get something. Once you have all your files in the
resource file, to load a file, you first open the resource file--this only
has to be done once since the object keeps the file open until you close
it--and query the resource file for the object you want.

For instance, a binary resource file (which is different from an xml
resource file whose official name I don't remember at the moment) stores
your data in the format resource name (string), resource data (byte[]) (eg.
Byte array.) Handling resource files is done differently in different
languages, so your best bet if you want to use a binary or xml resource file
is to search for it online. There are quite a few articles for working with
and creating resource files. Hope this helps point you in the correct
direction.
Munawar

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Weispfennig
Sent: Sunday, September 14, 2008 9:41 AM
To: Gamers Discussion list
Subject: [Audyssey] A question about packing sounds in one file

Hi.

In a cupple of games, like the great toy robery, are all the sounds from the
game in one file. How can i make such a file and how can i do that Visual
Basic 6 will load the sounds from this file? But the most question is: how
can i make such a file?

--
Email: [EMAIL PROTECTED]
Homepage: http://www.weisi4u.de
BlinkNationBlog: http://www.blinknation.com/kevinweisi/weblog
BlinkNationProfil: http://www.blinknation.com/kevinweisi
Klango-Blog: http://kevinweisi.klango.net
Klango-Username: kevinweisi
Skype: Foerbye1996
Yahoo: kevinweisi
MSN: [EMAIL PROTECTED]
ICQ: 424-263-367
AIM: weispfennigkevin
Handy: 0177 83 37 034
Podcast: http://weisi4u.podspot.de
Podcast per Telefon: 0931 66 399 34 88
mailingliste: [EMAIL PROTECTED]
Mailinglisten-Homepage:
http://ml4free.de/mailman/listinfo/weisi4u


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to
[EMAIL PROTECTED]
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[EMAIL PROTECTED]
If you have any questions or concerns regarding the management of the list,
please send E-mail to [EMAIL PROTECTED]


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to [EMAIL PROTECTED]
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[EMAIL PROTECTED]
If you have any questions or concerns regarding the management of the list,
please send E-mail to [EMAIL PROTECTED]

Reply via email to