mounts / sounds

Results 1 to 12 of 12
  1. #1
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    mounts / sounds

    Ok, I found and added the actual sounds in sfx.pck

    Now,,, I cannot find where/what points to said sounds (I imported a mount, and it sounds like I'm walking while on it) -- been poking around the mounts ECMs and couldn't find it =\

    Anyone have any insight?


  2. #2

    Re: mounts / sounds

    Elements.data, pets hatched (list 92), hp A (line 8)
    There are 5 different sounds supported:
    0 - horse
    1 - bear
    2 - panther / lion
    3 - raptor
    4 - kirin

  3. #3
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: mounts / sounds

    Thanks!

    Any way to add to this ?

  4. #4

    Re: mounts / sounds

    What do u mean by "add", you just change the digit in elements.data :P
    Afaik 1.3.6 cannot have more than these 5 basic sounds.

  5. #5
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: mounts / sounds

    Quote Originally Posted by avalanche3 View Post
    What do u mean by "add", you just change the digit in elements.data :P
    Afaik 1.3.6 cannot have more than these 5 basic sounds.
    I was looking to add a new sound, but since that's not possible I will just have to substitute one of the existing ones, or replace one of the existing ones with the one I want :) Thanks again :)

  6. #6
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: mounts / sounds

    Quote Originally Posted by 343 View Post
    Any way to add to this ?
    Not very sure if this would do it, but



    Resembles an array, you could attempt to add another sound file there and see what happens but I don't think that would work unless you broke out a disassembler and added the array as ASM (good luck .-.)

    Edit: if only I knew ASM...
    Last edited by das7002; 17-08-11 at 11:09 AM.

  7. #7
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: mounts / sounds

    I think I may work on this some today (not too sure) -- I'll keep you posted to let you know what if any luck I have ;) :)

  8. #8
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: mounts / sounds

    No luck, as of yet, adding a sound (its run and walk). I will have to mess around with this when I'm not so busy, or substitute a sound for a sound, or just leave it alone...Not too sure what I want to do if I cannot figure out how to add it =\

  9. #9
    uint is best int. Swoosh91 is offline
    MemberRank
    Feb 2010 Join Date
    BerlinLocation
    712Posts

    Re: mounts / sounds

    @das

    The call function (0x006F9160) you see after each sound is the loading procedure, it tells d3d to load sound into ram as far as I can tell.

    If you trace it further you can see (at the top of the function) a call to .resize(), which will size the array to fit sounds. Basically, if you find a codecave, write the wished instructions there, jmp back to code, and call that injected procedure, you should be able to load more sounds.

    Just theory though, I havent done it :)

  10. #10
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: mounts / sounds

    Quote Originally Posted by Swoosh91 View Post
    @das

    The call function (0x006F9160) you see after each sound is the loading procedure, it tells d3d to load sound into ram as far as I can tell.

    If you trace it further you can see (at the top of the function) a call to .resize(), which will size the array to fit sounds. Basically, if you find a codecave, write the wished instructions there, jmp back to code, and call that injected procedure, you should be able to load more sounds.

    Just theory though, I havent done it :)
    I did kind of notice that pattern, I just have 0 experience with assembly. This would probably be a good opportunity to mess with some assembly though...

  11. #11
    Viva la Vida NaMeLeS is offline
    MemberRank
    Jul 2011 Join Date
    613Posts

    Re: mounts / sounds

    Just an idea, you could try comparing your elementclient with the pwi element client with a hex editor, PWI have added in new sounds for new mounts so you might be able to get it working in elementclient with a bit of luck...

  12. #12
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: mounts / sounds

    I did do that, they're WAY off (different)...



Advertisement