DarthJaegad Posted July 8, 2025 Posted July 8, 2025 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? Quote
SithNadd Posted July 8, 2025 Posted July 8, 2025 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. Quote
JCarter426 Posted July 8, 2025 Posted July 8, 2025 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. Quote
SithNadd Posted July 9, 2025 Posted July 9, 2025 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! Quote
DarthJaegad Posted July 18, 2025 Author Posted July 18, 2025 Thank you both Yes i was indeed reading the second line wrong, they do in fact say LookupGameNumber. Thank you for your help Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.