Ogg files in QFG2VGA.exe

This is a public forum, where you can find out everything you wanted to know about making games. Please don't use this forum as a place to recruit new members.

Moderators: adeyke, VampD3, eriqchang, Angelus3K

Post Reply
Message
Author
Disco
Peasant Status
Posts: 4
Joined: Fri May 07, 2004 4:25 pm
Location: United States

Ogg files in QFG2VGA.exe

#1 Post by Disco » Fri Aug 06, 2004 2:13 pm

I was wondering how you AGDs are implementing Ogg sound files in the games. On the AGS site I read that Ogg and mp3 had to be made available in a seperate digital music pack. Did you somehow find out how to code it in the final .exe yourselves, or did CJ update that feature and I didn't read about it?

Erpy
Forum Administrator
Posts: 11434
Joined: Tue Sep 25, 2001 8:28 pm
Location: The Netherlands

#2 Post by Erpy » Fri Aug 06, 2004 3:11 pm

Nope, it's going to be a music.vox that's included with the game. (wouldn't make much sense to code an extra 25 MB or so into the exe)

Image

Zeus
Knight Status
Posts: 234
Joined: Tue Nov 26, 2002 2:37 pm

#3 Post by Zeus » Fri Aug 06, 2004 4:28 pm

AGS is a high level tool. Creators play with utilities : converters/coders.
They record the wav file, encode it to ogg vorbis format, and can convert it to a standard format compatible with AGS (VOX). (possibly the collect all tracks and pack it to this VOX file)
A specific function of AGS is called in the game code which starts playing the appropriate piece of music.

Doing this, requires no skill at assembly or even high level languages :)

The process may differ in some details, but generally such is the method.

Fender178
Knight Status
Posts: 328
Joined: Sun Aug 26, 2001 10:10 pm

#4 Post by Fender178 » Sun Aug 08, 2004 2:24 am

Well remaking the music for the game requires a lot of skill but compressing it into a different audio format is a piece of cake.

Zeus
Knight Status
Posts: 234
Joined: Tue Nov 26, 2002 2:37 pm

#5 Post by Zeus » Sun Aug 08, 2004 12:05 pm

furhtermore, needless to say that there is no "know how" about coding data in the main executable. People who create with AGS are 99% people with standard knowledge of programming languages.
They do not know high level assembly. So to put it bluntly , coding music into the main executable is not an option.

Rambaldi0503
The Heretic
Posts: 518
Joined: Sun Dec 28, 2003 12:03 am
Location: Hoboken, NJ
Contact:

#6 Post by Rambaldi0503 » Tue Aug 10, 2004 6:10 pm

Is there a way to play an .OGG in a media player like Windows Media Player? And then to turn them into something that my iPod could play? like an mp3?

Zeus
Knight Status
Posts: 234
Joined: Tue Nov 26, 2002 2:37 pm

#7 Post by Zeus » Tue Aug 10, 2004 7:14 pm

check this Rambaldi

http://www.litexmedia.com/wma_workshop/

Click to Download the encoder :

If you have Mediaplayer VERSION 9 :
http://www.litexmedia.com/awmaw_lite.exe

If NOT :
http://www.litexmedia.com/awmaw.exe

It does everything you want in your case ;)

Pidgeot
Defense Minister Status
Posts: 736
Joined: Tue Sep 17, 2002 2:54 pm
Location: Kolding, Denmark
Contact:

#8 Post by Pidgeot » Tue Aug 10, 2004 7:37 pm

Player: Winamp (you might need the full/bundled download)
Encoder: DBPowerAmp Music Convertor or appropriate Winamp Output plug-ins (at same site as Winamp).

Rambaldi0503
The Heretic
Posts: 518
Joined: Sun Dec 28, 2003 12:03 am
Location: Hoboken, NJ
Contact:

#9 Post by Rambaldi0503 » Tue Aug 10, 2004 8:28 pm

Cool, thanks guys.

Erpy
Forum Administrator
Posts: 11434
Joined: Tue Sep 25, 2001 8:28 pm
Location: The Netherlands

#10 Post by Erpy » Tue Aug 10, 2004 8:50 pm

BTW, turning Oggs into MP3's is not something you should do unless there's no other option. Since Ogg compresses music by removing certain parts and MP3 compresses music by removing certain other parts, a double compression will get you the disadvantages of both.

Image

Rambaldi0503
The Heretic
Posts: 518
Joined: Sun Dec 28, 2003 12:03 am
Location: Hoboken, NJ
Contact:

#11 Post by Rambaldi0503 » Tue Aug 10, 2004 9:09 pm

Ah but iPod doesn't do MP3. Butt I guess I could convert to something else.

I was just curious, don't need to, but I was just curious.

Post Reply