66#AutoIt3Wrapper_UseUpx= y
77#AutoIt3Wrapper_Res_Comment= Made by Fliegerfaust, Edited for MultiBotRun by ProMac
88#AutoIt3Wrapper_Res_Description= SelectMultiBotRun for MultiBotRun
9- #AutoIt3Wrapper_Res_Fileversion= 1.0.6 .0
9+ #AutoIt3Wrapper_Res_Fileversion= 1.0.8 .0
1010#AutoIt3Wrapper_Res_LegalCopyright= Fliegerfaust, edited by ProMac
1111#AutoIt3Wrapper_Run_Tidy= y
1212#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
4747
4848Global $g_sBotFile = " multibot.run.exe"
4949Global $g_sBotFileAU3 = " multibot.run.au3"
50- Global $g_sVersion = " 1.0.7 "
50+ Global $g_sVersion = " 1.0.8 "
5151Global $g_sDirProfiles = @MyDocumentsDir & " \Profiles.ini"
5252Global $g_hGui_Main , $g_hGui_Profile , $g_hGui_Emulator , $g_hGui_Instance , $g_hGui_Dir , $g_hGui_Parameter , $g_hGUI_AutoStart , $g_hGUI_Edit , $g_hListview_Main , $g_hLst_AutoStart , $g_hLog , $g_hProgress , $g_hBtn_Shortcut , $g_hBtn_AutoStart , $g_hContext_Main
5353Global $g_hListview_Instances , $g_hLblUpdateAvailable
@@ -90,7 +90,7 @@ Func GUI_Main()
9090 $hMenu_Startup = GUICtrlCreateMenuItem (" Startup Directory" , $hMenu_Help )
9191 $hMenu_Emulators = GUICtrlCreateMenu (" &Emulators" )
9292 $hMenu_BlueStacks5 = GUICtrlCreateMenuItem (" BlueStacks5" , $hMenu_Emulators )
93- $hMenu_MEmu = GUICtrlCreateMenuItem (" MEmu " , $hMenu_Emulators )
93+ $hMenu_MEmu = GUICtrlCreateMenuItem (" LDpayer " , $hMenu_Emulators )
9494 $hMenu_Nox = GUICtrlCreateMenuItem (" Nox" , $hMenu_Emulators )
9595 $hMenu_Update = GUICtrlCreateMenu (" Updates" )
9696 $hMenu_CheckForUpdate = GUICtrlCreateMenuItem (" Check for Updates" , $hMenu_Update )
@@ -137,14 +137,14 @@ Func GUI_Main()
137137 Case $hMenu_Startup
138138 ShellExecute (@StartupDir )
139139 Case $hMenu_BlueStacks5
140- ShellExecute (" https://cdn3.bluestacks.com/downloads/windows/nxt/5.11.100.1063/a2851e52720cc67bfe72ee23599fcaa0/FullInstaller/x64/BlueStacksFullInstaller_5.11.100.1063_amd64_native.exe " )
140+ ShellExecute (" https://webftp.marioantunes.pt/BlueStacks_5-14-10-2201.zip " )
141141 Case $hMenu_MEmu
142- ShellExecute (" https://mega.nz/#!RR5FmQYb!qmpHcqzq1s5f6PPJfPRXadYx2AoEUtekjSeZr8kcvl4 " )
142+ ShellExecute (" https://webftp.marioantunes.pt/LDPlayer_9.0.63.zip " )
143143 Case $hMenu_Nox
144- ShellExecute (" https://mega.nz/#!AIwyQIII!iGkk3ed9iUaWT-PpVfiFANUMeDaiRwUnvhIjVI66_iw " )
144+ ShellExecute (" https://webftp.marioantunes.pt/nox_setup_v7.0.5.9_full_intl%20(12-2023).zip " )
145145 Case $hMenu_CheckForUpdate
146146 $sTempPath = _WinAPI_GetTempFileName(@TempDir )
147- $hUpdateFile = InetGet (" https://raw.githubusercontent.com/tehbank /SelectMultiBotRun/master/SelectMultiBotRun_Info.txt" , $sTempPath , $INET_FORCERELOAD , $INET_DOWNLOADBACKGROUND )
147+ $hUpdateFile = InetGet (" https://raw.githubusercontent.com/promac2k /SelectMultiBotRun/master/SelectMultiBotRun_Info.txt" , $sTempPath , $INET_FORCERELOAD , $INET_DOWNLOADBACKGROUND )
148148 Do
149149 Sleep (250 )
150150 Until InetGetInfo ($hUpdateFile , $INET_DOWNLOADCOMPLETE )
@@ -268,7 +268,7 @@ EndFunc ;==>GUI_Profile
268268Func GUI_Emulator()
269269 $g_hGui_Emulator = GUICreate (" Emulator" , 258 , 167 , $g_aGuiPos_Main [0 ], $g_aGuiPos_Main [1 ] + 150 , - 1 , - 1 , $g_hGui_Main )
270270 $hCmb_Emulator = GUICtrlCreateCombo (" BlueStacks5" , 24 , 72 , 201 , 21 , BitOR ($CBS_DROPDOWNLIST , $CBS_AUTOHSCROLL ))
271- GUICtrlSetData (- 1 , " BlueStacks5|MEmu |Nox" )
271+ GUICtrlSetData (- 1 , " BlueStacks5|LDPLayer |Nox" )
272272 $hBtn_Next = GUICtrlCreateButton (" Next step" , 72 , 120 , 97 , 25 , $WS_GROUP )
273273 GUICtrlCreateLabel (" Please select your Emulator" , 24 , 8 , 204 , 57 )
274274 GUISetState ()
@@ -315,10 +315,10 @@ Func GUI_Instance()
315315 GUISetState (@SW_SHOW , $g_hGui_Instance )
316316 GUICtrlSetData ($hLbl_Instance , " Please type in your BlueStacks5 Instance Name! Example: Pie64 , Pie64_1, Pie64_2, etc" )
317317 GUICtrlSetData ($hIpt_Instance , " Pie64_" )
318- Case " MEmu "
318+ Case " LDPlayer "
319319 GUISetState (@SW_SHOW , $g_hGui_Instance )
320- GUICtrlSetData ($hLbl_Instance , " Please type in your MEmu Instance Name! Example: MEmu , MEmu_1, MEmu_2 , etc" )
321- GUICtrlSetData ($hIpt_Instance , " MEmu_ " )
320+ GUICtrlSetData ($hLbl_Instance , " Please type in your LDPlayer Instance Name! Example: LDPlayer , LDPlayer-1, LDPlayer-2 , etc" )
321+ GUICtrlSetData ($hIpt_Instance , " LDPlayer- " )
322322 Case " Nox"
323323 GUISetState (@SW_SHOW , $g_hGui_Instance )
324324 GUICtrlSetData ($hLbl_Instance , " Please type in your Nox Instance Name! Example: nox , nox_1, nox_2, etc" )
@@ -338,8 +338,8 @@ Func GUI_Instance()
338338 Switch $g_sSelectedEmulator
339339 Case " BlueStacks5"
340340 $Instance = StringRegExp ($Instances , " (?i)" & " Pie64" & " (?:[_][0-9])?" , 3 )
341- Case " iTools "
342- $Instance = StringRegExp ( $Instances , " (?)iToolsVM(?:[_][0-9][0-9])? " , 3 )
341+ Case " LDPlayer "
342+ $Instance = 2
343343 Case Else
344344 $Instance = StringRegExp ($Instances , " (?i)" & $g_sSelectedEmulator & " (?:[_][0-9])?" , 3 )
345345 EndSwitch
@@ -351,7 +351,7 @@ Func GUI_Instance()
351351 IniDelete ($g_sDirProfiles , $g_sTypedProfile )
352352 Return - 1
353353
354- ElseIf _ArraySearch($Instance , $Inst , 0 , 0 , 1 ) = - 1 Then
354+ ElseIf _ArraySearch($Instance , $Inst , 0 , 0 , 1 ) = - 1 And $g_sSelectedEmulator <> " LDPlayer " Then
355355 $Msg2 = MsgBox ($MB_YESNO , " Typo ?" , " Couldn't find the Instance Name you typed in. Please check your Instances once again and retype it ( Also check the case sensitivity)" & @CRLF & " Here is a list of Instances I could find on your PC:" & @CRLF & @CRLF & _ArrayToString($Instance , @CRLF ) & @CRLF & @CRLF & ' If you are sure that you got the Instance right but this Message keeps coming then press "Yes" to continue!' & @CRLF & @CRLF & " Do you want to continue?" , 0 , $g_hGui_Instance )
356356 If $Msg2 = $IDYES Then
357357 IniWrite ($g_sDirProfiles , $g_sTypedProfile , " Instance" , $Inst )
@@ -515,11 +515,11 @@ Func GUI_Edit()
515515
516516 Switch $g_sIniEmulator
517517 Case " BlueStacks5"
518- GUICtrlSetData ($hCmb_Emulator , " MEmu |Nox" )
519- Case " MEmu "
518+ GUICtrlSetData ($hCmb_Emulator , " LDPlayer |Nox" )
519+ Case " LDPlayer "
520520 GUICtrlSetData ($hCmb_Emulator , " BlueStacks5|Nox" )
521521 Case " Nox"
522- GUICtrlSetData ($hCmb_Emulator , " BlueStacks5|MEmu " )
522+ GUICtrlSetData ($hCmb_Emulator , " BlueStacks5|LDPlayer " )
523523 Case Else
524524 MsgBox ($MB_OK , " Error" , " Oops, as it looks like you changed Data in the Config File.Pleae delete all corrupted Sections!" , 0 , $g_hGUI_Edit )
525525 EndSwitch
@@ -539,8 +539,8 @@ Func GUI_Edit()
539539 Switch $sSelectedEmulator
540540 Case " BlueStacks5"
541541 GUICtrlSetData ($hIpt_Instance , " Pie64_" )
542- Case " MEmu "
543- GUICtrlSetData ($hIpt_Instance , " MEmu_ " )
542+ Case " LDPlayer "
543+ GUICtrlSetData ($hIpt_Instance , " LDPlayer- " )
544544 Case " Nox"
545545 GUICtrlSetData ($hIpt_Instance , " Nox_" )
546546 Case Else
@@ -933,7 +933,7 @@ EndFunc ;==>UpdateSelect
933933
934934Func CheckUpdate()
935935 $sTempPath = @MyDocumentsDir & " \SelectMultiBotRun_Info.txt"
936- $hUpdateFile = InetGet (" https://raw.githubusercontent.com/tehbank /SelectMultiBotRun/master/SelectMultiBotRun_Info.txt" , $sTempPath , $INET_FORCERELOAD , $INET_DOWNLOADBACKGROUND )
936+ $hUpdateFile = InetGet (" https://raw.githubusercontent.com/promac2k /SelectMultiBotRun/master/SelectMultiBotRun_Info.txt" , $sTempPath , $INET_FORCERELOAD , $INET_DOWNLOADBACKGROUND )
937937 Do
938938 Sleep (250 )
939939 Until InetGetInfo ($hUpdateFile , $INET_DOWNLOADCOMPLETE )
@@ -1000,23 +1000,21 @@ EndFunc ;==>GUI_ChangeLog
10001000#Region Android
10011001
10021002Func GetMEmuPath()
1003- Local $sMEmuPath = EnvGet (" MEmu_Path" ) & " \MEmu\"
1004- If FileExists ($sMEmuPath & " MEmu.exe" ) = 0 Then
1005- Local $sInstallLocation = RegRead ($HKLM & " \SOFTWARE" & $Wow6432Node & " \Microsoft\Windows\CurrentVersion\Uninstall\MEmu\" , " InstallLocation" )
1006- If @error = 0 And FileExists ($sInstallLocation & " \MEmu\MEmu.exe" ) = 1 Then
1007- $sMEmuPath = $sInstallLocation & " \MEmu\"
1008- Else
1009- Local $sDisplayIcon = RegRead ($HKLM & " \SOFTWARE" & $Wow6432Node & " \Microsoft\Windows\CurrentVersion\Uninstall\MEmu\" , " DisplayIcon" )
1010- If @error = 0 Then
1011- Local $iLastBS = StringInStr ($sDisplayIcon , " \" , 0 , - 1 )
1012- $sMEmuPath = StringLeft ($sDisplayIcon , $iLastBS )
1013- If StringLeft ($sMEmuPath , 1 ) = " "" " Then $sMEmuPath = StringMid ($sMEmuPath , 2 )
1014- Else
1015- $sMEmuPath = @ProgramFilesDir & " \Microvirt\MEmu\"
1016- EndIf
1017- EndIf
1003+ ; GetLDPlayerPath
1004+ DebugLog(" GetLDPlayerPath" )
1005+ ; HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\LDPlayer9
1006+ Local $InstallLocation = RegRead ($HKLM & " \SOFTWARE" & $Wow6432Node & " \Microsoft\Windows\CurrentVersion\Uninstall\LDPlayer9" , " DisplayIcon" )
1007+ ; C:\LDPlayer\LDPlayer9\dnplayer.exe
1008+ If @error Then
1009+ DebugLog(" GetLDPlayerPath Error in RegRead" )
1010+ EndIf
1011+ If Not FileExists ($InstallLocation ) Then ; work-a-round
1012+ If FileExists (" C:\LDPlayer\LDPlayer9\dnplayer.exe" ) Then $InstallLocation = " C:\LDPlayer\LDPlayer9\dnplayer.exe"
10181013 EndIf
1019- Return $sMEmuPath
1014+
1015+ Local $LDPlayer_Path = StringReplace ($InstallLocation , " dnplayer.exe" , " " )
1016+ $LDPlayer_Path = StringReplace ($LDPlayer_Path , " \\" , " \" )
1017+ Return $LDPlayer_Path
10201018EndFunc ; ==>GetMEmuPath
10211019
10221020Func GetNoxPath()
@@ -1081,10 +1079,10 @@ Func IsAndroidInstalled($sAndroid)
10811079 DebugLog(" Android to Check -> " & $sAndroid )
10821080
10831081 Switch $sAndroid
1084- Case " MEmu "
1085- DebugLog(" MEmu " )
1082+ Case " LDPlayer "
1083+ DebugLog(" LDPlayer " )
10861084 $sPath = GetMEmuPath()
1087- $sFile = " MEmu .exe"
1085+ $sFile = " dnplayer .exe"
10881086 Case " Nox"
10891087 DebugLog(" Nox" )
10901088 $sPath = GetNoxPath()
@@ -1113,10 +1111,9 @@ Func GetInstanceMgrPath($sAndroid)
11131111 Switch $sAndroid
11141112 Case " BlueStacks5"
11151113 $sManagerPath = GetBlueStacksPath() & " BstkVMMgr.exe"
1116- Case " MEmu"
1117- $sManagerPath = EnvGet (" MEmuHyperv_Path" ) & " \MEmuManage.exe"
1118- If FileExists ($sManagerPath ) = 0 Then
1119- $sManagerPath = GetMEmuPath() & " ..\MEmuHyperv\MEmuManage.exe"
1114+ Case " LDPlayer"
1115+ If FileExists (" C:\Program Files\ldplayer9box\VBoxManage.exe" ) = 0 Then
1116+ $sManagerPath = " C:\Program Files\ldplayer9box\VBoxManage.exe"
11201117 EndIf
11211118 Case " Nox"
11221119 $sManagerPath = GetNoxRtPath() & " BigNoxVMMgr.exe"
0 commit comments