RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

RetroArch does not look at /etc/retroarch.cfg for a fresh config

Open madig opened this issue 9 years ago • 6 comments

Description

Doing a fresh config, the retroarch.cfg file is filled in with Windows defaults, e.g. the build bot URL points to the Windows binaries and the directories are filled in wrong (":\assets", ..., placed in the current working directory). This prevents RA from working. Placing the default .cfg in the bin/ directory (as in https://github.com/JuanVCS/RetroArch/commit/9d63c047a9d0ee535fe0b4ec4406391ff204486e) makes it work.

Expected behavior

Read and use /etc/retroarch.cfg.

Actual behavior

See above.

Steps to reproduce the bug

  1. Delete ~/.config/retroarch
  2. Start RetroArch
  3. Try to update something.

Version/Commit

RetroArch: git master, commit b3cd6f13a53cfa22d746d1d071ae7af83b0601b1

Environment information

  • OS: Fedora 25 x64
  • Compiler: gcc 6.3.1

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

madig avatar Feb 04 '17 14:02 madig

it should work regarles... we don't rely on the skeleton config on any platform... maybe the XDG_HOME stuff broke?

On Sat, Feb 4, 2017 at 9:09 AM, Nikolaus Waxweiler <[email protected]

wrote:

Description

Doing a fresh config, the retroarch.cfg file is filled in with Windows defaults, e.g. the build bot URL points to the Windows binaries and the directories are filled in wrong (":\assets", ..., placed in the current working directory). This prevents RA from working. Placing the default .cfg in the bin/ directory (as in JuanVCS@9d63c04 https://github.com/JuanVCS/RetroArch/commit/9d63c047a9d0ee535fe0b4ec4406391ff204486e) makes it work. Expected behavior

Read and use /etc/retroarch.cfg. Actual behavior

See above. Steps to reproduce the bug

  1. Delete ~/.config/retroarch
  2. Start RetroArch
  3. Try to update something.

Version/Commit

RetroArch: git master, commit b3cd6f1 https://github.com/libretro/RetroArch/commit/b3cd6f13a53cfa22d746d1d071ae7af83b0601b1 Environment information

  • OS: Fedora 25 x64
  • Compiler: gcc 6.3.1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/4564, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpC0ERZXgGIs8MmDiFEVgd80UKPbVt9ks5rZIaygaJpZM4L3KOe .

andres-asm avatar Feb 04 '17 14:02 andres-asm

How I got to reproduce it on Arch Linux x86-64:

  1. Build from source (./configure make)
  2. make install
  3. Launching the systemwide installed binary

Randomly tried a 6 month old commit and it works.

JuanVCS avatar Feb 04 '17 16:02 JuanVCS

Fixed by this commit https://github.com/libretro/RetroArch/commit/38bfed4a93a733f79b6dd5d230c017ca784fedaa

JuanVCS avatar Feb 04 '17 19:02 JuanVCS

@JuanVCS @madig Should this be closed then?

BujuArena avatar Feb 07 '17 21:02 BujuArena

Sure

JuanVCS avatar Feb 08 '17 03:02 JuanVCS

This works for me and the above comments indicate it was fixed so I'm closing this.

orbea avatar Oct 09 '18 01:10 orbea