Change "My Games" Installation Folder
I feel like having the option to change where I want to install the games from my Twitch Library is very essential. Instead of only be given the option of drives in my computer, have the option to set a specific folder is needed!
I got into a similar problems after moving my games from C:/ to D:/ to create space on C:/. The app wasn't able to see my game on D:/ and needed to install them back even if they were already on my PC. So I decided to do their job since it seems to be too hard for them to do (it took me like 2 hours to figure out...).
It's a way to change your installation directory and keep your games working if you already have some installed. You can then do the symbolic link trick for future installation if you’re using a custom directory.
1. move your games into your new directory and delete the old directory
2. open this site: https://sqliteonline.com/
3. on the site, click "File" at the top left, then "Open DB"
4. go to C:\ProgramData\Twitch\Games\Sql and open "GameInstallInfo.sqlite"
5. remove the "SELECT * FROM demo;" and paste this script instead:
SET InstallDirectory = "D:\Twitch\Games Library\" || (SELECT Id FROM DbSet db where db.id = DbSet.Id);
SET Installed = 1
WHERE Installed = 0;
6. before running the script, replace the "D:\Twitch\Games Library\" in the script by your new directory
7. run the script by clicking the "Run" button at the top
8. click "File" on the top left, then "Save DB"
9. replace the old file in C:\ProgramData\Twitch\Games\Sql with the download one
should be good, hope it help
As @reynardmuldrake previously shared, you can create a symbolic link to fix this issue in the meantime. It can be used for Minecraft Modpack installations as well. Since Twitch wants to FORCE us to install Minecraft to C:\Users\Twitch, I wrote a new script.
The commands below must be run in an elevated command prompt. You should replace *username* with your own folder name, and make sure you replace any other folder names/drive letters with your own.
mklink /D "C:\Users\*username*\Twitch\Minecraft" "G:\Games\Twitch\Minecraft"
You can copy and paste those 4 lines and hit enter to run the entire script automatically. "mkdir" will "make a directory" - if it gives you an error, it's likely the directory already exists, so the error can be ignored, and the script should still work.
Hope this will be helpful to other Minecraft users out there, such as @CloudMixer.
Shoutout to @reynardmuldrake again for writing the original comment. @shellbbyy, I recommend trying that method! @JC I can confirm it works.
I wrote a script to create a symbolic link to fix this incredibly stupid problem. I do not want the client installed to the same drive where I keep my games or use the default folder that Twitch requires. With the link I can redirect it to whatever folder I want. Run the following from an elevated command prompt. The destination folder I used can be changed to whatever is needed.
rmdir "C:\Program Files (x86)\Twitch\Games Library"
mklink /D "C:\Program Files (x86)\Twitch\Games Library" "J:\Games\Twitch"
So.. This issue is still here after years of people complainging... game folders can grow quite large, and quick..
How come in 2020 is this still an issue.. That's ******** lazy, and a big fat FU to your users!
Guess i'll look for an alternative then! I don't want my main drive flooded.. I want my games on my game drive to not put unnecessary stress son my main drive.
Just make it an option, and at least let your users choose
@shellbbyy I don't mean to state the obvious (though I will in a bit) or to aggravate you, but do you have the option to display hidden folders enabled in Windows Explorer? Developers will at times set files/folders associated with essential links and paths to 'hidden,' in case a less tech-savvy user happens upon these files; it leads to less unintended, unfortunate events.
I performed the same procedure @johnian80 described about a year ago, and it worked perfectly with the Twitch app. Exit the Twitch app, perform changes and reopen the app for the changes to take effect.
Also, Twitch Prime games are now available via the Amazon Games desktop app. Prime allows you to choose your installation drive, but it doesn't let you choose any path other than to the root of the drive, so I am trying to replicate this process with the AG client. Sadly, I thinked they patched the existing method. I can't find any .sql files for AG in ProgramData or AppData.
@johnian80 I tried to follow your steps, but my sql folder is empty, and I don't understand why
I refuse to install any of my games i have because having to choose a drive for each individual game is tedious and time consuming not to mention the inability to disable the annoying UAC prompt for every game too.
I like to install all my games at once to one drive location that i have set as the game installation drive and let them download overnight while i sleep.
I don't want to have to click the same drive a hundred times and then accept a UAC popup every single game that gets downloaded and it doesn't even do all the UAC popups at once too, it forces you to wait till the first game is done before it will popup another UAC prompt and if you are busy or away from the PC it will just cancel everything if you don't accept the UAC popup in time.
So let me get this straight. I set Twitch to install on my second SSD, works fine. I tell minecraft/modpacks to install on my second SSD, and it installs to my main drives user folder?.... wtf. This isn't even an illusion of choice... its just dumb.
The fact that you *can* tell the app to install on a different drive but it still puts all your saves on the main drive is nearly an insult. Ease of use is great for those who need it but at least acknowledge that some of us do actually know what we're doing and provide options that literally everyone else does.
This seriously is a huge item being neglected by Twitch here. People expect this from installers. I (unfortunately) have a half dozen of the darn things now, and Twitch is the only one I can't choose whatever folder I want. And not being able to migrate the files for a game from one location to another is frustrating too.
Edit: It's great that someone apparently found a workaround, but having to install database management/editing software and learn how to do everything that comes with it and risk borking your system is asinine when it could be so easily implemented by Twitch.
Agreed. It's a feature which exists in softwares since years !! Do you guys realise we can't even see our installed games in the client?
Twitch can give me all the "free" games they want, but until we have basic features like this I will never play them. I'll buy the game somewhere else before I get it free from Twitch. If they start the exclusive ****, then I just won't play it.
There is a way, I found that the data is stored in a sqlite database in
MAKE A COPY OF THE DATABASE FILE ABOVE IN CASE ANYTHING GOES WRONG
Download DB browser from https://sqlitebrowser.org/
Use it to open the database file above
Click on tab Browse Data and select the table DbSet, now you can see all the games and where they are installed, last column is the game name
Go to tab execute sql and execute the following
In this case I simply want to move the games from my D to E drive
So D:\Twitch\Games... will become E:\Twitch\Games...
Modify the 'D:\', 'E:\' to suit your needs, the command will modify all the rows
set InstallDirectory = replace(InstallDirectory, 'D:\', 'E:\')
When you are satisfied with the results, click on Write Changes below the menu to save to the database file
Copy the game folders from the old location to the new location
I find it funny how you can't say where this thing has to install itself. You want a 'fast' experiance for most of the user, I get that, but if someone wants to actually control where what goes you simply can't provide an option we already had back in the 1990ies? Seriously, who ever programmed this mess of a bloatware isn't aware of good coding practices. Sadly FTB was bought by Curse wich in turn was purchased by twitch.
Just because it is 'easy' it doesn't menas it is 'right'
Even after moving my games to the directory, Twitch App fails to recognize them. Truly an atrocious product and corporation.
Being someone who uses the "saved games" folder on my second drive, this is ridiculous. steam, epic, and gog all seem to play nice, but twitch doesn't trust you to navigate a directory?
Installed on my Mac and only have a few games, everything is nice and neat. But does twitch recognize them? Nope, I even went to locate the games, located them and then twitch said it's the wrong location... The Hell?! I'm just trying to enjoy my gaming experience here, and this sucks right now.
When you click 'install' on your game you can pick what drive you install to. You can't set it to automatically install to a drive by default, but you can choose what drive you want it on.
How has this not been implemented, I'll hold off on installing my twitch games, probably forever...
Benjamin Petry commented
Due to one of my harddrives dying i had to reassemble my driveletters and twitch wont recognized my installed games at all no matter where i put them. Even reversing the files to the exact same location they were installed on before doesnt make twitch find the games and it keeps telling you to install the games again. Twitch App needs a way to find installed games! At least those installed in its own folder? This is just horrible! Twitch makes me download 50 games AGAIN even though theyre already there (and even run if i use the internal exe).