Jump to content

Home

TSL Patcher Anomaly


Eagle Racer

Recommended Posts

Ok, I'm working on a mod and I've been using TSL patcher to speed up editing UTI files, and it's been working great so far. A few typos here and there on my part... I've been running the program and generating the files I need to a place other than my game directory and it's worked just fine. Everything in the changes.ini file and file names are all correct, and my install directory has the dialog.tlk file in it. The install runs through fine, no errors, but when it hits a certain point and it's jumping back, but doesn't seem to be editing files thought it says it is, and skips the files it should be editing at that point in the code then after 3 occurrences of this it continues as normal.

 

Here are excerpts from the changes.ini

 

[settings]

FileExists=1

ConfirmMessage=N/A

LogLevel=3

InstallerMode=1

BackupFiles=1

PlaintextLog=0

LookupGameFolder=0

LookupGameNumber=2

SaveProcessedScripts=1

 

...

File148=g_w_dblsty038.uti

File149=g_w_lghtsty038.uti

File150=g_w_shortsty038.uti

File151=u_stycrstl_038.uti

File152=g_w_dblsty039.uti

File153=g_w_lghtsty039.uti

File154=g_w_shortsty039.uti

File155=u_stycrstl_039.uti

File156=g_w_dblsty040.uti

File157=g_w_lghtsty040.uti

File158=g_w_shortsty040.uti

File159=u_stycrstl_040.uti

...

 

[g_w_dblsty038.uti]

BaseItem=153

Comment=Blue Green

LocalizedName(lang0)=038 Blue Green Double-Bladed Assassin's Blade

ModelVariation=38

Tag=G_W_DBLsty038

TemplateResRef=g_w_dblsty038

[g_w_lghtsty038.uti]

BaseItem=154

Comment=Blue Green

LocalizedName(lang0)=038 Blue Green Assassin's Blade

ModelVariation=38

Tag=G_W_LGHTsty038

TemplateResRef=g_w_lghtsty038

[g_w_shortsty038.uti]

BaseItem=155

Comment=Blue Green

LocalizedName(lang0)=038 Blue Green Short Assassin's Blade

ModelVariation=38

Tag=g_w_shortsty038

TemplateResRef=g_w_shortsty038

[u_stycrstl_038.uti]

BaseItem=156

LocalizedName(lang0)={color 038}Stygium Crystal, Blue Green

ModelVariation=38

Tag=u_stycrstl_038

TemplateResRef=u_stycrstl_038

 

[g_w_dblsty039.uti]

BaseItem=153

Comment=Bright Pink

LocalizedName(lang0)=039 Bright Pink Double-Bladed Assassin's Blade

ModelVariation=39

Tag=G_W_DBLsty039

TemplateResRef=g_w_dblsty039

[g_w_lghtsty039.uti]

BaseItem=154

Comment=Bright Pink

LocalizedName(lang0)=039 Bright Pink Assassin's Blade

ModelVariation=39

Tag=G_W_LGHTsty039

TemplateResRef=g_w_lghtsty039

[g_w_shortsty039.uti]

BaseItem=155

Comment=Bright Pink

LocalizedName(lang0)=039 Bright Pink Short Assassin's Blade

ModelVariation=39

Tag=g_w_shortsty039

TemplateResRef=g_w_shortsty039

[u_stycrstl_039.uti]

BaseItem=156

LocalizedName(lang0)={color 039}Stygium Crystal, Bright Pink

ModelVariation=39

Tag=u_stycrstl_039

TemplateResRef=u_stycrstl_039

 

[g_w_dblsty040.uti]

BaseItem=153

Comment=Copper

LocalizedName(lang0)=040 Copper Double-Bladed Assassin's Blade

ModelVariation=40

Tag=G_W_DBLsty040

TemplateResRef=g_w_dblsty040

[g_w_lghtsty040.uti]

BaseItem=154

Comment=Copper

LocalizedName(lang0)=040 Copper Assassin's Blade

ModelVariation=40

Tag=G_W_LGHTsty040

TemplateResRef=g_w_lghtsty040

[g_w_shortsty040.uti]

BaseItem=155

Comment=Copper

LocalizedName(lang0)=040 Copper Short Assassin's Blade

ModelVariation=040

Tag=g_w_shortsty040

TemplateResRef=g_w_shortsty040

[u_stycrstl_040.uti]

BaseItem=156

LocalizedName(lang0)={color 040}Stygium Crystal, Copper

ModelVariation=40

Tag=u_stycrstl_040

TemplateResRef=u_stycrstl_040

 

Here is what's it's doing according to the installog.rtf

 

• Copying file g_w_dblsty028.uti to Override folder...

• Modifying GFF file g_w_dblsty028.uti...

• Finished updating GFF file "g_w_dblsty028.uti"...

• Copying file g_w_lghtsty028.uti to Override folder...

• Modifying GFF file g_w_lghtsty028.uti...

• Finished updating GFF file "g_w_lghtsty028.uti"...

• Copying file g_w_shortsty028.uti to Override folder...

• Modifying GFF file g_w_shortsty028.uti...

• Finished updating GFF file "g_w_shortsty028.uti"...

• Copying file u_stycrstl_028.uti to Override folder...

• Modifying GFF file u_stycrstl_028.uti...

• Finished updating GFF file "u_stycrstl_028.uti"...

• Copying file g_w_dblsty029.uti to Override folder...

• Modifying GFF file g_w_dblsty029.uti...

• Finished updating GFF file "g_w_dblsty029.uti"...

• Copying file g_w_lghtsty029.uti to Override folder...

• Modifying GFF file g_w_lghtsty029.uti...

• Finished updating GFF file "g_w_lghtsty029.uti"...

• Copying file g_w_shortsty029.uti to Override folder...

• Modifying GFF file g_w_shortsty029.uti...

• Finished updating GFF file "g_w_shortsty029.uti"...

• Copying file u_stycrstl_029.uti to Override folder...

• Modifying GFF file u_stycrstl_029.uti...

• Finished updating GFF file "u_stycrstl_029.uti"...

• Copying file g_w_dblsty030.uti to Override folder...

• Modifying GFF file g_w_dblsty030.uti...

• Finished updating GFF file "g_w_dblsty030.uti"...

• Copying file g_w_lghtsty030.uti to Override folder...

• Modifying GFF file g_w_lghtsty030.uti...

• Finished updating GFF file "g_w_lghtsty030.uti"...

...

 

• Copying file g_w_dblsty039.uti to Override folder...

• Modifying GFF file g_w_dblsty039.uti...

• Finished updating GFF file "g_w_dblsty039.uti"...

• Modifying file "g_w_lghtsty028.uti" found in Override folder...

• Modifying GFF file g_w_lghtsty028.uti...

• Finished updating GFF file "g_w_lghtsty028.uti"...

• Modifying file "g_w_shortsty028.uti" found in Override folder...

• Modifying GFF file g_w_shortsty028.uti...

• Finished updating GFF file "g_w_shortsty028.uti"...

• Modifying file "u_stycrstl_028.uti" found in Override folder...

• Modifying GFF file u_stycrstl_028.uti...

• Finished updating GFF file "u_stycrstl_028.uti"...

• Modifying file "g_w_dblsty029.uti" found in Override folder...

• Modifying GFF file g_w_dblsty029.uti...

• Finished updating GFF file "g_w_dblsty029.uti"...

• Copying file g_w_lghtsty040.uti to Override folder...

• Modifying GFF file g_w_lghtsty040.uti...

• Finished updating GFF file "g_w_lghtsty040.uti"...

 

Going in and checking the UTI's that it's hitting twice, they are showing up the way they are suppose to with the first set of edits being done. The 3 "039" are not being generated in the install destination at all. I have no clue what's wrong here. This file is a copy of another file I've used and it's worked perfectly, with name changes here for the different type of saber.

Link to comment
Share on other sites

It's been a while since I've used it (almost 3 yrs now) but perhaps those entries were skipped because the files were already there? The patcher does not automatically replace existing files.

 

There used to be a replace replace function in the past if I recall well. Something like:

 

[install_folder0]

Replace0=g_w_dblsty038.uti

 

I was just checking the readme of the new version of the patcher and found the following paragraphs. it looks like it's a simple checkbox matter now (wow! thanks stoffe!) :

The TSLPatcher normally modifies GFF format files in place, rather than overwrite them, if it finds that one of the files already exists within the user's override folder. If you want existing files to be overwritten by a fresh copy from tslpatchdata before they are modified, check the Replace check box.

 

[...]

 

If you wish to replace any existing files with the same name at the specified install location, check the Replace Existing... check box. Only do this if you can be reasonably certain it won't mess up the user's game or any other mods they have installed. If this box is not checked and the file already exists, a warning will be issued in the TSLPatcher progress log and the file will be skipped.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...