“How to Create Desktop Shortcuts for LDPlayer Games and Apps”
Normally you open LDPlayer first, then launch the game from inside it. A desktop shortcut can start a chosen instance and app directly. It uses dnconsole, the LDPlayer command-line tool, with the launchex command. This is useful if you run
Before You Start
Prerequisites: Install the game or app in the LDPlayer instance you plan to use.; Find the instance number (index) in LDMultiplayer.; Keep LDPlayer in the same folder. If you move it, the **Target** path breaks.; Find the app's package name in the Google Play Store page URL.
Step-by-Step
- Right-click the LDPlayer icon and select Open file location.
- Right-click dnconsole and select Send to > Desktop (shortcut).
- On the desktop, right-click the new shortcut and select Properties.
- In the Target field, click at the end of the existing text and type a space.
- Type `launchex --index 0 --packagename com.gamania.lineagem` as an example. Replace the index and package name with your own values.
- Click Apply, then click OK.
- Double-click the shortcut to start the app.
## Overview Normally you open LDPlayer first, then launch the game from inside it. A desktop shortcut can start a chosen instance and app directly. It uses dnconsole, the LDPlayer command-line tool, with the launchex command. This is useful if you run several instances and open games often.
## Why this works The shortcut passes an instance number and an app’s package name to dnconsole. dnconsole then starts that instance and launches the app. The shortcut does not change the app itself.
## What to expect Double-clicking the shortcut opens the chosen instance first, and the app opens inside it when the instance is ready. The first launch of an instance can take longer than later launches.
## Common mistakes
- Typing the index for the wrong instance. Check the number in LDMultiplayer.
- Mistyping the package name. Copy it from the Play Store page URL.
- Deleting the existing path at the start of the Target field.
- Forgetting the space before
launchex. Without the space, the arguments may not be read correctly.
## When not to use this step If you move LDPlayer to another folder, the Target path changes. Create a new shortcut from the new dnconsole location.
## Verify Double-click the shortcut. LDPlayer starts the selected instance and opens the app.
## Notes
- Do not change the path at the start of the Target field. It points to dnconsole in your LDPlayer folder.
- The
--indexvalue is the instance number. A wrong number opens a different instance. - The
--packagenamevalue is the app’s package name. In the Google Play Store page URL, it is the text betweenid=and the next&. - The
com.gamania.lineagemvalue is an example for Lineage M. Replace it with your app’s package name. - You can change the shortcut icon in Properties.
- Name each shortcut after its app and instance, so you can tell similar shortcuts apart.
## Related