Sign in to follow this  
DarthJaegad

What does lookupgamefolder mean/do?

Recommended Posts

I mean im partially aware of what it does, it tells the installer which folder to install in.

 

But i want to know what the different numbers mean

 

0 seems to mean you choose the folder?

but what do 1 and 2 mean?

 

and why do some installers have TWO lookupgamefolder entries? I have some installers that have one set to 0 and another set to 2. Why?

Share this post


Link to post
Share on other sites

I would assume you’re referring to the changes.ini file inside the tslpatchdata folder for most mods?

The line to which you refer tells the installer which game the mod is for.

A value of 1 is KotOR and 2 is TSL. 

Share this post


Link to post
Share on other sites
3 hours ago, DarthJaegad said:

and why do some installers have TWO lookupgamefolder entries? I have some installers that have one set to 0 and another set to 2. Why?

TSLPatcher installer instructions shouldn't have LookupGameFolder twice, but I assume you are referring to LookupGameFolder and LookupGameNumber.

The LookupGameFolder field indicates to a TSLPatcher installer whether it should look up the path to the game folder in the Windows Registry.

  • A value of 1 (true) means the installer will attempt to look up the game folder and use that path if found.
  • A value of 0 (false) means the installer will not attempt to look up the game folder, so the user must always locate the folder manually.

The LookupGameNumber field indicates to a TSLPatcher installer which game it should look up, assuming LookupGameFolder is true.

The default values, if the instructions are generated from ChangeEdit, are:

LookupGameFolder=0
LookupGameNumber=2

So that would be why you see those values so often.

2 hours ago, SithNadd said:

The line to which you refer tells the installer which game the mod is for.

A value of 1 is KotOR and 2 is TSL. 

That is true for LookupGameNumber, not LookupGameFolder.

Share this post


Link to post
Share on other sites
6 hours ago, JCarter426 said:

That is true for LookupGameNumber, not LookupGameFolder.

It seems I misread the original post then, I thought LookupGameNumber was what the OP was asking about.

That’ll teach me to make sure I read posts properly. Good spot! :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this