How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Trying to be developer ^^ Dens666 is offline
    MemberRank
    Jul 2010 Join Date
    PolandLocation
    1,080Posts

    How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    Hello,
    it's next of my short tutorial which showing how to edit basic things in Cabalmain.exe

    What you will need to edit cabalmain.exe property?:
    --- Ollydbg http://saintcabal.com/upload/ollydbg.rar (i hope rz staff won't kill me for that ^^) best version.
    --- 010 Sweetscape editor (or other hex editor but i recommend to use 010)

    Some knowledge at begining

    What is XOR Key?: It's a key which help to make our files safe agaist steal or edits.
    Xor key is needed to unpack the .enc files.
    XOR Key's address in Cabalmain 374:
    Code:
    004A82FA 83F0 57 XOR EAX,57 - 4th xor
    004A830C 83F0 67 XOR EAX,67 - 3rd xor
    004A831E 83F0 65 XOR EAX,65 - 2nd xor
    004A832F 35 92000000 XOR EAX,92 - 1st xor
    What is "load ech's" in cabalmain?: It's a amount of load visual files into our Cabalmain.
    for ex. if u want load ech's 14 (man14.ech & woman14.ech) you need to change the load in cabalmain to "CMP EAX,0E"
    Code:
    005daf38 CMP EAX,0C - Load Man.echs (this load ech's. 12)
    005db06a CMP EAX,0C  - load Woman.echs (this load ech's 12)
    List of all possible loads in cabalmain:
    Code:
    CMP EAX,0A = 10
    CMP EAX,0B = 11
    CMP EAX,0C = 12
    CMP EAX,0D = 13
    CMP EAX,0E = 14
    CMP EAX,0F = 15
    CMP EAX,10 = 16
    What is "load staff"?: It's an amount of load the wizard "staff" into Cabalmain - Not tested u do at ur own
    Code:
    008D4E81 => 1h_staff_%s.efx
    008D4EF3 => 1h_staff_%s_15.efx
    What is "Remove file check ENC"?: FIle check is related to xData if u dont know how to setup it and u have problem with start game cause appear error "File corrupted or missing" just remove it from cabalmain. Below u have address and what to do:
    Code:
    004A0C84 . 74 0D JE SHORT cabalmai.004A0C93 -------> Press space on it and write NOP and press enter
    004A0C86 . 85C0 TEST EAX,EAX
    004A0C88 . 74 09 JE SHORT cabalmai.004A0C93 -------> Press space on it and write NOP and press enter
    Copyright @PunkS7yle

    What is "Auction 4 slot load"?: It's allow to add 4 sloted items into Auction House
    Code:
    006F83e8
    jl 006F8358=> Press space and change the value to NOP and press enter
    
    006F8890
    jl 006F87FE=> Press space and change the value to NOP and press enter
    Someone release it but i can't find the thread, i had it in notepad. If u read it PM ME so i can add copyrights.

    What is husky?: "husky" is a startup command in Cabalmain, it allow to open the game and connect to server using language.enc. To avoid stealing ur work or smth u can change the husky command to other 5 character word.

    What is breaklee?: as up its startup command in cabalmain, it allow to open the game and connect to server using internal.txt. Breaklee allow to use SPECIAL commands for all users. To avoid connecting with breaklee command better is remove it from cabalmain.

    Ok enought knowledge, now let's start editing the Cabalmain, firstly we start with edit the "husky" command
    Open Cabalmain.exe in 010 Sweetscape editor (Remember that cabalmain must be unpacked) now press ctrl+f and serach for word "husky" u should find just one result.
    Now in ASCII (right side) edit the command by REPLACING EACH LETTER (DO NOT USE BACKSPACE).
    You can use just 5 bytes for the new command, it can be everything.
    Save & Exit - now u start ur game with new startup command.

    Let's now REMOVE the "breaklee" startup command, as up open Cabalmain in 010 editor.
    Press ctrl+f and serach for word "breaklee" u should find just one result.
    Now in left window side (hex) REPLACE each bytes of the breaklee world with "00"
    Before:
    http://saintcabal.com/upload/cabalmain_hex.png
    After:
    http://saintcabal.com/upload/cabalmain_hex_a.png
    Save & Exit - now the breaklee command is disabled.


    Ok, let's now start with Ollydbg, open cabalmain using ollydbg (remember cabalmain must be in folder where u have placed cabal files) also remember to run ollydbg as Admin!.
    If u have already loaded cabalmain in ollydbg now Press "Ctrl+G" and put address where u want to jump.
    Let's change the xor keys so. Ctrl + G and put adress "004A832F" and press enter.
    http://saintcabal.com/upload/olly_xor.png
    Here u have to edit 4 xor keys, just press on each xor SPACE and change the XOR EAX,85 to your new key, after change press enter and close the window, do the same with all other keys. When u change them all Right Click mouse somewhere -> Copy -> Select ALL
    if u have selected everything now again Right Click -> Copy to executable -> Selection
    New window appear, on this window Right Click -> Save File - now replace or save it with new name and done :) u have changed xor keys.
    By this way u do every modyfications in Cabalmain.

    If something is not clear just ask below :)
    I hope it helps, have fun.


  2. #2
    Member Windows8 is offline
    MemberRank
    May 2015 Join Date
    127.0.0.1Location
    85Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    Ok enought knowledge, now let's start editing the Cabalmain, firstly we start with edit the "husky" command
    Open Cabalmain.exe in 010 Sweetscape editor (Remember that cabalmain must be unpacked) now press ctrl+f and serach for word "husky" u should find just one result.
    Now in ASCII (right side) edit the command by REPLACING EACH LETTER (DO NOT USE BACKSPACE).
    You can use just 5 bytes for the new command, it can be everything.
    Save & Exit - now u start ur game with new startup command.
    I can't find it :( should I run any templates? Thanks for this :)

  3. #3
    Trying to be developer ^^ Dens666 is offline
    MemberRank
    Jul 2010 Join Date
    PolandLocation
    1,080Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    @Windows8 i might u trying to edit it in evo client I'm right? I said it can be changed only on UNPACKED cabalmain. If u can't find these that mean they are changed. Then serach for "crowpar" it's near breaklee so u can find manualy the husky also.

    Btw. Remember if u serach make sure u serach for string/text! Not for hex.

  4. #4
    Member Windows8 is offline
    MemberRank
    May 2015 Join Date
    127.0.0.1Location
    85Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    Quote Originally Posted by Dens666 View Post
    @Windows8 i might u trying to edit it in evo client I'm right? I said it can be changed only on UNPACKED cabalmain. If u can't find these that mean they are changed. Then serach for "crowpar" it's near breaklee so u can find manualy the husky also.

    Btw. Remember if u serach make sure u serach for string/text! Not for hex.
    I'm using my client unpack main

    - - - Updated - - -

    Got it now thanks :D

  5. #5
    Trying to be developer ^^ Dens666 is offline
    MemberRank
    Jul 2010 Join Date
    PolandLocation
    1,080Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    Just dont forget to use "like" button if i helped :)

  6. #6
    Proficient Member ijoo is offline
    MemberRank
    Mar 2008 Join Date
    171Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    great tutorial :) i like it..
    but how about GM command in cabalmain?
    like /_forcecalibur ?

  7. #7
    Trying to be developer ^^ Dens666 is offline
    MemberRank
    Jul 2010 Join Date
    PolandLocation
    1,080Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    Quote Originally Posted by ijoo View Post
    great tutorial :) i like it..
    but how about GM command in cabalmain?
    like /_forcecalibur ?
    Are u asking for change this command to other?
    Well if yes then I have to say it's not needed, this command can be used just with character with GM nation. Anyway answering for your questions GM commands are not placed in cabalmain just in WorldSvr.elf in server side. Open this file in hex editor and I think u are able to change it because its there saved in ASCII but for what? ^^
    If u asking if disable breaklee have smth to /_forcecalibur then answer is no.

  8. #8
    Proficient Member ijoo is offline
    MemberRank
    Mar 2008 Join Date
    171Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    i mean enabling command GM.. so that command not from cabalmain... ? so to fix command GM is from server side?

  9. #9
    Trying to be developer ^^ Dens666 is offline
    MemberRank
    Jul 2010 Join Date
    PolandLocation
    1,080Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    But GM command are working, you just need to have GM nation.

  10. #10
    PwrGames PwrDex is online now
    MemberRank
    Jul 2011 Join Date
    /var/log/cabalLocation
    793Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    That 4 slot auction house adresses are good things. Keep up this good job and try to get life to this section.

  11. #11
    Proficient Member ijoo is offline
    MemberRank
    Mar 2008 Join Date
    171Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    Quote Originally Posted by Dens666 View Post
    But GM command are working, you just need to have GM nation.
    did you try execute and work /_forcecalibur?
    because when i test fallen release work with nation bar..

  12. #12
    Trying to be developer ^^ Dens666 is offline
    MemberRank
    Jul 2010 Join Date
    PolandLocation
    1,080Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    Quote Originally Posted by ijoo View Post
    did you try execute and work /_forcecalibur?
    because when i test fallen release work with nation bar..
    You need to prepare ur channel correctly.
    I mean you need to edit GlobalMgrSvr and channel type :)

  13. #13
    Apprentice Helsing is offline
    MemberRank
    Jul 2013 Join Date
    WashingtonLocation
    17Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    @How do I change to read the language?

  14. #14
    Novice beeep03 is offline
    MemberRank
    Nov 2015 Join Date
    4Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    Help me after i edit the cabalmain these is happen[IMG]hlp.png[/IMG]

  15. #15
    Trying to be developer ^^ Dens666 is offline
    MemberRank
    Jul 2010 Join Date
    PolandLocation
    1,080Posts

    Re: How to edit Cabalmain.exe (Xor's, ech's, load staff, AH 4 slots, husky, breaklee)

    Quote Originally Posted by beeep03 View Post
    Help me after i edit the cabalmain these is happen[IMG]hlp.png[/IMG]
    Screen not working.



Page 1 of 2 12 LastLast

Advertisement