Emulation Shortcut Tiles to open Games in CEMU?

JohnnyGui

Active Member
OP
Newcomer
Joined
Mar 23, 2017
Messages
28
Trophies
0
Age
36
XP
129
Country
Netherlands
Hello,

Couldn't find exactly how to do this.

What I want to do is create a shortcut tile in the Start Menu of Windows 10 that, when clicked on, automatically loads a specific Wii U game in Cemu. The game being an .rpx file.
I've tried putting the paths of both the game and CEMU in the "Target" and "Start in" fields in the Properties menu of a newly created shortcut, but for some reason the shortcut then only loads CEMU without loading the game in it.

Is there a way to do this?
 

riefu24

Member
Newcomer
Joined
Mar 30, 2017
Messages
5
Trophies
0
Age
26
XP
58
Country
United States
In your shortcut properties, the target should include in quotes "<your Cemu.exe path>" and then -g "<your game.rpx path>" and then -f if you want it to boot into fullscreen mode by default. Your Start in field should include the containing folder of your Cemu.exe. So for example:
Target -
"C:\Users\Anon\Emulators\Cemu 1.7.3\Cemu.exe" -g "C:\Users\Anon\Games\Wii U\Xenoblade Chronicles X\code\spaceTravel.rpx" -f
Start in -
"C:\Users\Anon\Emulators\Cemu 1.7.3\"
 

JohnnyGui

Active Member
OP
Newcomer
Joined
Mar 23, 2017
Messages
28
Trophies
0
Age
36
XP
129
Country
Netherlands
In your shortcut properties, the target should include in quotes "<your Cemu.exe path>" and then -g "<your game.rpx path>" and then -f if you want it to boot into fullscreen mode by default. Your Start in field should include the containing folder of your Cemu.exe. So for example:
Target -
"C:\Users\Anon\Emulators\Cemu 1.7.3\Cemu.exe" -g "C:\Users\Anon\Games\Wii U\Xenoblade Chronicles X\code\spaceTravel.rpx" -f
Start in -
"C:\Users\Anon\Emulators\Cemu 1.7.3\"

Great, this worked! Thanks a lot :)
 

JohnnyGui

Active Member
OP
Newcomer
Joined
Mar 23, 2017
Messages
28
Trophies
0
Age
36
XP
129
Country
Netherlands
In your shortcut properties, the target should include in quotes "<your Cemu.exe path>" and then -g "<your game.rpx path>" and then -f if you want it to boot into fullscreen mode by default. Your Start in field should include the containing folder of your Cemu.exe. So for example:
Target -
"C:\Users\Anon\Emulators\Cemu 1.7.3\Cemu.exe" -g "C:\Users\Anon\Games\Wii U\Xenoblade Chronicles X\code\spaceTravel.rpx" -f
Start in -
"C:\Users\Anon\Emulators\Cemu 1.7.3\"

Apologies, but I seem to have a bit of a complex problem.

I want to customize the tile icon for the newly created shortcut that loads a game in Cemu. To customize this tile icon (the icon filling the whole tile in the Start Menu), I'd have to put a PNG file and an XML file
in the same path as where Cemu.exe is (the root .exe file). The XML file must contain directories to the PNG file and Cemu.exe

However, if I make ANOTHER shortcut that loads another game with Cemu and give that shortcut a customized tile icon as well, I'd have to make a PNG and an XML file for that game as well and
put it also in the path of Cemu.exe. However, in that case there will be 2 XML files directing to Cemu.exe and both XML files will tell Cemu.exe to show a different PNG icon.

How do I solve this? Is the only solution making multiple copies of Cemu.exe for each specified game?
 
Last edited by JohnnyGui,

riefu24

Member
Newcomer
Joined
Mar 30, 2017
Messages
5
Trophies
0
Age
26
XP
58
Country
United States
Apologies, but I seem to have a bit of a complex problem.

I want to customize the tile icon for the newly created shortcut that loads a game in Cemu. To customize this tile icon (the icon filling the whole tile in the Start Menu), I'd have to put a PNG file and an XML file
in the same path as where Cemu.exe is (the root .exe file). The XML file must contain directories to the PNG file and Cemu.exe

However, if I make ANOTHER shortcut that loads another game with Cemu and give that shortcut a customized tile icon as well, I'd have to make a PNG and an XML file for that game as well and
put it also in the path of Cemu.exe. However, in that case there will be 2 XML files directing to Cemu.exe and both XML files will tell Cemu.exe to show a different PNG icon.

How do I solve this? Is the only solution making multiple copies of Cemu.exe for each specified game?

Hmm... Maybe try making a .bat file, which is just a file with preloaded commands, with the same stuff you put in your Shortcut Target. You can make the bat file by just opening notepad and copy-pasting the shortcut target into the text, then save the file as a .txt, and rename the extension to .bat. Then after that, you can convert your .bat file into an executable (.exe), https://www.howtogeek.com/50364/convert-a-batch-bat-script-to-an-executable-exe-file/. Then you can just have small executables rather than making whole copies of Cemu. I haven't attempted to use this conversion method, so I don't know if it will work for certain. Best of luck.
 

JohnnyGui

Active Member
OP
Newcomer
Joined
Mar 23, 2017
Messages
28
Trophies
0
Age
36
XP
129
Country
Netherlands
Hmm... Maybe try making a .bat file, which is just a file with preloaded commands, with the same stuff you put in your Shortcut Target. You can make the bat file by just opening notepad and copy-pasting the shortcut target into the text, then save the file as a .txt, and rename the extension to .bat. Then after that, you can convert your .bat file into an executable (.exe), https://www.howtogeek.com/50364/convert-a-batch-bat-script-to-an-executable-exe-file/. Then you can just have small executables rather than making whole copies of Cemu. I haven't attempted to use this conversion method, so I don't know if it will work for certain. Best of luck.

Good idea, I'll go give this a try.

So if I understand correctly, the only line I'd have to put in the .bat file is in your given example:

"C:\Users\Anon\Emulators\Cemu 1.7.3\Cemu.exe" -g "C:\Users\Anon\Games\Wii U\Xenoblade Chronicles X\code\spaceTravel.rpx" -f

So I don't need to put the line for the "Start in" field?
 

riefu24

Member
Newcomer
Joined
Mar 30, 2017
Messages
5
Trophies
0
Age
26
XP
58
Country
United States
Good idea, I'll go give this a try.

So if I understand correctly, the only line I'd have to put in the .bat file is in your given example:

"C:\Users\Anon\Emulators\Cemu 1.7.3\Cemu.exe" -g "C:\Users\Anon\Games\Wii U\Xenoblade Chronicles X\code\spaceTravel.rpx" -f

So I don't need to put the line for the "Start in" field?

Yes, you don't need "Start in", just that 2nd line.
 
Last edited by riefu24,

JohnnyGui

Active Member
OP
Newcomer
Joined
Mar 23, 2017
Messages
28
Trophies
0
Age
36
XP
129
Country
Netherlands
Happy to hear that it did.

I realised something but I'm not sure if it's going to work. Isn't it better to make shortcuts of the .rpx files instead and use a command line for each of those .rpx shortcuts to open in Cemu.exe? In that case I won't need to make batch files and convert them to .exe files for each game.
The problem is however that if I make an .rpx shortcut of each game and use your mentioned command line in its properties, the shortcut would be automatically transformed into a shortcut to Cemu.exe. Is there a way to make a shortcut of an .rpx file and make it open in Cemu.exe when I click on it but without turning that .rpx shortcut into a shortcut of Cemu.exe?

PS: I tried opening a root .rpx file by double-clicking on it and then choosing Cemu.exe in the pop-up menu, but then only Cemu loads without loading the game's .rpx file. So, if there's a command line for that, I'm not sure if that's going to work.
 
Last edited by JohnnyGui,

riefu24

Member
Newcomer
Joined
Mar 30, 2017
Messages
5
Trophies
0
Age
26
XP
58
Country
United States
I realised something but I'm not sure if it's going to work. Isn't it better to make shortcuts of the .rpx files instead and use a command line for each of those .rpx shortcuts to open in Cemu.exe? In that case I won't need to make batch files and convert them to .exe files for each game.
The problem is however that if I make an .rpx shortcut of each game and use your mentioned command line in its properties, the shortcut would be automatically transformed into a shortcut to Cemu.exe. Is there a way to make a shortcut of an .rpx file and make it open in Cemu.exe when I click on it but without turning that .rpx shortcut into a shortcut of Cemu.exe?

