Background : I am making a unified game launcher, so I can launch games from all the different stores.
Eg: Launch commands for Steam/Origin
steam://rungameid/
origin://launchgame/
I ran into some issues finding a similar structure for EGS. There way of launching games seems a bit complicated. Example down below
com.epicgames.launcher://apps/AzaleaAlpha?action=launch&silent=true
The game is : "The Cycle Early Access".
- How do I find the installed games which are from EGS?
- How do I find the exact name of the game which the launch command expects? In the above example it's "AzaleaAlpha" for The Cycle
Best Answer
This was an interesting challenge.
First, I created a couple of shortcuts for a number of different games, and had a look at the
.url
file it created on my desktop. All the links are of the form:Where
[codename]
is different for each game. For example:Since the EGS Launcher must know each of the games' codenames to create these shortcuts, I figured there must be some kind of config file somewhere on my computer, which lists the different codenames and where the games are installed.
So I used Visual Studio Code to perform a search in all files in my
C:\
directory to find one of the codenames, and I found a nice list in:Despite being a
.dat
, it's not a binary file, so it can be opened in any text editor app.The list is a JSON, and contains only the games that have been installed on your PC. It may contain DLCs as well. Here's what mine looks like:
Interestingly, a copy of the list can also be found in another location:
I'm not sure which file is used in which context, but they both have exactly the same content. If your purpose is to simply create a launcher, either file should work.