Sign in to follow this  
Followers 0
MrAsker

Speed up games

4 posts in this topic

Hey guys i experimented some days with autoit but now my question :

Can someone gimme a sample script or is it even possible to create one that is doing this:

select a process and peed it up 10X or setable?

If yes please post te code THX!

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

dont know how to do it with a script, but one way to do it would be to press ctrl+alt+del > go to "processes" > select the process you want to speed up

> right click > Set Priority (i do not recommend Realtime :D).

other than that, you can lower the graphic quality of the game or shut down other processes to speed the game up.

OR you could upgrade your graphic card/cpu.

Cant do that with script though :D

Edited by tapeworm09

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

well, sorry, but this is completely wrong !!!

ProcessSetPriority

--------------------------------------------------------------------------------

Changes the priority of a process

ProcessSetPriority ( "process", priority)

Parameters

process The name or PID of the process to check.

priority A flag which determines what priority to set

0 - Idle/Low

1 - Below Normal (Not supported on Windows 95/98/ME)

2 - Normal

3 - Above Normal (Not supported on Windows 95/98/ME)

4 - High

5 - Realtime (Use with caution, may make the system unstable)

Return Value

Success: Returns 1.

Failure: Returns 0 and sets @error to 1. May set @error to 2 if attempting to use an unsupported priority class.

but this gives me an idea: why not write a script that generally gives priority to the active window's process ? in this way you could automatically speed up the process you are currently working on.

e.g. set priority to ie while surfing, to the game while gaming, to word when writing a letter, to emule when not doing anything else....

could be a good thing, you don't have to close other programs any more when your pc seems to be slow again, and so on.

has this been done before ? when i find time, i will give that a try. doesn't seem to be difficult.

cheers

j.

Edited by jennico

Spoiler

I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.OixB7.jpgDon't forget this IP: 213.251.145.96

 

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

just a rough beginning....

tested works fine. no gui so far. needs some improving. put it in your startup dir.

;----------------------------------------------
;   auto-priority.au3 by jennico (c) 2008
;----------------------------------------------

Dim $old,$array=ProcessList()

; if used in startup folder you might add....
;Sleep(300000) ; make a sleep on booting and wait.....

;   at first set all to normal
For $i=1 To $array[0][0]
    ProcessSetPriority($array[$i][1],2)
Next

;   now swap current process
While 1
    $PID=WinGetProcess("")
    If $PID>0 Then
        If $PID<>$old Then
            ProcessSetPriority($old,2); maybe 0 ?
            ProcessSetPriority($PID,4); maybe 5 ?
            $old=$PID
        EndIf
    EndIf
    Sleep(100); or whatever
WEnd

please tell me if this makes sense.... !

j. :)

Edited by jennico

Spoiler

I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.OixB7.jpgDon't forget this IP: 213.251.145.96

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0