Skip to main content

Notice

If you are using a Hotmail or Outlook email address, please change it now, as Microsoft is rejecting all email from our service outright.
Topic: Unknown ogg vorbis tag (Read 343 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Unknown ogg vorbis tag

Hello

First, I apologize that my reason to register here in Hydrogenaudio is that I need help, but you are audio experts. ;)
I have found many useful tips here (un-registered), but now it's little bit specific thing.

The question:

One of my hobbies is game modding and recently THE game is Richard Burns Rally (PC) [2004].
Game has .ogg files (libVorbis 1.0 / 2002-07-17) and it uses these files in replays.

I want to make new .ogg -files, but I don't know how to add tags to them.

I know how to add tags to audio -files, but this game doesn't use normal tags.
I have tried normal tags with Mp3tag -program, but game shows only empty tags.

Here's example video (not mine) what "tags" I want to add (Cruel Youth / Pepe Deluxe):
www.youtube.com/watch?v=sfy-WY-IXqM

I have opened game's original .ogg -files with hex editor -program and it seems that these files has some kind of INFO -tag beginning of the file:

Game's .ogg file begins:
INFOTitleOfTheSong..................................................ArtistOfTheSong.................................................OggS [...]

Normal .ogg file begins:
OggS [...]

Many files in Richard Burns Rally has been made with Sony Sound Forge 7.0 [2003] -program, so maybe these things are connected together?
I have Sony Sound Forge 7.0 [2003] -program, but still I haven't found the solution of this problem.

Any ideas?

Re: Unknown ogg vorbis tag

Reply #1
That sounds like a game specific tag format, designed specifically by someone who doesn't feel like implementing support for Vorbis Comments, or anything really having to do with the Ogg format other than "open, decode, play".

Re: Unknown ogg vorbis tag

Reply #2
That sounds like a game specific tag format, designed specifically by someone who doesn't feel like implementing support for Vorbis Comments, or anything really having to do with the Ogg format other than "open, decode, play".
Yes, I think that too.

In 2004, when Richard Burns Rally was made, Ogg Vorbis was quite new/unknown format (AFAIK), so maybe this INFO tag was only thing they knew?
In other hand, game's credits has official "Thanks to Ogg Vorbis / Xiph.org Foundation, This software was provided ..."

I can "Insert bytes" beginning of my .ogg -files with hex editor -program and the game shows these Title/Song -tags OK, but do you think that this method is gonna give me problems in the future?
How ogg/vorbis decoders react if there is extra bytes/bits beginning of the file?
Does these bytes/bits ignored?

If this helps, here's hex numbers:

Game's .ogg file begins (hex):
49 4E 46 4F 43 72 75 65 6C 20 59 6F 75 74 68 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50 65 70 65 20 44 65 6C 75 78 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4F 67 67 53 00  [..]

Normal .ogg file begins (hex):
4F 67 67 53 00 [..]

 

Re: Unknown ogg vorbis tag

Reply #3
Little bit off topic, but does anybody know/remember ogg vorbis version history when all started?

Why there is so big difference in file sizes (~7x) between 1.0 and 1.0.1 -versions (.exe)?

vorbis-tools-1.0-win32.zip\oggenc.exe [1 060 864 bytes]
vorbis-tools-1.0.1-win32.zip\oggenc.exe [155 136 bytes]

I don't think that you can optimize software that much without removing stuff.
I have read changelog -file, but it doesn't explain that redused file size thing.
Maybe this is related to compiling source-to-exe settings?

Richard Burns Rally uses 1.0 version, but maybe I can update my files to 1.0.1 -version and fix some bugs in the game?
I know that latest vorbis version is also 1.x..., but I think that it is safer to use 1.0... -version with Richard Burns Rally.

vorbis-tools-1.0-win32.zip:
web.archive.org/web/20040618103425/http://www.vorbis.com/files/1.0/windows
web.archive.org/web/20040618103425/http://www.vorbis.com/files/1.0/windows/vorbis-tools-1.0-win32.zip

vorbis-tools-1.0.1-win32.zip:
web.archive.org/web/20040618040126/http://www.vorbis.com/files/1.0.1/windows
web.archive.org/web/20040618102820/http://www.vorbis.com/files/1.0.1/windows/vorbis-tools-1.0.1-win32.zip

Changelog:
web.archive.org/web/20040618040126/http://www.vorbis.com/files/1.0.1
web.archive.org/web/20040618040126/http://www.vorbis.com/files/1.0.1/Changelog

 
SimplePortal 1.0.0 RC1 © 2008-2020