Re: [Audyssey] A question about packing sounds in one file

2008-09-15 Thread Jim Kitchen
Hi Thomas,

Yes, I would think so.  I have always just used individual sound files.  Not 
only the resources but all of the work that it sounds like it would take to 
have DirectX or whatever know where each part started and stopped.  But hey 
Kevin asked, so I told him of one way that I know of to combine wave files.  
For mp3 files you can just use the /b switch with the copy command and just 
copy them together.

We finally got full power back on.  Pretty strange that the battery powered 
lights and alarm were going off.  They usually run out of juice after an hour 
or two.  They must have been getting just enough electricity to keep them 
running for like 14 hours.

BFN

- Original Message -
Hi Jim,
That is a resource intensive way of loading and playing sound effects in 
a game that might have hundreds of sound effects. In a sense you would 
have to have several sound buffers load that sound and then use start 
and stop points to play the specific sound you wanted. That is a fairly 
memory and processor intensive way of handling audio playback in a game.
Cheers.

Jim Kitchen wrote:
> Hi Kevin,
>
> In Gold Wave press control a to select the entire wave file then control c to 
> copy it to the buffer.  Now open the next wave file and paste in the one that 
> you copied to the buffer.  That is press control p.  Keep doing this until 
> you have them all in one large wave file.
>
> HTH
>
> BFN
>
>  Jim
>
> If you're sending someone some Styrofoam, what do you pack it in?
>
> [EMAIL PROTECTED]
> http://www.kitchensinc.net
> (440) 286-6920
> Chardon Ohio USA
> ---

 Jim

Generic Brown Label Tagline

[EMAIL PROTECTED]
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA
---
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]


Re: [Audyssey] A question about packing sounds in one file

2008-09-14 Thread Munawar Bijani
Hi,
One thing I forgot to add is another downside to resource files besides
being raw data that can be enumerated through by several programs that do
this kind of thing is that if you have several sounds and your resource file
is big, you'll notice a decrease in performance. This is because when you
open the resource file in your program the whole file is opened at once, and
the resources, at least in .NET, are placed in a hash table for instant
access. It all depends on what you are trying to do. If you want to prevent
people from getting at your sounds, consider encrypting each sound, and then
decrypt it when you load it into memory. This way you can still load
individual sounds instead of an entire packed file.
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]


Re: [Audyssey] A question about packing sounds in one file

2008-09-14 Thread Munawar Bijani
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]


Re: [Audyssey] A question about packing sounds in one file

2008-09-14 Thread Thomas Ward
Hi Kevin,
Which method are you talking about? I gave you four different ones, and 
Jim Kitchen gave you another option. Please, specify which method you 
were talking about.
Thanks.


Kevin Weispfennig wrote:
> Hi
>
> And how can i tell VB that there is more then one thing in the File?
>
> Kevin
>
>   


---
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]


Re: [Audyssey] A question about packing sounds in one file

2008-09-14 Thread Thomas Ward
Hi Jim,
That is a resource intensive way of loading and playing sound effects in 
a game that might have hundreds of sound effects. In a sense you would 
have to have several sound buffers load that sound and then use start 
and stop points to play the specific sound you wanted. That is a fairly 
memory and processor intensive way of handling audio playback in a game.
Cheers.

Jim Kitchen wrote:
> Hi Kevin,
>
> In Gold Wave press control a to select the entire wave file then control c to 
> copy it to the buffer.  Now open the next wave file and paste in the one that 
> you copied to the buffer.  That is press control p.  Keep doing this until 
> you have them all in one large wave file.
>
> HTH
>
> BFN
>
>  Jim
>
> If you're sending someone some Styrofoam, what do you pack it in?
>
> [EMAIL PROTECTED]
> http://www.kitchensinc.net
> (440) 286-6920
> Chardon Ohio USA
> ---
> 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]


Re: [Audyssey] A question about packing sounds in one file

2008-09-14 Thread Kevin Weispfennig
Hi

And how can i tell VB that there is more then one thing in the File?

Kevin

-- 
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]


Re: [Audyssey] A question about packing sounds in one file

2008-09-14 Thread Thomas Ward
Hi Kevin,
Well, there are several ways of packing sound files, and the method you 
would choose would depend on what you are looking for in a packing utility.
The first method I know of is the pak file format designed for Quake 1. 
If you are aiming for security I would not use the pak file format, 
because the pak file format is now open source and is available to 
everyone. In fact, even a non-programmer can open pak files with a nifty 
tool called Pak Explorer used for creating and extracting pak files.
Another method is you could add a feature to your games that extracts 
sound files from an encrypted zip file to a temporary directory during 
runtime, and then deletes all of your sounds etc when the game closes. 
The advantage here is you can get good compression on your files, keep 
people out of the zip archive, and is ok for low to medium security. The 
down side is since you extract files to a hidden temporary directory if 
someone catches on to where the files are they can get the sounds anyway.
If you are looking for really good security you might want to use a 
program such as Molebox. Molebox allows you to pack all of your sounds, 
images, and even your game's *.exe file into an encrypted *.exe file 
that will keep all but the very determined cracker out. On the down side 
it is very expensive software.
Now, I am not certain if this works for Visual Basic 6, but in Visual 
C++ 6 I use to be able to compile the sound effects directly into my 
*.exe or *.dll file. I would open the sounds in VC++, add them to the 
program resources, add the names of the *.wav files to resource.h, and 
when I compiled they would be included in the *.exe  file and couldn't 
easily be obtained by crackers. At least not your average script kitties.


Kevin Weispfennig wrote:
> 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?
>
>   


---
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]


Re: [Audyssey] A question about packing sounds in one file

2008-09-14 Thread Jim Kitchen
Hi Kevin,

In Gold Wave press control a to select the entire wave file then control c to 
copy it to the buffer.  Now open the next wave file and paste in the one that 
you copied to the buffer.  That is press control p.  Keep doing this until you 
have them all in one large wave file.

HTH

BFN

 Jim

If you're sending someone some Styrofoam, what do you pack it in?

[EMAIL PROTECTED]
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA
---
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]


Re: [Audyssey] A question about packing sounds in one file

2008-09-14 Thread Kevin Weispfennig
Hi,

How can i creat a source-file?


Kevin

-- 
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]


Re: [Audyssey] A question about packing sounds in one file

2008-09-14 Thread Marco Steinebach - Mardy
Hi,
in most cases this problem is solved by using resources. You create an
resource-file where all sound-files (wave, mp3, what ever) stored in.
Now you have to tell VB to load those sounds from that resource file,
or you have to extract the sounds temporarilly to a file, play them,
and delete them after your game has finished.
I don't know the exact way for VB, because my home-language is delphi,
but that's one way to do such tings.
Regards
Marco

> 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?



---
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]