Creates LDPlayer9 instances with independent system disk
Project description
Creates LDPlayer9 instances with independent system disk
Tested against Windows 10 / Python 3.11 / Anaconda
pip install ldplayer9newinstances
# Install LDPlayer9 and VirtualBox
# Create the main emulator and at least one instance of it and run all created instances
from ldplayer9newinstances import create_independent_instance
import random
basic_configuration = {
"propertySettings.phoneIMEI": "351542017956834",
"propertySettings.phoneIMSI": "460003931985310",
"propertySettings.phoneSimSerial": "89861050793589253274",
"propertySettings.phoneAndroidId": "5da5e11ca1b514d6",
"propertySettings.phoneModel": "ASUS_Z01QD",
"propertySettings.phoneManufacturer": "asus",
"propertySettings.macAddress": (
"%02x%02x%02x%02x%02x%02x" % tuple(random.randint(0, 255) for v in range(6))
).upper(),
"statusSettings.playerName": "",
"basicSettings.verticalSync": False,
"basicSettings.fsAutoSize": 1,
"basicSettings.autoRun": False,
"basicSettings.rootMode": True,
"statusSettings.closeOption": 0,
"basicSettings.heightFrameRate": False,
"basicSettings.adbDebug": 1,
"advancedSettings.resolution": {"width": 1280, "height": 720},
"advancedSettings.resolutionDpi": 240,
"advancedSettings.cpuCount": 4,
"advancedSettings.memorySize": 4096,
"propertySettings.phoneNumber": "",
"basicSettings.autoRotate": False,
"basicSettings.isForceLandscape": False,
"basicSettings.standaloneSysVmdk": True,
"basicSettings.lockWindow": False,
"advancedSettings.micphoneName": "",
"advancedSettings.speakerName": "",
"networkSettings.networkEnable": True,
"networkSettings.networkSwitching": False,
"networkSettings.networkStatic": False,
"networkSettings.networkAddress": "0.0.0.0",
"networkSettings.networkGateway": "0.0.0.0",
"networkSettings.networkSubnetMask": "255.255.255.0",
"networkSettings.networkDNS1": "8.8.8.8",
"networkSettings.networkDNS2": "8.8.4.4",
"networkSettings.networkInterface": "",
"basicSettings.disableMouseFastOpt": True,
"basicSettings.cjztdisableMouseFastOpt_new": 0,
"basicSettings.HDRQuality": 0,
"basicSettings.qjcjdisableMouseFast": 1,
"basicSettings.fps": 60,
"basicSettings.astc": True,
"hotkeySettings.backKey": {"modifiers": 0, "key": 27},
"hotkeySettings.homeKey": {"modifiers": 0, "key": 112},
"hotkeySettings.appSwitchKey": {"modifiers": 0, "key": 113},
"hotkeySettings.menuKey": {"modifiers": 0, "key": 114},
"hotkeySettings.zoomInKey": {"modifiers": 0, "key": 115},
"hotkeySettings.zoomOutKey": {"modifiers": 0, "key": 116},
"hotkeySettings.bossKey": {"modifiers": 2, "key": 81},
"hotkeySettings.shakeKey": {"modifiers": 0, "key": 120},
"hotkeySettings.operationRecordKey": {"modifiers": 0, "key": 121},
"hotkeySettings.operationRecordPauseKey": {"modifiers": 0, "key": 0},
"hotkeySettings.operationRecordShowFrame": {"modifiers": 2, "key": 56},
"hotkeySettings.fullScreenKey": {"modifiers": 0, "key": 122},
"hotkeySettings.showMappingKey": {"modifiers": 0, "key": 123},
"hotkeySettings.videoRecordKey": {"modifiers": 0, "key": 119},
"hotkeySettings.mappingRecordKey": {"modifiers": 0, "key": 117},
"hotkeySettings.keyboardModelKey": {"modifiers": 2, "key": 70},
}
newfolder = create_independent_instance(
basic_config=basic_configuration,
vboxmanage_path=r"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe",
ldplayer_folder=r"C:\LDPlayer",
)
print(newfolder)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ldplayer9newinstances-0.10.tar.gz
.
File metadata
- Download URL: ldplayer9newinstances-0.10.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 567d37bd8601e972bd58f74c528cd9d2282a55c876b9b64a740fdc1dec8d54da |
|
MD5 | 47c02389dcd59362ab5606d8de33cf3f |
|
BLAKE2b-256 | ca9b2bd52e4221e322cf29e9e8dd2ed7a061b784f94316a268d3305d4eaacf99 |
File details
Details for the file ldplayer9newinstances-0.10-py3-none-any.whl
.
File metadata
- Download URL: ldplayer9newinstances-0.10-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8d1f0cd1221812159cdae9a902ccfe64ef3e6efd2186ae67abc4a4e24fbe1c6 |
|
MD5 | 1a7bdfa04ed53591cc982ce049d9d393 |
|
BLAKE2b-256 | 38620252943ef690d08175f723782504fb0258676bc2046716987d202f700a4f |