This commit is contained in:
mrmarcus007
2023-02-06 15:03:19 +00:00
parent 0f4bece95a
commit b0001cd6f7
4 changed files with 20 additions and 9 deletions
+12 -3
View File
@@ -50,7 +50,7 @@ def editor():
RyzenADJI = input("Ryzen ADJI preset (if you have one, if not leave blank): ") RyzenADJI = input("Ryzen ADJI preset (if you have one, if not leave blank): ")
USBdevices = int(input("Amount of static USB devices: " )) USBdevices = int(input("Amount of static USB devices: " ))
TotalUSBpower = USBdevices * 4.5 TotalUSBpower = USBdevices * 4.5
TotalPower = (TotalUSBpower + GPUpowerLimit + CPUPowerLimit * 1.32) TotalPower = (TotalUSBpower + GPUpowerLimit + CPUPowerLimit * 1.352)
data = { data = {
"PCname": my_system.node, "PCname": my_system.node,
"System": f"{my_system.system} {my_system.version}", "System": f"{my_system.system} {my_system.version}",
@@ -109,6 +109,7 @@ def export():
file.write("\n Static USB devices: " + str(data["USBdevices"]) + "\n") file.write("\n Static USB devices: " + str(data["USBdevices"]) + "\n")
file.write(" Total USB power: " + str(data["TotalUSBPower"]) + "W" + "\n") file.write(" Total USB power: " + str(data["TotalUSBPower"]) + "W" + "\n")
file.write(" Total Power: " + str(data["TotalPower"]) + "W" + "\n") file.write(" Total Power: " + str(data["TotalPower"]) + "W" + "\n")
file.write(" \n Overclock Manager, Version: 2.0.1")
print(" Data exported to config") print(" Data exported to config")
input(" Press enter to continue") input(" Press enter to continue")
Menu() Menu()
@@ -126,15 +127,23 @@ def existstage1():
existstage1() existstage1()
def exitstage2(): def exitstage2():
t = 5 t = 10
while t > 0: while t > 0:
if t >= 5:
os.system('cls')
print(graphics.Overclock)
print(graphics.Rever, ", By Marcus Allison" )
print("\n Closing program in", t)
time.sleep(1)
t = t - 1
elif t <= 5:
os.system('cls') os.system('cls')
print(graphics.Bye) print(graphics.Bye)
print(graphics.Rever, ", By Marcus Allison" ) print(graphics.Rever, ", By Marcus Allison" )
print("\n Closing program in", t) print("\n Closing program in", t)
time.sleep(1) time.sleep(1)
t = t - 1 t = t - 1
if t == 1: elif t == 1:
os.system('cls') os.system('cls')
print(graphics.Bye) print(graphics.Bye)
print(graphics.Rever, ", By Marcus Allison" ) print(graphics.Rever, ", By Marcus Allison" )
Binary file not shown.
Binary file not shown.
+2
View File
@@ -17,3 +17,5 @@
Static USB devices: 4 Static USB devices: 4
Total USB power: 18.0W Total USB power: 18.0W
Total Power: 134.0W Total Power: 134.0W
Overclock Manager, Version: 2.0.1