Skip to content

SND0 and ICON1 Resource Editor #76

@RupertAvery

Description

@RupertAvery

FIXED BUILD: https://github.com/RupertAvery/PSXPackager/actions/runs/22656595108/artifacts/5754156970

The editor for non-PNG resources contains two buttons:

  • Load (Resource Type)
  • Save (Resource Type) Resource

Where Resource Type will be AT3 for Music tab or PMF for Animation tab

Image

Example for AT3

Load

Clicking on Load will prompt the user to select a file to include as the resource

The extensions allowed will depend on the selected resource, *.at3 for Music or *.pmf for Animation

If the Resource tab's checkbox is checked, the loaded resource will be included in the output PBP

Save

The Save button will be enabled if a PBP is loaded. Clicking on Save will prompt th user for a destination to save the resource. Upon selecting a destination, the resource will be extracted from the PBP

Note that editing PBP resources and saving the updated PBP is not currently implemented.

Known Issues:

  • .png is included in the list of extensions for PMF because of documentation saying that PNGs can be used in ICON1, but I may remove this extension
  • The Save button is not currently working as intended, as I came up with the requirements while writing this issue, you can ignore for now
  • the Image Editor tooltip appears in this view and displays an image-related message. The tooltip is hosted in the Resource Editor, which can contain an image editor or non-image editor. Is the tooltip useful here or should we remove it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions