Music is stored in CPK files (CRI Middleware proprietary package format), along with a list of files in the CSB files, music is in ADX/AAX format, Sonic 4 for PS3 also uses this format for its music, and both are compatible, and interchangeable. CSB uses UTF8 for encoding, CPK uses UTF8 internally, also contains a TOC for files inside CPK. Use CRI Filesystem Tools or CRI FileMajic SDK to repack. Replacing FX AAX file appears to break sound entirely, be careful!
Level loading involves loading the .arl file for the act (in the demo MykonosAct2) from <cdvd>/<bindir>/ which on PS3 is /dev_bdvd/PS3_GAME/USRDIR. This contains a listing of files in the .ar archive for the act. SEGA uses zlib for compression, on failure on PS3, error output for Zlib is sent to SPU STDERR, and will end up crashing the game and/or Lv-2 and/or SPURS Engine. PFD file is in Packed directory and contains level geometry, you can change it, but if it's too large, you'll crash the game.
More coming soon as I continue to look at Sonic Unleashed.
|Sonic Community Hacking Guide|
|Sonic Music Hacking Guide | SonED2 Manual|
|Sonic the Hedgehog (16-bit) | Sonic the Hedgehog (8-bit) | Sonic Eraser | Sonic CD (prototype 510) | Sonic CD | Sonic CD (PC) | Sonic 2 (Nick Arcade prototype) | Sonic 2 (Simon Wai prototype) | Sonic 2 (16-bit) | Sonic 2 (8-bit) | Sonic 2 & Knuckles | Dr. Robotnik's Mean Bean Machine | Sonic Triple Trouble | Sonic 3 | Sonic & Knuckles | Sonic 3 & Knuckles | Sonic & Knuckles Collection | Sonic Crackers | Sonic 3D: Flickies' Island | Chaotix | Sonic R PC | Sonic Jam 6 | Sonic Advance | Sonic Advance 2 | Sonic Advance 3 | Sonic Battle | Sonic Adventure | Sonic Adventure DX: Director's Cut | Sonic Adventure DX: PC | Sonic Adventure (2010) | Sonic Adventure 2 | Sonic Adventure 2: Battle | Sonic Adventure 2 (PC) | Sonic Heroes | Shadow the Hedgehog | Sonic Riders | Sonic the Hedgehog (2006) | Sonic & Sega All-Stars Racing | Sonic Unleashed (Xbox 360/PS3) | Sonic Generations|
|The Nemesis Hacking Guides||The Esrael Hacking Guides|
|ROM: Sonic 1 | Sonic 2 | Sonic 2 Beta | Sonic 3||Sonic 1 (English / Portuguese) | Sonic 2 Beta (English / Portuguese) | Sonic 2 and Knuckles (English / Portuguese)|
|Move to Sega Retro|
|Number Systems (or scrap) | Assembly Hacking Guide | Subroutine Equivalency List | 68000 Instruction Set | 68000 ASM-to-Hex Code Reference | VDP Documentation | Official Sega 32X Documentation | Official Mega-CD Documentation | Official Sega Mega Drive Documentation|