Jump to content


Photo

Overhauling the importation of German audio files from BG1 (plus Ike)


  • Please log in to reply
47 replies to this topic

#21 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 08 April 2012 - 06:59 AM

@Hurricane: do you have a baldur.ini in your BG1 game? I think the syntax errors have to do with trying to rename that file. I will check the syntax - something in the changes must have broken it. Also, there probably is a redundant AT_EXIT ~del tis2bg2.exe~ somewhere, since I decided to get rid of it straight after tileset conversion in Win systems.

@Turambar: well the point is that INTRO15F.MVE becomes a placeholder movie that gets biffed into BG1MOVIE.BIF. So, if users put their biff files in a directory that the game cannot detect, the whole game shouldn't work properly. As I quoted in the tp2 itself, I'd rather not hack the .exe any more than I have to. The DAYNITE and NITEDAY stuff was because I was unable to find another way to solve the issue of having BG2 day/night cutscenes. The experience patch is obviously unachievable without hacking the .exe.

Edited by Ascension64, 08 April 2012 - 07:02 AM.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#22 Turambar

Turambar
  • Modder
  • 935 posts

Posted 08 April 2012 - 07:35 AM

The intro15f hack would be exactly like the niteday one, replacing that name in the exe with nuls; I've tested it and it works. I think that in that case it's quite useful.
It's not where the user puts their biffs (WeiDU always puts them into data/ or movies/), it's where those which are usually in the CD folders are installed by the new DVD or web versions of BG2, and the user can't choose that, it's the installer which does everything.

Edited by Turambar, 08 April 2012 - 07:39 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


#23 Anomaly

Anomaly
  • Member
  • 562 posts

Posted 08 April 2012 - 08:52 AM

I installed BGT on a vanilla clean install, so BP-BGT Worldmap is not present nor installed, and by clean vanilla I mean that I restore a clean BG2 copy from an archive made long ago.

http://www.anomaly-s...setup-bgt.debug
French translator of: BG2 FixPack, BG2 Tweaks, Baldur's Gate Trilogy-WeiDU, BGT-Tweaks and some minor mods.

#24 Turambar

Turambar
  • Modder
  • 935 posts

Posted 08 April 2012 - 09:22 AM

I think I've found the issue:
bgt/install/unix/x86/tisunpack: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
Copied [bgt/bash.debug] to [bgt/bash.debug] (NO BACKUP MADE!)
Creating 1 directory
Copying and patching 1 file ...
[bgt/bash.debug] loaded, 12901 bytes
bgt/install/unix/x86/mosunpack: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
bgt/install/unix/x86/mosunpack: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
bgt/install/unix/x86/mosunpack: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
bgt/install/unix/x86/mosunpack: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
bgt/install/unix/x86/mosunpack: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
bgt/install/unix/x86/mosunpack: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
bgt/install/unix/x86/mosunpack: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
bgt/install/unix/x86/mosunpack: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
I thought the jpeg libraries had been included, not only linked to... Tisunpack is always included in the WeiDU package; you could, though, try re-downloading it, in case the version shipped here was one compiled with different options, and executing it alone from terminal to see if they work.

Anyway, do you use 32 or 64 bit Linux?

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


#25 William Imm

William Imm

    Obsessive Penguin Lover

  • Member
  • 486 posts

Posted 08 April 2012 - 09:55 AM

I know how to fix the problem, as I did happen to do support for the Linux From Scratch (LFS) project. Simply run this command:

ln -sfv libjpeg.so /usr/lib/libjpeg.so.62

and problem solved. If you are using a 64 bit system, replace /usr/lib with /usr/lib64.
At this point, I'm not really doing much Baldur's Gate related. More focused on Skyrim modding and the Born of Legend tabletop roleplaying game. Don't expect much activity here.

#26 -Hurricane-

-Hurricane-
  • Member
  • 81 posts

Posted 08 April 2012 - 03:42 PM

For all matters not related to the Sound Importation Overhaul, I would like to kindly refer you to this thread. :)



@Anomaly
Thank you.

@Turambar
Did you have a chance to take a look at the Italian version yet?

#27 Turambar

Turambar
  • Modder
  • 935 posts

Posted 09 April 2012 - 01:37 AM

The problem is I only have an English version of TotSC, patched into Italian, and an Italian version of plain BG1 only, so I don't think I can help you directly. I could, though, ask for help on an Italian forum

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


#28 Ancalagon el Negro

Ancalagon el Negro
  • Member
  • 43 posts

Posted 10 April 2012 - 10:03 AM

Well, the spanish version is another world.

We haven't a localizated version of TotSC, well we had it but was so bugged that Interplay removed it from the shelves, then we only have the english version in our compilations, and this version overwrite all BG's sounds, then we need overwrite (one more time) all it with the spanish version, this version:

http://www.shsforums...-en-castellano/

or this to Original Saga

