libretro / libretro/RetroArch

invalid encoding files on home directory

Open
#15,191 0 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

Retro arch is creating files in my home directory, with the name contaning invalid encoding characteres.
im not completely sure if that is a bug on one of the cores, or in retroarch itself.
the files are named something like:
���0 (codificação inválida)

(my system is in portuguese, codificação inválida means invalid encoding)

it took me a while to notice what program was creating such files since many of then are empty, but looking at some non empty files i got data that seems to come from retroarch:

[Logs]
ActionReplay = False
AI = False
Audio = False
BOOT = True

in one of the files and:

[Enhancements]
ForceFiltering = False
MaxAnisotropy = 0
[Hacks]
BBoxEnable = False

in another.

i have both snap and steam versions installed.

  • Snap - RetroArch: git version: 938ab716bd
    Buid date: Mar 10 2023
    Steam - Retro Arch: git version: 6616b807ed
    Build date: 17 march 2023

  • OS: Ubuntu 20.04
    those files with strange names appear on;

~
and
~/.local/share/Steam/steamapps/common/RetroArch

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

Reproduce the issue on Ubuntu 20.04 with the Snap and Steam versions, then inspect the invalidly named files in ~ and ~/.local/share/Steam/steamapps/common/RetroArch. Done means identifying whether RetroArch or a core creates these files and preventing creation of filenames with invalid encoding characters.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.