mumuplayer12newinstances


Namemumuplayer12newinstances JSON
Version 0.10 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/mumuplayer12newinstances
SummaryCreates new instances of MuMu Player 12 with a copy of the entire system disk.
upload_time2024-06-15 11:39:22
maintainerNone
docs_urlNone
authorJohannes Fischer
requires_pythonNone
licenseMIT
keywords mumu instance
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# 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


```python
# 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)

```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/mumuplayer12newinstances",
    "name": "mumuplayer12newinstances",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "MuMu, instance",
    "author": "Johannes Fischer",
    "author_email": "aulasparticularesdealemaosp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d3/d4/35524c59f5335a2e346d9a593313ae1a889362c2f30d7fc79b27676fa172/mumuplayer12newinstances-0.10.tar.gz",
    "platform": null,
    "description": "\r\n# Creates new instances of MuMu Player 12 with a copy of the entire system disk.\r\n\r\n### Tested against Windows 10 / Python 3.11 / Anaconda\r\n\r\n### pip install mumuplayer12newinstances\r\n\r\n\r\n```python\r\n# Install MuMu Player 12\r\n\r\nfrom mumuplayer12newinstances import clone_mumu_instance\r\n\r\nnewfol = clone_mumu_instance(\r\n    vm_config={\r\n        \"vm\": {\r\n            \"cpu\": \"4\",\r\n            \"memory\": \"6\",\r\n            \"phone\": {\r\n                \"brand\": \"XiaoMi\",\r\n                \"imei\": \"861151054342984\",\r\n                \"manufacturer\": \"XiaoMi\",\r\n                \"miit\": \"Redmi Note 8 Pro\",\r\n                \"model\": \"Redmi Note 8 Pro\",\r\n                \"number\": \"\",\r\n            },\r\n            \"root\": \"true\",\r\n        }\r\n    },\r\n    shell_config={\r\n        \"player\": {\r\n            \"advanced\": {\"show_fps\": {\"enabled\": \"false\"}},\r\n            \"rotation\": {\"mode\": \"auto\"},\r\n        },\r\n        \"renderer\": {\r\n            \"advanced\": {\r\n                \"hight_fps\": {\"enabled\": \"true\", \"input\": \"1\"},\r\n                \"light\": {\"enabled\": \"true\", \"input\": \"50\"},\r\n                \"style\": {\"enabled\": \"true\", \"input\": \"none\"},\r\n            },\r\n            \"audio_out_hardware_off\": \"1\",\r\n            \"force_dedicated_gpu\": \"true\",\r\n            \"fps_limit\": \"30\",\r\n            \"fps_limit_low\": \"15\",\r\n            \"fps_limit_real\": \"60\",\r\n            \"opt_flag\": {\"texture_policy\": \"0\"},\r\n            \"platform\": \"vk\",\r\n            \"present_vsync_on\": \"0\",\r\n            \"resolution\": {\r\n                \"dpi\": \"240.000000\",\r\n                \"height\": \"900.000000\",\r\n                \"width\": \"1600.000000\",\r\n            },\r\n        },\r\n    },\r\n    customer_config={\r\n        \"customer\": {\r\n            \"apk_associate\": \"true\",\r\n            \"app_keptlive\": \"false\",\r\n            \"joystick_function\": \"true\",\r\n            \"pc_sleep\": \"true\",\r\n            \"quit_directly\": \"false\",\r\n            \"run_limitation\": \"false\",\r\n        },\r\n        \"setting\": {\r\n            \"disk_share\": {\"mode\": {\"choose\": \"disk_share.mode.writable\"}},\r\n            \"environment\": {\r\n                \"cpu\": {\"best\": \"4\", \"max\": \"6\"},\r\n                \"memory\": {\"best\": \"6\", \"max\": \"16\"},\r\n                \"screen\": {\"dpr\": \"1.000000\", \"height\": \"1080\", \"width\": \"1920\"},\r\n            },\r\n            \"frame_setting\": {\r\n                \"desired_framerate\": \"60\",\r\n                \"display_framerate\": \"0\",\r\n                \"dynamic_adjust_framerate\": \"0\",\r\n                \"fps_limit_low\": \"15\",\r\n                \"max_frame_rate_limit\": \"240\",\r\n                \"vertical_sync\": \"0\",\r\n            },\r\n            \"level\": {\r\n                \"user\": {\r\n                    \"computer\": \"middle\",\r\n                    \"cpu\": \"middle\",\r\n                    \"gpu\": \"high\",\r\n                    \"memory\": \"high\",\r\n                }\r\n            },\r\n            \"other_optimization\": {\"separate_graphics_card\": \"1\"},\r\n            \"other_setting\": {\r\n                \"apk_association\": \"1\",\r\n                \"app_keptlive\": \"0\",\r\n                \"joystick_function\": \"1\",\r\n                \"pc_sleep\": \"1\",\r\n                \"quit_setting\": {\r\n                    \"mode\": {\"choose\": \"other_setting.quit_setting.mode.popupconfirm\"}\r\n                },\r\n                \"root_mode\": \"1\",\r\n                \"run_limitation\": \"0\",\r\n                \"use_system_default_mouse\": \"1\",\r\n            },\r\n            \"performance\": {\r\n                \"mode\": {\r\n                    \"choose\": \"performance.mode.middle\",\r\n                    \"custom\": {\"cpu\": \"4\", \"memory\": \"6.000000\"},\r\n                    \"high\": {\"cpu\": \"6\", \"memory\": \"12\"},\r\n                    \"low\": {\"cpu\": \"1\", \"memory\": \"1\"},\r\n                    \"middle\": {\"cpu\": \"4\", \"memory\": \"6\"},\r\n                }\r\n            },\r\n            \"phone\": {\r\n                \"brand\": \"XiaoMi\",\r\n                \"imei\": \"861151054342984\",\r\n                \"manufacturer\": \"XiaoMi\",\r\n                \"miit\": \"Redmi Note 8 Pro\",\r\n                \"mode\": {\"choose\": \"phone.mode.preset\"},\r\n                \"model\": \"Redmi Note 8 Pro\",\r\n                \"number\": \"\",\r\n            },\r\n            \"player\": {\"window\": {\"remember\": \"0\"}},\r\n            \"record\": {\"time\": {\"first\": \"0\"}},\r\n            \"render\": {\r\n                \"avalibale\": {\"directx\": \"1\", \"vulkan\": \"1\"},\r\n                \"mode\": {\r\n                    \"choose\": \"render.mode.highperformance\",\r\n                    \"highperformance\": \"Vulkan\",\r\n                },\r\n            },\r\n            \"resolution\": {\r\n                \"current\": \"1600.000000:900.000000:240.000000\",\r\n                \"mode\": {\r\n                    \"choose\": \"resolution.mode.tablet\",\r\n                    \"custom\": \"1600.000000:900.000000:240.000000\",\r\n                    \"intelligence\": \"1600:900:240\",\r\n                    \"intelligence_enable\": \"0\",\r\n                    \"intelligence_preselect_enable\": \"1\",\r\n                    \"phone\": \"0.000000:0.000000:0.000000\",\r\n                    \"tablet\": \"1600.000000:900.000000:240.000000\",\r\n                    \"widescreen\": \"0.000000:0.000000:0.000000\",\r\n                },\r\n            },\r\n            \"rotation_setting\": {\"mode\": {\"choose\": \"rotation_setting.mode.auto\"}},\r\n            \"screen_setting\": {\r\n                \"brightness\": \"50\",\r\n                \"max_brightness\": \"100\",\r\n                \"style\": {\"choose\": \"screen_setting.style.common\"},\r\n            },\r\n            \"shortcut\": {\r\n                \"automute\": \"1\",\r\n                \"disable_zoom_screen\": \"1\",\r\n                \"enable_esc_as_quit_full_screen\": \"1\",\r\n                \"enable_switch_tab_to_target\": \"0\",\r\n                \"keys\": {\r\n                    \"apk_install\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"boss_key\": {\"conflict\": \"0\", \"text\": \"Alt+Q\"},\r\n                    \"file_transfer\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"full_screen_mode\": {\"conflict\": \"0\", \"text\": \"F11\"},\r\n                    \"game_tools\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"go_home\": {\"conflict\": \"0\", \"text\": \"Home\"},\r\n                    \"gps\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"joystick\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"keymap\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"keymap_config_next\": {\"conflict\": \"0\", \"text\": \"Ctrl+]\"},\r\n                    \"keymap_config_previous\": {\"conflict\": \"0\", \"text\": \"Ctrl+[\"},\r\n                    \"keymap_tip\": {\"conflict\": \"0\", \"text\": \"F12\"},\r\n                    \"lock_screen\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"mini_mode\": {\"conflict\": \"0\", \"text\": \"Alt+G\"},\r\n                    \"multi_player\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"mute\": {\"conflict\": \"0\", \"text\": \"Ctrl+0\"},\r\n                    \"operate_record\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"overseas_acceleration\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"pause_or_continue_operate_record\": {\r\n                        \"conflict\": \"0\",\r\n                        \"text\": \"null\",\r\n                    },\r\n                    \"pause_or_continue_operate_script\": {\r\n                        \"conflict\": \"0\",\r\n                        \"text\": \"null\",\r\n                    },\r\n                    \"pause_or_continue_screen_record\": {\r\n                        \"conflict\": \"0\",\r\n                        \"text\": \"null\",\r\n                    },\r\n                    \"pause_or_continue_sync\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"return_back\": {\"conflict\": \"0\", \"text\": \"Esc\"},\r\n                    \"screen_record\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"screenshot\": {\"conflict\": \"0\", \"has_modify\": \"1\", \"text\": \"F9\"},\r\n                    \"scroll_screen\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"shake\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"start_or_end_operate_record\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"start_or_end_screen_record\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"start_or_end_sync\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"stop_operate_record_script\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"switch_tab\": {\"conflict\": \"0\", \"text\": \"Ctrl+Tab\"},\r\n                    \"switch_to_target_tab\": {\"conflict\": \"0\", \"text\": \"Ctrl+1~9\"},\r\n                    \"volume_turn_down\": {\"conflict\": \"0\", \"text\": \"Ctrl+Down\"},\r\n                    \"volume_turn_up\": {\"conflict\": \"0\", \"text\": \"Ctrl+Up\"},\r\n                    \"window_top\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"zoom_in_screen\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"zoom_out_screen\": {\"conflict\": \"0\", \"text\": \"null\"},\r\n                    \"zoom_screen\": {\"conflict\": \"0\", \"text\": \"Ctrl+mouse wheel\"},\r\n                },\r\n                \"mouse_right_btn_as_return_back\": \"0\",\r\n            },\r\n            \"ui_setting\": {\"mode\": {\"choose\": \"ui_setting.mode.hideallui\"}},\r\n            \"video_memory\": {\"strategy\": {\"choose\": \"video_memory.strategy.auto\"}},\r\n            \"volume_setting\": {\r\n                \"loudspeaker\": \"\",\r\n                \"microphone\": \"\",\r\n                \"system_volume\": {\"close\": \"1\", \"max\": \"0\"},\r\n            },\r\n        },\r\n    },\r\n    basefolder_vms=r\"C:\\Program Files\\Netease\\MuMuPlayerGlobal-12.0\\vms\",\r\n    vboxmanage_path=r\"C:\\Program Files\\MuMuVMMVbox\\Hypervisor\\MuMuVMMManage.exe\",\r\n)\r\nprint(newfol)\r\n\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Creates new instances of MuMu Player 12 with a copy of the entire system disk.",
    "version": "0.10",
    "project_urls": {
        "Homepage": "https://github.com/hansalemaos/mumuplayer12newinstances"
    },
    "split_keywords": [
        "mumu",
        " instance"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "efb442c58888b4809d177544c8e5f613d5416c9d962becada62db038fe1117cb",
                "md5": "b29e051b6506ecdbf7e7db3da5de3c09",
                "sha256": "55f3efbc6fc37f99347c9e1cfb5c302243e9f1e9835e461673286f6858583cd6"
            },
            "downloads": -1,
            "filename": "mumuplayer12newinstances-0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b29e051b6506ecdbf7e7db3da5de3c09",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 13738,
            "upload_time": "2024-06-15T11:39:20",
            "upload_time_iso_8601": "2024-06-15T11:39:20.453313Z",
            "url": "https://files.pythonhosted.org/packages/ef/b4/42c58888b4809d177544c8e5f613d5416c9d962becada62db038fe1117cb/mumuplayer12newinstances-0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d3d435524c59f5335a2e346d9a593313ae1a889362c2f30d7fc79b27676fa172",
                "md5": "9b40135e7098e5bec9877b91b9cb7d35",
                "sha256": "efcee5d16ed1096f6c6fd14bce3b179ed2b264d2a5dd08bf9a7d926f6a435466"
            },
            "downloads": -1,
            "filename": "mumuplayer12newinstances-0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "9b40135e7098e5bec9877b91b9cb7d35",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12454,
            "upload_time": "2024-06-15T11:39:22",
            "upload_time_iso_8601": "2024-06-15T11:39:22.505919Z",
            "url": "https://files.pythonhosted.org/packages/d3/d4/35524c59f5335a2e346d9a593313ae1a889362c2f30d7fc79b27676fa172/mumuplayer12newinstances-0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-15 11:39:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hansalemaos",
    "github_project": "mumuplayer12newinstances",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "mumuplayer12newinstances"
}
        
Elapsed time: 0.24156s