Actually you only need three files to find everything on the player, without reading any *0 or *1 file.
These files are "database" "playlists" and "tags". If you search this BBS you'll find examples how to parse these files.

You can differentiate mp3 's from ogg files by the "codec" tag in the database.
These are the possible values:

mp3
wave
wma
vorbis
flac

Pim