pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

[Feature Request]: Add the ability to create shortcuts for the games

Open 626164 opened this issue 1 year ago • 25 comments

Description

Would it be possible to add in the ability to create shortcuts for the games so we can have all our games on the Desktop and just double click to play? Instead of having to run PCSX2 first then launch a game.

Reason

I'm making this request as I've made an emulator machine for a elder family member and it would make it infinitely easier on them to just double click the game icon to play it rather than launch this app then the game.

Examples

An example from RPCS3, which has this feature Screenshot 2023-03-07 112916

626164 avatar Mar 07 '23 16:03 626164

This can already be done in a similar fashion: https://wiki.pcsx2.net/Command-line_support

I know that's not what the request is about, but you have a workaround for it at the moment.

Technostrophe avatar Mar 07 '23 16:03 Technostrophe

That's a useful workaround to know about, thanks.

I'll leave the request open so we can hopefully get native support for shortcut creation.

626164 avatar Mar 07 '23 18:03 626164

This can already be done in a similar fashion: https://wiki.pcsx2.net/Command-line_support

I know that's not what the request is about, but you have a workaround for it at the moment.

I'm trying to do this but keep getting "syntax is incorrect" errors. Where do you use the command link to create the shortcut? In windows command prompt? Or in the PCSX2 System Console? And can you provide an example of correctly working code to create a shortcut?

Many thanks!

626164 avatar Mar 07 '23 19:03 626164

you make a shortcut to the pcsx2 exe in windows, then you edit the shortcut and add the commandline options on to the end of the exe line

refractionpcsx2 avatar Mar 07 '23 19:03 refractionpcsx2

I added the commandline options as you said and when I try to run the shortcut I get a "Unknown Parameter: '-skipbios'" error

626164 avatar Mar 07 '23 19:03 626164

Then don't try to use the example and use the actual list of commandline parameters.

General Options QT is what you want.

refractionpcsx2 avatar Mar 07 '23 19:03 refractionpcsx2

I'm trying but I must be doing something wrong. I appreciate your assistance with this.

This is what I have in the shortcut Target field: D:\PCSX2\pcsx2-qt.exe [-fullscreen:] [--] [D:\PCSX2\games\Mark of Kri, The (USA).iso]

And I'm getting this error: image

The General Options QT has this example: image

626164 avatar Mar 07 '23 20:03 626164

-fullscreen "D:\PCSX2\games\Mark of Kri, The (USA).iso"

Don't include the brackets or the colon after fullscreen. -- isnt required.

Jakey757 avatar Mar 07 '23 20:03 Jakey757

That did it! Thank you kindly!

If I were to have multiple parameters, would I just list them one after the other?

626164 avatar Mar 07 '23 20:03 626164

none of the options are double hyphens anymore, please don't confuse them.

If you need further support, please use our discord, this isn't the place for it.

refractionpcsx2 avatar Mar 07 '23 20:03 refractionpcsx2

I don't personally think there's any need, but ok.

refractionpcsx2 avatar Mar 07 '23 20:03 refractionpcsx2

Read carefully, the cli guide mentions double -- for old WX interface (exception -fullscreen) but Qt it's all single - for argument.

RedDevilus avatar Mar 07 '23 21:03 RedDevilus

I don't personally think there's any need, but ok.

It's a niche feature but also without any "harm" to it when added - which makes it a fair request imo, even if just to provide a bit of extra feature parity across emus.

CookiePLMonster avatar Mar 08 '23 12:03 CookiePLMonster

One thing to note - unlike RPCS3, PCSX2 cannot source a distinct game icon from anywhere, so all those custom icons would have a PCSX2's icon.

CookiePLMonster avatar Mar 08 '23 21:03 CookiePLMonster

I don't personally think there's any need, but ok.

If users cared about the opinions of programmers with regards to UX/UI everyone would work from linux terminals. But they don't because most people don't care about hyper optimised productivity they care about ease-of-use and convenience.

This suggestion is about ease-of-use and convenience.

Tyestor avatar Mar 14 '23 18:03 Tyestor

And if programmers listened to every whim of the user, the UX/UI would be an absolute mess, filled with a million niche settings making it confusing for everyone, so it goes both ways, so no need to be snarky.

But it's fine, I haven't written this feature off, else I would have closed it. If people find it generally useful then so be it.

refractionpcsx2 avatar Mar 14 '23 18:03 refractionpcsx2

I think one use case would be for steam / added shortcuts in that regard

weirdbeardgame avatar Mar 14 '23 18:03 weirdbeardgame

I care about the UI/UX a ton, perhaps to pedantic levels, but there is no point just saying a remark that antagonizes not only the developers but also appreciative users. It makes sense even if niche and you could even make an easy batch script or integrate with other frontends as it's just a simple shortcut for them.

RedDevilus avatar Mar 14 '23 18:03 RedDevilus

I second this, is a way to make games more "real" in a sense in my opinion, gives them a lot more individuality

NineKain avatar Oct 22 '23 14:10 NineKain

As stated above, this can be done manually. IMO there's too many issues to bother:

  1. Making it cross platform is an utter pain, unless Qt has some helper function to create it (I couldn't see any from a quick search). We generally don't add features which are Windows-only.
  2. As Silent said, it'd have the generic PCSX2 icon, not any game icon.
  3. What options do you launch with? Some users will want windowed, others will want fullscreen, etc.
  4. Do you launch the full Qt UI? Or hide the main game list (nogui mode)?
  5. What about resuming a previous save-and-exit session?

With the last points, sure, you could have options for those, but our settings windows are already overcrowded as it is, let alone super niche stuff. The intended way to use PCSX2 is to open it, and select your game from the game list/grid. That way you can decide whether to resume where you left off, or start fresh, etc. We even offer a big picture UI so you can do that with controllers. I don't understand the fascination with having shortcuts/other launchers/etc.

stenzek avatar Oct 22 '23 14:10 stenzek

I am not anything remotely close to a dev/coder/IT guy so take my words with a pound of salt.

  1. RPCS3 uses Qt, and its cross platform, and all its versions support this option, so maybe its easier than it seems
  2. Cemu has this "issue" too, but its very easy to get icons on pages like steamgriddb.com, make them yourself or just leave it as default.
  3. Default options + game by game options, it just skips opening the emu, and then opening the game (hence the "shortcut")
  4. All 3 emus dont open the full UI, just the main window (which is basically one of the points of this feature imo) I think it should be left to dev discretion, but I'd prefer nogui.
  5. That could be configurable, or just automatic, like I think you did for DuckStation, but could be worked out easily.

I understand it might seem a dumb feature for some, but having the acutal icons on the desktop makes them "feel" more "real" if that make sense, like you are playing a native game instead of emulating it, it is a minor thing by all means, but it offers a lot of customization to users, I attach an example of my own desktop.

image

NineKain avatar Oct 22 '23 15:10 NineKain