音乐播放器

From 3dbrew
Jump to: navigation, search

任天堂3DS Sound是一个包含了音乐播放器和录音机功能的应用界面。

它从SD卡加载音频文件,支持MP3和AAC编码的文件,支持M3U播放列表。

播放列表格式

这个应用允许用户创建播放列表,播放列表存储在SD卡中

偏移 长度 说明
0x00 0x04 Magic bytes, 'O', 'V', 'A', 'F' or "FAVO" endian corrected.
0x04 0x04 Always integer with value 16
0x08 0x04 Seems static?
0x0C 0x04 Zero Padding
0x10 0x02 checksum (songs?)
0x12 0x02 Icon ID (0-44)
0x14 0x02 Song file count
0x16 0x02 static(?) 2C 01
0x18 0x04 some kind of timestamp, for encryption (dosn't change when editing)
0x1A 0x01 checksum (icon?, header?) (dosn't change when editing)
0x1B 0x01 checksum (name?) (dosn't change when editing)
0x1C 0x04 always(?) integer with value 6
0x20 0x100 (avaiable 0x40) Playlist name stored in UTF-16
0x120+(n*0x20C) => n<300 692 (0x20C per song) File name stored in UTF-16. Repeats for the rest of the file.
0x2672F - End