libretro / libretro/RetroArch

[Ozone UI] Assets are being used from the XMB directories and not the Ozone directory

Open
#13,605 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

menu: ozone menu: xmb user interface
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

When using the Ozone UI, a playlist that has a custom name won't properly show icons even when the assets are present and named properly in the Ozone Assets icon folder. The icons will only show up properly if the assets are present and named properly in the XMB Assets folders.

Expected behavior

When using Ozone, the assets that are present in the Ozone Assets icon folder are used and displayed when an asset filename matches the playlist custom name.

Actual behavior

When using Ozone, the assets that are present in the Ozone Assets icon folder are not used and displayed when an asset filename matches the playlist custom name. Instead, assets in the XMB Assets folders are used and displayed when an asset filename matches the playlist custom name

Steps to reproduce the bug
  1. Use Ozone
  2. Create a Playlist from the available Retroarch list. Example: "Sega - Mega Drive - Genesis" ==> creates "Sega - Mega Drive - Genesis.Ipl" playlist file
  3. Rename "Sega - Mega Drive - Genesis.Ipl" to "Genesis.Ipl"
  4. Edit "Genesis.Ipl" and change all references of "Sega - Mega Drive - Genesis.Ipl" to "Genesis.Ipl"
  5. Make a copy of "Sega - Mega Drive - Genesis.png" and "Sega - Mega Drive - Genesis-content.png" in the Ozone Assets icons folder and name them "Genesis.png" and "Genesis-content.png"
  6. View the "Genesis" playlist icons in Ozone and note that they are showing the default icons (rocket ship) and not the copied ones from "Sega - Mega Drive - Genesis"
  7. Go to every sub-folder in XMB Assets folder, make copies of all files that start with "Sega - Mega Drive - Genesis...", and rename them "Genesis..."
  8. View the "Genesis" playlist icons in Ozone and note that they are now showing the "Sega - Mega Drive - Genesis" icons
Bisect Results

It appears that Ozone is looking at the XMB Assets folder(s) instead of the Ozone Assets folder. Unsure if this is for all situations/cores though?

Version/Commit

Tested on the current retroarch version.

  • RetroArch: 1.10.0
Environment information
  • OS: XBox One X (but good chance it is problem in Ozone and thus, common to all OS types?)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the Ozone UI with a renamed Genesis playlist and compare asset lookup in the Ozone Assets and XMB Assets folders. Trace the playlist icon lookup from that behavior; done means matching custom playlist names select the corresponding Ozone assets without requiring copies in XMB folders.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.