http://www.shsforums...-original-saga/

Additionally, this packet have the problem of the missing files that you're disscusing, and to fixed it we need this other patch:

http://www.shsforums...-files-spanish/

Yes, we're f**** with this matter...

Namárië.

Edited by Ancalagon el Negro, 10 April 2012 - 10:04 AM.

Member of Clan REO and citizen of The Earth.

#29 William Imm

William Imm

    Obsessive Penguin Lover

  • Member
  • 486 posts

Posted 10 April 2012 - 10:12 AM

@Ancalagon Did you ever get a (working) Spanish localization of Baldur's Gate II?
At this point, I'm not really doing much Baldur's Gate related. More focused on Skyrim modding and the Born of Legend tabletop roleplaying game. Don't expect much activity here.

#30 Ancalagon el Negro

Ancalagon el Negro
  • Member
  • 43 posts

Posted 10 April 2012 - 10:29 AM

@Ancalagon Did you ever get a (working) Spanish localization of Baldur's Gate II?


I've a localization version of BGII and ToB.

Namárië.
Member of Clan REO and citizen of The Earth.

#31 -Hurricane-

-Hurricane-
  • Member
  • 81 posts

Posted 10 April 2012 - 11:03 AM

Thank you Ancalagon for responding to my message. This is tricky indeed.

So let me get this straight. When you guys install BG1, what you do is:
- install BG1 Spanish
- install the not-localized-but-at-least-not-bugged version of TotSC
- then you replace the game's BIFs with the "original" BIFs from your first link to get the localized sounds, and install the Saga fix in case the Saga is being used
- however, seeing that the localized BIFs are v5512, the Missing Sounds issue is present inside those BIFs, i.e. the same as with the German and French version, the BIFs contain several English sounds
- therefore you are then using the content from the third link to remedy the missing sounds problem manually.

Did I get this right?

If so, then here's what we could do: Obviously, the Spanish users will always have to put the localized BIFs into their BG1 game - there's no way around it. But the BGT setup could at least take care of the missing sounds, in the same way as it does with French and German. Come to think about it ... actually, BGT will even have to do that, because the setup does not extract any sounds from BG1 Override, so when Spanish users add their missing sounds to the BG1 override folder to fix the problem in BG1, this does not help when using BGT, because BGT extracts from the BIFs. On the other hand, since Spanish players have to adjust their BG1 install manually anyway, they might just copy the Missing Sounds into the BG2/BGT Override to remedy the problem for BGT as well. Ancalagon, from your perspective, would it be necessary / make sense / be a good idea to incorporate the BGT solution to the Missing Sounds issue into the BGT setup for the Spanish version?

Edited by -Hurricane-, 10 April 2012 - 11:07 AM.


#32 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 11 April 2012 - 01:05 AM

Be careful that not all people will use the same approach as Ancalagon.

Edited by Ascension64, 11 April 2012 - 01:05 AM.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#33 -Hurricane-

-Hurricane-
  • Member
  • 81 posts

Posted 11 April 2012 - 04:54 AM

Yes, I'm trying to be as careful as possible. ;)
I understand any action taken by the BGT setup regarding the Spanish sounds would have to work universally, and if that's impossible, I shouldn't mess with it.

#34 Ancalagon el Negro

Ancalagon el Negro
  • Member
  • 43 posts

Posted 11 April 2012 - 01:11 PM

All spanish players who use mods for BG know about BGT and our problem with TotSC's sounds, so I think that it would be useful to add our missing sound files to BGT because we have a tutorial about BGT installations like this:

BG1 in spanish
BG Internacional v1.1.4315
TotSC in english
TotSC Internacional v55.12
"Sonidos de TotSC y traducción mejorada de BG1 + TotSC"

BG2 in spanish
ToB in spanish
ToB v26.498 European
"Traducción mejorada de BG2 + ToB"
BG2 Fixpack
CtB, or other big mods
BGT
etc, etc, etc.

I created the missing sound patch for BWP, so people who use it is the people who use the BWP, not BGT.

Namárië.
Member of Clan REO and citizen of The Earth.

#35 -Hurricane-

-Hurricane-
  • Member
  • 81 posts

Posted 11 April 2012 - 04:38 PM

Understood.

I just realized I've made a mistake though.

BG1 in spanish
BG Internacional v1.1.4315
TotSC in english
TotSC Internacional v55.12
"Sonidos de TotSC y traducción mejorada de BG1 + TotSC"

I said earlier that the BIFs from the Sonidos de TotSC package are affected by the Missing Sounds problem, but I just checked the BIFs again and I realize I was partly wrong: All ERROR sounds and the INTRO0#F sounds are actually in Spanish inside those BIFs, which means BGT can extract the Spanish INTRO0#F files directly. And keeping in mind Ascension's comment: Given the case that a Spanish player does not have the Sonidos de TotSC BIFs, luckily that doesn't change anything, because seeing that the English TotSC and English patch were used, the INTRO sounds are still present in Spanish, because only the international TotSC and international patch would have messed with the BIFs.

