Custom sounds! I did it!

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).

Pages

AuthorTopic: Custom sounds! I did it!
Warrior
Member # 1505
Profile #25
"... the .exe will contain a folder..." Contain a folder? Or is a folder in the same directory as the .exe?

"... resource language number '1033'." What?

--------------------
-Newtfeet
Posts: 151 | Registered: Saturday, July 13 2002 07:00
Guardian
Member # 2476
Profile #26
Sorry, I'm not used to do this kind of thing in english. I'll try again. Yes, the same directory.

resource language: I borrowed that word from the program I used to open the sound files, as I've absolutely no idea what the correct english expression might be. All subfolders in the directory are identified by their numbers (1 - whatever). When you open a subfolder you see an icon, followed by the number '1033'; cursor files, icon files, sound files, they look alike - same icon, same number; a numerical key shared by all the files in that directory.

--------------------
Polaris
Rache's A3 Site reformatted 2/3 done
Rache's A3 Site, original version
Posts: 1828 | Registered: Saturday, January 11 2003 08:00
Warrior
Member # 1505
Profile #27
So the directory structure looks like:

BoA.exe (what's the name, any idea)?
100 [directory]
--1 [directory]
----1033.bmp [the graphic #1]
----1033.dat [the sound #1]
--2 [directory]
----1033.bmp [the graphic #2]
----1033.dat [the sound #2]
--3 [directory]
----Similar to 1 and 2
--And so on...

Or am I understanding it wrong?

--------------------
-Newtfeet
Posts: 151 | Registered: Saturday, July 13 2002 07:00
Guardian
Member # 2476
Profile #28
Geneforge2.exe for example looks like this:

Geneforge2.exe (the .exe is the directory)
+ Icon
+ Dialog
+ String Table
+ Icon Group
+ 100

Now you open some folders:

Geneforge2.exe
- Icon
----1
-----* 1033
+ Dialog
- String Table
----19
-----* 1033
---+20 (etc)
+ Icon Group
- 100
---+1
----2
-----* 1033
---+3 (etc)

and so on

A custom sound file that comes with the scenario should work when you add the appropriate subfolder numbers to the '100'-folder, each subfolder then containing the '* 1033' key. You cannot play the sounds without that key, I tried it.

What I am looking for is a program that adds these new subfolders to the .exe when the scenario is started and deletes them when the player leaves the scenario. Is something like this possible?

[ Thursday, April 08, 2004 00:41: Message edited by: ef ]

--------------------
Polaris
Rache's A3 Site reformatted 2/3 done
Rache's A3 Site, original version
Posts: 1828 | Registered: Saturday, January 11 2003 08:00
Warrior
Member # 3480
Profile Homepage #29
quote:
What I am looking for is a program that adds these new subfolders to the .exe when the scenario is started and deletes them when the player leaves the scenario. Is something like this possible?
Well the Reshack program can do the adding and removing sound part so it must be possible to do that, you just got to learn how it does it then you can make your program change the sound files when you open and close the senario
(I think im confusing myself :P )
Posts: 169 | Registered: Wednesday, September 24 2003 07:00
Guardian
Member # 2476
Profile #30
The reshack program has shown me how to do that, and not only change, but add sound files. But that is just for me individually.

If scenarios could come with custom sound files and play them as naturally as they show custom graphics (and without the player having to adjust the settings), that would be great.

Imagine cutscenes, where motion and sound are perfectly timed and matched.

--------------------
Polaris
Rache's A3 Site reformatted 2/3 done
Rache's A3 Site, original version
Posts: 1828 | Registered: Saturday, January 11 2003 08:00
Warrior
Member # 1505
Profile #31
Let's see here...
In the 1, 2, 3 subfolders, the file inside is named "1033"? Or "* 1033"? Other then that, I think I get it... What formats are the various files in?

--------------------
-Newtfeet
Posts: 151 | Registered: Saturday, July 13 2002 07:00
Guardian
Member # 2476
Profile #32
This is how it looks:
IMAGE(http://fritze.leukefeld.com/sounds.gif)

The sounds seem to be wav-files. At least that's what the program says and their bytesize confirms. The wav-file I added worked, while MP3s did not.

--------------------
Polaris
Rache's A3 Site reformatted 2/3 done
Rache's A3 Site, original version
Posts: 1828 | Registered: Saturday, January 11 2003 08:00
Warrior
Member # 246
Profile #33
I just checked Avernum.exe with a program called Resource Hunter and it doesn't show the sound files being in subdirectories of their own. It shows something like this:

/100
...1.wav
...2.wav
...3.wav

Posts: 117 | Registered: Friday, November 2 2001 08:00
Warrior
Member # 1505
Profile #34
I think it get it. So, the "100" folder is not in the .exe? What resource does it contain? Sounds? Bah.. I don't get it.

--------------------
-Newtfeet
Posts: 151 | Registered: Saturday, July 13 2002 07:00
Guardian
Member # 2476
Profile #35
It's alright. The Resource Hunter shows you either the tree structure, like this:
IMAGE(http://fritze.leukefeld.com/sound1.gif)
or alternatively the icon/cursor/wav files etc, like for instance:
100-1
100-2 etc.

It's a better program than the Reshack, but not free, I downloaded a trialversion.
So I have to find out what this '1003' refers to *sigh*.

edit: did find out. The socalled resource language, refered to by number 1003 is simply the language used, english in this case. Oh dear.

I don't think it is important, if the wav files are shown in subfolders or not, as refering to them by their numbers works.

[ Thursday, April 08, 2004 15:28: Message edited by: ef ]

--------------------
Polaris
Rache's A3 Site reformatted 2/3 done
Rache's A3 Site, original version
Posts: 1828 | Registered: Saturday, January 11 2003 08:00
Warrior
Member # 1505
Profile #36
Arrgh! I'm still confused. Could you relate to me what resources are outside of the .exe and what are in it?

--------------------
-Newtfeet
Posts: 151 | Registered: Saturday, July 13 2002 07:00
Guardian
Member # 2476
Profile #37
That varies a bit from game to game. In Geneforge 2 this is the .exe:
Geneforge2.exe (the .exe is the directory)
+ Icon
+ Dialog
+ String Table
+ Icon Group
+ 100 (wav files)

Then there's the data folder, containing graphics, .dat files, scripts and save files.

I'm on a PC, so I don't know the BoA particulars.

[ Friday, April 09, 2004 12:40: Message edited by: ef ]

--------------------
Polaris
Rache's A3 Site reformatted 2/3 done
Rache's A3 Site, original version
Posts: 1828 | Registered: Saturday, January 11 2003 08:00

Pages