Sonic CD 2011 .ogg loops by Kurausukun at 1:44 AM EDT on April 19, 2014
In the 2011 re-release of Sonic CD (and in the 2013 re-releases of Sonic 1 and Sonic 2), the music is stored as .ogg files, yet it loops ingame. I'm not even sure if .ogg files CAN loop, or if the loop points are in another file somewhere; I've searched through the data and found absolutely nothing. I am going to post a rip of the game's data here in hopes that some kind soul who is much smarter than I will find where the loop data is: http://www.mediafire.com/download/hnucy9fqb2ur73k/Data.zip
by Kirishima at 2:03 PM EDT on April 19, 2014
Just a guess, but if loop points are not on the ogg files themselves, then there is probably an extra file somewhere specifying the loop points that the game also uses(PC Bloodrayne 2 is an example, but that uses mp3), or the loop points are somewhere in the games code.
by Kurausukun at 6:08 PM EDT on April 19, 2014
That was my thinking--I'm pretty sure there's a file somewhere that controls it, but I have no idea what that file could be.
by Koto at 8:08 PM EDT on April 19, 2014
Well, maybe is not exactly what you want, but here are all Sonic CD official loop poins... http://forums.sonicretro.org/index.php?showtopic=26302&view=findpost&p=652140

Or you can ask Taxman how the loops are done, as he is the man behind the remakes.

See ya

edited 8:09 PM EDT April 19, 2014
by Kurausukun at 9:37 PM EDT on April 19, 2014
Thanks for the info, I'll see if I can't find the place those values are stored now that I know them--If I can, then I can use this for Sonic 1/2 2013. Also I don't have a Sonic Retro account, so I'm not sure how I would contact Taxman, or even if I did if he would actually tell me, but thank you.
by Koto at 6:08 AM EDT on April 20, 2014
Good luck in your adventure! BTW, if you have the Sonic 1/2 2013 .ogg files, could you please upload them? I'd love to hear the new soundtracks. Thank you.

See ya
by Kurausukun at 12:12 AM EDT on April 21, 2014
Update: I have found where the loop points are in all of the games. In the case of Sonic CD 2011, all of the loops are located in Scripts/Bytecode/PS003.bin, which controls the sound test. It's hard to say exactly where the points are in there because the text is all jumbled due to byte order bullshit, but they are all in there, and you can generally tell what the name of each track is even though they are jumbled.

EDIT: For Sonic 1 and Sonic 2 2013, the loop data can be found in Bytecode/LevelSelect.bin in the first little chunk of text. This works for both Sonic 1 and 2 2013. When I'm done, I'll post a .txt file here with all the loop points of the three games so everyone can loop their own files. Not sure where else to post it to get it out there so everyone knows. Also, Koto, here: http://www.mediafire.com/download/suci913iymo1hvs/Sonic2013-ogg.zip Those are the files ripped straight from the game. I renamed the Sonic 2 ones so they aren't just numbers.

edited 1:10 AM EDT April 21, 2014
by Kurausukun at 2:00 AM EDT on April 21, 2014
Double post, whatever.
I found all of the loop points except for the speed-up variants because I didn't feel like finding those, and also I don't think the demand would be particularly high. So here is a .txt containing all of the loop points (sans speed-up) for Sonic CD 2011, Sonic 1 2013, and Sonic 2 2013 (credit to Taxman for providing the CD loop points): http://www.mediafire.com/download/xj7dupnezn04ywi/RSDK-Loop+Points.txt
Enjoy, and spread this around as much as you can--I'm not really sure how to get it out there so that people don't slave over this like I did.

edited 2:02 AM EDT April 21, 2014
by manakoAT at 2:15 AM EDT on April 21, 2014
Could you upload one of the ogg files, please?
by marcusss at 9:48 AM EDT on April 21, 2014
Hi, I just edited the the STARTLOOP and LOOPLENGTHS fields in the metadata section of the file and then renamed the extension from ogg to logg. Thanks for providing the Loop START info :) Looplength is total sample size which foobar or any other program tells you or just time x sample rate e.g. 1:30 = 90 x 44100 = 3969000

Works fine for me :)

example Tidal Tempest US

ORIGINAL OGG --> Tidal Tempest US



edited 10:09 AM EDT April 21, 2014
by Kurausukun at 3:36 AM EDT on April 22, 2014
manakoAT: All of the base ogg files are in that .zip I posted above. I'll repost the link: http://www.mediafire.com/download/suci913iymo1hvs/Sonic2013-ogg.zip


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