However, the remaining Missing Sounds actually are missing:

MONTR19 (because it is always English in the BIFs, no matter which language)
TSCNA01 (because it is a TotSC sound)
TSCNA02 (because it is a TotSC sound)

This means that all BGT has to do is to include these three missing sounds. This is exactly the same as with French and German. The problem is I can't find those files in Spanish. Even in the BG1MissingFiles_SPA package, TSCNA01 and TSCNA02 are in English, plus MONTR19 is in English inside the Spanish BIF, same as with every foreign version. So, Ancalagon, I need your help:
  • TSCNA01 and TSCNA02: Is there any way to get those sounds in Spanish at all? Do you, by any chance, have access to one of those early, bugged TotSC versions that used to be localized? I see that as the only possible source. In case you do, you should also search that TotSC disc for those sounds.
  • MONTR19: As I have detailed in this thread, MONTR19 is always in English inside the BIFs, no matter which language version we are looking at. But according to BG1 French and BG1 German, there is a localized MONTR19 available in the Override folder as long as TotSC is not installed (see the table in my initial post). Could you try to aquire that file from BG1 Spanish? You would have to install BG1 (without TotSC) from scratch and check out the Override folder. For instance, I have MONTR19.wav in the Override folder in my German version 1.0.4309.

Edited by -Hurricane-, 11 April 2012 - 04:41 PM.


#36 Ancalagon el Negro

Ancalagon el Negro
  • Member
  • 43 posts

Posted 13 April 2012 - 10:59 AM

Well, I was looking for and asking about TotSC and our expansion is a huge pile of ******.

All the expansion sounds weren't dubbed so TSCNA01 and TSCNA02 are in English (and other files like TSCFB01...).

About MONTR19, I can send it.

Namárië.
Member of Clan REO and citizen of The Earth.

#37 -Hurricane-

-Hurricane-
  • Member
  • 81 posts

Posted 13 April 2012 - 12:18 PM

All the expansion sounds weren't dubbed

That's a real shame ... well, thanks for looking into it. Since we can't do anything about the add-on sounds, the Spanish BGT setup will continue to extract the English sounds from the Spanish-English BG1. No need to include those English TSCNA files in the BGT package, obviously.

Summary for the Spanish sounds:
- The ERROR files have become irrelevant as they are not imported by BGT anymore, but even if they were, they would be in Spanish. No action required.
- The INTRO0#F sounds from BG1 Spanish are imported directly. There is no need to use and rename the INTRO0# files. No action required.
- As with all TotSC sounds, there is no proper Spanish version of TSCNA01 and TSCNA02 available. No action possible. The sounds are imported from BG1 in the conventional way.
- This leaves only MONTR19. Since the BIF contains the English version, the BGT setup must provide the Spanish sound. Same procedure as for the French and German version:

ACTION_IF (~%LANGUAGE%~ STRING_EQUAL_CASE ~castilian~) THEN BEGIN
  COPY + ~bgt/language/%LANGUAGE%/montr19.wav~ ~bgtwav/montr19.wav~
END

@ Ancalagon
Yes, please upload MONTR19. And there's one more thing: In BG2, could you please check Ike's five sounds as well? Seeing that they are mute in BG2 French and BG2 German, the Spanish version could be equally affected.

#38 Ancalagon el Negro

Ancalagon el Negro
  • Member
  • 43 posts

Posted 13 April 2012 - 01:03 PM

MONTR19 uploaded.

Attached Files


Member of Clan REO and citizen of The Earth.

#39 William Imm

William Imm

    Obsessive Penguin Lover

  • Member
  • 486 posts

Posted 13 April 2012 - 01:27 PM

I can't play it in VLC or WMP. Is there something wrong with the file?
At this point, I'm not really doing much Baldur's Gate related. More focused on Skyrim modding and the Born of Legend tabletop roleplaying game. Don't expect much activity here.

#40 -Hurricane-

-Hurricane-
  • Member
  • 81 posts

Posted 13 April 2012 - 03:54 PM

@Ancalagon
Thank you. :)
I hope you're not ignoring my request to check Ike's sounds in BG2 Spanish? ;)


@William
No, actually, it's the other way around: If you WERE able to open it with a player, THEN something would be wrong with it indeed. :lol: In-game sounds are not ordinary wave files. ;) They use the WAVC file format.

You can use NearInfinity to listen to the sound. It requires acm2wav.exe to be present in the same location as the NI execution file. Just use "Open file..." in NI and select the sound.


@Ascension
Could you integrate the MONTR19 file and my corresponding code, please? :) You can include the code wherever you see fit. I thought to integrate it with the French- and German-specific batch, but that wouldn't work because there are no TSCNA files to be copied for Spanish, and we don't know about Ike's sounds yet.