Jump to content


Photo

[Solved] v1.23.1: FFHUNT.dlg is scrambled

invalid

  • Please log in to reply
9 replies to this topic

#1 jastey

jastey
  • Administrator
  • 3229 posts

Posted 23 March 2025 - 10:43 PM

I have two BGT installs with v1.23.1, one on my old Windows10 and one under Linux Mint.

In both the dialogue of the Flaming Fist Enforcers who spawn in chapter 7 to arrest the PC and bring them to Angelo is not the correct dialogue, but a mixture of random strings:

Spoiler

weidu.log from my Windows installation:

 

Quote

// 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]
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #0 // BG2 Fixpack - Core Fixes: v14
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #1000 // BG2 Fixpack - Game Text Update -> GTU Light (by Wisp): v14
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #3 // BETA Core Fixes (please check the readme!): v14
~BGT/BGT.TP2~ #0 #0 // Baldur's Gate Trilogy - Core: v1.23.1
~BGT/BGT.TP2~ #0 #1 // Baldur's Gate Trilogy - Music -> Full Baldur's Gate and Tales of the Sword Coast Music: v1.23.1
// Recently Uninstalled: ~BST/SETUP-BST.TP2~ #0 #0 // The BS Company presents Balduran's Seatower: v1.0_250308
// Recently Uninstalled: ~BST/SETUP-BST.TP2~ #0 #10 // Correct music entries for BGT: v1.0_250308

 

