• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 49 50 51 52 53 ... 116 Next »

Can someone shed some light on how and where audio is stored in the iso?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Can someone shed some light on how and where audio is stored in the iso?
11-23-2012, 02:18 AM
#1
sein
Unregistered
 
hello everyone.

Since this is my first post on this forum, I'd like to apologize in advance for any rule I might have broken in advance (incorrect forum, etc).

I'm trying to figure out where (and preferably how) sound tracks are stored in a gamecube iso. From the dolphin information tab, I see .afc and .aw files which might be where the sound/bgm data is stored. however, from messing with the iso, these same files also seem to include cut scene information, which lead me to believe that these files might not be where I should be looking in. Trying google didn't help.

Can someone shed some light on how and where audio is stored in the iso? Any piece of information is appreciated.


Thank you.

Note: I'm not trying to extract the audio, just modify it.
Reply
11-23-2012, 02:57 AM
#2
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
It differs from game to game. If you are lucky your game uses non-sequenced music in a compressed format like 8-bit ADPCM (common on GC because the DSP natively reads that format). With some knowledge about the format you can easily "see" 8-bit ADPCM data in an hex editor (8 byte blocks, 1st byte should be about the same in blocks near each other). If you are less lucky the game uses sequenced music (aka. MIDI-like files) where the music data is basically a succession of reference to samples stored in a "sample database" file. In that case it's harder to recognize the data (in my experience).

AFC files should be related to audio if I remember correctly. If your game is not using big data archives on disc, enabling logging in Dolphin and checking the file monitor logs will tell you what files the game accesses, which should help in finding the right files.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode