Tip for Windows Users

Everything about ToME 4.x.x. No spoilers, please

Moderator: Moderator

Post Reply
Message
Author
Rectifier
Archmage
Posts: 386
Joined: Mon Aug 29, 2011 8:06 am

Tip for Windows Users

#1 Post 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

Devorius
Cornac
Posts: 41
Joined: Fri Dec 09, 2011 4:19 pm

Re: Tip for Windows Users

#2 Post 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).

Post Reply