Jump to content


Photo

RoT-WeiDU TP2 corrections


  • Please log in to reply
3 replies to this topic

#1 King Diamond

King Diamond

    Give Me Your Soul...Please

  • Modder
  • 1430 posts

Posted 31 May 2006 - 11:27 PM

This is NOT critical.

Plz open TP2 in some text editor and correct corresponding items' patching:
COPY ~RoTerror/itm/BLADEHA1.itm~  ~override~
  SAY NAME2 @1014
  SAY DESC @1015

COPY ~RoTerror/itm/BLADEPA1.itm~  ~override~
  SAY NAME2 @1016
  SAY DESC @1017

COPY ~RoTerror/itm/BLADESO1.itm~  ~override~
  SAY NAME2 @1018
  SAY DESC @1019

Without that their descriptions will contain some incorrect elements.

(last update: 02-12-2008)
----------------------------------------------
SoS, v1.13
TDD, v1.12
TS-BP, v6.10
CtB, v1.11
RoT, v2.1
----------------------------------------------
BP Animations Scheme


#2 Lady Akhila

Lady Akhila
  • Member
  • 5 posts

Posted 07 June 2006 - 01:31 PM

I changed the Setup-RoT.[/color]tp2 by deleting the lines with the description and adding "@1015" etc as in the instructions and I ended up with a PARSE ERROR and could not install.  Let me see if I can post what i did...

Changed:  I deleted the highlighted description.
COPY ~RoTerror/itm/BLADEHA1.itm~  ~override~
  SAY NAME2 @1014
  SAY DESC ~This sword is the personal weapon of @500. It inflicts crushing damage on enemies, but nothing more is known of it.

Added: And added the highlighted description here.
COPY ~RoTerror/itm/BLADEHA1.itm~  ~override~
  SAY NAME2 @1014
  SAY DESC @1015

I did all three of the descriptions this way.  Also, I tried copying the RoT.tp2 to my desktop and changing it there, then copying and overwriting the file in my BGII directory, and I ended up with this error when I tried to install:

[SETUP-ROT.TP2] PARSE ERROR at line 6745 column 11-11
Near Text: :
             syntax error

[SETUP-ROT.TP2]  ERROR at line 6745 column 11-11
Near Text: :
             Parsing.Parse_error
ERROR: parsing [SETUP-ROT.TP2]: Parsing.Parse_error
ERROR: problem parsing TP file [SETUP-ROT.TP2]: Parsing.Parse_error

FATAL ERROR: Parsing.Parse_error

Press ENTER to exit.

If I don't make the changes it seems to install just fine.  Anyway I guess i'll post my WeiDu log!  
If anyone could tell me what I did wrong I would much appreciate it!  And, yes, I read that this isn't a necessary fix, but if I like to avoid incorrect descriptions if possible.

// Log of Currently Installed WeiDU Mods
// The top of the file is the 'oldest' mod
// ~TP2_File~ #language_number #component_number // [Subcomponent Name -> ] Component Name
~SETUP-BD-TOB.TP2~ #0 #0 // Baldurdash Fix Pack for ToB, v1.5 WeiDU
~SETUP-BD-TOB.TP2~ #0 #1 // Textupdatepack -> Baldurdash English Text Update Pack for ToB, v1.4 WeiDU
~SETUP-APACK.TP2~ #0 #0 // Dual Wielding fix and Rogue Shop
~SETUP-APACK.TP2~ #0 #1 // Thief kit & HLA revisions
~SETUP-APACK.TP2~ #0 #2 // Bard kit & HLA revisions
~SETUP-APACK.TP2~ #0 #3 // Chosen of Cyric Encounter
~SETUP-APACK.TP2~ #0 #4 // Shadow Thief Improvements
~SETUP-APACK.TP2~ #0 #5 // Elven Charm/Sleep resistance fix
~SETUP-Z#MISC.TP2~ #0 #1 // Improved Statue of Riddles
~SETUP-Z#MISC.TP2~ #0 #2 // Transfer Yoshimo's XP to either Imoen or the Party
~SETUP-Z#MISC.TP2~ #0 #7 // Remove Alignment Restrictions for all Items
~SETUP-Z#MISC.TP2~ #0 #16 // Uberweapon - for Testing Purposes
~SETUP-Z#MISC.TP2~ #0 #17 // Expanded Spell Progression for Rangers
~SETUP-Z#MISC.TP2~ #0 #18 // Expanded Spell Progression for Bards
~SETUP-NEJ2BIFFER.TP2~ #0 #0 // Biffing NeJv4.2 files. Run this INSTEAD OF Setup-NeJ2.exe!                      Run Setup-NeJ2.exe FIRST to uninstall!
~SETUP-NEJ2.TP2~ #0 #0 // Never Ending Journey v4.2 - Part 1
~SETUP-NEJ2.TP2~ #0 #1 // Continuous and Custom Kit Imoen
~SETUP-NEJ2.TP2~ #0 #2 // Priest of Sylvanus (Druid) Kit and Improved Character Jaheira.
~SETUP-NEJ2.TP2~ #0 #3 // Boo - Minsc?s Familiar
~SETUP-NEJ2.TP2~ #0 #4 // Improved Nymph (Woodland Being) Script by Goeran Rimen
~SETUP-NEJ2.TP2~ #0 #5 // Restored Twisted Rune Quest
~SETUP-NEJ2.TP2~ #0 #6 // Dual Wielding Fix for Rogues by aVENGER
~SETUP-NEJ2.TP2~ #0 #7 // Never Ending Journey v4.2 - Part 2
~SETUP-NEJ2.TP2~ #0 #8 // Melora NPC - Chaotic-Neutral Halfling Swashbuckler
~SETUP-NEJ2.TP2~ #0 #9 // Leina NPC - True-Neutral Half-Elf Bard Of Melody
~SETUP-NEJ2.TP2~ #0 #10 // Areas & Sounds
~SETUP-NEJGUI.TP2~ #0 #0 // GUI registrar for Never Ending Journey
~SETUP-NEJ2V602.TP2~ #0 #0 // Never Ending Journey v6.02 (cummulative patch)
~SETUP-NEJ2V602.TP2~ #0 #2 // Animations Compatibility Fix for "Tortured Souls"
~SETUP-SOS.TP2~ #0 #0 // Shadows Over Soubar, v1.11
~SETUP-SOS.TP2~ #0 #1 // Remorhaz walking speed adjustment (for ENGLISH version .EXE ONLY!!!)
~SETUP-TDD.TP2~ #0 #0 // The Darkest Day,  v1.11
~SETUP-CTB.TP2~ #0 #0 // Check The Bodies, v1.8
~SETUP-CTB-CHORES.TP2~ #0 #0 // Candlekeep Chores, v2.0
~SETUP-TS-BP.TP2~ #0 #0 // TORTURED SOULS v6.04.02 (BP Compatible Version)

I apologize for the absurdly large post, but when I tried to attach my WeiDu.txt it said files with that extension were not permitted....

#3 erebusant

erebusant

    It takes a village...

  • Modder
  • 2109 posts

Posted 07 June 2006 - 02:14 PM

I changed the Setup-RoT.[/color]tp2 by deleting the lines with the description and adding "@1015" etc as in the instructions and I ended up with a PARSE ERROR and could not install. Let me see if I can post what i did...

Changed: I deleted the highlighted description.
COPY ~RoTerror/itm/BLADEHA1.itm~ ~override~
SAY NAME2 @1014
SAY DESC ~This sword is the personal weapon of @500. It inflicts crushing damage on enemies, but nothing more is known of it.

Added: And added the highlighted description here.
COPY ~RoTerror/itm/BLADEHA1.itm~ ~override~
SAY NAME2 @1014
SAY DESC @1015

I did all three of the descriptions this way. Also, I tried copying the RoT.tp2 to my desktop and changing it there, then copying and overwriting the file in my BGII directory, and I ended up with this error when I tried to install:

[SETUP-ROT.TP2] PARSE ERROR at line 6745 column 11-11
Near Text: :
syntax error

[SETUP-ROT.TP2] ERROR at line 6745 column 11-11
Near Text: :
Parsing.Parse_error
ERROR: parsing [SETUP-ROT.TP2]: Parsing.Parse_error
ERROR: problem parsing TP file [SETUP-ROT.TP2]: Parsing.Parse_error

FATAL ERROR: Parsing.Parse_error

Press ENTER to exit.

If I don't make the changes it seems to install just fine. Anyway I guess i'll post my WeiDu log!
If anyone could tell me what I did wrong I would much appreciate it! And, yes, I read that this isn't a necessary fix, but if I like to avoid incorrect descriptions if possible.

// Log of Currently Installed WeiDU Mods
// The top of the file is the 'oldest' mod
// ~TP2_File~ #language_number #component_number // [Subcomponent Name -> ] Component Name
~SETUP-BD-TOB.TP2~ #0 #0 // Baldurdash Fix Pack for ToB, v1.5 WeiDU
~SETUP-BD-TOB.TP2~ #0 #1 // Textupdatepack -> Baldurdash English Text Update Pack for ToB, v1.4 WeiDU
~SETUP-APACK.TP2~ #0 #0 // Dual Wielding fix and Rogue Shop
~SETUP-APACK.TP2~ #0 #1 // Thief kit & HLA revisions
~SETUP-APACK.TP2~ #0 #2 // Bard kit & HLA revisions
~SETUP-APACK.TP2~ #0 #3 // Chosen of Cyric Encounter
~SETUP-APACK.TP2~ #0 #4 // Shadow Thief Improvements
~SETUP-APACK.TP2~ #0 #5 // Elven Charm/Sleep resistance fix
~SETUP-Z#MISC.TP2~ #0 #1 // Improved Statue of Riddles
~SETUP-Z#MISC.TP2~ #0 #2 // Transfer Yoshimo's XP to either Imoen or the Party
~SETUP-Z#MISC.TP2~ #0 #7 // Remove Alignment Restrictions for all Items
~SETUP-Z#MISC.TP2~ #0 #16 // Uberweapon - for Testing Purposes
~SETUP-Z#MISC.TP2~ #0 #17 // Expanded Spell Progression for Rangers
~SETUP-Z#MISC.TP2~ #0 #18 // Expanded Spell Progression for Bards
~SETUP-NEJ2BIFFER.TP2~ #0 #0 // Biffing NeJv4.2 files. Run this INSTEAD OF Setup-NeJ2.exe! Run Setup-NeJ2.exe FIRST to uninstall!
~SETUP-NEJ2.TP2~ #0 #0 // Never Ending Journey v4.2 - Part 1
~SETUP-NEJ2.TP2~ #0 #1 // Continuous and Custom Kit Imoen
~SETUP-NEJ2.TP2~ #0 #2 // Priest of Sylvanus (Druid) Kit and Improved Character Jaheira.
~SETUP-NEJ2.TP2~ #0 #3 // Boo - Minsc?s Familiar
~SETUP-NEJ2.TP2~ #0 #4 // Improved Nymph (Woodland Being) Script by Goeran Rimen
~SETUP-NEJ2.TP2~ #0 #5 // Restored Twisted Rune Quest
~SETUP-NEJ2.TP2~ #0 #6 // Dual Wielding Fix for Rogues by aVENGER
~SETUP-NEJ2.TP2~ #0 #7 // Never Ending Journey v4.2 - Part 2
~SETUP-NEJ2.TP2~ #0 #8 // Melora NPC - Chaotic-Neutral Halfling Swashbuckler
~SETUP-NEJ2.TP2~ #0 #9 // Leina NPC - True-Neutral Half-Elf Bard Of Melody
~SETUP-NEJ2.TP2~ #0 #10 // Areas & Sounds
~SETUP-NEJGUI.TP2~ #0 #0 // GUI registrar for Never Ending Journey
~SETUP-NEJ2V602.TP2~ #0 #0 // Never Ending Journey v6.02 (cummulative patch)
~SETUP-NEJ2V602.TP2~ #0 #2 // Animations Compatibility Fix for "Tortured Souls"
~SETUP-SOS.TP2~ #0 #0 // Shadows Over Soubar, v1.11
~SETUP-SOS.TP2~ #0 #1 // Remorhaz walking speed adjustment (for ENGLISH version .EXE ONLY!!!)
~SETUP-TDD.TP2~ #0 #0 // The Darkest Day, v1.11
~SETUP-CTB.TP2~ #0 #0 // Check The Bodies, v1.8
~SETUP-CTB-CHORES.TP2~ #0 #0 // Candlekeep Chores, v2.0
~SETUP-TS-BP.TP2~ #0 #0 // TORTURED SOULS v6.04.02 (BP Compatible Version)

I apologize for the absurdly large post, but when I tried to attach my WeiDu.txt it said files with that extension were not permitted....


I had the same thing with the parse error issue, so I just re-extracted and it loaded fine as well.

It takes a village...


#4 Azazello

Azazello

    The Anti-Spammer

  • Staff
  • 1912 posts

Posted 08 October 2006 - 08:31 AM

I discovered a conflict with the way aPack (Rogue ReBalancing Pack) and RoT modify TOOLTIP.2DA.

If installed together there occurs a mis-alignment of the table. This is not a game-breaker, nor is it an install-breaker, but it may cause some gameplay problems. I reached Chapter 5 with only apparent trouble was that thrown weapons had their 'melee/thrown' mouse-over text in the reverse order.

This change must be made in the aPack TP2.

Ideally, aPack should be installed before any mod that modifies TOOLTIP.2DA, as this fix will structure the table into a standardize format.

Change this:
COPY_EXISTING	 ~TOOLTIP.2DA~			   ~override/TOOLTIP.2DA~
REPLACE_TEXTUALLY ~				  1			2		   3~  ~				  1			2		   3		   4~
REPLACE_TEXTUALLY ~BRDFLUTE	  12025		23791	   25958~ ~BRDFLUTE	  12025		23791	   25958	   64209~  UNLESS ~64209~ // Spirit Warrior

to this:
//********* expand TOOLTIP.2DA to required_columns - in order to update BRDFLUTE entry ************
//********* Shamelessly copied from 'Reign of Terror' mod ************

COPY_EXISTING	 ~TOOLTIP.2DA~			   ~override/TOOLTIP.2DA~

//********* input parameter ************
 SET required_columns = 4
//**************************************
 SET rows=2
 SET rows_prev=0
 SET col_cnt=0
 WHILE "%rows%">1 BEGIN
   col_cnt = col_cnt + 1
   rows_prev = rows
   COUNT_2DA_ROWS col_cnt rows
 END
 col_cnt = col_cnt - 1
 SET ccc = col_cnt - 1

 PATCH_IF 1 BEGIN
   SPRINT str_add ""
   SPRINT str ~%ccc%~
   FOR(cnt="%col_cnt%"; cnt<="%required_columns%"; cnt+=1) BEGIN
	 SPRINT str "%str%"^"		  %cnt%"
	 SPRINT str_add "%str_add%"^"		 -1kkkkkk"
   END

   READ_2DA_ENTRY 0 0 3 "test"
   PATCH_IF( "%test%"=1 ) BEGIN
	 SET_2DA_ENTRY 0 0 3 "0				  1"
   END

   PATCH_IF("%ccc%"<"%required_columns%") BEGIN
	 SET_2DA_ENTRY 0 ccc ccc "%str%"

	 FOR(j=1; j<="%rows_prev%"; j+=1) BEGIN
	   READ_2DA_ENTRY j ccc col_cnt "last"
	   SPRINT str "%last%"^"%str_add%"
	   SET_2DA_ENTRY j ccc col_cnt "%str%"
	 END
   END
 END
BUT_ONLY_IF_IT_CHANGES

COPY_EXISTING	 ~TOOLTIP.2DA~			   ~override/TOOLTIP.2DA~
REPLACE_TEXTUALLY ~BRDFLUTE	  12025		23791	   25958		 -1kkkkkk~ ~BRDFLUTE	  12025		23791	   25958	   64209~

COPY_EXISTING ~TOOLTIP.2DA~ ~override~
 //******** number of items in appended rows ***
 SET present_cols = 5
 //*********************************************
 SET rows=2
 SET rows_prev=0
 SET col_cnt=0
 WHILE "%rows%">1 BEGIN
   col_cnt = col_cnt + 1
   rows_prev = rows
   COUNT_2DA_ROWS col_cnt rows
 END
 col_cnt = col_cnt - 1
 SET ccc = col_cnt - 1

 SPRINT str_add ""
 FOR(cnt="%present_cols%"; cnt<"%col_cnt%"; cnt+=1) BEGIN
   SPRINT str_add "%str_add%"^"		 -1"
 END
 REPLACE_TEXTUALLY ~kkkkkk~ "%str_add%"

//********* END OF Shamelessly copy from 'Reign of Terror' mod ************


Definitely works in a non-MegaInstall build. YMMV for a MegaInstall.

Edited by Azazello, 08 October 2006 - 08:33 AM.

"I gladly simp for jastey" -- Aza
==========================================================
"You ever notice that "What the hell?!" is the answer to just about everything?"
==========================================================

"Girls are like phones, they like to be held and talked too, but if you press the wrong button, you will be disconnected!" DJ Nikodemus
================================================================
Community Contributions
* Level 1 NPCs * gMinion: expanded TP2 for MegaInstalls * PSM (PSQM): expanded scripts for Melanthium * Shar Nadal (DSotSC-BGT) revision * non-detectable Cloak of Non-Detection ?? * Weimer's-Tactics: revised TP2 for MegaInstalls * a directory of Mega-Installation Guides *