Street Fighter IV (Mobile) OTO files by JacintaB19 at 11:32 PM EDT on May 16, 2020
I've checked into Street Fighter IV's Iphone IPA, and all of it's sound data is in OTO files and they can't be played in foobar 2000. Any way for me to extract the music and sounds?

edited 5:47 AM EDT May 17, 2020
by almendaz at 2:39 PM EDT on May 17, 2020
You could upload (some of) those OTOfiles for examination. They could be either 'new' format, or disguised one. In the best case, simply a new container for known audio/stream.
by JacintaB19 at 4:16 PM EDT on May 17, 2020
Here is the link to the files.
The files in this folder are all the game's music.

edited 4:16 PM EDT May 17, 2020
by almendaz at 11:29 PM EDT on May 17, 2020
Use this 32 bytes-long XOR key:

7B453C5846644A4F2E482A42267E3D362F4F663A4E70454349232A4331763F39
by JacintaB19 at 5:41 AM EDT on May 18, 2020
I'm not sure about doing this, but what do i do with the XOR key to make the WAV files work in foobar2000 or Audacity.
by almendaz at 8:48 PM EDT on May 18, 2020
So I used this software called Bless Hex Editor, which makes AND/OR/XOR operations as easy as copy/paste.

1. Open the .oto file in the hex editor;
2. Go to Tools > Bitwise Operations (Ctrl+B), a lower panel shows up.
3. Select ALL bytes of file (i.e. all the file), in the lower panel it shows the boundary offsets between parenthesis, like (0x0,<filesize in HEX>);
4. Mark/toggle bitwise operation "XOR" with dropdown arrow;
5. In the textbox, paste the KEY from my previous post (the 64-character string);
6. Mark/toggle "as Hexadecimal";
7. Run.

The resulting bytes from the operations should start with ascii "RIFF", for all (?) the .oto files.
Tested in some linux.

In the past, I used .exe (windows) called "xorbytes", but that truncates the result to the least of filesizes, so my workaround was to create a "full" file of repeated KEY bytes.
In your HEX editor of preference, copy the KEY in the "bytes" area (NOT the ascii area), should occupy 0x20 (=32) bytes, repeat this until total bytes is bigger than .oto's filesize; save as any name you want, let's call it "KEYFILE", then run "xorbytes" and in both textboxes enter paths of your newly created KEYFILE and any of the .oto files. Do this for each of your .oto files.

My mind is full now, there must be some cmd/bash way to automate this, I would do manually in the meantime.

Cheers.
by JacintaB19 at 1:38 AM EDT on May 19, 2020
But Bless Hex Editor runs on Linux?
I can't use it in Windows 7, so I guess you should have to make all the music, sounds, and voices sound right, like in the actual game for me, or you can try and make a tool or converter to do this.
Here are the sound effects and voices for examination.

edited 1:41 AM EDT May 19, 2020
by WDLmaster at 11:26 AM EDT on May 19, 2020
Put OTO2WAV.EXE and all your OTO files you want to "convert" into one directory, then run the EXE. It will create WAV files of the same name as the originals.
by almendaz at 10:58 PM EDT on May 19, 2020
Thank you @WDLmaster for creating an easier solution.


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source