weidu.log from my Linux install (BST doesn't touch this dlg):

 

Quote

// 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]
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #0 // BG2 Fixpack - Core Fixes: v14
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #3 // BETA Core Fixes (please check the readme!): v14
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #100 // Party Gets XP for Sending Keldorn to Reconcile With Maria: v14
~BGT/BGT.TP2~ #0 #0 // Baldur's Gate Trilogy - Core: v1.23.1
~BGT/BGT.TP2~ #0 #2 // Baldur's Gate Trilogy - Music -> Hybrid Baldur's Gate/Shadows of Amn/Throne of Bhaal Music: v1.23.1
~BST/SETUP-BST.TP2~ #0 #0 // The BS Company presents Balduran's Seatower: v1.0_250312


Sorry in case this is a known issue.


Edited by skellytz, 28 March 2025 - 02:07 PM.
added topic tags


#2 skellytz

skellytz
  • Staff
  • 608 posts

Posted 24 March 2025 - 12:38 PM

jastey said:

In both the dialogue of the Flaming Fist Enforcers who spawn in chapter 7 to arrest the PC and bring them to Angelo is not the correct dialogue, but a mixture of random strings:

So, for some reason, your installation is using BG2 strings and ffhunt.dlg in data/dialog.bif instead of bgt/install/english/bg1.tra and override/ffhunt.dlg. Did bgt/base/d_bg1/ffhunt.d get compiled? What does the debug say? Is ffhunt.dlg the only affected dialogue file?
 
Here's my test installation:
 
WeiDU.log
 

Spoiler


ffhunt.dlg
 
Spoiler



#3 jastey

jastey
  • Administrator
  • 3229 posts

Posted 26 March 2025 - 11:19 AM

This is getting weirder - from my side. Turns out that my BGII install has the exact same ressource - ffhunt.dlg with the BGII strings. For other dlgs, I noticed achen.dlg but I didn't check systematically.
So, the BGT installs inserted the BG1 ressources (areas, items), but the BG1 dlg(s?) don't seem to have been updated. Am I too dumb to look at the correct BG1 dlg ressources?
But ffhunt should be the correct dlg of the FF Enforcers in BGT, too, right? They are also called via ar7200.bcs (NW Baldur's Gate).

I'm not sure what's going on. Could this have something to do with my BGII game? (From GOG) Since it happens in "all" my BGII games, on two different OSs.

 

I tried posting the DEBUG but the forum software just hangs, probably the file is too big.

It has some warnings with regard to areas, e.g.

 

Quote


----------------------------------------
Local time is: Sat Mar 15 12:01:21 2025

[Source]: area7200/ar0100n.wed, V1.3
          area7200/ar0100n.tis, V1  
[Output]: area7200/ar7200n.wed, V1  
          area7200/ar7200n.tis, no header

 Basic tiles number:         3350
 Doors extra tiles number:     46
 Animations extra tiles number: 0
 Overlayed doors tiles number:  0


Warning :     Cannot handle area MOS file

Warning :     Cannot handle area _HT.bmp file

Warning :     Cannot handle area _LM.bmp file

Warning :     Cannot handle area _SR.bmp file
Warning :     Cannot delete source area MOS file
Warning :     Cannot delete source area _HT.bmp file
Warning :     Cannot delete source area _LM.bmp file
Warning :     Cannot delete source area _SR.bmp file
Tiles processed: 3350 done.
Extra 26 overlay tiles added.
----------------------------------------

 

And an error with movie bif:

 

Quote


BIFF may be in hard-drive CD-path [./CD1/MOVIES/MOVINTRO.cbf]
BIFF may be in hard-drive CD-path [./CD2/MOVIES/MOVINTRO.cbf]
BIFF may be in hard-drive CD-path [./CD3/MOVIES/MOVINTRO.cbf]
BIFF may be in hard-drive CD-path [./CD4/MOVIES/MOVINTRO.cbf]
BIFF may be in hard-drive CD-path [./CD5/MOVIES/MOVINTRO.cbf]
BIFF may be in hard-drive CD-path [./CD6/MOVIES/MOVINTRO.cbf]
BIFF may be in hard-drive CD-path [./MOVIES/MOVINTRO.cbf]
ERROR: BIFF [./MOVIES/MOVINTRO.BIF] cannot be loaded: Unix.Unix_error(Unix.ENOENT, "stat", "./movies/movintro.bif")
[INTRO15F.MVE] --biff-get error: Unix.Unix_error(Unix.ENOENT, "stat", "./movies/movintro.bif")

        WeiDU Timings
load TLK                         0.000
loading files                    0.004
unmarshal KEY                    0.017
unmarshal TLK                    0.022
stuff not covered elsewhere      0.028
TOTAL                            0.071

Copied [bgt/bash.debug] to [bgt/bash.debug] (NO BACKUP MADE!)
Moving bg1movie/intro15f.mve to bg1movie/soaintro.mve
Copying 1 file ...

 

 

All in all it says installed successfully:

 

Quote


[bgt/language/english/dialog.tra] has 110 translation strings
[bgt/language/english/journal.tra] has 319 translation strings
[bgt/language/english/scripts.tra] has 20 translation strings
1825712 characters, 13232 entries added to DIALOG.TLK
[./dialog.tlk] created, 87364 string entries

SUCCESSFULLY INSTALLED      Baldur's Gate Trilogy - Core

SUCCESSFULLY INSTALLED      Baldur's Gate Trilogy - Music -> Hybrid Baldur's Gate/Shadows of Amn/Throne of Bhaal Music

        WeiDU Timings
ACTION_READLN                    0.000
STRING_SET_EVALUATE              0.000
AT_UNINSTALL                     0.000
OUTER_WHILE                      0.000
ACTION_PHP_EACH                  0.000
LAUNCH_ACTION_FUNCTION           0.000
OUTER_FOR                        0.000
ACTION_MATCH                     0.000
ACTION_DEFINE_ASSOCIATIVE_ARRAY   0.000
load TLK                         0.000
ACTION_FOR_EACH                  0.000
OUTER_INNER_PATCH_SAVE           0.000
OUTER_INNER_PATCH                0.000
DEFINE_ACTION_MACRO              0.000
OUTER_SPRINT                     0.000
LAUNCH_ACTION_MACRO              0.000
parsing .log files               0.000
AT_EXIT                          0.000
<<<<<<<<                         0.000
Resolving LABELs                 0.000
COPY_LARGE                       0.000
DEFINE_PATCH_MACRO               0.000
DEFINE_ACTION_FUNCTION           0.000
OUTER_SET                        0.000
PRINT                            0.000
DEFINE_PATCH_FUNCTION            0.000
LOAD_TRA                         0.000
ACTION_IF                        0.000
unmarshal BIFF                   0.000
MKDIR                            0.001
INCLUDE                          0.001
function overhead                0.001
APPEND                           0.001
resolve labels                   0.001
MOVE                             0.001
resolve strings                  0.002
parsing .ids files               0.003
EXTEND_BOTTOM                    0.003
EXTEND_TOP                       0.004
adding translation strings       0.004
BUT_ONLY                         0.005
unmarshal DLG                    0.011
marshal DLG                      0.016
Parsing TPP files                0.017
add strings to TLK               0.022
stuff not covered elsewhere      0.023
marshal and save TLK             0.024
AT_NOW                           0.025
process .D files                 0.026
unmarshal TLK                    0.027
strings to add                   0.032
Parsing TPA files                0.038
STRING_SET                       0.050
parsing .baf files               0.055
parsing .bcs files               0.059
find local string                0.106
Parsing TP2 files                0.113
parsing .tra files               0.129
marshal BCS                      0.136
loading files                    0.176
saving files                     0.213
parsing .d files                 0.224
COMPILE                          0.236
COPY                             0.282
READ_*                           0.353
eval_pe                          0.360
marshal KEY                      0.416
unmarshal KEY                    1.459
BIFF                             1.829
process_patch2                   9.998
TOTAL                           16.484
Executing: [rm -f bgt/weidu]
Executing: [rm -f bgt/bash.debug]


 


 



#4 skellytz

skellytz
  • Staff
  • 608 posts

Posted 26 March 2025 - 12:15 PM

jastey, on 26 Mar 2025 - 19:19, said:

But ffhunt should be the correct dlg of the FF Enforcers in BGT, too, right? They are also called via ar7200.bcs (NW Baldur's Gate).

Yes, this file is also in BG2, an unused leftover from BG1. It seems the BGT variants didn't compile in your installation.

 

Quote

I'm not sure what's going on. Could this have something to do with my BGII game? (From GOG) Since it happens in "all" my BGII games, on two different OSs.

I also have the GOG version. If this is happening on both Windows and Linux, I should take a look at both of your debug logs and compare them with mine.

 

Quote

I tried posting the DEBUG but the forum software just hangs, probably the file is too big.

Could you DM the logs to me on Discord?



#5 jastey

jastey
  • Administrator
  • 3229 posts

Posted 27 March 2025 - 09:25 PM

Quote

Could you DM the logs to me on Discord?


Done.



#6 jastey

jastey
  • Administrator
  • 3229 posts

Posted 28 March 2025 - 11:09 AM

Some more testing (with skellytz' help):

 

Linux Mint.

 

NI version is v2.4-20250303. Also in the most recent Nightly Build. Same behavior if NearInfinity.jar is in a case-insensitive directory.

I checkd for a Linux GOG BGII install, and also opened a Windows GOG BGII install I transferred.

 

For "Game -> Preferences -> GUI and Text -> Sow Override Files -> In ??? Folders (CRE, SPL, ...)" and "Split between ??? and Override Folders":

The FFHUNT.DLG (in capital letters, in case this matters), located in "DLG", is displayed in NI like posted above, with the BGII strings.

 

For "In Override Folder":

The ffhunt.dlg (in small letters) (now in override) is displayed with the correct BG1 strings.

 

Checking ingame (spawning FFHUNT.CRE per cheats), the correct BG1 strings are used.

 

EDIT: reported here: https://forums.beamd...Comment_1215142



#7 Argent77

Argent77
  • Administrator
  • 1444 posts

Posted 28 March 2025 - 11:52 AM

This is just a shot in the dark, but could you check if the "Ignore override" option in Preferences > General > Resources is unchecked in NI?



#8 jastey

jastey
  • Administrator
  • 3229 posts

Posted 28 March 2025 - 12:38 PM

..And that did it. Now I feel stupid.

The box was ticked, unticking it displays the BG1 strings for FFHUNT.DLG in "DLG".

 

I do not remember ticking this box, which makes this even more embarrassing. :crazy:

 

Thank you for solving this!



#9 Argent77

Argent77
  • Administrator
  • 1444 posts

Posted 28 March 2025 - 12:55 PM

That option can have its use, but it has been made largely redundant by the context menu option "Open Biffed resource in new window". (I should probably deprecate it in future versions to prevent that kind of misunderstanding.)



#10 jastey

jastey
  • Administrator
  • 3229 posts

Posted 28 March 2025 - 09:47 PM

That, or maybe extend on the description. Not everyone realizes what it means when files in Override will be ignored in favor of the biff resources.







Also tagged with one or more of these keywords: invalid