libretro / libretro/RetroArch

ZIP: Browse does not traverse subdirectories

Open
#12,180 2 comments 0 reactions 0 assignees View on GitHub

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 selecting a ZIP in RetroArch there are two options:

"Load as Content" and "Browse"

In this issue I talk about "Browse"

Actual behavior

About "Browse": This fails to list anything in subdirectories. Actually when there is a subdirectory alphabetically before a file in the root nothing is found at all.


Example for ZIP layouts:

This finds nothing:

nope/
RPG_RT.ldb
vd1/RPG_RT.ldb

This finds RPG_RT.ldb:

RPG_RT.ldb
vd1/RPG_RT.ldb

This finds nothing:

vd1/RPG_RT.ldb
Expected behavior

Allow me to traverse subdirectories or at least list all matching candidates in subfolders!

Version/Commit
Environment information
  • OS: Arch Linux, gcc

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 Browse flow with the three ZIP layouts described, then trace the Browse entry point and ZIP candidate traversal. Confirm how directory entries affect matching and verify that files in subdirectories are listed or can be traversed without being skipped.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.