Difference between revisions of "Nintendo 3DS Sound"

From 3dbrew
Jump to navigation Jump to search
m (and another category)
Line 11: Line 11:
 
!  Description
 
!  Description
 
|-
 
|-
| 0x0
+
| 0x00
| 0x4
+
| 0x04
 
| Magic bytes, 'O', 'V', 'A', 'F' or "FAVO" endian corrected.
 
| Magic bytes, 'O', 'V', 'A', 'F' or "FAVO" endian corrected.
 
|-
 
|-
| 0x4
+
| 0x04
| 0x4
+
| 0x04
 
| Always integer with value 16
 
| Always integer with value 16
 
|-
 
|-
| 0x8
+
| 0x08
| 0x4
+
| 0x04
 
| Seems static?
 
| Seems static?
 
|-
 
|-
| 0xC
+
| 0x0C
| 0x4
+
| 0x04
 
| Zero Padding
 
| Zero Padding
 
|-
 
|-
 
| 0x10
 
| 0x10
| 0x2
+
| 0x02
| Varies?
+
| checksum (songs?)
 
|-
 
|-
 
| 0x12
 
| 0x12
| 0x2
+
| 0x02
| Icon
+
| Icon ID (0-44)
 
|-
 
|-
 
| 0x14
 
| 0x14
| 0x2
+
| 0x02
 
| Song file count
 
| Song file count
 +
|-
 +
| 0x16
 +
| 0x02
 +
| static(?) 2C 01
 +
|-
 +
| 0x18
 +
| 0x02
 +
| random number (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)
 +
|-
 +
| 0x1D
 +
| 0x03
 +
| static(?) 00 00 00
 
|-
 
|-
 
| 0x20
 
| 0x20
| 0x100
+
| 0x100 (avaiable 0x40)
 
| Playlist name stored in UTF-16
 
| Playlist name stored in UTF-16
 
|-
 
|-
| 0x120+n*size
+
| 0x120+(n*0x20C) => n<300
| 692
+
| 692 (0x20C per song)
 
| File name stored in UTF-16. Repeats for the rest of the file.
 
| File name stored in UTF-16. Repeats for the rest of the file.
 +
|-
 +
| 0x2672F
 +
| -
 +
| End
 
|}
 
|}
  
 
[[Category:File formats]]
 
[[Category:File formats]]
 
[[Category:Nintendo Software]]
 
[[Category:Nintendo Software]]

Revision as of 14:35, 10 February 2013

Nintendo 3DS Sound is the music playing and audio recording application that is included with all retail consoles.

It loads audio files from the sd card. It supports MP3 and AAC encoded audio files and supports m3u playlists.

Playlist file format

The application allows for user created playlists. They are stored on the SD card.

Offset Size Description
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 0x02 random number (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)
0x1D 0x03 static(?) 00 00 00
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