This page contains notes for the game Harry Potter and the Sorcerer's Stone (PlayStation).
The Harry Potter PlayStation games share similar data formats (with adaptations/exceptions) to other Argonaut Games projects.
POTTER.DAT and POTTER.DIR files#
POTTER.DAT is an uncompressed structure that contains data for files used by the game. POTTER.DIR is a companion directory that lists the name, position, and length of every stored file.
- DATDIR-Codec can unpack, re/pack, and probe these files.
WAD files#
WAD files are self-contained game scenes (menus and levels), encompassing all required assets. They are split into sections.
- PS1-Argonaut-Reverse contains a Python script that can be used to export data from WAD files in common, usable formats.
- WAD-Crosser can split and merge these files from/into their sections.
Sections#
Section |
Notes |
|---|---|
"XSPT" (TPSX) |
Stores textures, as well as an internal name for each scene. |
"XSPS" (SPSX) |
Stores generic sound effects, and ambience. |
"FINU" (UNIF) |
Font/text handling. |
"XSPL" (LPSX) |
Scene-specific text strings and translations. |
"XSPD" (DPSX) |
Stores 3D resources (characters, level sections, animations, etc) and actors/their code. |
"TROP" (PORT) |
Stores information about level sections/layout. |
" DNE" (END ) |
Stores music, dialogue, and specific sound effects. |
List of WAD files#
File |
Internal XSPT (TPSX) name |
Notes |
|---|---|---|
T0I0M999.WAD |
"Default new map" |
|
T1I0M000.WAD |
"Default new map" |
|
T1I0M001.WAD |
"Default new map" |
|
T1I0M002.WAD |
"Default new map" |
|
T1I0M003.WAD |
"Default new map" |
|
T1L1M000.WAD |
"Storyteller Room" |
|
T1L1M001.WAD |
"111CastleHub" |
Lower Castle/Gryffindor Tower. |
T1L1M002.WAD |
"Rescue Hedwig" |
Library parts 1 and 3. |
T1L1M003.WAD |
"113 Broomstick Training" |
Broomstick hoop/moth collection tasks. |
T1L1M004.WAD |
"114Charms Class" |
Race to Charms, Charms classroom, Lower Castle Great Foyer rooms, and corridor to Dungeons. |
T1L1M005.WAD |
"115HPDoor" |
Portrait rewards. |
T1L1M006.WAD |
"116CrabbeAndGoyle" |
Lower Castle Malfoy/Crabbe/Goyle boss fight with wizard crackers. |
T1L1M007.WAD |
"Storyteller Room" |
Storybook narrated scenes. |
T1L1M008.WAD |
"Rescue Hedwig" |
Library part 2. |
T1L1M009.WAD |
"119common room" |
Gryffindor Common Room. |
T1L2M001.WAD |
"121CastleGroundsHub" |
Castle Grounds - door to castle, tunnel/well, race to Herbology, Herbology classroom. |
T1L2M002.WAD |
"122CastleGroundsExtra" |
Castle Grounds - Hagrid's Hut and Quidditch Pitch areas. |
T1L2M003.WAD |
"123Gargoyle" |
Gargoyle Gate (gargoyle boss fight) and Sloth Brain ("forgotten") area. |
T1L2M004.WAD |
"124HagridsHut" |
Hagrid's Hut interior. |
T1L2M005.WAD |
"Broomstick Chase" |
Malfoy boss fight on brooms. |
T1L2M006.WAD |
"126FireSeeds" |
Fire Seed Plant area (puffskeins, lava river, caves). |
T1L2M007.WAD |
"Quidditch 1" |
Story: Quidditch vs. Hufflepuff. |
T1L2M008.WAD |
"Quidditch 2" |
Story: Quidditch vs. Ravenclaw. |
T1L2M009.WAD |
"Quidditch 3" |
Story: Quidditch vs. Slytherin. |
T1L3M001.WAD |
"131DungeonHub" |
Dungeons, race to Defence Against Dark Arts, Defence Against Dark Arts classroom. |
T1L3M002.WAD |
"4 room Puzz" |
Curse eyes puzzle, and chambers for entry to Cauldron Push game. |
T1L3M003.WAD |
"133 Trolls" |
Troll dungeon under well, with Fireflies. |
T1L3M004.WAD |
"134 DADA classroom" |
Potions classroom. |
T1L3M005.WAD |
"Quidditch training" |
Quidditch Training sessions. |
T1L3M008.WAD |
"The Great Hall" |
Lower Castle Great Hall. |
T1L4M001.WAD |
"141UpperCastleHub" |
Upper Castle, attic/Peeves Race. |
T1L4M002.WAD |
"Upper Castle" |
Upper Castle Forbidden Corridor rooms, stealth section, Portrait Room, race to Transfiguration. |
T1L4M003.WAD |
"Voldermort Boss" |
Quirrel/Voldemort boss fights. |
T1L4M004.WAD |
"Troll Boss" |
Troll chase. |
T1L4M005.WAD |
"Fluffy" |
Fluffy boss fight. |
T1L4M006.WAD |
"Devil's Snare" |
Devil's Snare boss fight. |
T1L4M007.WAD |
"The Flying Keys Section" |
Flying Keys game. |
T1L4M008.WAD |
"chess and potions" |
Chess game. |
T1L4M009.WAD |
"Sleeping Troll, Potions" |
Sleepwalking troll, ice potion games. |
T1L6M001.WAD |
"Diagon Alley" |
Diagon Alley street. |
T1L6M002.WAD |
"Ollivander's Wands." |
Diagon Alley shop: Ollivander's (Peacock Feather). |
T1L6M003.WAD |
"Eeylops Owl Emporium" |
Diagon Alley shop: Owl Emporium (Eagle Owl Feather). |
T1L6M004.WAD |
"Magical Menagerie" |
Diagon Alley shop: Magical Menagerie (Giant Purple Toad Warts). |
T1L6M005.WAD |
"Forbbiden Forest" |
Forbidden Forest areas. |
T1L6M006.WAD |
"Voldermort and The Unicorn." |
Voldemort encounter scene in Forbidden Forest. |
T1L7M001.WAD |
"Gringotts Bank" |
Gringott's Bank chambers. |
T1L7M002.WAD |
"Mine Cart Knut" |
Gringott's Bank: first Mine Cart (Knut). |
T1L7M003.WAD |
"Mine Cart Sickle" |
Gringott's Bank: second Mine Cart (Sickle). |
T1L7M004.WAD |
"Mine Cart Galleon" |
Gringott's Bank: third Mine Cart (Galleon). |
T1L8M001.WAD |
"181 Dungeon Cauldron Secret" |
Cauldron Push game (all 3 versions) and Transfiguration classroom. |
T1L8M002.WAD |
"182 Secret bulb outdoor section" |
Bouncing Bulb game (all 3 versions). |
T1L8M003.WAD |
"Tuck Shop Secret" |
Flying Items game. |
T1L8M004.WAD |
"Troll Boss" |
Troll boss fight and Kitten Bean game. |
T1L9M001.WAD |
"QuidditchCup v Hufflepuff" |
Quidditch League game 1 (vs. Hufflepuff). |
T1L9M002.WAD |
"Quidditch Cup vs. Ravenclaw " |
Quidditch League game 2 (vs. Ravenclaw). |
T1L9M003.WAD |
"Quidditch Cup vs. Slytherin" |
Quidditch League game 3 (vs. Slytherin). |
T1L9M004.WAD |
"Quidditch Cup vs. Hufflepuff " |
Quidditch League game 4 (vs. Hufflepuff). |
T1L9M005.WAD |
"Quidditch Cup vs. Ravenclaw " |
Quidditch League game 5 (vs. Ravenclaw). |
T1L9M006.WAD |
"Quidditch Cup vs. Slytherin " |
Quidditch League game 6 (vs. Slytherin). |
Name format#
WAD file/scene names follow a format logically devised for use in the Croc 2 game: TxLyMzzz.WAD.
- x: the Tribe the scene belongs to - more or less irrelevant to the HP PS games.
- y: the Level the scene belongs to - the HP PS games seem to use this loosely to associate scenes, with some oddities.
- 0: appears to be used for tests/menus.
- 1: Lower Castle scenes.
- 2: Castle Grounds scenes (including the 3 non-Quidditch League games of Quidditch).
- 3: Dungeons scenes (as well as the Great Hall (Lower Castle) and Quidditch Training (Castle Grounds)).
- 4: Upper Castle scenes.
- (No Level 5 scenes exist, for some reason.)
- 6: Diagon Alley/shops and Forbidden Forest scenes.
- 7: Gringotts scenes.
- 8: Miscellaneous secret challenge scenes (and story gameplay, if lumped into the same map(s)).
- 9: Quidditch League scenes.
- zzz: the Map the scene represents - each is its own level in real terms.
Encoded Strings#
|
|
To do: |
POTTER.DAT contains most of the game data, and a large amount of strings for the game. Starting towards the top of the POTTER.DAT file, there are a large group of strings like the following:
Sbgnnk Rdbnqc Thld:
C`khaq`sd Cnmsqnkkdq
Lnnj Mncd
Cdmsdq Sbqddm
@ Cdmsdq Sbqddm
It turns out that these strings are ROT-1 encoded, but only the lowercase letters are. The uppercase letters are left as-is. After decoding, these strings are:
School Record Time:
C`libr`te Controller
Look Mode
Center Screen
@ Center Screen
Further, it looks like all instances of the letter 'a' are replaced with a backtick character (`). That'd make the second line in the example "Calibrate Controller".