如何透過命令行操作逍遙模擬器

如果您想透過命令行操作逍遙模擬器,請查看此篇貼文。

基本命令:MEmuConsole.exe (C:\Program Files\Microvirt\MEmu)

  • MEmuConsole MEmu_1 (啟動MEmu_1)
  • MEmuConsole ShutdownVm MEmu_1 (關閉MEmu_1)
  • MEmuConsole create (創建一個新的默認版本模擬器)
  • MEmuConsole clone MEmu_1 (從MEmu_1克隆新的逍遙模擬器)
  • MEmuConsole import D:\my_memu.ova (從my_memu.ova導入一個逍遙模擬器)
  • MEmuConsole export MEmu_1 D:\my_memu.ova (導出MEmu_1到my_memu.ova)
  • MEmuConsole installapk MEmu_1 D:\my_app.apk (安裝my_app.apk至MEmu_1)

進階命令: MEmuManage.exe (C:\Program Files\Microvirt\MEmuHyperv)

  • MEmuManage.exe import MEmu.ova –dry-run
  • MEmuManage.exe import MEmu.ova
  • MEmuManage.exe list runningvms
  • MEmuManage.exe unregistervm MEmu –delete
  • MEmuManage.exe controlvm MEmu poweroff
  • MEmuManage.exe modifyvm MEmu –memory 512
  • MEmuManage.exe modifyvm MEmu –cpus 1
  • MEmuManage.exe modifyvm MEmu –natpf1 delete INP
  • MEmuManage.exe modifyvm MEmu –natpf1 delete MVD
  • MEmuManage.exe modifyvm MEmu –natpf1 delete APP
  • MEmuManage.exe modifyvm MEmu –natpf1 delete ADB
  • MEmuManage.exe modifyvm MEmu –natpf1 delete SNS
  • MEmuManage.exe modifyvm MEmu –natpf1 “INP,tcp,127.0.0.1,21500,10.0.2.15,21500”
  • MEmuManage.exe modifyvm MEmu –natpf1 “MVD,tcp,127.0.0.1,21501,10.0.2.15,21501”
  • MEmuManage.exe modifyvm MEmu –natpf1 “APP,tcp,127.0.0.1,21502,10.0.2.15,21502”
  • MEmuManage.exe modifyvm MEmu –natpf1 “ADB,tcp,127.0.0.1,21503,10.0.2.15,5555”
  • MEmuManage.exe modifyvm MEmu –natpf1 “SNS,tcp,127.0.0.1,2l504,10.0.2.15,21504”
  • MEmuManage.exe guestproperty set MEmu imsi 460000446646798
  • MEmuManage.exe guestproperty set MEmu imei 133524256790010
  • MEmuManage.exe guestproperty set MEmu simserial 89860070200779921015
  • MEmuManage.exe guestproperty set MEmu enable_su 1
  • MEmuManage.exe guestproperty set MEmu microvirt_vm_brand iphone
  • MEmuManage.exe guestproperty set MEmu microvirt_vm_model 6 plus
  • MEmuManage.exe guestproperty set MEmu microvirt_vm_manufacturer Apple
  • MEmuManage.exe guestproperty set MEmu resolution_height 480
  • MEmuManage.exe guestproperty set MEmu resolution_width 800
  • MEmuManage.exe guestproperty set MEmu vbox_dpi 192
  • MEmuManage.exe guestproperty set MEmu linenum +8617677728760
  • MEmuManage.exe guestproperty set MEmu is_hide_toolbar 1
  • MEmuManage.exe guestproperty set MEmu_1 custom_tag “Cloned from MEmu”
  • MEmuManage.exe sharedfolder add MEmu –name music –hostpath “D:\MEmu Music”
  • MEmuManage.exe sharedfolder add MEmu –name movie –hostpath “D:\MEmu Video”
  • MEmuManage.exe sharedfolder add MEmu –name picture –hostpath “D:\MEmu Picture”
  • MEmuManage.exe sharedfolder add MEmu –name download –hostpath “D:\MEmu Download”

注意:請確保以管理員權限運行命令行。

注意:建議在運行MEmuManage.exe之前關閉模擬器,更改將在再次啟動時生效。

注意:如果您想更詳細地了解所有參數,請訪問下載此文檔

 


有技術上相關問題歡迎加入我們的粉絲團舉手發問唷~(≧◇≦)

✮想要更順暢的遊戲,可以在安裝開啟後,開啟VT功能(還沒有啟動可以直接點擊連結教學^O^)✮

✮有閃退問題,或著圖片卡卡,請嘗試切換渲染模式(連結教學^o^)✮

✮第一次啟動時需要更長的時間。

有技術上相關問題歡迎加入我們的社團舉手發問唷~(*´▽`*) 官方網站官方社群粉絲團專頁