ok-script 0.0.83__tar.gz → 0.0.84__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ok-script-0.0.83 → ok-script-0.0.84}/PKG-INFO +1 -1
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/alas/emulator_base.py +8 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/HwndWindow.py +16 -4
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/adb/DeviceManager.py +1 -1
- {ok-script-0.0.83 → ok-script-0.0.84}/ok_script.egg-info/PKG-INFO +1 -1
- {ok-script-0.0.83 → ok-script-0.0.84}/setup.py +1 -1
- {ok-script-0.0.83 → ok-script-0.0.84}/README.md +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/OK.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/alas/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/alas/emulator_windows.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/alas/platform_base.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/alas/platform_windows.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/alas/utils.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/BaseCaptureMethod.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/adb/ADBCaptureMethod.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/adb/WindowsCaptureFactory.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/adb/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/adb/bin/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/image/ImageCaptureMethod.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/image/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/windows/BaseWindowsCaptureMethod.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/windows/BitBltCaptureMethod.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/windows/DesktopDuplicationCaptureMethod.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/windows/WindowsGraphicsCaptureMethod.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/windows/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/windows/d3d11.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/windows/dump.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/windows/utils.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/capture/windows/window.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/color/Color.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/color/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/config/Config.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/config/InfoDict.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/config/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/feature/Box.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/feature/Feature.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/feature/FeatureSet.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/feature/FindFeature.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/feature/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/firebase/Analytics.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/firebase/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/App.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/Communicate.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/MainWindow.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/MessageWindow.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/StartController.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/TabTitles.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/about/AboutTab.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/about/HttpTextEdit.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/about/VersionCard.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/about/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/common/OKIcon.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/common/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/common/config.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/common/style_sheet.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/debug/AspectRatioWidget.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/debug/DebugTab.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/debug/FrameWidget.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/debug/InfoWidget.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/debug/LoggerWidget.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/debug/Screenshot.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/debug/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/i18n/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/i18n/path.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/i18n/update.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/icon/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/icon/icon.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/overlay/OverlayWindow.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/overlay/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/qss/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/resources.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/settings/SettingTab.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/settings/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/start/SelectCaptureListView.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/start/StartCard.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/start/StartTab.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/start/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/ConfigItemFactory.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/ConfigLabelAndWidget.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/LabelAndDoubleSpinBox.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/LabelAndDropDown.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/LabelAndLineEdit.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/LabelAndList.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/LabelAndSpinBox.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/LabelAndSwitchButton.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/LabelAndWidget.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/ModifyListDialog.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/ModifyListItem.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/OneTimeTaskTab.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/StartButton.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/TaskCard.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/TaskOpButton.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/TooltipTableWidget.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/TriggerTaskTab.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/tasks/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/util/Alert.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/util/InitWorker.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/util/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/Card.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/EmptyCard.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/FramelessDialog.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/ListTableWidgetItem.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/NumericTableWidgetItem.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/StartLoadingDialog.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/StatusBar.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/Tab.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/TabWidget.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/UpdateConfigWidgetItem.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/YesNonWidgetItem.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/gui/widget/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/interaction/ADBInteraction.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/interaction/BaseInteraction.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/interaction/DoNothingInteraction.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/interaction/Win32Interaction.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/interaction/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/logging/Logger.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/logging/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/ocr/OCR.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/ocr/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Foundation/Collections.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Foundation/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Globalization/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Graphics/Capture/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Graphics/DirectX/Direct3D11/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Graphics/DirectX/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Graphics/Imaging/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Graphics/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Media/Ocr/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Media/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Security/Cryptography/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Security/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Storage/Streams/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Storage/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/delegate.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/export.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/idldsl.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/inspectable.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/roapi.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/types.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/winstring.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/save/BlackBarProcessor.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/save/PostProcessor.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/save/SaveByInterval.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/save/SaveByKeyPress.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/save/SaveMethodBase.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/save/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/scene/FeatureScene.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/scene/Scene.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/scene/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/stats/StreamStats.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/stats/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/task/BaseTask.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/task/ExecutorOperation.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/task/OneTimeTask.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/task/TaskExecutor.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/task/TriggerTask.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/task/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/update/GithubMultiDownloader.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/update/Updater.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/update/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/update/gen_md5.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/util/Handler.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/util/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/util/exit_event.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/util/json.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/util/list.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/util/path.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/util/thread.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/util/win32_process.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok/util/yaml.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok_script.egg-info/SOURCES.txt +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok_script.egg-info/dependency_links.txt +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok_script.egg-info/requires.txt +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/ok_script.egg-info/top_level.txt +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/setup.cfg +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/tests/__init__.py +0 -0
- {ok-script-0.0.83 → ok-script-0.0.84}/tests/test_updater.py +0 -0
|
@@ -114,6 +114,14 @@ class EmulatorInstanceBase:
|
|
|
114
114
|
|
|
115
115
|
return None
|
|
116
116
|
|
|
117
|
+
@property
|
|
118
|
+
def player_id(self):
|
|
119
|
+
|
|
120
|
+
# Find all integer groups in the string that are at the end of the string
|
|
121
|
+
integers = re.findall(r'\d+$', self.name)
|
|
122
|
+
# Return the last integer if it exists, otherwise return 0
|
|
123
|
+
return int(integers[0]) if integers else 0
|
|
124
|
+
|
|
117
125
|
|
|
118
126
|
class EmulatorBase:
|
|
119
127
|
# Values here must match those in argument.yaml EmulatorInfo.Emulator.option
|
|
@@ -152,7 +152,7 @@ class HwndWindow:
|
|
|
152
152
|
return f"title:{self.title}_{self.exe_name}_{self.width}x{self.height}_{self.hwnd}_{self.exists}_{self.visible}"
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
def find_hwnd(title, exe_name, frame_width, frame_height):
|
|
155
|
+
def find_hwnd(title, exe_name, frame_width, frame_height, player_id=-1):
|
|
156
156
|
results = []
|
|
157
157
|
if exe_name is None and title is None:
|
|
158
158
|
return None, None, None, 0, 0, 0, 0
|
|
@@ -167,18 +167,22 @@ def find_hwnd(title, exe_name, frame_width, frame_height):
|
|
|
167
167
|
return True
|
|
168
168
|
elif not re.search(title, text):
|
|
169
169
|
return True
|
|
170
|
-
name, full_path = get_exe_by_hwnd(hwnd)
|
|
170
|
+
name, full_path, cmdline = get_exe_by_hwnd(hwnd)
|
|
171
171
|
x, y, border, title_height, width, height, scaling, ext_left_bounds, ext_top_bounds = get_window_bounds(
|
|
172
172
|
hwnd)
|
|
173
173
|
ret = (hwnd, full_path, width, height, x, y, text)
|
|
174
174
|
if exe_name:
|
|
175
175
|
if name != exe_name and exe_name != full_path:
|
|
176
176
|
return True
|
|
177
|
+
if player_id != -1:
|
|
178
|
+
if player_id != get_player_id_from_cmdline(cmdline):
|
|
179
|
+
logger.debug(
|
|
180
|
+
f'player id check failed,cmdline {cmdline} {get_player_id_from_cmdline(cmdline)} != {player_id}')
|
|
181
|
+
return True
|
|
177
182
|
results.append(ret)
|
|
178
183
|
return True
|
|
179
184
|
|
|
180
185
|
win32gui.EnumWindows(callback, None)
|
|
181
|
-
biggest = None
|
|
182
186
|
if len(results) > 0:
|
|
183
187
|
biggest = results[0]
|
|
184
188
|
for result in results:
|
|
@@ -201,6 +205,14 @@ def find_hwnd(title, exe_name, frame_width, frame_height):
|
|
|
201
205
|
return None, None, None, 0, 0, 0, 0
|
|
202
206
|
|
|
203
207
|
|
|
208
|
+
def get_player_id_from_cmdline(cmdline):
|
|
209
|
+
for i in range(len(cmdline)):
|
|
210
|
+
if i != 0:
|
|
211
|
+
if cmdline[i].isdigit():
|
|
212
|
+
return int(cmdline[i])
|
|
213
|
+
return 0
|
|
214
|
+
|
|
215
|
+
|
|
204
216
|
def enum_child_windows(biggest, frame_aspect_ratio):
|
|
205
217
|
ratio_match = []
|
|
206
218
|
"""
|
|
@@ -237,7 +249,7 @@ def get_exe_by_hwnd(hwnd):
|
|
|
237
249
|
|
|
238
250
|
# Get the process name and executable path
|
|
239
251
|
process = psutil.Process(pid)
|
|
240
|
-
return process.name(), process.exe()
|
|
252
|
+
return process.name(), process.exe(), process.cmdline()
|
|
241
253
|
|
|
242
254
|
|
|
243
255
|
if __name__ == '__main__':
|
|
@@ -149,7 +149,7 @@ class DeviceManager:
|
|
|
149
149
|
adb_device = self.adb_connect(emulator.serial)
|
|
150
150
|
width, height = self.get_resolution(adb_device)
|
|
151
151
|
name, hwnd, full_path, x, y, width, height = find_hwnd(None,
|
|
152
|
-
emulator.path, width, height)
|
|
152
|
+
emulator.path, width, height, emulator.player_id)
|
|
153
153
|
connected = adb_device is not None and name is not None
|
|
154
154
|
emulator_device = {"address": emulator.serial, "device": "adb",
|
|
155
155
|
"full_path": emulator.path, "connected": connected,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ok-script-0.0.83 → ok-script-0.0.84}/ok/rotypes/Windows/Graphics/DirectX/Direct3D11/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|