mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[GH-ISSUE #2531] [Feature Request]: Set up the directory to install DLC in the GUI #831
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#831
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Missake212 on GitHub (Feb 24, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2531
Checklist
Description
Currently there's two ways to set up the directory to install DLC, either the first time you launch shad or by clicking on "settings" at the top.
Clicking on "game install directory" shows this
The thing is while you can set your game directory whenever you want in the path tab, you can't set the DLC directory unless you click on the "settings" at the top, I think it would be nice to have it also show up in the there to make life easier for everyone.
Reason
I think it would be great to have this in the settings to have everything in the same place, so that users are not confused if they didn't configure this the first time they opened shad, I also believe getting rid of the "Game Install Directory" here wouldn't be a big deal.
Examples
Ideally it would be on this tab in the settings.
@Missake212 commented on GitHub (Feb 24, 2025):
Looks really good to me honestly, I think it would be a great change to have
@ghost commented on GitHub (Feb 25, 2025):
just my opinion but since this is the idea, how about adding the "updates" as a path too?
@Missake212 commented on GitHub (Feb 25, 2025):
Sounds like a good idea to me and would make sense too, I agree
@ghost commented on GitHub (Feb 25, 2025):
how about making the DLC work like the updates?
as an example you have a game AAAA00000 if the user decides to put the dlc and update in the same folder it works like now, the folder becomes AAAA00000-DLC or AAAA00000-UPDATE, and if they are not in the same folder they simply get the serial number. it will make it a hassle to later on merge the folders or separate them since the user will need to manually rename the folders
@GHU7924 commented on GitHub (Feb 25, 2025):
In fact, I already had thoughts about having a complete separation of content by default.
That is, you install the game and get the CUSA00000-GAME folder.
Next, you install the update and get the CUSA00000-UPDATE folder.
Then you install the add-ons and get the CUSA00000-DLC folder.
But all these 3 types of folders should be in one place, maybe they would just be in the folder with the installed games,
or maybe each game would have its own folder CUSA00000, which would contain these 3 folders.
This way you can easily remove add-ons or updates if you don't need them.
It would be possible to add checkboxes, something like "Ignore updates" and "Ignore DLC",
so you will have the opportunity to test the game versions 1.00 and, for example, 1.09 (without deleting content).
@Fire-Cube commented on GitHub (Feb 25, 2025):
Sounds very good
@tomboylover93 commented on GitHub (Feb 25, 2025):
I'm thinking of doing this myself. I'm not sure if I could add such things as a -GAME and -DLC folder (I do not know how that is handled) but I could add buttons in the Settings menu for it.
@ghost commented on GitHub (Feb 25, 2025):
tbh i feel maybe there should be some kind of voting to know what most people want, i personally feel having them all in different folders makes sense while some may say having it like how updates are done being in a single folder make it super easy to handle,
like why not make some voting system on discord server? not only for this but for other aspects that might need more eyes and mind to make a make a right choice.
PS, is that endevour OS theme?
@GHU7924 commented on GitHub (Feb 25, 2025):
@tomboylover93 If I understood correctly, then this part is about -UPDATE
@Hermiten How can we find out what the core team thinks or conduct a survey about such changes?
@Hermiten commented on GitHub (Feb 25, 2025):
On Discord, probably Development channel
@Missake212 commented on GitHub (Feb 25, 2025):
@tomboylover93 Idk if that's just me but I think that the game update folder should be like the game folder, like instead of browsing to add one location make it so that you can add and remove multiple paths, maybe it would be good to do this for the dlc too? Unless it's too much of a pain and slows down the emulator too much
@tomboylover93 commented on GitHub (Feb 25, 2025):
Not exactly a pain to do/deal with and more so that it takes up a ton of screen real estate, considering that the Settings window already has some scaling issues I wouldn't want to make it bigger. I believe the piece of code for removing a path is in settings_dialog.cpp and it's only a few lines so it's definitely doable though.
I'll look into it and see if I can make it work for -GAME and -DLC, but as others have said it would be better to have some kind of poll on that.
Nah, it's luisbocanegra/kde-material-you-colors.
@AkazaRenn commented on GitHub (Feb 28, 2025):
I would also like to see that too, in that way we can have
CUSA12345for base game,CUSA12345-UPDATEfor update,CUSA12345-ADDONSfor DLCs, all in the same place. That would be much easier to manage.@Hermiten commented on GitHub (Feb 28, 2025):
Yes and so clean !
@Missake212 commented on GitHub (Mar 29, 2025):
I believe we decided to use this, but if you have more suggestion we're all open to it, no one has started working on this anyway I believe.
@AkazaRenn commented on GitHub (Mar 29, 2025):
Not against it, but I would hope there's an option to just put updates/DLCs together with their base games wherever they are, since we can have multiple base game folders.
@Missake212 commented on GitHub (Mar 29, 2025):
I'm not sure about DLCs but I believe the current implementation already puts the update with the base game. Honestly I don't know how the DLC installation process works right now so maybe this Feature Request is already "obsolete" since the removal of the PKG installer.
@AkazaRenn commented on GitHub (Mar 29, 2025):
I'm actually a bit worried about this design may break a current capability to have updates in different folders.
Example:
/dir1/XXXX00000
/dir1/XXXX00000-UPDATE
/dir2/XXXX00001
/dir2/XXXX00001-UPDATE
Currently both updates can be recognized, but in the mock change it seems like we can only choose one folder for updates, so one of them will need to be moved?
@tomboylover93 commented on GitHub (Mar 29, 2025):
It's not obsolete (at least I don't think). You could change "install" to "scan from" and it would make more sense, and there are reasons why one would want to have separate folders between DLCs, updates and base games, so it's something that should be added in my opinion.
@Missake212 commented on GitHub (Mar 29, 2025):
Oh I see what you mean now, yeah we would need an option that allows for updates and DLCs to just go with the base game, sorry I didn't quite understand at the beginning. But like I said earlier no one is really working on this so it's not definitive.
@GHU7924 commented on GitHub (Mar 29, 2025):
In the new design for your "issue" only the graphic aspect has changed, it has become a bit more compact.
From "issue - 2661" the ability has been added (no one has implemented it yet) to choose the path for your user folder. You can look in that topic and also express your opinion.
The path for the DLC that I have on the last screenshot, as far as I remember, is set by the emulator by default.
But as you can see, you can set a different path, for example, specify the folder with your games.
Look, you can specify several folders with your games, they can be on different local drives.
But the XXXX00000-UPDATE parameter is controlled by the checkbox (Enable Separate Update Folder - you will find it in the settings on the General tab in the emulator section).
Now it seems to have been redone and is written -Patch (if I remember correctly).
For PR, we need to remove this checkbox and make this option the default, so that there is always a separate folder for updates and DLC. Then, no matter what path you specify, updates and DLC will always be separate folders.
When you first start the emulator, you select the path where you will have the games installed.
Next, you can select the path where the DLC will be installed,
by default it is
C:\Users\[username]\AppData\Roaming\shadPS4\addcontAnd as I wrote above, to have a separate update folder, you need to check the Enable Separate Update Folder checkbox
Note: If you specify the path to your game folder for the DLC, then it seems they will be copied to the game folder, that is, without a separate folder, because the name of the DLC folder matches the name of the game folder.
I personally like the new design version better. It is more compact and fully retains its functionality.
I also saw that they removed the PKG related code and even removed the PKG Viewer, but I didn't quite understand why and how the installations would happen now.
I mention this because it will really affect the implementation of this PR.
Will there be a path selection window that always greeted us when we first launched the emulator?
No more PKG installations? I haven't figured out this change at the moment.
@AkazaRenn commented on GitHub (Mar 29, 2025):
I don't think you understand what I mean. Currently the update is together with the base game no matter you choose to have them separated or not but if you have an option to put updates wherever you want then it would become a problem, because you can have multiple folders for base games but only one for updates and one for DLCs. That's why I asked for the option to always have them together with the base game.
However, do we even need all those options for that? We no longer have PKG installer so the install path is only used for finding the files, we can totally only have one list of folders and let the emulator to find and tell whether the folders inside are a base game, an update, a DLC or whatever. It can be as simple as matching the subfolder names by a regex, like
[A-Z]{4}[0-9]{5}(XXXX00000) is a game,[A-Z]{4}[0-9]{5}-UPDATE(XXXX00000-UPDATE) is an update,[A-Z]{4}[0-9]{5}-DLC(XXXX00000-DLC) has all the DLCs, all other folders are invalid and can be ignored.@GHU7924 commented on GitHub (Mar 29, 2025):
I am telling you everything based on the title of this topic and the request for implementation))
But you are indeed right that since there is no PKG installer anymore, we need to change the direction of the discussion.
Then what can we do... For example, maybe like this?
The same path will be applied to
-UPDATEand-DLC.That is, in your folder with games, everything will be together, but in separate folders (for example):
Path - D:\ShadPS4!games with folders
CUSA00001
CUSA00001-UPDATE
CUSA00001-DLC
CUSA00002
CUSA00002-UPDATE
CUSA00002-DLC
Note: You will have the
-UPDATEand-DLCfolders for your games only if you created them and placed the corresponding files.Therefore, if the emulator sees them, it will use them.
Perhaps buttons
Add...andRemoveare not needed for the UPDATE and DLC folders, because the paths will be added based on the game folders.This way we can activate or deactivate all UPDATES or DLCs for one game folder (or for all) at once, simply by activating or deactivating the checkboxes.
This rough idea just came to my mind and I don’t know how good or bad it is, or whether such an implementation is possible, but I’m sharing what I came up with.
@AkazaRenn commented on GitHub (Mar 30, 2025):
To "deactivate" all games/updates/DLCs in a folder, I think the simplest and most reliable way is to rename that folder temporarily in file system, so no implementation is needed in the app.
If useful, maybe we can have a per-game option say "don't apply updates and/or DLCs to this game", but this feels unrelated and can be another feature... Maybe not, it's still achievable by renaming.
Ultimately, what I think is that we don't need "UPDATE folders" or "DLC folders" sections in the UI, they can all just be "game folders" and we let the app to tell what it finds is a game or an update or a DLC.
@squidbus commented on GitHub (Sep 1, 2025):
DLC path option has been added in https://github.com/shadps4-emu/shadPS4/pull/3501
For any separate discussions on e.g. changing where DLC is, would be a separate issue.