PS: I tried opening a root .rpx file by double-clicking on it and then choosing Cemu.exe in the pop-up menu, but then only Cemu loads without loading the game's .rpx file. So, if there's a command line for that, I'm not sure if that's going to work.

As far as I know, the -g <.rpx path> is the only way to get cemu to open with the specified game preloaded. If you associate the .rpx file type with cemu.exe, it will effectively use the command "<cemu.exe>" "<game.rpx>", it doesn't put a -g before the rpx, so cemu doesn't recognize it and it doesn't boot into the game.

I don't know of a way to create a shortcut to a program, and then have it not be a shortcut to that program? If I am understanding you correctly, does that mean that you don't want it to show the cemu icon? I think you can customize your shortcut with different icons if you wanted to say change it to the picture of the game it opens.

From what you told me earlier, you wanted to make a tile that would open a specified game in Cemu. To do that you need an xml in the root directory of the exe that your tile shortcuts to. What we used as a workaround for having multiple tiles linking to the same exe is to create a redirect exe for each game that you want to create rather than make copies of Cemu in new directories for each xml.
 

JohnnyGui

Active Member
OP
Newcomer
Joined
Mar 23, 2017
Messages
28
Trophies
0
Age
36
XP
129
Country
Netherlands
As far as I know, the -g <.rpx path> is the only way to get cemu to open with the specified game preloaded. If you associate the .rpx file type with cemu.exe, it will effectively use the command "<cemu.exe>" "<game.rpx>", it doesn't put a -g before the rpx, so cemu doesn't recognize it and it doesn't boot into the game.

I don't know of a way to create a shortcut to a program, and then have it not be a shortcut to that program? If I am understanding you correctly, does that mean that you don't want it to show the cemu icon? I think you can customize your shortcut with different icons if you wanted to say change it to the picture of the game it opens.

From what you told me earlier, you wanted to make a tile that would open a specified game in Cemu. To do that you need an xml in the root directory of the exe that your tile shortcuts to. What we used as a workaround for having multiple tiles linking to the same exe is to create a redirect exe for each game that you want to create rather than make copies of Cemu in new directories for each xml.

Yes, that's indeed what I did with the .xml files. However, I thought that if I could make shortcuts to the .rpx files themselves and make these shortcuts automatically open with Cemu.exe, then I won't need to create redirect exes for every game, since I'd just put each .xml file in the same root directory of its corresponding .rpx file. Not sure if that'd change the icon of the shortcut to the .rpx file since the .xml file is not directed to an exectuable but to an .rpx file instead.

But this procedure is apparently already not possible since associating .rpx files with cemu.exe won't make cemu recognize it, as you described.
 

glenio

New Member
Newbie
Joined
Sep 14, 2009
Messages
1
Trophies
0
XP
1
Country
United States
I recently realized that in addition to the meta folder having to be in the set of game folders like: code-content-meta, the Cemu program only recognizes the game named correctly in mygame.rpx.

For example:
had a problem with Super Mario 3D World and Donkey Kong Country Tropical

Before (it didn't even work with meta folder):
mario.rpx
Donkey Kong Country.rpx

Then (I just renamed it)
RedCarpet.rpx (mario)
rs10_production.rpx (donkey)

To find out the original name I used help from JNUSTool-master or google

Hope this helps
 

Laf111

Well-Known Member
Member
Joined
Mar 19, 2019
Messages
163
Trophies
0
XP
1,378
Country
France
Hello,

Couldn't find exactly how to do this.

What I want to do is create a shortcut tile in the Start Menu of Windows 10 that, when clicked on, automatically loads a specific Wii U game in Cemu. The game being an .rpx file.
I've tried putting the paths of both the game and CEMU in the "Target" and "Start in" fields in the Properties menu of a newly created shortcut, but for some reason the shortcut then only loads CEMU without loading the game in it.

Is there a way to do this?

You mean something like this : https://github.com/Laf111/CEMU-Batch-Framework
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Least they got head in the end