Results 1 to 10 of 47

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Here I am! ztealmax's Avatar
    Join Date
    Jan 2012
    Replies
    11
    Country
    Sweden
    Steam
    ztealmax
    As far as iknow the et-sdl-sound.so check crc32 on bin file and if it is correct
    it fixes the sound, and if not it doesnt, according to the maker of et-sdl-sound.so

    No way around that except recompiling and adding crc32 of modded file.

    case 0x6ab49f82:
    version = "ET 2.60b"; // Original 2.60b Patch
    writeJump((void *) 0x08188250, (void *) SNDDMA_Init);
    writeJump((void *) 0x08188840, (void *) SNDDMA_GetDMAPos); writeJump((void *) 0x081888d0, (void *) SNDDMA_Shutdown); writeJump((void *) 0x081888f0, (void *) SNDDMA_BeginPainting); writeJump((void *) 0x081888e0, (void *) SNDDMA_Submit); _Cvar_Get = (cvar_t* (*) (const char *, const char *, int)) 0x08073bb0;
    dma = (dma_t *) 0x0926d3a4; break;
    Last edited by ztealmax; 29-01-2012 at 19:02.

  2. #2
    Here I am! Rudi's Avatar
    Join Date
    Jan 2012
    Replies
    16
    Country
    United Kingdom
    Quote Originally Posted by ztealmax View Post
    No way around that except recompiling and adding crc32 of modded file.
    The file can be very easily bytepatched, a switch statement translates down to a JMP table, so you would find the case for '0x6ab49f82' and replace that CRC.

    I will look into this when I get time and should be able to provide a .sh you can run to patch this.

    Quote Originally Posted by testforecho View Post
    hmm wouldn't punkbuster complain if et.x86 has a different crc? Or it's such a fail that it doesn't even check such things
    PB is dead, it doesn't kick for anything now.
    Last edited by Rudi; 30-01-2012 at 11:49.

  3. #3
    Spamming the boards! testforecho's Avatar
    Join Date
    Oct 2011
    Replies
    103
    Quote Originally Posted by Rudi View Post
    PB is dead, it doesn't kick for anything now.
    well at this point I would just recompile et with sound support taken from xreal, and change the #define with the server name and stop using et-sdl-sound if I have to play in servers without pb, but I prefer to use the standard et and change /etc/hosts then

  4. #4
    Here I am! ztealmax's Avatar
    Join Date
    Jan 2012
    Replies
    11
    Country
    Sweden
    Steam
    ztealmax
    Quote Originally Posted by Rudi View Post
    The file can be very easily bytepatched, a switch statement translates down to a JMP table, so you would find the case for '0x6ab49f82' and replace that CRC.

    I will look into this when I get time and should be able to provide a .sh you can run to patch this.
    Ohh man if you would fix that for me i would love you forever since me trying to compile this old et-sdl-sound.so is a epic fail

    Eager waiting for the .sh (When i finally have sound i can do what im good at, making maps)

    Sincerally soundless
    //Martin

    a side note, what other anticheat software are there for ET?
    Last edited by ztealmax; 2-02-2012 at 13:23.

  5. #5
    Spamming the boards! testforecho's Avatar
    Join Date
    Oct 2011
    Replies
    103
    Quote Originally Posted by ztealmax View Post
    Ohh man if you would fix that for me i would love you forever since me trying to compile this old et-sdl-sound.so is a epic fail
    you could do it yourself:
    open it (edit: I mean et-sdl-sound.so) with a hex editor, then search for 82 9F B4 6A (it's 6ab49f82 if you read the bytes from last to first) and replace it with the new crc (the byte order must be changed in the same fashion!)

    The assembly would change from cmp eax, 6ab49f82 to the new value. Done.

    Didn't test it because I don't have any modified et, but it should work.

Posting Permissions