Post Reply 
PLAYLIST.UMD format
Author Message
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1294
Offline
Post: #1
PLAYLIST.UMD format
Vegetano1 asked me to look into the file format of this file a while ago.

Basically, this file appears on UMD Videos (and Music) and describes the tracks on the video content.

Probably useless to most people, but just posting here if anyone's interested:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
PLAYLIST.UMD file format


======= GENERAL FILE ORGANISATION =======
  File header
  File Data
  [ Track entry
     - Marker entry
     - Marker entry
     ...
  ]
  [ Track entry
     - Marker entry
     - Marker entry
     ...
  ]
  ...
  
========================================

** NOTE: Numbers are in BIG ENDIAN format
** TIMESTAMP format: appears to be, seconds = (timestamp / 90000) - 1

-- FILE HEADER --
0x00    (char)      ASCII string "UMDV0088"
0x08    (dword)     Always 0x0130 (absolute pointer to file data section?)
0x0C-0x29           All 0x00

0x2A    (word)      Always 0x0104 (length to 0x130 from 0x2A?)
0x2C    (dword)     Always 0x01
0x30    (byte)      Length of title (max=255)
0x31    (char)      Title text, followed by nulls to pad 255 characters
                    UMD Videos seem to start with "UMDV-" and Music starts with "MUSIC " ?

-- FILE DATA --
0x130    (dword)    Offset from 0x134 to EOF
0x134    (word)     Number of tracks

-- TRACK ENTRY (first occurance @0x136) -- [ length = 0x338 bytes ]
0x00    (dword)     Length of track entry excluding the 4 bytes for this length value
0x04    (word)      UNKNOWN (always 0x0310)
0x06    (word)      UNKNOWN (always 0x0332)
0x08-0x25           All 0x00
0x26    (word)      Always 0x02E8 (maybe something to do with length?)
0x28    (word)      Usually 0x0000, sometimes 0x1000
0x2A    (word)      UNKNOWN (always 0x2004)
0x2C    (word)      UNKNOWN (video UMDs=0x0815, audio UMDs=0x1212)?
0x2E    (dword)     UNKNOWN (video UMDs=0x23000000, audio UMDs=0x12121200)?
0x32    (dword)     UNKNOWN (always 0x00060900)
0x36    (byte)      Length of next text (max=255)
0x37    (char)      Name
 this is followed by nulls (length of string is thus 0x2DB bytes), until...
0x312   (word)      UNKNOWN (always 0x1E00) - related to length??
0x314   (word)      Always 0x00
0x316   (dword)     Always 0x00010000
0x31A   (dword)     UNKNOWN (always 0x00160005)
0x31E   (char)      Corresponding filename [8 chars] (eg 00001\0\0\0)  A file can have multiple tracks this way
0x326   (word)      Always 0x00
0x328   (dword)     Absolute start position? (timestamp)
0x32C   (word)      Always 0x00
0x32E   (dword)     Absolute end position? (timestamp)
0x332   (dword)     Length of marker data +2 bytes (=0x28*markers + 2)
0x336   (word)      Number of markers

-- MARKER ENTRY (first occurance @0x46E) -- [ length = 0x28 ]
0x00    (byte)      Always 0x05 - entry start marker?
0x01    (byte)      Length of 'mark name' ASCII string
0x02    (dword)     Always 0x00
0x06    (dword)     Timestamp of marker
0x0A    (dword)     Always 0x00
0x0E    (word)      Always 0x00
0x10    (char)      ASCII string representing 'mark name' - this is always exactly 0x18 chars long; typically (actually, always), the name is in the format "Mark{framepos}" where {framepos} appears to be the frame # of the marker


Trying to write an editor for this now, but I kinda suck with Visual C++ (trying to ditch VB once and for all :P), so yeah...
Source code is the "src" package below.  Done in Visual Studio 2005 or 2008 or 2022, I can't remember.  Just hope it works.

EDIT by Vegetano1: i have added the editor to the first post/topic ;) thanks alot !!



Attached File(s)
.7z  UPLEditor.7z (Size: 99.59 KB / Downloads: 399)
.7z  uple-src.7z (Size: 82.39 KB / Downloads: 266)
(This post was last modified: 25/07/2011 01:31 AM by ZiNgA BuRgA.)
28/09/2008 02:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
PLAYLIST.UMD format - ZiNgA BuRgA - 28/09/2008 02:58 AM
RE: PLAYLIST.UMD format - Vegetano1 - 28/09/2008, 03:29 AM
RE: PLAYLIST.UMD format - SchmilK - 28/09/2008, 06:36 AM
RE: PLAYLIST.UMD format - ZiNgA BuRgA - 28/09/2008, 06:46 AM
RE: PLAYLIST.UMD format - ZiNgA BuRgA - 30/09/2008, 02:28 AM
RE: PLAYLIST.UMD format - Vegetano1 - 30/09/2008, 03:05 AM
RE: PLAYLIST.UMD format - Vegetano1 - 30/09/2008, 08:41 PM
RE: PLAYLIST.UMD format - ZiNgA BuRgA - 01/10/2008, 12:53 AM
RE: PLAYLIST.UMD format - Vegetano1 - 03/10/2008, 03:57 PM
RE: PLAYLIST.UMD format - Vegetano1 - 05/10/2008, 11:23 AM
RE: PLAYLIST.UMD format - sabisu - 07/10/2008, 07:30 PM
RE: PLAYLIST.UMD format - ZiNgA BuRgA - 08/10/2008, 04:26 AM
RE: PLAYLIST.UMD format - sabisu - 08/10/2008, 03:06 PM
RE: PLAYLIST.UMD format - Vegetano1 - 08/10/2008, 03:50 PM
RE: PLAYLIST.UMD format - ZiNgA BuRgA - 08/10/2008, 05:11 PM
RE: PLAYLIST.UMD format - ZiNgA BuRgA - 24/07/2011, 04:08 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)

 Quick Theme: