Skip to content

Commit

Permalink
update 1.0.8
Browse files Browse the repository at this point in the history
120 FPS
  • Loading branch information
MohamedKVIP committed May 15, 2024
1 parent e0303b1 commit 1ee73dc
Show file tree
Hide file tree
Showing 6 changed files with 618 additions and 560 deletions.
1 change: 1 addition & 0 deletions README.ar.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<li>فائق</li>
<li>60 إطارًا في الثانية</li>
<li><strong>90 إطارًا في الثانية</strong></li>
<li><strong>120 إطارًا في الثانية</strong></li>
</ul>
<br>
<h3>تحسين Gameloop والكمبيوتر</h3>
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ You can also choose between:
* High
* Ultra
* Extreme (60 FPS)
* **90 FPS**
* **Extreme+** (**90 FPS**)
* **Ultra Extreme** (**120 FPS**)

### Optimize Gameloop & PC

Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from os import environ

APP_NAME = "MK PUBG Mobile Tool"
APP_VERSION = "v1.0.7"
APP_VERSION = "v1.0.8"
FULL_APP_NAME = f"{APP_NAME} {APP_VERSION}"
ctypes.windll.kernel32.SetConsoleTitleW(FULL_APP_NAME)

Expand Down
4 changes: 4 additions & 0 deletions src/app_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,8 @@ def check_adb_status(self):
self.set_dword("AdbDisable", 0)
self.adb_enabled = False
return
elif adb_status is None:
raise ValueError("Could not get AdbDisable status from registry.")

raise ValueError("Unknown AdbDisable status.")

Expand Down Expand Up @@ -771,6 +773,7 @@ def set_fps(self, val: str) -> None:
"Ultra": b"\x05",
"Extreme": b"\x06",
"Extreme+": b"\x07",
"Ultra Extreme": b"\x08"
}
fps_value = fps_mapping.get(val)

Expand Down Expand Up @@ -826,6 +829,7 @@ def get_fps(self):
b"\x05": "Ultra",
b"\x06": "Extreme",
b"\x07": "Extreme+",
b"\x08": "Ultra Extreme",
}
return fps_dict.get(fps_hex, None)

Expand Down
7 changes: 5 additions & 2 deletions src/gfx.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ def connect_gameloop_task_completed(self, checked: bool = True):
self.ui.high_fps_btn,
self.ui.ultra_fps_btn,
self.ui.extreme_fps_btn,
self.ui.fps90_fps_btn
self.ui.fps90_fps_btn,
self.ui.fps120_fps_btn
]
self.fps_value = self.app.get_fps()

Expand Down Expand Up @@ -267,7 +268,8 @@ def fps_buttons_func(self):
self.ui.high_fps_btn,
self.ui.ultra_fps_btn,
self.ui.extreme_fps_btn,
self.ui.fps90_fps_btn
self.ui.fps90_fps_btn,
self.ui.fps120_fps_btn
]
for button in buttons:
button.clicked.connect(lambda checked, btn=button: self.check_button_selected(buttons, btn))
Expand Down Expand Up @@ -301,6 +303,7 @@ def gfx_buttons(self, enabled: bool):
self.ui.ultra_fps_btn,
self.ui.extreme_fps_btn,
self.ui.fps90_fps_btn,
self.ui.fps120_fps_btn,
self.ui.classic_style_btn,
self.ui.colorful_style_btn,
self.ui.realistic_style_btn,
Expand Down
Loading

0 comments on commit 1ee73dc

Please sign in to comment.