Jump to content


Photo

Subtitles in BG2


  • Please log in to reply
21 replies to this topic

#1 Istfemer

Istfemer
  • Member
  • 18 posts

Posted 24 August 2009 - 01:55 PM

Well, Hello World!
or SHS for that matter :)

I have a few important (for me) questions here, regarding the subject.

First, why in BG2 there are no subs for PC's like in first one? I mean all those selection and command sounds, like "For battle and glory" etc.
In original Baldur's Gate every pc sounset has text lines. So why BG2 lacks them? Technical incompartibility or something? I hope not. <_<

Will someone be kind enough to explain that to me?

#2 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 24 August 2009 - 02:38 PM

Well, actually I think they are there, they are just hidden. Go to the game Options screen, then Sounds, Character Sounds, and there is a Subtitles unselected, so just click it and click done, and at least Korgan had subtitles for me...

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


#3 Istfemer

Istfemer
  • Member
  • 18 posts

Posted 24 August 2009 - 03:41 PM

Well, actually I think they are there, they are just hidden. Go to the game Options screen, then Sounds, Character Sounds, and there is a Subtitles unselected, so just click it and click done, and at least Korgan had subtitles for me...


I have subtitles on. But bottom text window shows nothing, when I click on my protagonist.
And never did, at least in my game. Maybe they are no subtitles for PC to begin with?

Edited by Isti, 24 August 2009 - 03:43 PM.


#4 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 24 August 2009 - 03:45 PM

I have subtitles on. But bottom text window shows nothing, when I click on my protagonist.

It does in my game with subtitles on... pretty sure anyway. Maybe you're using a custom soundset that has no strings associated, only sounds?

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


#5 Istfemer

Istfemer
  • Member
  • 18 posts

Posted 24 August 2009 - 03:57 PM

I have subtitles on. But bottom text window shows nothing, when I click on my protagonist.

It does in my game with subtitles on... pretty sure anyway. Maybe you're using a custom soundset that has no strings associated, only sounds?


Weird. No custom soundsets, only pre-made. No matter which soundset I pick, no strings appear.

#6 Jewels

Jewels
  • Member
  • 36 posts

Posted 25 August 2009 - 07:00 PM

I don't have subtitles either. All NPC's have subtitles, but any customisable character doesn't.

#7 Istfemer

Istfemer
  • Member
  • 18 posts

Posted 29 August 2009 - 04:00 PM

It must be possible to add subtitles in some way. It just feels not right.
If first game has them, the second should have too (in my opinion). So what about a little mod? I'd like more info on this topic, please :whistling:

#8 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 30 August 2009 - 02:52 AM

It must be possible to add subtitles in some way. It just feels not right.
If first game has them, the second should have too (in my opinion). So what about a little mod? I'd like more info on this topic, please... :whistling:

Well, the thing here is, as you can choose the sound set for the Player Character run into problem of how to make the installation, as you actually would have to subtitle all the different sound sets individually, and one possible solution is make them all have different installer, so when installed the player has only one set subtitled, so the character says what he does with the right subs.

And then there is dozens of different downloadable custom sound sets... none of which are subtitled.

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


#9 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 30 August 2009 - 03:46 AM

I've always wondered about this (never had subtitles for my PC too :P) but it may be solvable if we can locate the .cre file that a PC uses. I dunno if the PC even has a .cre file like the other NPCs though :P

But somehow, I remember seeing soundsets that have all subtitles in a text file in the package (probably for custom addition or sommin) :D

Cheers,
Lol

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#10 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 30 August 2009 - 04:10 AM

I've always wondered about this (never had subtitles for my PC too :P) but it may be solvable if we can locate the .cre file that a PC uses. I dunno if the PC even has a .cre file like the other NPCs though :P

Well, with all the probability, it's the player1.cre ... :lol: :P

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


#11 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 30 August 2009 - 04:37 AM

NO WAY!!! :blink: ... :doh: :lol:

Editing it right now :P

EDIT: It works :coolthumb: but it involves adding lines to your dialog.tlk. And you can have only one subtitle-set at a time, so if you use Male001 subtitles and change later to the Male002 soundset, you'll still have the Male001 subtitles until you change them yourself :D

Wish there was a way to link subtitles with soundsets :unsure: *sigh*

Edited by Lollorian, 30 August 2009 - 04:49 AM.

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#12 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 30 August 2009 - 05:06 AM

but it involves ...

Well, I did tell you so.

...

(Push the arrow.)
:lol: :lol: :lol:

Of course you can make an installer that removes all the other custom sound sets, and maybe even one that downloads the chosen sound set during the installation from the Internet like this does.

Edited by Jarno Mikkola, 30 August 2009 - 05:12 AM.

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


#13 Jewels

Jewels
  • Member
  • 36 posts

Posted 30 August 2009 - 06:16 AM

Which sounds (a, b, c ... 1, 2, 3 etc.) correspond to the different strings, like leader, battle cries, happy/unhappy?

#14 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 30 August 2009 - 06:40 AM

Which sounds (a, b, c ... 1, 2, 3 etc.) correspond to the different strings, like leader, battle cries, happy/unhappy?

Read the ReadMe!

Custom Sound files:

The following is a list of the WAV files for the custom
sound sets. The list has been increased and modified since
Baldur's Gate, so if you already have a custom sound set you
will need to update it to match the current format. Replace
each 'XXXXXXX' in the filenames with the name of the sound
set (MAX 7 CHARACTERS in XXXXXXX, plus one character as noted
below for a total of 8 letters). All the WAV files should be
22 khz, 16 bit mono sounds.

Copy the WAV files to the Sounds directory located in the
directory that Baldur's Gate II was installed in, and then
select this sound set either in character creation or in the
"Customize" button off of the Character Record page. For
multiplayer, merely send your custom sounds to all of the
people you are playing with and have them copy them to the
Sounds directory. If you have installed the sounds to your
character in your game, everyone will hear your sounds once
they copy them into the correct directory.

XXXXXXXa.wav : Battle Cry
XXXXXXXb.wav : Becoming Leader
XXXXXXXc.wav : Tired
XXXXXXXd.wav : Bored
XXXXXXXe.wav : Badly Wounded
XXXXXXXf.wav : Selected 1
XXXXXXXg.wav : Selected 2
XXXXXXXh.wav : Selected 3
XXXXXXXi.wav : Action Acknowledgement 1
XXXXXXXj.wav : Action Acknowledgement 2
XXXXXXXk.wav : Action Acknowledgement 3
XXXXXXXl.wav : Being Hit
XXXXXXXm.wav : Dying
XXXXXXXn.wav : In Forest
XXXXXXXo.wav : In City
XXXXXXXp.wav : In Dungeon
XXXXXXXq.wav : Daytime
XXXXXXXr.wav : Nighttime
XXXXXXXs.wav : Action Acknowledgement 4
XXXXXXXt.wav : Action Acknowledgement 5
XXXXXXXu.wav : Action Acknowledgement 6
XXXXXXXv.wav : Action Acknowledgement 7
XXXXXXXw.wav : Reaction to Party Member Death
XXXXXXXx.wav : Rare Select 1
XXXXXXXy.wav : Rare Select 2
XXXXXXXz.wav : Critical Hit Given
XXXXXXX1.wav : Critical Miss
XXXXXXX2.wav : Target Immune
XXXXXXX3.wav : Inventory Full
XXXXXXX4.wav : Successfully Picked A Pocket
XXXXXXX5.wav : Successfully Hid In shadows
XXXXXXX6.wav : Spell Disrupted
XXXXXXX7.wav : Set A Trap
XXXXXXX8.wav : Battle Cry 2
XXXXXXX9.wav : Battle Cry 3
XXXXXXX0.wav : Selected 6
XXXXXXX_.wav : Action Acknowledgement 8


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


#15 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 30 August 2009 - 07:49 AM

Wish there was a way to link subtitles with soundsets :unsure: *sigh*

There is, with WeiDU. It's just a bit dodgy with setting soundclip references. Fortunately, for BG2, you could probably hardcode the lot of them, at least when it comes to the vanilla soundsets.

Edited by Miloch, 30 August 2009 - 07:50 AM.

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


#16 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 30 August 2009 - 11:10 AM

... at least when it comes to the vanilla soundsets.

Exactly something that many of us would like :D

Cheers,
Lol

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#17 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 30 August 2009 - 12:42 PM

Well there are some hardcoded strings for the soundsets (starting at 16235) but setting text to these did nothing with subtitles on that I could see. So the other option is to mess with the CRE, but...

I've always wondered about this (never had subtitles for my PC too :P) but it may be solvable if we can locate the .cre file that a PC uses. I dunno if the PC even has a .cre file like the other NPCs though :P

Well, with all the probability, it's the player1.cre ... :lol: :P

NO WAY!!! :blink: ... :doh: :lol:
Editing it right now :P
EDIT: It works :coolthumb:

