Line 1: |
Line 1: |
| Nintendo 3DS Sound is the music playing and audio recording application that is included with all retail consoles. | | 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. | + | It loads audio files from the SD card. It supports MP3 and AAC-encoded audio files and supports m3u playlists. |
| | | |
| == Playlist file format== | | == Playlist file format== |
Line 45: |
Line 45: |
| | 0x18 | | | 0x18 |
| | 0x04 | | | 0x04 |
− | | some kind of timestamp, for encryption (dosn't change when editing) | + | | Some kind of timestamp, for encryption (doesn't change when editing) |
| |- | | |- |
| | 0x1A | | | 0x1A |
| | 0x01 | | | 0x01 |
− | | checksum (icon?, header?) (dosn't change when editing) | + | | Checksum (icon?, header?) (doesn't change when editing) |
| |- | | |- |
| | 0x1B | | | 0x1B |
| | 0x01 | | | 0x01 |
− | | checksum (name?) (dosn't change when editing) | + | | Checksum (name?) (doesn't change when editing) |
| |- | | |- |
| | 0x1C | | | 0x1C |
| | 0x04 | | | 0x04 |
− | | always(?) integer with value 6 | + | | Always(?) integer with value 6 |
| |- | | |- |
| | 0x20 | | | 0x20 |
Line 65: |
Line 65: |
| | 0x120+(n*0x20C) => n<300 | | | 0x120+(n*0x20C) => n<300 |
| | 692 (0x20C per song) | | | 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 | | | 0x2672F |
Line 73: |
Line 73: |
| | | |
| == Sample reader == | | == Sample reader == |
− | This is a basic example of how to read a 3DS playlist. I know that this works on my specific system; on any other system, it's liable to fail. I'm not responsible if you hurt yourself. | + | This is a basic example of how to read a 3DS playlist. |
| + | |
| <pre>/* This is free and unencumbered software released into the public domain. | | <pre>/* This is free and unencumbered software released into the public domain. |
| /* Anyone is free to copy, modify, publish, use, compile, sell, or | | /* Anyone is free to copy, modify, publish, use, compile, sell, or |