Teutonic84 / SteamConsole

SteamConsole turns your PC into a console-like interface using Steam big picture mode and some free third party tools.
4 stars 1 forks source link

Add support for shortcuts #11

Open Ghorbel37 opened 5 years ago

Ghorbel37 commented 5 years ago

Can you add support for shortcuts? If I have an app or a game from another launcher(uses url) I can place the shortcuts in a folder and have them in steam because using bat files defeats the whole purpose of importing games seamlessly, or maybe add a script to make bat files from shortcuts, but adding support to the shorcuts directly is better because it allows you to get the correct icon in list view. And good job your app is amazing, you should make a website or youtube videos to demonstrate it.

Ghorbel37 commented 5 years ago

I managed to do it by adding lnk to PC_Games and apps and launchers extensions in the consoles file but it's not perfect as it shows a bat file icon in the list view so it needs some changes in the source code.

Teutonic84 commented 5 years ago

hmm interesting. Do ROM files show up with the proper file icon? The reason why I have batch files for the game launchers and PC_Games "games" are because I try to auto find the exe's paths for them through the registry, then run it. I could look into the possibility of doing that in the ROM import script and creating an lnk file to the exe path. Not sure if that will really work, but i'll look into it. This was really designed to work in Steam Big Picture mode, so the file icon's weren't really a concern to me. So the "quick and dirty" method of getting PC games imported to steam was to use batch files.

Also sorry about the lack of proper documentation. This was really just a personal project of mine, so I didn't expect people to use it lol. I'll see if I can whip up some demonstration videos this weekend, so you can get a better feel of how it works. I'm happy to see that someone likes it! :)

Ghorbel37 commented 5 years ago

I tried importing a ROM and it also showed me a .bat file icon not the correct file icon. Also when I try to download emulators the script crashes saying 7-zip.dll not found and I was able to run it only when I installed 7-zip. Also importing the .exe information from the shortcut shouldn't be too hard. I remember that I once found a simple Powershell script that allowed me to batch change the drive letter for more than a 100 shortcuts and it worked perfectly after some tweaking. I don't rememeber where I got it from but i'll look for it and i'll link it here if I ever found it. Edit: I think this is the script https://stackoverflow.com/questions/52418272/powershell-edit-the-drive-letter-of-all-my-shortcuts-that-begin-with-x