Jump to content


Photo

NTotSC - TOOLTIP.2DA


  • Please log in to reply
5 replies to this topic

#1 Leomar

Leomar
  • Member
  • 1720 posts

Posted 16 January 2010 - 07:36 AM

I can't install NTotSC.

SETUP-NTOTSC.DEBUG
Dealing with TOOLTIP.2DA ...
Copying and patching 1 file ...
ERROR: cannot convert %test% or %%test%% to an integer
ERROR: [TOOLTIP.2DA] -> [override] Patching Failed (COPY) (Failure("int_of_string"))
Stopping installation because of error.

I think it has to do with the SET_2DA_ENTRY problem, which I had with "Check the Bodies".
I reported it here: http://www.shsforums...-set-2da-entry/

I'll follow up at the CtB thread.

WeiDU.log
// 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 [ : Version]
~TP/SETUP-TP.TP2~ #0 #0 // MKs BG2 Textpatch Revised: v3.3
~SETUP-A6XPPATCH.TP2~ #1 #0 // Erfahrungspunkte korrekt anzeigen (EXE Patch): 2
~SETUP-A6XPPATCH.TP2~ #1 #1 // Entferne 110% Massstaebe von manchen Erfahrungspunkten (EXE Patch): 2
~SETUP-A6CHARMPATCH.TP2~ #1 #0 // Konversation mit bezauberten/beherrschten Kreaturen ermoeglichen (EXE Patch): 3
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #0 // BG2 Fehlerbehebungen (Hauptteil): v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #3 // BG2 BETA Fehlerbehebungen (Hauptteil)   (schaut bitte in die Liesmich Datei!): v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #100 // Gruppe bekommt XP, wenn sie Keldorn zu Maria schickt: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #101 // Verbesserte Zauber-Animationen: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #102 // Cromwell braucht zum Schmieden wirklich einen Tag: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #103 // Unterschiedliche Benutzung des Dolches beheben: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #104 // Ghreyfains Heiliges Symbol beheben: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #106 // Riesen erhalten Abzuege, wenn sie Halblinge, Zwerge und  Gnome angreifen: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #107 // Entfernt Mehrklassen-Beschraenkung von Bogenschuetzen/ Pirschern: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #108 // Entfernt den 2. Bonus fuer den boesen Weg bei den Pruefungen der Hoelle: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #109 // Korrigiertes Verhalten beschworener Daemonen: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #110 // Zusaetzliche Korrekturen der Skripte: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #111 // Berichtigte Bardenlieder: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #112 // Magierkiller verursachen "Magie fehlwirken" im Fernkampf: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #113 // Zusaetzliche Gesinnungen korrigieren: v8 BWP Fix
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #3 #114 // Handlungsfreiheit zu Schutz vor Betaeubung aendern: v8 BWP Fix
~SETUP-TDD.TP2~ #3 #0 // Der Dunkelste Tag, v1.12: v1.12 BWP Fix
~SETUP-SOS.TP2~ #2 #0 // Shadows Over Soubar: 1.13
~SETUP-CTB.TP2~ #4 #0 // Check The Bodies: 1.12
~SETUP-CTB-CHORES.TP2~ #4 #0 // Candlekeep Chores: 2.2
~SETUP-CTB_FF.TP2~ #4 #0 // Check the Bodies Fast Forward, v1.1 (for CtB v1.8 or later)
~TETHYRFORESTPATCH/SETUP-TETHYRFORESTPATCH.TP2~ #0 #0 // Tethyr Forest Patch: 3b
~SETUP-BGT.TP2~ #4 #0 // Baldur's Gate Trilogie - Hauptteil: 1.08 (31 Dec 09)
~TP/SETUP-TP.TP2~ #0 #1 // Namenanpassungen (wenn Ihr BGT installieren wollt, installiert diese Komponente danach): v3.3
~SETUP-BGT-NPCSOUND.TP2~ #0 #0 // Baldurs Gate Trilogie NPC Sound
~TXTMUSIC/TXTMUSIC.TP2~ #3 #0 // Wiederhergestellte Musik bei den Textbildschirmen fuer BG1TuTu, EasyTutu und BGT-WeiDU
~ITEM_REV/ITEM_REV.TP2~ #0 #0 // Item Revisions by Demivrgvs: v2 (Hotfix 20091009)
~ITEM_REV/ITEM_REV.TP2~ #0 #1 // Masterwork Weapons: v2 (Hotfix 20091009)
~1PP/1PP.TP2~ #1 #1 // One Pixel Productions: Neue Trank Grafiken (2): v2.8
~1PP/1PP.TP2~ #1 #3 // One Pixel Productions: Flammende Kurzschwerter (4): v2.8
~1PP/1PP.TP2~ #1 #10 // One Pixel Productions: Farbige Kampfstaebe (11): v2.8
~SETUP-DSOTSC.TP2~ #2 #0 // DSotSC für BGT-Weidu: v215
~SETUP-DSOTSC.TP2~ #2 #100 // Dark Side Interparty Banter: v215
~SETUP-DSOTSC.TP2~ #2 #220 // Extended NPC Soundsets -> BG2 soundsets dominate: v215
~SETUP-DSOTSC.TP2~ #2 #400 // Alternate Bardo Portrait: v215
~SETUP-DSOTSC.TP2~ #2 #410 // Alternate Bub Snikt Portrait: v215
~SETUP-DSOTSC.TP2~ #2 #420 // Alternate Conchobhair Portrait: v215
~SETUP-DSOTSC.TP2~ #2 #430 // Alternate CuChoinneach Portrait: v215
~SETUP-DSOTSC.TP2~ #2 #440 // Alternate Ferthgil Portrait: v215
~SETUP-DSOTSC.TP2~ #2 #450 // Alternate Jet'laya Portrait: v215
~SETUP-DSOTSC.TP2~ #2 #460 // Alternate Keiria Portrait: v215
~SETUP-DSOTSC.TP2~ #2 #470 // Alternate Skeezer Portrait: v215
~SETUP-DSOTSC.TP2~ #2 #480 // Alternate Thorfinn Portrait: v215

Greetings Leomar
A Megamod does not mean that you can play all of the mods or all of their content,
but you have more choices or paths through the game.
- Chevalier

BiG World Project - Big Baldur's Gate World

#2 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 25 March 2010 - 01:28 PM

Follow up:


The malformed tooltip.2da is fixed at least with TDD and CtB datestamp 3-25-2010. This does not mean that RoT or SoS or even BP can mess things up but I really think it was TDD and CTB with their extension of columns.

May be something to check out with other quest mods that may have used the same/similar coding as this.

Code block by Miloch added to TDD and CtB after all Tooltip.2da changes are made by each mod.

http://www.shsforums...post__p__482806

This may or may not affect DS, NT or Bonehill as I am pretty sure they don't append columns. If they do add the 0 column over the item codes (ex. WAND05), thus shifting the string refs and spell icons in the backpack icon to be mismatched, then this block can be added after all tooltip patching to restore.

Please disregard the fix for DS, NT and Bonehill if this does not apply. :)

Edited by Hoppy, 25 March 2010 - 01:29 PM.

?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again."
- King Diamond


Posted Image The Definitive Guide to Trolls

"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant

#3 Turambar

Turambar
  • Modder
  • 935 posts

Posted 29 June 2010 - 08:55 AM

I can't install NTotSC.

SETUP-NTOTSC.DEBUG

Dealing with TOOLTIP.2DA ...
Copying and patching 1 file ...
ERROR: cannot convert %test% or %%test%% to an integer
ERROR: [TOOLTIP.2DA] -> [override] Patching Failed (COPY) (Failure("int_of_string"))
Stopping installation because of error.

I think it has to do with the SET_2DA_ENTRY problem, which I had with "Check the Bodies".
I reported it here: http://www.shsforums...-set-2da-entry/

I'll follow up at the CtB thread.

WeiDU.log
...
Greetings Leomar


My NToTSC installation went all right, but I got exactly the same error when I tired to install BP afterwards.

The only way I found to install the mod anyway was to comment the "copy tooltip.2da" and following lines (so that the mod didn't patch that file), but it's not the best way to solve the issue...

Edited by Turambar, 29 June 2010 - 08:56 AM.

Turambar

Currently supporting: DSotSC for BGT, NTotSC - forum

Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!

 

Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)

 


vipersig.jpg


#4 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 29 June 2010 - 09:25 AM

The only way I found to install the mod anyway was to comment the "copy tooltip.2da" and following lines (so that the mod didn't patch that file), but it's not the best way to solve the issue...

Actually it probably is because if the NTotSC does get installed even after the commenting out of the COPY code, then the overwrite is unneeded...

What one could do is to --change-log the "tooltip.2da" -file and then make a diff of the files in the install(yes this is modmaker slang)... and perhaps then use the APPEND command to enhance the "tooltip.2da" and use then use UNLESS to prevent the patch if it's not needed.

Deactivated account. The user today is known as The Imp.


#5 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 29 June 2010 - 06:33 PM

Judging from the error, there is a 'test' variable not getting set, but it probably doesn't need it either (I think the TDD code deleted it, since it was only used to format columns). So if all these megamods swiped the same code from each other in the first place (which seems to be the case) then it makes sense for them all to use the updated code (what Hoppy linked).

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#6 Turambar

Turambar
  • Modder
  • 935 posts

Posted 09 July 2010 - 03:11 AM

Judging from the error, there is a 'test' variable not getting set, but it probably doesn't need it either (I think the TDD code deleted it, since it was only used to format columns). So if all these megamods swiped the same code from each other in the first place (which seems to be the case) then it makes sense for them all to use the updated code (what Hoppy linked).


This is the part of the tp2 which has to do with tooltip.2da

// Dealing with TOOLTIP.2DA **********************************************
APPEND ~TOOLTIP.2DA~ ~HELMLIFE          k96738        k96740       25765kkkkkk~
APPEND ~TOOLTIP.2DA~ ~SHADLNTH          k99780        -1          -1kkkkkk~
APPEND ~TOOLTIP.2DA~ ~BUCK02            6347         12028       -1kkkkkk~

COPY_EXISTING ~TOOLTIP.2DA~ ~override~
 SET required_columns = 10
 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%"^" -1"
  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

 REPLACE_TEXTUALLY ~kkkkkk~ ~"%str_add%"~
 REPLACE ~k96738~ ~Life Protection~
 REPLACE ~k96740~ ~Chaotic Commander~
 REPLACE ~k99780~ ~Summon Shadows~

 // Now remove added "0" header:
 READ_2DA_ENTRY 0 0 4 "test"
 PATCH_IF( "%test%"=0 ) BEGIN
 SET_2DA_ENTRY 0 0 4 ""
END
//////Fixes it; now it matches the in-game description
BUT_ONLY_IF_IT_CHANGES
//**********************************************************************

I've tried to add that bit on top, but it still doesn't work.

My tooltip.2da doesn't look messed up.
Where and what should I add/change?

Turambar

Currently supporting: DSotSC for BGT, NTotSC - forum

Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!

 

Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)

 


vipersig.jpg