Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Duckstation Fails to Open in Current Folder - Failed to open game list cache #1251

Closed
3 tasks done
baltimoresports opened this issue Oct 24, 2024 · 3 comments · Fixed by #1283
Closed
3 tasks done
Labels
bug Something isn't working

Comments

@baltimoresports
Copy link

baltimoresports commented Oct 24, 2024

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

duckstation, duckstation-preview

Expected/Current Behaviour

Opening Duckstation or Duckstation-Preview causes it to immediately crash
Workaround: Open from 'version' folder versus 'current'

Error in logs: E(Refresh): Failed to open game list cache: CreateFile() failed: Win32 Error 3: The system cannot find the path specified.

Steps to Reproduce

1. To Crash: Run duckstation-qt-x64-ReleaseLTCG.exe from C:\Users\user\scoop\apps\duckstation\current
2. To Open: Run duckstation-qt-x64-ReleaseLTCG.exe from C:\Users\user\scoop\apps\duckstation\20241011-g0c2ab82
3. Enable 'log to file' under advanced settings.
4. Re-run duckstation-qt-x64-ReleaseLTCG.exe from C:\Users\user\scoop\apps\duckstation\current
5. Open duckstation.log

Possible Solution

Potential issue with Symlinks or permissions. Tried running as user and admin.

Scoop and Buckets Version

scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
ae0dcc965 (HEAD -> master, origin/master, origin/HEAD) pdfcpu: Update to version 0.9.1

'extras' bucket:
2b102a723 (HEAD -> master, origin/master, origin/HEAD) vtm: Update to version 0.9.99.33

'games' bucket:
f92843766 (HEAD -> master, origin/master, origin/HEAD) ppsspp-dev: Update to version 1.17.1-1314-g19eae98ea9

Scoop Config

last_update                       scoop_repo                              scoop_branch
-----------                       ----------                              ------------
2024-10-24T08:51:26.2053218-07:00 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

Name                           Value
----                           -----
PSVersion                      5.1.26100.1882
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.26100.1882
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

@baltimoresports baltimoresports added the bug Something isn't working label Oct 24, 2024
@baltimoresports
Copy link
Author

baltimoresports commented Oct 24, 2024

Additional Info:

duckstation.log

[    0.0775] I/SDLInputSource: Using Controller DB from resources.
[    0.1191] I/SDLInputSource: 827 controller mappings are loaded.
[    0.1191] I/System: DuckStation for Windows (x64)
[    0.1191] I/System: Version: 0.1-7675-g0c2ab8225 [dev]
[    0.1191] I/System: SCM Timestamp: 2024-10-11T16:54:46+10:00
[    0.1191] I/System: Build Timestamp: Oct 11 2024 07:22:30
[    0.1191] I/System: Host CPU: Intel Core i7-10700K
[    0.1192] I/System: CPU has 16 logical processor(s) and 8 core(s) across 1 cluster(s).
[    0.1535] E(Refresh): Failed to open game list cache: CreateFile() failed: Win32 Error 3: The system cannot find the path specified.

dir /AL /S C:\Users\user\scoop

 Directory of C:\Users\user\scoop\apps\duckstation

10/24/2024  10:19 AM    <JUNCTION>     current [\??\C:\Users\user\scoop\apps\duckstation\20241011-g0c2ab82]
               0 File(s)              0 bytes

 Directory of C:\Users\user\scoop\apps\duckstation\20241011-g0c2ab82

10/24/2024  08:41 AM    <JUNCTION>     bios [\??\C:\Users\user\scoop\persist\duckstation\bios]
10/24/2024  08:41 AM    <JUNCTION>     cache [\??\C:\Users\user\scoop\persist\duckstation\cache]
10/24/2024  08:41 AM    <JUNCTION>     cheats [\??\C:\Users\user\scoop\persist\duckstation\cheats]
10/24/2024  08:41 AM    <JUNCTION>     covers [\??\C:\Users\user\scoop\persist\duckstation\covers]
10/24/2024  08:41 AM    <JUNCTION>     dump [\??\C:\Users\user\scoop\persist\duckstation\dump]
10/24/2024  08:41 AM    <JUNCTION>     gamesettings [\??\C:\Users\user\scoop\persist\duckstation\gamesettings]
10/24/2024  08:41 AM    <JUNCTION>     inputprofiles [\??\C:\Users\user\scoop\persist\duckstation\inputprofiles]
10/24/2024  08:41 AM    <JUNCTION>     memcards [\??\C:\Users\user\scoop\persist\duckstation\memcards]
10/24/2024  08:41 AM    <JUNCTION>     savestates [\??\C:\Users\user\scoop\persist\duckstation\savestates]
10/24/2024  08:41 AM    <JUNCTION>     screenshots [\??\C:\Users\user\scoop\persist\duckstation\screenshots]
10/24/2024  08:41 AM    <JUNCTION>     shaders [\??\C:\Users\user\scoop\persist\duckstation\shaders]
10/24/2024  08:41 AM    <JUNCTION>     textures [\??\C:\Users\user\scoop\persist\duckstation\textures]
               0 File(s)              0 bytes

 Directory of C:\Users\user\scoop\apps\duckstation\current

10/24/2024  08:41 AM    <JUNCTION>     bios [\??\C:\Users\user\scoop\persist\duckstation\bios]
10/24/2024  08:41 AM    <JUNCTION>     cache [\??\C:\Users\user\scoop\persist\duckstation\cache]
10/24/2024  08:41 AM    <JUNCTION>     cheats [\??\C:\Users\user\scoop\persist\duckstation\cheats]
10/24/2024  08:41 AM    <JUNCTION>     covers [\??\C:\Users\user\scoop\persist\duckstation\covers]
10/24/2024  08:41 AM    <JUNCTION>     dump [\??\C:\Users\user\scoop\persist\duckstation\dump]
10/24/2024  08:41 AM    <JUNCTION>     gamesettings [\??\C:\Users\user\scoop\persist\duckstation\gamesettings]
10/24/2024  08:41 AM    <JUNCTION>     inputprofiles [\??\C:\Users\user\scoop\persist\duckstation\inputprofiles]
10/24/2024  08:41 AM    <JUNCTION>     memcards [\??\C:\Users\user\scoop\persist\duckstation\memcards]
10/24/2024  08:41 AM    <JUNCTION>     savestates [\??\C:\Users\user\scoop\persist\duckstation\savestates]
10/24/2024  08:41 AM    <JUNCTION>     screenshots [\??\C:\Users\user\scoop\persist\duckstation\screenshots]
10/24/2024  08:41 AM    <JUNCTION>     shaders [\??\C:\Users\user\scoop\persist\duckstation\shaders]
10/24/2024  08:41 AM    <JUNCTION>     textures [\??\C:\Users\user\scoop\persist\duckstation\textures]
               0 File(s)              0 bytes

@baltimoresports
Copy link
Author

I have also validated the normal Duckstation from their website does not have this issue.

@WoofahRayetCode
Copy link

I am experiencing this issue as well. Launching from version folder is fine. Current does not work at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants