Author Topic: Adding Custom Music and Ambient Sound tracks  (Read 221 times)

0 Members and 1 Guest are viewing this topic.

Not Yet Rated!

Offline Prosoro

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 189
  • Country: nz
  • Karma: +6/-0
  • Gender: Male
  • Formerly 'Nefer' of the tq.net forums.
    • View Profile
    • Awards
Adding Custom Music and Ambient Sound tracks
« on: 23 February 2019, 05:07:51 »

This topic has come up a number of times and is documented in various places such as here: https://titanquest.fandom.com/wiki/In_Game_Music

But I bring it up here again to once and for all try and find definitive answers on how this is done - and perhaps more importantly, why the commonly found instructions need further elaboration. 

I've followed the instructions in that link, and consulted other sources, but it just doesn't work for me.  Maybe for others this works as it should? Idk, maybe I'm missing something painfully obvious here. 

In my case;
a. I import my custom music/ambient sound tracks (mp3) in the Sources tab of the AM
b. Then auto create asset.  New music shows up in Assets tab
c. Build this.
d. Manually copy my changes (my mod under CustomMaps) from Documents directory to Game directory
e. Open Editor, select Layer tool and then Sound Layer.  Create new Layer.
f. Open music/sounds database list using ellipsis
g. .......No sign of my new music anywhere within the massive list  :( >:(


Sigh.  So I go back to the AM and have a search around, try and see if I made a mistake or missed something.  Heck, even look into alternative ways at getting this to work.  Still no success.

So, any help?




~  Anything new for TQ? See what Unearthed StudiosNZ has been up to - Details at www.hamunaptramod.com  ~


Lurking no more..

Not Yet Rated!

Offline Bumbleguppy

  • Forum Moderator
  • Full Member
  • *
  • Posts: 490
  • Country: us
  • Karma: +20/-0
    • View Profile
    • Awards
Re: Adding Custom Music and Ambient Sound tracks
« Reply #1 on: 23 February 2019, 19:29:00 »
Wait...

Did you add the .mp3 to assets and build and then create a .dbr file in the AM?

The list of music in the map editor is dbr files in the AM.

You have to create a music .dbr file and add your built .mp3 to that and then save and build to see it in the Map Editor.

Not Yet Rated!

Offline Prosoro

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 189
  • Country: nz
  • Karma: +6/-0
  • Gender: Male
  • Formerly 'Nefer' of the tq.net forums.
    • View Profile
    • Awards
Re: Adding Custom Music and Ambient Sound tracks
« Reply #2 on: 24 February 2019, 10:32:19 »

Yeah so in the AM I have the .mp3 file in Assets.  Built this.  Then in the Database tab created a new 'InGameMusic' directory, imported an existing vanilla event music theme .dbr, made my own copy then opened it and added my new .mp3 file to the appropriate field which I understand is 'eventmusicname' variable in the Sound Properties section. 

Built this and exited AM.  Copied changes over to installation directory.  Opened up Editor up and in the Layer tool went to 'sounds' etc, opened the Database list for music/sounds and scrolled through this, still nothing showing.  Also put CAPS for the custom .dbr file so that if it does show up I won't miss it.

So is that basically what you have done BG? You've got music showing up in that list??

~  Anything new for TQ? See what Unearthed StudiosNZ has been up to - Details at www.hamunaptramod.com  ~


Lurking no more..

Not Yet Rated!

Offline Endymion

  • Modder
  • Hero Member
  • *
  • Posts: 53
  • Country: aq
  • Karma: +1/-0
    • View Profile
    • Awards
  • Time Zone: ?
Re: Adding Custom Music and Ambient Sound tracks
« Reply #3 on: 27 February 2019, 13:19:09 »
Editor's Sound layer takes .dbrs only from the following directories:
records\sounds\
records\xpack\sounds\
records\xpack2\sounds\

You'll have to build your record under one of them in order to use it in the Sound layer.

Not Yet Rated!

Offline sauruz

  • Slayer of Titans
  • Global Admin
  • Full Member
  • *
  • Posts: 781
  • Country: pt
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: ?
Re: Adding Custom Music and Ambient Sound tracks
« Reply #4 on: 07 March 2019, 12:11:29 »
Did have any sucess in adding extra music into game ? Prosoro ?

Im thinking  adding extra music into game as well.

"Welcome to new home, be nice and strong ! "

Not Yet Rated!

Offline Prosoro

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 189
  • Country: nz
  • Karma: +6/-0
  • Gender: Male
  • Formerly 'Nefer' of the tq.net forums.
    • View Profile
    • Awards
Re: Adding Custom Music and Ambient Sound tracks
« Reply #5 on: 08 March 2019, 06:02:28 »
Hey Sauruz,

Yeah I did have success eventually  :)  and have been meaning to update this with how I got it to work.  When/if I get time tonight I'll post something here
~  Anything new for TQ? See what Unearthed StudiosNZ has been up to - Details at www.hamunaptramod.com  ~


Lurking no more..

Tags: