Oni (PlayStation 2): Difference between revisions

m
→‎Data storage: better explanation of 8+3 names and INDEX.DIR
m (link fix, wording tweaks)
m (→‎Data storage: better explanation of 8+3 names and INDEX.DIR)
Line 35: Line 35:


==Data storage==
==Data storage==
The root directory of the PS2 CD-ROM is roughly equivalent to the [[Oni (folder)|Oni folder]] of a Windows or Mac installation. This isn't clear at first, as the names of the files and folders that would be found in a PC installation are represented by numbers due to the PS2 file system being limited to [[wp:8.3 filename|8+3 naming]]. The actual names for these files are given in plain-text directory listings named INDEX.DIR alongside the renamed files. After assigning these names, the directory tree is as follows.
The root directory of the PS2 CD-ROM is roughly equivalent to the [[Oni (folder)|Oni folder]] of a Windows or Mac installation. This isn't clear at first, as the names of the files and folders are represented by numbers. Most of Oni's original file and folder names would be too long for a PS2 disc's ISO 9660 Level 1 file system, which employs [[wp:8.3 filename|8+3 naming]]. Thus, the actual names for these files are given in plain-text directory listings named INDEX.DIR alongside the renamed files. The game executable reads these .DIR files at runtime to find the desired file/folder. Here is the directory tree with de-indexed names:
{|border=1 cellspacing=0 style="font-size:75%"
{|border=1 cellspacing=0 style="font-size:75%"
|-
|-
!Name on disk
!Name on disk
!Indexed name
!De-indexed name
!Notes
!Notes
|-valign=top
|-valign=top