[GH-ISSUE #361] Game directory window appears every time #58

Closed
opened 2026-02-27 21:04:22 +03:00 by kerem · 9 comments
Owner

Originally created by @gandalfthewhite19890404 on GitHub (Aug 3, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/361

When you drag and drop eboot.bin to shadps4-qt executable, game directory choose window appears every time.

Originally created by @gandalfthewhite19890404 on GitHub (Aug 3, 2024). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/361 When you drag and drop eboot.bin to shadps4-qt executable, game directory choose window appears every time.
kerem closed this issue 2026-02-27 21:04:22 +03:00
Author
Owner

@Xphalnos commented on GitHub (Aug 3, 2024):

This is normal, you are using the build that contains an interface. You must use the SDL build

<!-- gh-comment-id:2266495519 --> @Xphalnos commented on GitHub (Aug 3, 2024): This is normal, you are using the build that contains an interface. You must use the SDL build
Author
Owner

@yaya54840 commented on GitHub (Aug 3, 2024):

hi guys
yes
In my case I created shortcuts
it's work but it's much easier for testing games

Capture d'écran 2024-08-03 084014

<!-- gh-comment-id:2266539497 --> @yaya54840 commented on GitHub (Aug 3, 2024): hi guys yes In my case I created shortcuts it's work but it's much easier for testing games ![Capture d'écran 2024-08-03 084014](https://github.com/user-attachments/assets/52ef9c91-7e9b-46b5-a4c5-73a3443ae47a)
Author
Owner

@gandalfthewhite19890404 commented on GitHub (Aug 3, 2024):

This is normal, you are using the build that contains an interface. You must use the SDL build

I think it is not normal. If game directory was set in config it shouldn't be asked next time, and behaviour gonna be same as console app if eboot or elf was drag'n'dropped.

<!-- gh-comment-id:2266628650 --> @gandalfthewhite19890404 commented on GitHub (Aug 3, 2024): > This is normal, you are using the build that contains an interface. You must use the SDL build I think it is not normal. If game directory was set in config it shouldn't be asked next time, and behaviour gonna be same as console app if eboot or elf was drag'n'dropped.
Author
Owner

@DanielSvoboda commented on GitHub (Aug 4, 2024):

This is defined in this code, if opened through the interface it creates it in the executable location, however when executed via the command line or by dragging from the SDL, it creates the user folder in the eboot.bin directory.

github.com/shadps4-emu/shadPS4@6d0a763145/src/common/path_util.cpp (L59)

PORTABLE_DIR is just the name of the folder that will be created user which is defined in "src/common/path_util.h"

<!-- gh-comment-id:2267271226 --> @DanielSvoboda commented on GitHub (Aug 4, 2024): This is defined in this code, if opened through the interface it creates it in the executable location, however when executed via the command line or by dragging from the SDL, it creates the `user` folder in the eboot.bin directory. https://github.com/shadps4-emu/shadPS4/blob/6d0a7631456486bf4fe5a13f2085111e7fdf6f5a/src/common/path_util.cpp#L59 `PORTABLE_DIR` is just the name of the folder that will be created `user` which is defined in "src/common/path_util.h"
Author
Owner

@yaya54840 commented on GitHub (Aug 4, 2024):

Hello
Ok Daniel I have roughly grasped the principle at my level. :)
Thank you for these explanations.
What Gandalf may mean: the Qt interface should not close when you close the window to stop the execution of the current game because each time you have to restart it.
But at the speed of your work it will evolve.

<!-- gh-comment-id:2267368765 --> @yaya54840 commented on GitHub (Aug 4, 2024): Hello Ok Daniel I have roughly grasped the principle at my level. :) Thank you for these explanations. What Gandalf may mean: the Qt interface should not close when you close the window to stop the execution of the current game because each time you have to restart it. But at the speed of your work it will evolve.
Author
Owner

@gandalfthewhite19890404 commented on GitHub (Aug 4, 2024):

What Gandalf may mean: the Qt interface should not close when you close the window to stop the execution of the current game because each time you have to restart it.
But at the speed of your work it will evolve.

I suggest this variant as option - when you drag'n'dropped eboot.bin to shadps4's exe emulation should start immediately.

<!-- gh-comment-id:2267491323 --> @gandalfthewhite19890404 commented on GitHub (Aug 4, 2024): > What Gandalf may mean: the Qt interface should not close when you close the window to stop the execution of the current game because each time you have to restart it. > But at the speed of your work it will evolve. I suggest this variant as option - when you drag'n'dropped eboot.bin to shadps4's exe emulation should start immediately.
Author
Owner

@SamuelFontes commented on GitHub (Aug 8, 2024):

If a game was passed as command line argument, it should start automatically as this is the expected behaviour.
I've created a new pull request that solves this issue: https://github.com/shadps4-emu/shadPS4/pull/381

<!-- gh-comment-id:2276498092 --> @SamuelFontes commented on GitHub (Aug 8, 2024): If a game was passed as command line argument, it should start automatically as this is the expected behaviour. I've created a new pull request that solves this issue: https://github.com/shadps4-emu/shadPS4/pull/381
Author
Owner

@SamuelFontes commented on GitHub (Aug 8, 2024):

When you drag and drop eboot.bin to shadps4-qt executable, game directory choose window appears every time.

The pull request was merged, please confirm if this solves the issue.

<!-- gh-comment-id:2276655224 --> @SamuelFontes commented on GitHub (Aug 8, 2024): > When you drag and drop eboot.bin to shadps4-qt executable, game directory choose window appears every time. The pull request was merged, please confirm if this solves the issue.
Author
Owner

@lzardy commented on GitHub (Aug 8, 2024):

When you drag and drop eboot.bin to shadps4-qt executable, game directory choose window appears every time.

The pull request was merged, please confirm if this solves the issue.

Yes, this correctly solves the issue as of ab56665.

<!-- gh-comment-id:2276658945 --> @lzardy commented on GitHub (Aug 8, 2024): > > When you drag and drop eboot.bin to shadps4-qt executable, game directory choose window appears every time. > > The pull request was merged, please confirm if this solves the issue. Yes, this correctly solves the issue as of ab56665.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#58
No description provided.