Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: "Create Shortcut" makes an Empty File instead of an actual Shortcut. #481

Closed
Willshaper opened this issue Nov 4, 2024 · 6 comments · Fixed by #498
Closed

Bug: "Create Shortcut" makes an Empty File instead of an actual Shortcut. #481

Willshaper opened this issue Nov 4, 2024 · 6 comments · Fixed by #498
Labels
bug Something isn't working untriaged No decision has been made by the developers.

Comments

@Willshaper
Copy link

Describe the Bug
I have added Metaphor ReFantazio to Reloaded-II, and it can launch the game properly with installed Mods via the Reloaded-II "Launch Application" button.
But trying to use the "Create Shortcut" button will result in a 0 Byte file on my desktop called "Metaphor", no extension or data in it as far as i can see.

To Reproduce
Steps to reproduce the behaviour:

  1. Click Metaphor ReFantazio Icon in the Sidebar
  2. Click the "Create Shortcut" button under "Actions"
  3. Find the newly created file on your Desktop
  4. File is Empty

Expected Behaviour
I expect the shortcut file to be a Shortcut, not an empty file.

Screenshots
billede
billede
billede

Additional Context
This is with a freshly installed and updated Reloaded-II: "2024-10-18T17:42:34 | 1.28.2 | .NET 8.0.10"
I have tested both launching normally, and as Administrator.

@Willshaper Willshaper added bug Something isn't working untriaged No decision has been made by the developers. labels Nov 4, 2024
@Sewer56
Copy link
Member

Sewer56 commented Nov 4, 2024

That's a new one.

Does your username have special characters in it? I wonder if it could be related to that.

@Willshaper
Copy link
Author

That's a new one.

Does your username have special characters in it? I wonder if it could be related to that.

It just so happens that my username has an underscore at the end. "name_"
billede

@Sewer56
Copy link
Member

Sewer56 commented Nov 4, 2024

Interesting, I'll look into it eventually.

@Sewer56
Copy link
Member

Sewer56 commented Nov 4, 2024

In the meantime, if you want to make a shortcut manually, you can make a shortcut to Reloaded-II.exe and add --launch "PATH_TO_FULL_GAME_EXE" as a parameter.

You can do that by right clicking shortcut, going to properties and appending it to the Target field.

@cadewey
Copy link

cadewey commented Nov 6, 2024

The problem is that the game has a colon in its name, and that's not a valid character for a Windows file name. MakeShortcutCommand.Execute() probably needs some sanitizing.

As a workaround, you can fix this by editing the game config in Reloaded and removing the colon character.

@kamsai11
Copy link

My workaround was like... if you have another atlus game for example, let's say.... Persona 5R. Just create a shortcut with p5r, edit the path to something like this: C:\Users\ryuuk\Desktop\Reloaded-II\Reloaded-II.exe --launch "F:\SteamLibrary\steamapps\common\METAPHOR\METAPHOR.exe", and just edit the icon to the right exe as well.

Of course this is not ideal, but it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged No decision has been made by the developers.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants