Jump to content


Photo

Vanilla dialog.tlk size


  • Please log in to reply
20 replies to this topic

#1 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 29 October 2008 - 05:43 AM

Does anybody know the size of the unmodded dialog.tlk for all the games (both expanded and unexpanded)?

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#2 Steve

Steve
  • Member
  • 142 posts

Posted 29 October 2008 - 06:02 AM

According to cleanSOA/TOBbackup archives:
SOA: 7351948
TOB: 8692747

#3 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 29 October 2008 - 06:17 AM

String count, not byte size, sorry if I was unclear.

And I mean all the games:
BG1
TotSC
SoA
ToB
IWD
HoW
TotLM
IWD2
PST

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#4 Sasha Al'Therin

Sasha Al'Therin
  • Modder
  • 615 posts

Posted 30 October 2008 - 08:34 AM

String count, not byte size, sorry if I was unclear.

And I mean all the games:
BG1 -- 22186 string entries
TotSC
SoA
ToB -- 74107 string entries
IWD
HoW
TotLM -- 34502 string entries
IWD2
PST


You can get the count by opening a command/dos window and navigating to the game directory. Run any weidu command line entry of choice which accesses the dialog.tlk. Because you manually opened the command/dos window it will remain open after the weidu command has been processed unlike how it disappears when ran via bat file from windows explorer.

Another option to get the count is to install only one mod (preferably one that doesn't change the dialog.tlk file) and open the debug file. At the very top of the file is a display of the game's status when the installation started. The string count is located there as well.

The BG count is using the current beta version of weidu
The IWD + HOW + TOTLM count is using weidu 208
The BG2 + TOB count was pulled from the debug file from very first mod installed which had used weidu 208

You're lucky I had a chance to try out IWD....

My working mods:
an AI Party Script for BG2 game engine DOWNLOAD LINK ONLY!
Interactive Tweaks for BG series with some IWD support. DOWNLOAD LINK ONLY!
Rest For 8 Hours an IWD mod
-------------------------------------------
My contributions: BG1Fixpack, BG1Tweaks
On Hold: Solestia an NPC for SOA
-------------------------------------------
My website: http://sasha-altheri...s.com/index.htm


#5 -erik-

-erik-
  • Guest

Posted 30 October 2008 - 01:01 PM

SoA -- 62169 string entries
ToB -- 74107 string entries

(WeiDU (version 20704: "Polished old sluts"))

#6 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 30 October 2008 - 01:11 PM

Thanks, erik and Sasha. There's no need to report the WeiDU version (if different versions of WeiDU report different numbers of string entries, I should change career path very soon).

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#7 -erik-

-erik-
  • Guest

Posted 30 October 2008 - 02:16 PM

Never know, there could be an off-by-one lurking somewhere ;)

btw, according to my weidu here,

IWD -- 34502 string entries
HOW -- 34502 string entries
ToTLM -- 34502 string entries

... this is decidedly odd. No new dialogue in HOW or ToTLM? Repurposing of a lot of empty orphan strrefs, perhaps?

#8 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 30 October 2008 - 02:33 PM

More likely this is an user error of some kind in your backup procedure ;)

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#9 -erik-

-erik-
  • Guest

Posted 30 October 2008 - 02:57 PM

More likely this is an user error of some kind in your backup procedure ;)


Seriously, no. New, plain IWD-1.00-from-cds install, saw dialog.tlk byte size change when installing HoW, and biff/resource count change ... yet string count stayed the same according to weidu. Just retested, the weirdness stays...

:blink:

(And Sasha's ToTLM 34502 count tends to back me up, no?)

IWD:
[./chitin.key] 156 BIFFs, 15146 resources
[./dialog.tlk] 34502 string entries

HOW:
[./chitin.key] 228 BIFFs, 19013 resources
[./dialog.tlk] 34502 string entries

ToTLM:
[./chitin.key] 268 BIFFs, 19992 resources
[./dialog.tlk] 34502 string entries

#10 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 30 October 2008 - 03:06 PM

I still believe that something odd is at work here. Perhaps there's a tolower conflict here? (if you're on Linux, that is).

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#11 -erik-

-erik-
  • Guest

Posted 30 October 2008 - 03:26 PM

I can dump some dialog.tlk files in your direction, if that would help?

They all seem to end with the same entry, looking at them with a hex editor. So I'm thinking weidu is right, for some variant of right.

No duplicate dialog.tlk files with strange casing, no, if that's what you're thinking. Linux, yes. :ph34r:

knan@viconia:~$ ls -l iwd_*
-rw-r--r-- 1 knan knan 2906002 2000-06-23 00:39 iwd_100_dialog.tlk
-rw-r--r-- 1 knan knan 3289632 2001-02-07 14:41 iwd_how_140_dialog.tlk

knan@viconia:~$ hexdump iwd_100_dialog.tlk | tail
002c5710  68 61 73 20 72 65 63 65  6e 74 6c 79 20 74 72 69  |has recently tri|
002c5720  65 64 20 74 6f 20 65 6e  74 65 72 20 68 69 73 20  |ed to enter his |
002c5730  74 6f 6d 62 20 61 6e 64  20 65 78 74 69 6e 67 75  |tomb and extingu|
002c5740  69 73 68 20 74 68 65 20  77 61 72 6d 74 68 20 77  |ish the warmth w|
002c5750  69 74 68 69 6e 2e 20 4f  6e 6c 79 20 77 68 65 6e  |ithin. Only when|
002c5760  20 73 68 65 20 69 73 20  64 65 61 64 20 77 6f 75  | she is dead wou|
002c5770  6c 64 20 68 65 20 67 69  76 65 20 75 73 20 74 68  |ld he give us th|
002c5780  65 20 61 6e 73 77 65 72  20 77 65 20 73 65 65 6b  |e answer we seek|
002c5790  2e 20											 |. |
002c5792
knan@viconia:~$ hexdump iwd_how_140_dialog.tlk | tail
00323190  20 6f 66 20 41 75 72 69  6c 20 77 68 6f 20 68 61  | of Auril who ha|
003231a0  73 20 72 65 63 65 6e 74  6c 79 20 74 72 69 65 64  |s recently tried|
003231b0  20 74 6f 20 65 6e 74 65  72 20 68 69 73 20 74 6f  | to enter his to|
003231c0  6d 62 20 61 6e 64 20 65  78 74 69 6e 67 75 69 73  |mb and extinguis|
003231d0  68 20 74 68 65 20 77 61  72 6d 74 68 20 77 69 74  |h the warmth wit|
003231e0  68 69 6e 2e 20 4f 6e 6c  79 20 77 68 65 6e 20 73  |hin. Only when s|
003231f0  68 65 20 69 73 20 64 65  61 64 20 77 6f 75 6c 64  |he is dead would|
00323200  20 68 65 20 67 69 76 65  20 75 73 20 74 68 65 20  | he give us the |
00323210  61 6e 73 77 65 72 20 77  65 20 73 65 65 6b 2e 20  |answer we seek. |
00323220


#12 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 30 October 2008 - 04:18 PM

I doubt that HoF adds only 300kb worth of stuff, and IWD leaving exactly enough unused strings before the end, just in time for HoW/TotLM, doesn't make any kind of sense. It's more likely your discs are scratched or there's something else underneath.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#13 -erik-

-erik-
  • Guest

Posted 30 October 2008 - 04:46 PM

Heh. Look at your own widescreen mod forum, then. My tlks are fine. And remember how much unused remnant crap from BG1 is in those tlks... :)

("[GARRICK 33] I don't know what I did to deserve that.")

http://forums.gibber...showtopic=14924

"mod on heart of winter."
"[dialog.tlk] loaded, 3289996 bytes
[dialog.tlk] 34502 string entries"

... which matches the HoW 1.41 version I have here.

knan@viconia:~$ ls -al iwd_*
-rw-r--r-- 1 knan knan 2906002 2000-06-23 00:39 iwd_100_dialog.tlk
-rw-r--r-- 1 knan knan 3289632 2001-02-07 14:41 iwd_how_140_dialog.tlk
-rw-r--r-- 1 knan knan 3289996 2001-04-04 15:24 iwd_how_141_dialog.tlk
-rw-r--r-- 1 knan knan 3358595 2001-06-28 19:09 iwd_totlm_142_dialog.tlk

What're you going to use this info for, by the way?

#14 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 30 October 2008 - 05:02 PM

Heh. Look at your own widescreen mod forum, then. My tlks are fine. And remember how much unused remnant crap from BG1 is in those tlks... :)

("[GARRICK 33] I don't know what I did to deserve that.")

http://forums.gibber...showtopic=14924

