1. Dismiss Notice
  2. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  3. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  4. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  5. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

Need Help How to place custom music in game

Discussion in 'POTC Build Mod' started by STARk7, May 27, 2017.

  1. STARk7

    STARk7 Landlubber

    Joined:
    Mar 11, 2017
    Messages:
    18
    Gender:
    Male
    Location:
    Serbia
    I want to place sailing ambient sound from AC IV and sea shanties music also from AC IV in POTC is it possible?
     
  2. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,150
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Of course.
    Music needs to be converted to OGG and placed in RESOURCE\Sounds\Music
    Then tell the game the new files exist by editing the music_standard.c file in PROGRAM\sounds\alias
     
  3. STARk7

    STARk7 Landlubber

    Joined:
    Mar 11, 2017
    Messages:
    18
    Gender:
    Male
    Location:
    Serbia
    Ok apparently I'm doing something wrong I placed Sea shanties from AC IV in RESOURCE/sounds/music and converted it to OGG and I placed sailing ambient sound from AC IV to RESOURCE/sounds/Ambient and converted it to WAV I edited music_standard.c file,I edited "Sea" section and i also edited sound_sheme.ini, I edited Sea...something section I'm not sure right now I'm not at home.Anyway now when my game loads it crashes to desktop 5-10 seconds after it loads,what am I doing wrong?
     

    Attached Files:

  4. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,262
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    Check the errorlog, systemlog and compilelog if you can see anything.
     
  5. STARk7

    STARk7 Landlubber

    Joined:
    Mar 11, 2017
    Messages:
    18
    Gender:
    Male
    Location:
    Serbia
    I'll check it when I get home,but have I edited something incorrectly?
     
  6. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,150
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    If the game crashes, then probably yes. With a bit of luck, error.log will tell you which file and which line you should check.
     
  7. STARk7

    STARk7 Landlubber

    Joined:
    Mar 11, 2017
    Messages:
    18
    Gender:
    Male
    Location:
    Serbia
    Sorry I forgot to mention,first time I just placed files and edited music_standard.c and sound_sheme.ini and I forgot to convert them the game worked but sound files didn't the game started crashing after I converted them,I know that Sea shanties music is 10 minutes long I'm not sure how big it is but sailing ambient sound is pretty big I believe it is bigger than 3 gb,can that be a problem?,Also I'm not very concerned about the game crashing because I have a backup of the game but I would still like to see those files working in game
     
  8. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,150
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    @STARk7: In that case, perhaps the code is actually correct but indeed the music files are larger than the game can handle.
    Some stuff to try: Reduce the bitrate and/or cut up the 10-minute track into several shorter ones.
    Unless you play a lot with DirectSail, there is a large chance you won't hear the second half anyway because you'd have already swapped scenes by then.
     

Share This Page