I always thought the PC was charbase.cre, not player1.cre. You said it worked with an edited player1.cre (which is "Peasant")? :huh: It isn't really cool to mess with charbase.cre either, but for a component like this, you're installing it at your own risk already heh.

Of course, someone would have to transcribe all the soundsets for this to have a chance of working. I did male005 and female4 (the ones I thought were hardcoded) but can't be bothered to do the rest :P.

Edited by Miloch, 30 August 2009 - 12:43 PM.

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


#18 Jewels

Jewels
  • Member
  • 36 posts

Posted 31 August 2009 - 11:24 AM

Which sounds (a, b, c ... 1, 2, 3 etc.) correspond to the different strings, like leader, battle cries, happy/unhappy?

Read the ReadMe!

I totally forgot about the original readme that comes with the game. :wall:

I always thought the PC was charbase.cre, not player1.cre. You said it worked with an edited player1.cre (which is "Peasant")? :huh: It isn't really cool to mess with charbase.cre either, but for a component like this, you're installing it at your own risk already heh.

I can't seem to get it working with either file, although I'm probably just implementing the strings incorrectly. I'm copying the file to the override folder and using SAY [offset] [string]. After installation I view the edited file in NI and see the strings there, but they don't appear in the game.

#19 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 31 August 2009 - 12:56 PM

I'm copying the file to the override folder and using SAY [offset] [string]. After installation I view the edited file in NI and see the strings there, but they don't appear in the game.

Yeah, I saw pretty much the same thing. I think the engine is hardcoded to not display string subtitles for PC soundclips, so I don't know what Lollorian was smoking when he said it worked :lol:.

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


#20 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 31 August 2009 - 01:01 PM

I can't seem to get it working with either file, although I'm probably just implementing the strings incorrectly. I'm copying the file to the override folder and using SAY [offset] [string]. After installation I view the edited file in NI and see the strings there, but they don't appear in the game.

Well, I would use this:

SAY MORALE ~Sticking around is only going to get us killed.~
SAY HAPPY ~This group is great~
SAY UNHAPPY_ANNOYED ~You're starting to take the wrong path in morals.~
SAY UNHAPPY_SERIOUS ~I'll leave if you don?t stop!~
SAY UNHAPPY_BREAKING ~You suck, I'm outta here.~
SAY LEADER ~Yay I'm the leader!~
SAY TIRED ~I'm tired.~
SAY BORED ~I'm bored.~
SAY BATTLE_CRY1 ~TO BATTLE!~
SAY BATTLE_CRY2 ~Time to die!~
SAY BATTLE_CRY3 ~DIE NOW!~
SAY BATTLE_CRY4 ~DIE!~
SAY DAMAGE ~Ow!~
SAY DYING ~AH!~
SAY HURT ~Help me!~
SAY AREA_FOREST ~We're in a forest.~
SAY AREA_CITY ~We're in a city~
SAY AREA_DUNGEON ~We're in a dungeon.~
SAY AREA_DAY ~It's day.~
SAY AREA_NIGHT ~It's dark.~
SAY SELECT_COMMON1 ~Yeah?~
SAY SELECT_COMMON2 ~What do you need?~
SAY SELECT_COMMON3 ~Grunt.~
SAY SELECT_COMMON4 ~What?~
SAY SELECT_COMMON5 ~Yes?~
SAY SELECT_COMMON6 ~I'm listening.~
SAY SELECT_ACTION1 ~Uh huh.~
SAY SELECT_ACTION2 ~Sure.~
SAY SELECT_ACTION3 ~I'm on it.~
SAY SELECT_ACTION4 ~YAY!~
SAY SELECT_ACTION5 ~Not hard at all~
SAY SELECT_ACTION6 ~Yep~
SAY SELECT_ACTION7 ~Okay~
SAY SELECT_RARE1 ~I'm ready.~
SAY SELECT_RARE2 ~I got it.~
SAY CRITICAL_HIT ~Yeah!~
SAY CRITICAL_MISS ~Damn!~
SAY TARGET_IMMUNE ~No effect?~
SAY INVENTORY_FULL ~It's too heavy!~

And then if you wish to attach the sound files too, use the [].wav like this:
SAY MORALE ~Sticking around is only going to get us killed.~ [sound file name, 8 chars max, and no .wav extension]
Of course, the strings are probably overwritten when one chooses the sound in the character creation, but you can always trick it by removing the appropriate sound files from the sounds directory. :ermm: As you put them to the override...

Erhm.... you might wish to look at your charsnd.2da file(default), as it should modify the subtitles that are used with the sound files.

Edited by Jarno Mikkola, 11 September 2009 - 01:56 AM.

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