"mod on heart of winter."
"[dialog.tlk] loaded, 3289996 bytes
[dialog.tlk] 34502 string entries"

... which matches the HoW 1.41 version I have here.

knan@viconia:~$ ls -al iwd_*
-rw-r--r-- 1 knan knan 2906002 2000-06-23 00:39 iwd_100_dialog.tlk
-rw-r--r-- 1 knan knan 3289632 2001-02-07 14:41 iwd_how_140_dialog.tlk
-rw-r--r-- 1 knan knan 3289996 2001-04-04 15:24 iwd_how_141_dialog.tlk
-rw-r--r-- 1 knan knan 3358595 2001-06-28 19:09 iwd_totlm_142_dialog.tlk

Yes yes yes, all being said and done it still doesn't make sense (where did they pull that 34502 out of? Why did they have to recycle old unused strings rather than just append new ones? What if they didn't have enough positions they could recycle? etc.).

What're you going to use this info for, by the way?

proper --automate.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#15 Sasha Al'Therin

Sasha Al'Therin
  • Modder
  • 615 posts

Posted 31 October 2008 - 04:38 AM

Yes yes yes, all being said and done it still doesn't make sense (where did they pull that 34502 out of? Why did they have to recycle old unused strings rather than just append new ones? What if they didn't have enough positions they could recycle? etc.).

Well, BG vanilla has strings that are only used in ToTSC. I believe this is because they were forced to put out a working copy of the game and so added the rest later as an expansion. Perhaps they had more time with IWD and had most if not all of the dialog in place before being made to ship what they had completed. Who knows really why the string count is the same... We can double check those numbers though.... Wouldn't hurt anything...

My working mods:
an AI Party Script for BG2 game engine DOWNLOAD LINK ONLY!
Interactive Tweaks for BG series with some IWD support. DOWNLOAD LINK ONLY!
Rest For 8 Hours an IWD mod
-------------------------------------------
My contributions: BG1Fixpack, BG1Tweaks
On Hold: Solestia an NPC for SOA
-------------------------------------------
My website: http://sasha-altheri...s.com/index.htm


#16 Isaya

Isaya
  • Modder
  • 294 posts

Posted 31 October 2008 - 10:09 AM

Here are a few others :

BG + TotSC: 24124
IWD2: 41422
PST: 106497

#17 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 31 October 2008 - 10:19 AM

Thanks, this should be all of them (barring further discoveries regarding IWD1/HoW/TotLM).

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#18 Sasha Al'Therin

Sasha Al'Therin
  • Modder
  • 615 posts

Posted 31 October 2008 - 12:17 PM

In case you really wanted to know:
Easy Tutu without ToTSC installed
89142 string entries

My working mods:
an AI Party Script for BG2 game engine DOWNLOAD LINK ONLY!
Interactive Tweaks for BG series with some IWD support. DOWNLOAD LINK ONLY!
Rest For 8 Hours an IWD mod
-------------------------------------------
My contributions: BG1Fixpack, BG1Tweaks
On Hold: Solestia an NPC for SOA
-------------------------------------------
My website: http://sasha-altheri...s.com/index.htm


#19 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 31 October 2008 - 12:22 PM

Nah, I think I won't add special values for the various flavors of Tutu. --automate will still work if I use a number which is smaller than the real count (for example if I leave the SoA count while on Tutu); it will give problems in the other situation (Tutu count on SoA).

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#20 Sasha Al'Therin

Sasha Al'Therin
  • Modder
  • 615 posts

Posted 05 November 2008 - 06:07 AM

I just did a complete re-install of IWD+HOW+TOTL I saved and renamed the dialog.tlk file at each stage. I then did a tlkcmp to find out how many strings each version had.

Here are the results:
String count:
[iwd_original_dialog.tlk] 34502 string entries
[iwd+how_dialog.tlk] 34502 string entries
[iwd+how+totl_dialog.tlk] 34502 string entries

I can if you wish provide the tph files containing the changes between versions...

My working mods:
an AI Party Script for BG2 game engine DOWNLOAD LINK ONLY!
Interactive Tweaks for BG series with some IWD support. DOWNLOAD LINK ONLY!
Rest For 8 Hours an IWD mod
-------------------------------------------
My contributions: BG1Fixpack, BG1Tweaks
On Hold: Solestia an NPC for SOA
-------------------------------------------
My website: http://sasha-altheri...s.com/index.htm