sounds (where are they? what format are they?)

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

sounds (where are they? what format are they?)

Postby fragit » Fri Mar 26, 2010 2:30 pm

i want to experiment with creating sounds for xonotic (previously nexuiz)

where do the sound files live? is there a .pk3 they are packed in?

any info as to file format, type, or a good thread would be amazing if anyone could suggest one.

thanks!
Code: Select all
"I hope I could like a ninja. Because I know that ninja is a brave hero!"

[youtube]http://www.youtube.com/watch?v=xh0JM7pD4qM[/youtube]
fragit
Member
 
Posts: 18
Joined: Wed Jan 20, 2010 12:53 am

Re: sounds (where are they? what format are they?)

Postby Tei » Fri Mar 26, 2010 2:59 pm

I think the pk3 is just a zip file renamed. You can use your favorite zip decompressor to peek at these files. Maybe uncompress all somewhere.
I suppose you can uncompress everything, and just delete the original pk3 file, so the engine load the ucompressed files. That way you may edit any .wav or .ogg file there. I think DP can load ogg files, but I could be wrong... probably the names of the files are hardcoded on the gameplay module, so you cant use hurt.ogg wen the game expect hurt.wav
Tei
Member
 
Posts: 31
Joined: Thu Aug 10, 2006 5:45 pm

Re: sounds (where are they? what format are they?)

Postby fragit » Fri Mar 26, 2010 7:50 pm

yes, but what is the name of the .pk3?
Code: Select all
"I hope I could like a ninja. Because I know that ninja is a brave hero!"

[youtube]http://www.youtube.com/watch?v=xh0JM7pD4qM[/youtube]
fragit
Member
 
Posts: 18
Joined: Wed Jan 20, 2010 12:53 am

Re: sounds (where are they? what format are they?)

Postby Alien » Sat Mar 27, 2010 7:59 am

Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Re: sounds (where are they? what format are they?)

Postby toneddu2000 » Sat Mar 27, 2010 10:09 am

I think I didn't understand your question. If you downloaded SVN version, folders are unpacked and you can find all sounds in /Nexuiz/data/sounds/ folder (divided in categories), for Normal version, instead, you'll find sounds in Nexuiz/data in a single .pk3 file named with a number sting (e.g data20090501.pk3), open it with your zip explorer application, and browse the folders until you find data/sounds folder. Decompress subfolder you interest (ambient,weapons,etc.)in a folder of your choice, and that's it.
As Tei said, there are .ogg and .wav files there.
toneddu2000
Alien trapper
 
Posts: 251
Joined: Mon Mar 09, 2009 7:56 pm
Location: Italy

Re: sounds (where are they? what format are they?)

Postby fragit » Sat Mar 27, 2010 6:49 pm

thanks, found it in the 'data...' pk3.

i did do a search for files and folders named sound before i posted.

cool!
Code: Select all
"I hope I could like a ninja. Because I know that ninja is a brave hero!"

[youtube]http://www.youtube.com/watch?v=xh0JM7pD4qM[/youtube]
fragit
Member
 
Posts: 18
Joined: Wed Jan 20, 2010 12:53 am


Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest