Jump to content

The BG1 NPC Music Pack


Guest Elrona

Recommended Posts

Guest Elrona

Sorry if it is not right thread to ask but is BG1 NPC Music Pack really compatible with BGT (as it is said on download page)? bg1npcmusic.tp2 refers to BG1NPC.TP2 and SETUP-MBG1NPC.TP2 files which, as I understand, are files from BG1NPC project for Tutu version, not BGT. There are also no such files as _bajant.dlg, _balora.dlg and so on in BGT. So all my attempts to install the music pack on Baldur's Gate Trilogy version was unsuccessful (but maybe it's just me who did something wrong).

I understand that your forum is dedicated to Tutu projects but I don't know where else I can ask about it. Thanks in advance for any replies!

Link to comment

Amazing syncronicity! I had just finished the rite-o'-passage known as "Installing BP-BGT" and was also trying to get the music working.

 

I tried commenting out 'BG1NPC.TP2' in the TP2 of the music pack:

 

// BG1NPC.TP2

 

but still got errors reporting the TuTu is missing.

Link to comment
Guest Elrona

Heh, installing BP-BGT-NEJ has been quite an ordeal riiight.gif

Yes, I also commented lines which referred to BG1NPC.TP2 and SETUP-MBG1NPC.TP2 but it seems it is not so simple... The installation process breaks on lines

COPY_EXISTING ~_bajant.dlg~ ~override~

~_balora.dlg~ ~override~

~_bbranw.dlg~ ~override~

.......

- it reports that there are no such files.

Link to comment
Guest Elrona

I can retrieve the necessary filenames but unfortunately I'm not good at modding. Do you mean *.dlg files which can be found in dialog.bif?

Link to comment

Well I made this thing work (or at least install) yesterday. I have new .tp2 file with changed filenames (and I can't find a file attachments option... Could anybody tell me where it is, please?). The music pack seemed to be installed successfully and I had several banters with Imoen to the accompaniment of fantastic music :undecided: But unfortunately the Imoen banter theme blended in with area theme :)

 

But I have to say again that I am not good at modding so I could make something wrong (for example I am not sure about BIMOEN.DLG/BIMOEN2.DLG and IMOEN2J.DLG names). So it would be really great if someone experienced can check and correct it...

Link to comment

Azazello asked me to post the content of bg1npcmusic.tp2 to the thread. So here it is - I hope it helps someone :)

 

 

BACKUP ~bg1npcmusic/backup~
AUTHOR ~http://forums.gibberlings3.net/index.php?showforum=45~
ALLOW_MISSING
 ~BIMOEN.DLG~
 ~BIMOEN2.DLG~

//ALWAYS
//  ACTION_IF     FILE_EXISTS ~data/AREA000A.bif~   THEN BEGIN // makes //sure it's not in the BG1 folder
//    FAIL ~This mod should be installed in your BG2 folder, after the //Tutu conversion.~ END
//  ACTION_IF NOT FILE_EXISTS ~override/FW0100.are~ THEN BEGIN // makes //sure the conversion has run
//    FAIL ~This mod should be installed in your BG2 folder, after the //Tutu conversion.~ END
//END

BEGIN ~The BG1 NPC Project Music Pack~
//REQUIRE_COMPONENT ~BG1NPC.TP2~ ~0~ ~The BG1 NPC Project is required.~
//UNINSTALL ~SETUP-MBG1NPC.TP2~ ~0~

MKDIR ~music/blank~
COPY ~bg1npcmusic/blank.mus~ ~music~
    ~bg1npcmusic/blank.acm~ ~music/blank/blanka.acm~

COPY_EXISTING ~songlist.2da~ ~override~
 SET_2DA_ENTRY 0 0 2 ~2DA_V1.0~
 SET_2DA_ENTRY 0 1 2 ~~
   SET_2DA_ENTRY 0 0 2 ~IDOBEK Name~
   SET_2DA_ENTRY 1 2 3 ~BLANK.MUS~
 SET_2DA_ENTRY 0 0 3 ~~
 REPLACE_TEXTUALLY ~2DA_V1.0~ ~2DA V1.0~

EXTEND_TOP ~baldur.bcs~   ~bg1npcmusic/playsong1.baf~
EXTEND_TOP ~AJANTIS.BCS~ ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~ALORA.BCS~   ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~BRANWEN.BCS~  ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~CORAN.BCS~   ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~DYNAHEIR.bcs~ ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~EDWIN.bcs~   ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~ELDOTH.BCS~  ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~FALDORN.bcs~   ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~GARRICK.bcs~   ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~IMOENBG1.BCS~  ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~BGJHEIRA.BCS~ ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~KAGAIN.BCS~  ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~KHALID.BCS~  ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~KIVAN.BCS~   ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~BGMINSC.BCS~   ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~MONTARON.BCS~ ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~QUAYLE.BCS~  ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~SAFANA.BCS~  ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~SHARTEEL.BCS~ ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~SKIE.BCS~    ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~TIAX.BCS~    ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~BGVICNIA.BCS~ ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~XAN.BCS~     ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~XZAR.BCS~    ~bg1npcmusic/playsong2.baf~
EXTEND_TOP ~YESLICK.BCS~ ~bg1npcmusic/playsong2.baf~

PRINT ~This step may take a few moments ...~
COPY_EXISTING_REGEXP GLOB ~.+\.dlg$~ ~override~
 PATCH_IF (SOURCE_SIZE > 0x2f) THEN BEGIN // protects against invalid files
   READ_LONG  0x0C "offset_state"
   PATCH_IF ("%offset_state%" = 0x00000030) BEGIN // adds pause field to older dlg formats
     READ_LONG  0x14 "offset_response"
     READ_LONG  0x1C "num_s_trigger"
     READ_LONG  0x18 "offset_s_trigger"
     READ_LONG  0x20 "offset_r_trigger"
     READ_LONG  0x24 "num_r_trigger"
     READ_LONG  0x28 "offset_action"
     READ_LONG  0x2C "num_action"
     WHILE (0 < "%num_s_trigger%") BEGIN
       READ_LONG  ("%offset_s_trigger%" + (("%num_s_trigger%" - 1) * 0x08)) "indiv_offset"
       WRITE_LONG ("%offset_s_trigger%" + (("%num_s_trigger%" - 1) * 0x08)) ("%indiv_offset%" + 0x04)
       SET "num_s_trigger" = ("%num_s_trigger%" - 1)
     END
     WHILE (0 < "%num_r_trigger%") BEGIN
       READ_LONG  ("%offset_r_trigger%" + (("%num_r_trigger%" - 1) * 0x08)) "indiv_offset"
       WRITE_LONG ("%offset_r_trigger%" + (("%num_r_trigger%" - 1) * 0x08)) ("%indiv_offset%" + 0x04)
       SET "num_r_trigger" = ("%num_r_trigger%" - 1)
     END
     WHILE (0 < "%num_action%") BEGIN
       READ_LONG  ("%offset_action%" + (("%num_action%" - 1) * 0x08)) "indiv_offset"
       WRITE_LONG ("%offset_action%" + (("%num_action%" - 1) * 0x08)) ("%indiv_offset%" + 0x04)
       SET "num_action" = ("%num_action%" - 1)
     END
     WRITE_LONG 0x0C ("%offset_state%" + 0x04)
     WRITE_LONG 0x14 ("%offset_response%" + 0x04)
     WRITE_LONG 0x18 ("%offset_s_trigger%" + 0x04)
     WRITE_LONG 0x20 ("%offset_r_trigger%" + 0x04)
     WRITE_LONG 0x28 ("%offset_action%" + 0x04)
     READ_BYTE 0x2f "eof"
     INSERT_BYTES 0x2f 4
     WRITE_BYTE 0x2f "%eof%"
     WRITE_LONG 0x30 0
   END ELSE BEGIN // otherwise just sets to pause
     WRITE_LONG 0x30 0
   END
 END
 BUT_ONLY_IF_IT_CHANGES

COPY_EXISTING ~BAJANT.DLG~ ~override~
             ~BALORA.DLG~ ~override~
             ~BBRANW.DLG~ ~override~
             ~BCORAN.DLG~ ~override~
             ~BDYNAH.DLG~ ~override~
             ~BEDWIN.DLG~ ~override~
             ~BELDOT.DLG~ ~override~
             ~BFALDO.DLG~ ~override~
             ~BGARRI.DLG~ ~override~
             ~BIMOEN.DLG~  ~override~
             ~BIMOEN2.DLG~  ~override~
             ~BJAHEI.DLG~ ~override~
             ~BKAGAI.DLG~ ~override~
             ~BKHALI.DLG~ ~override~
             ~BKIVAN.DLG~ ~override~
             ~BMINSC.DLG~ ~override~
             ~BMONTA.DLG~ ~override~
             ~BQUAYL.DLG~ ~override~
             ~BSAFAN.DLG~ ~override~
             ~BSHART.DLG~ ~override~
             ~BSKIE.DLG~  ~override~
             ~BTIAX.DLG~  ~override~
             ~BVICON.DLG~ ~override~
             ~BXANNN.DLG~ ~override~
             ~BXZAR.DLG~  ~override~
             ~BYESLI.DLG~ ~override~
             ~AJANTJ.DLG~ ~override~
             ~ALORAJ.DLG~ ~override~
             ~BRANWJ.DLG~ ~override~
             ~CORANJ.DLG~ ~override~
             ~DYNAHJ.DLG~ ~override~
             ~EDWINJ.DLG~ ~override~
             ~ELDOTJ.DLG~ ~override~
             ~FALDOJ.DLG~ ~override~
             ~GARRIJ.DLG~ ~override~
             ~IMOEN2J.DLG~ ~override~
             ~JAHEIJ.DLG~ ~override~
             ~KAGAIJ.DLG~ ~override~
             ~KHALIJ.DLG~ ~override~
             ~KIVANJ.DLG~ ~override~
             ~MINSCJ.DLG~ ~override~
             ~MONTAJ.DLG~ ~override~
             ~QUAYLJ.DLG~ ~override~
             ~SAFANJ.DLG~ ~override~
             ~SHARTJ.DLG~ ~override~
             ~SKIEJ.DLG~  ~override~
             ~TIAXJ.DLG~  ~override~
             ~VICONJ.DLG~ ~override~
             ~XANJ.DLG~   ~override~
             ~XZARJ.DLG~  ~override~
             ~YESLIJ.DLG~ ~override~
 PATCH_IF (SOURCE_SIZE > 0x2f) THEN BEGIN // protects against invalid files
   WRITE_LONG 0x30 1
 END
 BUT_ONLY_IF_IT_CHANGES

COPY_EXISTING ~sw1h01.itm~ ~override/bg1npcmusic.g3~

PRINT ~PLEASE do not close this window until music decompression is complete.~

//windows
AT_INTERACTIVE_EXIT      ~bg1npcmusic/oggdec.bat~
AT_INTERACTIVE_UNINSTALL ~bg1npcmusic/oggdec.bat~

//os x
//AT_INTERACTIVE_EXIT      ~sh bg1npcmusic/osx_audio_install.sh~
//AT_INTERACTIVE_UNINSTALL ~sh bg1npcmusic/osx_audio_uninstall.sh~

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...