snwhd-1

Based on the information gethered here on this page, i will create a command line application from these foundings in C/C++ so that Ubuntu linux can operate with Sony mp3 walkmans. Not only the walkman im revercing (Network Walkman NW-HD1) but mini-disc players and some other sony devices use the same file structures.

xxINFOxx.DAT

These files seem to contain information about the song titles and album names on the walkman`s display. These files are located in the OMGAUDIO directory, this directory contains file types like the following.

  • xxGTRLST.DAT
  • xxTREExx.DAT
  • xxTREINF.DAT
  • xxINFOxx.DAT
  • xxCNTINF.DAT
  • xxCHINDC.DAT

A hexdump from 03GINF01.DAT :

00000960  00 00 00 00 00 00 00 00  00 2d 01 6f 00 06 00 80  |.........-.o....|
00000970  54 49 54 32 00 02 00 48  00 6f 00 77 00 20 00 74  |TIT2...H.o.w. .t|
00000980  00 6f 00 20 00 64 00 69  00 73 00 6d 00 61 00 6e  |.o. .d.i.s.m.a.n|
00000990  00 74 00 6c 00 65 00 20  00 61 00 20 00 41 00 74  |.t.l.e. .a. .A.t|
000009a0  00 6f 00 6d 00 69 00 63  00 20 00 42 00 6f 00 6d  |.o.m.i.c. .B.o.m|
000009b0  00 62 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |.b..............|
000009c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000009f0  54 50 45 31 00 02 00 55  00 32 00 00 00 00 00 00  |TPE1...U.2......|
00000a00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000a70  54 43 4f 4e 00 02 00 52  00 6f 00 63 00 6b 00 00  |TCON...R.o.c.k..|
00000a80  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000af0  54 53 4f 50 00 02 00 00  00 00 00 00 00 00 00 00  |TSOP............|
00000b00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000b70  50 49 43 50 00 02 00 00  00 00 00 00 00 00 00 00  |PICP............|
00000b80  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000bf0  50 49 43 30 00 02 00 00  00 00 00 00 00 00 00 00  |PIC0............|
00000c00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000c70

C struct reconstuction

00001470  00 00 00 00 00 00 00 00  00 03 69 a6 00 01 00 80  |..........i.....|
00001480  54 49 54 32 00 02 00 50  00 61 00 74 00 72 00 69  |TIT2...P.a.t.r.i|
00001490  00 63 00 6b 00 20 00 4b  00 69 00 63 00 6b 00 65  |.c.k. .K.i.c.k.e|
000014a0  00 6e 00 20 00 2f 00 20  00 77 00 77 00 77 00 2e  |.n. ./. .w.w.w..|
000014b0  00 6b 00 69 00 63 00 6b  00 65 00 6e 00 2e 00 63  |.k.i.c.k.e.n...c|
000014c0  00 6f 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |.o..............|
000014d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

struct albuminfo
{
 int unknown;
 int pointer_to_albumname; // ?? 
 char dest[
}

JohnnyMast/snwhd-1 (last edited 2008-08-06 16:38:40 by localhost)