Skip to main content

Creates new instances of MuMu Player 12 with a copy of the entire system disk.

Project description

Creates new instances of MuMu Player 12 with a copy of the entire system disk.

Tested against Windows 10 / Python 3.11 / Anaconda

pip install mumuplayer12newinstances

# Install MuMu Player 12

from mumuplayer12newinstances import clone_mumu_instance

newfol = clone_mumu_instance(
    vm_config={
        "vm": {
            "cpu": "4",
            "memory": "6",
            "phone": {
                "brand": "XiaoMi",
                "imei": "861151054342984",
                "manufacturer": "XiaoMi",
                "miit": "Redmi Note 8 Pro",
                "model": "Redmi Note 8 Pro",
                "number": "",
            },
            "root": "true",
        }
    },
    shell_config={
        "player": {
            "advanced": {"show_fps": {"enabled": "false"}},
            "rotation": {"mode": "auto"},
        },
        "renderer": {
            "advanced": {
                "hight_fps": {"enabled": "true", "input": "1"},
                "light": {"enabled": "true", "input": "50"},
                "style": {"enabled": "true", "input": "none"},
            },
            "audio_out_hardware_off": "1",
            "force_dedicated_gpu": "true",
            "fps_limit": "30",
            "fps_limit_low": "15",
            "fps_limit_real": "60",
            "opt_flag": {"texture_policy": "0"},
            "platform": "vk",
            "present_vsync_on": "0",
            "resolution": {
                "dpi": "240.000000",
                "height": "900.000000",
                "width": "1600.000000",
            },
        },
    },
    customer_config={
        "customer": {
            "apk_associate": "true",
            "app_keptlive": "false",
            "joystick_function": "true",
            "pc_sleep": "true",
            "quit_directly": "false",
            "run_limitation": "false",
        },
        "setting": {
            "disk_share": {"mode": {"choose": "disk_share.mode.writable"}},
            "environment": {
                "cpu": {"best": "4", "max": "6"},
                "memory": {"best": "6", "max": "16"},
                "screen": {"dpr": "1.000000", "height": "1080", "width": "1920"},
            },
            "frame_setting": {
                "desired_framerate": "60",
                "display_framerate": "0",
                "dynamic_adjust_framerate": "0",
                "fps_limit_low": "15",
                "max_frame_rate_limit": "240",
                "vertical_sync": "0",
            },
            "level": {
                "user": {
                    "computer": "middle",
                    "cpu": "middle",
                    "gpu": "high",
                    "memory": "high",
                }
            },
            "other_optimization": {"separate_graphics_card": "1"},
            "other_setting": {
                "apk_association": "1",
                "app_keptlive": "0",
                "joystick_function": "1",
                "pc_sleep": "1",
                "quit_setting": {
                    "mode": {"choose": "other_setting.quit_setting.mode.popupconfirm"}
                },
                "root_mode": "1",
                "run_limitation": "0",
                "use_system_default_mouse": "1",
            },
            "performance": {
                "mode": {
                    "choose": "performance.mode.middle",
                    "custom": {"cpu": "4", "memory": "6.000000"},
                    "high": {"cpu": "6", "memory": "12"},
                    "low": {"cpu": "1", "memory": "1"},
                    "middle": {"cpu": "4", "memory": "6"},
                }
            },
            "phone": {
                "brand": "XiaoMi",
                "imei": "861151054342984",
                "manufacturer": "XiaoMi",
                "miit": "Redmi Note 8 Pro",
                "mode": {"choose": "phone.mode.preset"},
                "model": "Redmi Note 8 Pro",
                "number": "",
            },
            "player": {"window": {"remember": "0"}},
            "record": {"time": {"first": "0"}},
            "render": {
                "avalibale": {"directx": "1", "vulkan": "1"},
                "mode": {
                    "choose": "render.mode.highperformance",
                    "highperformance": "Vulkan",
                },
            },
            "resolution": {
                "current": "1600.000000:900.000000:240.000000",
                "mode": {
                    "choose": "resolution.mode.tablet",
                    "custom": "1600.000000:900.000000:240.000000",
                    "intelligence": "1600:900:240",
                    "intelligence_enable": "0",
                    "intelligence_preselect_enable": "1",
                    "phone": "0.000000:0.000000:0.000000",
                    "tablet": "1600.000000:900.000000:240.000000",
                    "widescreen": "0.000000:0.000000:0.000000",
                },
            },
            "rotation_setting": {"mode": {"choose": "rotation_setting.mode.auto"}},
            "screen_setting": {
                "brightness": "50",
                "max_brightness": "100",
                "style": {"choose": "screen_setting.style.common"},
            },
            "shortcut": {
                "automute": "1",
                "disable_zoom_screen": "1",
                "enable_esc_as_quit_full_screen": "1",
                "enable_switch_tab_to_target": "0",
                "keys": {
                    "apk_install": {"conflict": "0", "text": "null"},
                    "boss_key": {"conflict": "0", "text": "Alt+Q"},
                    "file_transfer": {"conflict": "0", "text": "null"},
                    "full_screen_mode": {"conflict": "0", "text": "F11"},
                    "game_tools": {"conflict": "0", "text": "null"},
                    "go_home": {"conflict": "0", "text": "Home"},
                    "gps": {"conflict": "0", "text": "null"},
                    "joystick": {"conflict": "0", "text": "null"},
                    "keymap": {"conflict": "0", "text": "null"},
                    "keymap_config_next": {"conflict": "0", "text": "Ctrl+]"},
                    "keymap_config_previous": {"conflict": "0", "text": "Ctrl+["},
                    "keymap_tip": {"conflict": "0", "text": "F12"},
                    "lock_screen": {"conflict": "0", "text": "null"},
                    "mini_mode": {"conflict": "0", "text": "Alt+G"},
                    "multi_player": {"conflict": "0", "text": "null"},
                    "mute": {"conflict": "0", "text": "Ctrl+0"},
                    "operate_record": {"conflict": "0", "text": "null"},
                    "overseas_acceleration": {"conflict": "0", "text": "null"},
                    "pause_or_continue_operate_record": {
                        "conflict": "0",
                        "text": "null",
                    },
                    "pause_or_continue_operate_script": {
                        "conflict": "0",
                        "text": "null",
                    },
                    "pause_or_continue_screen_record": {
                        "conflict": "0",
                        "text": "null",
                    },
                    "pause_or_continue_sync": {"conflict": "0", "text": "null"},
                    "return_back": {"conflict": "0", "text": "Esc"},
                    "screen_record": {"conflict": "0", "text": "null"},
                    "screenshot": {"conflict": "0", "has_modify": "1", "text": "F9"},
                    "scroll_screen": {"conflict": "0", "text": "null"},
                    "shake": {"conflict": "0", "text": "null"},
                    "start_or_end_operate_record": {"conflict": "0", "text": "null"},
                    "start_or_end_screen_record": {"conflict": "0", "text": "null"},
                    "start_or_end_sync": {"conflict": "0", "text": "null"},
                    "stop_operate_record_script": {"conflict": "0", "text": "null"},
                    "switch_tab": {"conflict": "0", "text": "Ctrl+Tab"},
                    "switch_to_target_tab": {"conflict": "0", "text": "Ctrl+1~9"},
                    "volume_turn_down": {"conflict": "0", "text": "Ctrl+Down"},
                    "volume_turn_up": {"conflict": "0", "text": "Ctrl+Up"},
                    "window_top": {"conflict": "0", "text": "null"},
                    "zoom_in_screen": {"conflict": "0", "text": "null"},
                    "zoom_out_screen": {"conflict": "0", "text": "null"},
                    "zoom_screen": {"conflict": "0", "text": "Ctrl+mouse wheel"},
                },
                "mouse_right_btn_as_return_back": "0",
            },
            "ui_setting": {"mode": {"choose": "ui_setting.mode.hideallui"}},
            "video_memory": {"strategy": {"choose": "video_memory.strategy.auto"}},
            "volume_setting": {
                "loudspeaker": "",
                "microphone": "",
                "system_volume": {"close": "1", "max": "0"},
            },
        },
    },
    basefolder_vms=r"C:\Program Files\Netease\MuMuPlayerGlobal-12.0\vms",
    vboxmanage_path=r"C:\Program Files\MuMuVMMVbox\Hypervisor\MuMuVMMManage.exe",
)
print(newfol)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mumuplayer12newinstances-0.10.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

mumuplayer12newinstances-0.10-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file mumuplayer12newinstances-0.10.tar.gz.

File metadata

File hashes

Hashes for mumuplayer12newinstances-0.10.tar.gz
Algorithm Hash digest
SHA256 efcee5d16ed1096f6c6fd14bce3b179ed2b264d2a5dd08bf9a7d926f6a435466
MD5 9b40135e7098e5bec9877b91b9cb7d35
BLAKE2b-256 d3d435524c59f5335a2e346d9a593313ae1a889362c2f30d7fc79b27676fa172

See more details on using hashes here.

File details

Details for the file mumuplayer12newinstances-0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for mumuplayer12newinstances-0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 55f3efbc6fc37f99347c9e1cfb5c302243e9f1e9835e461673286f6858583cd6
MD5 b29e051b6506ecdbf7e7db3da5de3c09
BLAKE2b-256 efb442c58888b4809d177544c8e5f613d5416c9d962becada62db038fe1117cb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page