.xps format

This information was figured out by looking at various .xps files and finding patterns and similarities.
For this reason some or all of this information may be incorrect.
If this is the case please let me know so i can update it.
email me at: loser@loser-console.org

Xps header

offset

size

description

0

4

0x0000000D version?

4

17

SharkPortSave

21

4

length of filename (L1 = this value)

25

L1

filename

25+L1

4

length of date field (L2 = this value)

29+L1

L2

date field

29+L1+L2

4

0

33+L1+L2

4

size of all the files and their descriptors (equals size of rest of file – 4 bytes checksum on end)

 

file descriptor

offset

size

description

0

2

size of this descriptor (usually 250)

2

64

file title

66

4

length of file (or number of files in dir if descriptor is for main dir)

70

4

start sector

74

4

end sector

78

4

attributes

82

8

creation date

90

8

modification date

98

4

0×00000000

102

12

padding (or a 4byte number followed by another date)

114

64

file title (ascii)

178

64

file title (s-jis)

242

8

0

 

date format

offset

size

description

0

1

Reserved (0)

1

1

Second

2

1

Minute

3

1

Hour

4

1

Day

5

1

Month

6

2

Year

 

file attribute flags

value

description

0×0001

Read permission

0×0002

Write permission

0×0004

Execution permission

0×0008

Copy protected

0×0010

File??

0×0020

Subdirectory

0×0040

?????

0×0080

File preserved

0×0100

?????

0×0200

?????

0×0400

this is used often??

0×0800

PDA application (first generation (PSX) PDA file)

0×1000

PS1 Data

0×2000

?????

0×4000

?????

0×8000

PS2 Data??

Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback.

Leave a Reply