Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

ARGH! Can't get TSL Patcher to work for me anymore!

Page: 1 of 1
 mrdefender
01-06-2011, 2:35 PM
#1
:'( :'( I know it's been a while since I used TSL Patcher but I don't recall changing *that* much in changes.ini :-/

I keep getting errors saying it cant find a label in my uti's and skips the file.

Also, it adds the line in the 2da as #282 but #282 is "DROID_ITEM_MULTI_SPECTRAL_EMITTER" and then "282" (the next line) is my line...


I'm afraid I'm going bonkers again and I can't figgure out why. I took my old changes.ini file and changed the file names, aside from that its the same thing... isn't it?

TSL Patcher Installation LOG:

• Installation started 01/06/2011 2:30:37 PM...
• Modifying file "spells.2da" found in Override folder...
• Saving unaltered backup copy of spells.2da in C:\Games\Game Tools\Defender MODs\KOTOR 2\TSL Patcher\DefModCommandConsole\backup\spells.2da
• Updated 2DA file C:\Games\Star Wars\Knights of the Old Republic 2\override\spells.2da.
• Modifying GFF format files...
• Copying file "consolewrist.uti" to Override folder...
• Modifying GFF file consolewrist.uti...
• Unable to find a field label matching "PropertiesList\0\Subtype" in consolewrist.uti, skipping...
• No changes could be applied to GFF file consolewrist.uti.
• Copying file "consoledroid.uti" to Override folder...
• Modifying GFF file consoledroid.uti...
• Unable to find a field label matching "PropertiesList\0\Subtype" in consoledroid.uti, skipping...
• No changes could be applied to GFF file consoledroid.uti.
• Installing unmodified files...
• Copying file 000_medstation.dlg to the override folder...
• Copying file special.dlg to the override folder...
• Copying file partyatton.dlg to the override folder...
• Copying file partybaodur.dlg to the override folder...
• Copying file partydisciple.dlg to the override folder...
• Copying file partyg0t0.dlg to the override folder...
• Copying file partyhanharr.dlg to the override folder...
• Copying file partyhk47.dlg to the override folder...
• Copying file partykreia.dlg to the override folder...
• Copying file partymaiden.dlg to the override folder...
• Copying file partymand.dlg to the override folder...
• Copying file partymira.dlg to the override folder...
• Copying file partyplayer.dlg to the override folder...
• Copying file partyt3m4.dlg to the override folder...
• Copying file partyvisas.dlg to the override folder...
• Copying file replicator.dlg to the override folder...
• Copying file workbnch.dlg to the override folder...
• Copying file cmdconsole.dlg to the override folder...
• Copying file developer.dlg to the override folder...
• Copying file defmod_abilities.ncs to the override folder...
• Copying file defmod_benches.ncs to the override folder...
• Copying file defmod_c_stats.ncs to the override folder...
• Copying file defmod_inventory.ncs to the override folder...
• Copying file defmod_developer.ncs to the override folder...
• Copying file defmod_special.ncs to the override folder...
• Copying file defmod_party.ncs to the override folder...
• Copying file cmdconsole.ncs to the override folder...
• Copying file defmodkeybik.uti to the override folder...
• Copying file defmodkeydev.uti to the override folder...
• Copying file defmodkeyedit.uti to the override folder...
• Copying file defmodkeymod.uti to the override folder...
• Copying file defmodkeywb.uti to the override folder...
• Copying file -seperator1-.uti to the override folder...
• Copying file -seperator2-.uti to the override folder...
• Copying file -seperator3-.uti to the override folder...
• Copying file -seperator4-.uti to the override folder...
• Copying file -seperator5-.uti to the override folder...
• Copying file itemscustom.2da to the override folder...
• Copying file itemsdefmod.2da to the override folder...
• Copying file itemsdroids.2da to the override folder...
• Copying file itemsgeneric.2da to the override folder...
• Copying file itemsmedical.2da to the override folder...
• Copying file itemsupgrade.2da to the override folder...
• Copying file itemsjedi.2da to the override folder...
• Done. Changes have been applied, but 4 warnings were encountered.


Changes.ini:

[Settings]
FileExists=1
WindowCaption=Defender's Wrist Console 1.9
ConfirmMessage=Install to your TSL Game folder.
LogLevel=3
InstallerMode=1
BackupFiles=1
PlaintextLog=0
Required=spells.2da
RequiredMsg=spells.2da needs to be in your override folder!
LookupGameFolder=1
LookupGameNumber=2
SaveProcessedScripts=0

[TLKList]

[2DAList]
Table0=spells.2da

[GFFList]
File0=consolewrist.uti
File1=consoledroid.uti

[InstallList]
install_folder0=override

;================================================= =

[spells.2da]
AddRow0=CommandConsole

[CommandConsole]
label=CommandConsole
forcepoints=0
goodevil=-
usertype=4
guardian=0
consular=0
sentinel=0
inate=1
maxcr=3
category=0x1808
range=T
impactscript=cmdconsole
conjtime=170
conjanim=hand
castanim=self
casttime=1330
catchtime=0
proj=0
itemimmunity=0
exclusion=0x00
requireitemmask=0x0000
forbiditemmask=0x0000
itemtargeting=1
hostilesetting=0
2DAMEMORY1=RowLabel

[consolewrist.uti]
PropertiesList\0\Subtype=2DAMEMORY1

[consoledroid.uti]
PropertiesList\0\Subtype=2DAMEMORY1

[install_folder0]
Replace0=000_medstation.dlg
Replace2=special.dlg
Replace3=partyatton.dlg
Replace4=partybaodur.dlg
Replace5=partydisciple.dlg
Replace6=partyg0t0.dlg
Replace7=partyhanharr.dlg
Replace8=partyhk47.dlg
Replace9=partykreia.dlg
Replace10=partymaiden.dlg
Replace11=partymand.dlg
Replace12=partymira.dlg
Replace13=partyplayer.dlg
Replace14=partyt3m4.dlg
Replace15=partyvisas.dlg
Replace16=replicator.dlg
Replace17=workbnch.dlg
Replace18=cmdconsole.dlg
Replace55=developer.dlg
Replace19=defmod_abilities.ncs
Replace21=defmod_benches.ncs
Replace24=defmod_c_stats.ncs
Replace26=defmod_inventory.ncs
Replace56=defmod_developer.ncs
Replace22=defmod_special.ncs
Replace27=defmod_party.ncs
Replace28=cmdconsole.ncs
Replace39=defmodkeybik.uti
Replace40=defmodkeydev.uti
Replace41=defmodkeyedit.uti
Replace42=defmodkeymod.uti
Replace60=defmodkeywb.uti
Replace46=-seperator1-.uti
Replace47=-seperator2-.uti
Replace48=-seperator3-.uti
Replace49=-seperator4-.uti
Replace57=-seperator5-.uti
Replace50=itemscustom.2da
Replace43=itemsdefmod.2da
Replace51=itemsdroids.2da
Replace52=itemsgeneric.2da
Replace53=itemsmedical.2da
Replace54=itemsupgrade.2da
Replace45=itemsjedi.2da
 Bob Ta'aar
01-06-2011, 5:15 PM
#2
Is everything in order if you open changes.ini in the ChangeEdit that comes with the TSLPatcher?

I ran into troubles when I changed changes.ini directly in the Editor rather than through ChangeEdit.

Also it could be that you used an older version of TSLPatcher (or ChangeEdit) before and the new one messed something up.

Dunno, that's just what I can think of. The patcher proved to be pretty foolproof so far for me.
 mrdefender
01-06-2011, 11:17 PM
#3
Everything seems to be perfectly fine, but i keep getting this annoying error.

• Unable to find a field label matching "PropertiesList\0\Subtype" in consolewrist.uti, skipping...
• No changes could be applied to GFF file consolewrist.uti.


What does that even mean? The changes.ini file looks exactly the same as my 1.9 mod except for the following:

[GFFList]
File0=wristconsole.uti
File1=dcc.uti


is now

[GFFList]
File0=consolewrist.uti
File1=consoledroid.uti


[spells.2da]
AddRow0=WristConsole

[WristConsole]
label=WristConsole
forcepoints=0
goodevil=-
usertype=4
guardian=0
consular=0
sentinel=0
inate=1
maxcr=3
category=0x1808
range=T
impactscript=wristconsole
conjtime=170
conjanim=hand
castanim=self
casttime=1330
catchtime=0
proj=0
itemimmunity=0
exclusion=0x00
requireitemmask=0x0000
forbiditemmask=0x0000
itemtargeting=1
hostilesetting=0
2DAMEMORY1=RowLabel


is now
[spells.2da]
AddRow0=CommandConsole

[CommandConsole]
ExclusiveColumn=label
label=CommandConsole
forcepoints=0
goodevil=-
usertype=4
guardian=0
consular=0
sentinel=0
inate=1
maxcr=3
category=0x1808
range=T
impactscript=defcmdconsole
conjtime=170
conjanim=hand
castanim=self
casttime=1330
catchtime=0
proj=0
itemimmunity=0
exclusion=0x00
requireitemmask=0x0000
forbiditemmask=0x0000
itemtargeting=1
hostilesetting=0
2DAMEMORY1=RowLabel


and

[wristconsole.uti]
PropertiesList\0\Subtype=2DAMEMORY1

[dcc.uti]
PropertiesList\0\Subtype=2DAMEMORY1

is now

[consolewrist.uti]
PropertiesList\0\Subtype=2DAMEMORY1

[consoledroid.uti]
PropertiesList\0\Subtype=2DAMEMORY1

Do/did I need to do something with the actual uti's? I'm scratching my head to the bone on this one :(
 Bob Ta'aar
01-07-2011, 6:26 AM
#4
Hm, I'd try to completely delete and re-add the concerned uti-file.
I think I had something going wrong once too when I tried to manually change the filename of a file that's to be modified (in my case I simply misspelled it).
I know, completely re-adding it suck, because you have to do all the entries again, but I'd say the odds are good that it'll work afterwards.
 stoffe
01-07-2011, 6:38 AM
#5
Do/did I need to do something with the actual uti's? I'm scratching my head to the bone on this one :(

I would suspect the problem might lie in the UTI files. From what I can tell the setup looks OK (though I haven't touched TSLPatcher in over 2 years so my memory may be more than a little hazy on that subject :)).

Have you looked inside the UTI files to check that the PropertiesList --> 0 --> Subtype field exists? Check in both the files in the override folder and the ones in TSLPatchdata (if applicable) to be sure.
 mrdefender
01-07-2011, 1:53 PM
#6
ARGH!!! I found it. You were right. It's in the uti. I looked at my 1.9 utis and found that the template names and refs were "wristconsole" for both and in my new mod its 2 different things and they don't match the labels in the patcher!

ARGH! lol.

Don't you love computers? You forget to add a ; and the whole thing goes bonkers lol.

Thanks all :) Now the only error I get is a missing item buts thats just because I haven't gotten around to actually making it yet lol.

Thanks again! It's gonna work now I'm 99.9% sure (im not done yet so who knows, I might forget to dot an i somewhere)
 Barf Vader
01-14-2011, 6:31 AM
#7
Hi, I can't get TSL patcher to work either. I've read your troubleshooting guide Stoffe, at http://www.lucasforums.com/showthread.php?p=1822326#post1822326), but it doesn't help me. My dialog.tlk file isn't write protected and I specifically chose my swkotor folder (where the dialog.tlk file is installed) but it still gives me an error message: "No valid game folder selected! Installation aborted! (GEN-6)". I have the Steam version and I always choose C:\Program\Valve\Steam\SteamApps\common\swkotor\ when it asks for a folder, but to no good even though it is the bloody folder where I have the game installed and where my dialog.tlk file is. What do I have to do to make it work? Luckily, not every mod uses it.
 Bob Ta'aar
01-14-2011, 6:41 AM
#8
Could it be that your installation is broken (something in the registry)? Might help to reinstall kotor completely (I know that can suck, if you have all kinds of mods installed).

Or does the Patcher work at all with the Steam-version? I have no idea, never met anybody using that one.

Just wild guesses ...
 stoffe
01-14-2011, 7:04 AM
#9
but it still gives me an error message: "No valid game folder selected! Installation aborted! (GEN-6)". I have the Steam version and I always choose C:\Program\Valve\Steam\SteamApps\common\swkotor\ when it asks for a folder.

That's weird. The only way you can get a "GEN-6" error is if either no folder is selected at all, or the selected folder does not exist. Those are the only error conditions for that particular exception. :raise:


if (l_installpath = '') or not DirectoryExists(l_installpath) then
raise EAbort.CreateHelp(LS_EXC_FHNODESTSELECTED, 6);


Is the mod installer set to read the location of the game from the registry, or to prompt the user to manually select it?
 Barf Vader
01-15-2011, 6:38 PM
#10
That's weird. The only way you can get a "GEN-6" error is if either no folder is selected at all, or the selected folder does not exist. Those are the only error conditions for that particular exception. :raise:


if (l_installpath = '') or not DirectoryExists(l_installpath) then
raise EAbort.CreateHelp(LS_EXC_FHNODESTSELECTED, 6);


Is the mod installer set to read the location of the game from the registry, or to prompt the user to manually select it?

Actually, it works now. I don't know why it didn't work before, but probably because of some small idiotic thing that I neglected to do. Isn't it wonderful when things work, instead of doing their best to piss you off?
Page: 1 of 1