Page 1 of 1

Tip for Windows Users

Posted: Thu Jan 19, 2012 4:21 am
by Rectifier
Randomly decided to find a way to change my tome's priority like in the task manager, but automatically whenever I launch it!
Most of the links involved using a batch program which is clunky and tedious, I found a more intuitive solution that only requires editing one line of text in a shortcut.

Here's what I did using Windows 7:
Automagically set program priority with just the shortcut!
-create shortcut of executable (.exe)
-right click on shortcut and select properties
-click on the shortcut tab
-focus on the box labelled target, we will edit this
-notice in the box that the .exe location is listed, but leave the existing text alone
-in front of the existing text type the following (don't overwrite the file path ;)):

Code: Select all

%comspec% /c START /high
-the above example will start the shotcut in high priority mode as opposed to normal priority

The full line of text will look something like this:

Code: Select all

%comspec% /c START /high C:\Users\YourName\Desktop\Filename.exe
-make sure that the directory DOES NOT HAVE SPACES!

What the line of text does
-launches the command prompt and tells it to start the file at the specified priority
-will change the shortcut's icon to the command prompt icon
^the fix for the above is easy, just click on change icon and select the original .exe file and select that icon

Re: Tip for Windows Users

Posted: Fri Jan 20, 2012 2:02 am
by Devorius
There's also another way, too. You can use a .bat script file.

Create a text file in your favorite text editor (I highly recommend Notepad++ to anyone that doesn't already use it).

Type/paste this into it:

Code: Select all

start t-engine.exe /high
Though in some cases running it high priority can actually slow it down (if the OS is not getting a sufficient number of cycles), in which case you should still be able to use:

Code: Select all

start t-engine.exe /abovenormal
The /abovenormal switch can also be used with Rectifier's method.

Edit - Sorry! I completely forgot to say: save said text file with the extension of .bat in the same folder as t-engine.exe (a.k.a. the Tome folder).