libretro / libretro/libretro-common
add "No-Intro Filename Sanitizer" function
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 180
- Forks
- 98
- Avg merge
- 7h 16m
- Merged PRs (30d)
- 1
Description
One of my first contributions to RA was the code that converts from 'special' characters to the underscore (_) per No-Intro filename standards.
It came up in Discord #programming that cores don't necessarily have this kind of protection against cross-platform filename issues.
If it seems appropriate, I would be glad to contribute that code as a function in file_path (https://github.com/libretro/libretro-common/blob/master/include/file/file_path.h) to make it one step easier for cores to standardize on this method of sanitizing paths and filenames if they choose.
Contributor guide
No contributing guide indexed for this repository
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 with include/file/file_path.h and review the existing file and path helpers before deciding where the sanitizer belongs. Done means a function is available for cores to standardize paths and filenames by converting special characters to underscores according to No-Intro filename standards.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100