Skip to content

Disc Metadata #82

@RupertAvery

Description

@RupertAvery

BUILD: https://github.com/RupertAvery/PSXPackager/actions/runs/21481211832/artifacts/5304339978

This section displays the currently selected Disc metadata

Image
  • Game ID - the Game ID of the currently selected disc in the format XXXXYYYYY
  • Game TItle - the Title of the currently selected disc, this is the name of the disc itself and in a multi-disk game it may include the disc number e.g. Final Fantasy - Disc 4 or some other identifier, e.g. Resident Evil 2 - Claire Disc
  • Save ID - this usually the Game ID of the first disc or main disc in a multi-disc game
  • Save Title - this is the Title of the game itself, and will not contain the disc number

These values are populated when the user loads a disc image into a slot, or when a PBP is loaded

The Game ID and Title are unique for each loaded disc.

The Save ID and Save TItle are separate fields and are loaded from the first disc slot only, or from the PARAM.SFO if a PBP is loaded.

If a Game ID cannot be extracted from a disc, the user will be prompted to select a Game ID from the (see Game Database). If the user does not select a Game ID, a dummy Game ID of SLUS00000 and the Title "Unknown Game" will be used.

The user can press the ... button next to the Game ID and Save ID fields to select another Game ID from the database.

Linked fields

The following fields are linked to PARAM.SFO fields

  • Save ID is linked to the DISC_ID value
  • Save Title is linked to the TITLE value

Changing one will change the other

See #81

TODO: Validation on the Game ID and Save ID fields (XXXXYYYYY)

GameID Extraction mechanism

The GameID is extracted from SYSTEM.CNF of the selected disc

SYSTEM.CNF is a text file located in the root of the disc and will contain the following line

BOOT = cdrom:\\<executable>;1

Where the executable is a filename usually in the format XXXX_YYY.YY that usually matches the gameId e.g. SLPS_018.30. There are some discs that do not match this and may use the filename PSX.EXE instead.

The extracted gameId is used to find the corresponding entry in games.db, a simple delimited text file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions