[Ozone UI] Assets are being used from the XMB directories and not the Ozone directory
Nobody has claimed this yet.
- 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
- Use Ozone
- Create a Playlist from the available Retroarch list. Example: "Sega - Mega Drive - Genesis" ==> creates "Sega - Mega Drive - Genesis.Ipl" playlist file
- Rename "Sega - Mega Drive - Genesis.Ipl" to "Genesis.Ipl"
- Edit "Genesis.Ipl" and change all references of "Sega - Mega Drive - Genesis.Ipl" to "Genesis.Ipl"
- 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"
- 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"
- 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..."
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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