1. #1

    [TOOL] SFK Binary Patcher [a0.02][upd. lib]

    Hy guys,

    i made a simple tool (gui) for .dll patching. This maybe help gathering all tricky .dll modification for Far Cry 3 and give a safety and simple solution for standard users.

    Warning! Use own risk without any warranty!

    I use Autohotkey and Swiss File Knife - "A Command Line Tools Collection" from StahlWorks Technologies.

    Here is a screenshot:


    How to use?

    Just select the file for patching - program try to make a .backup file when you patch - select one or more binary patch and press [Patch with selected] button. If you want reverse just use button above. Thats all.

    > DOWNLOAD: HERE. <
    Note: this is alpha version, please will be carefuly!

    If you want to help - or use other hex modification - post here the content of your binary patch file and I will update the patch library.

    Patch files folder: \lib\patch

    The binary patch fileformat (textfile) is very simple, have tree lines:
    1. Short usefull description include the creator name and filename
    2. Pattern for find
    3. Pattern for replace

    Heres is a sample in FarCry3_Stop_object_blinking
    Code:
    Stop object blinking (-1.04) ~ tom.solo | FC3_d3d11.dll or FC3.dll
    48 69 67 68 4C 69 67 68 74 43 6F 6C 6F 72 32 00 48 69 67 68 4C 69 67 68 74 43 6F 6C 6F 72 00
    48 69 67 68 4C 69 67 68 74 43 6F 6C 6F 72 00 00 48 69 67 68 4C 69 67 68 74 43 6F 6C 6F 72 32
    Cheers!
    Share this post

  2. #2
    Originally Posted by Viragoxv535 Go to original post
    As there is no index for available mods and no official place where to gather them.. that seems a very good solution!
    Now.. if just modders would please post their lines here...
    Are you ******ed or something? Did you happen to notice the thread titled Mods for Far Cry 3? It's an index of available mods. Way to miss something right under your nose.
    Share this post

  3. #3
    Originally Posted by jketiynu Go to original post
    Are you ******ed or something? Did you happen to notice the thread titled Mods for Far Cry 3? It's an index of available mods. Way to miss something right under your nose.
    No offense pls.

    The topic's first message have a nice list for current discovered mods, compilations and tools like - Gibbed Tools Dunia 2 GUI wich included some feature for dll patching too - but my project's target only the hex edit things.
    Share this post

  4. #4
    This is a nice tool you got here, thank you for that!!
    Just to clarify, if I post the hex edits from other already discovered mods here, you'll add then to the gui? Edits ranging from sounds removed to the wall-hack hex edit.?(i know this id now avail to patched in thru dunia2, but you get the idea). This is would just make things must easier in the future, should updates change the dlls. Plus reverting back is a time saver.
    Share this post

  5. #5
    Originally Posted by PandoraX357 Go to original post
    This is a nice tool you got here, thank you for that!!
    Just to clarify, if I post the hex edits from other already discovered mods here, you'll add then to the gui?
    Sure, - i don't have time gathering all FC3 .dll patch, because I personaly just use few - but if you (or anybody) collect other patches and post here I updated with this the ibrary. I have only one request would be: if you posted here a live discovered mod pls. display the original founder (nick) name in description line.

    I have some planning features in my TODO list:
    - language selection / translation
    - cleaning / simplify functions and code
    - multipatch options (if need more pattern replacing)
    - dpi indenpendent gui (currently best viewed in 72 dpi)
    etc..
    Share this post

  6. #6
    Thanks Tom!
    Share this post

  7. #7
    I updated the library for 1.04 compatible mods + Retake experimental mod.
    Added lexman826's Permanent outposts - all safehouse locked mod.
    Share this post

  8. #8
    Beater1no's Avatar Member
    Join Date
    Dec 2012
    Location
    CH
    Posts
    50
    allready 1.04? wow.
    thank you a lot.
    Share this post

  9. #9
    Tom that's an awesome little tool thank you
    Share this post

  10. #10

    Hex Requests

    Thrilled to see the progress here Tom!
    I'd like to additionally request:

    How to remove the wallhack tagging when using the camera
    posted by @KyodanXD:

    Open the FC3.dll and/or FC3_d3d11.dll (depending on what you use) in any hex editor. Search for the following hex array:


    Code:
    53 68 6F 77 54 68 72 6F 75 67 68 57 61 6C 6C 73 41 6C 70 68 61 Change the last value from 61 to 6F, so it reads like so:


    Code:
    53 68 6F 77 54 68 72 6F 75 67 68 57 61 6C 6C 73 41 6C 70 68 6F Lastly, do a search for the following array:



    Code:
    53 68 6F 77 54 68 72 6F 75 67 68 57 61 6C 6C 73 00 Change the second to last value from 73 to 6F, so it reads like so:



    Code:
    53 68 6F 77 54 68 72 6F 75 67 68 57 61 6C 6C 6F 00 Essentially, you're renaming the commands ShowThroughWallsAlpha to ShowThroughWallsAlpho and ShowThroughWalls to ShowThroughWallo, which nullfies the commands when they're called.
    While you're at it, would you additionally include:
    Remove objective reminders
    posted by @Chorizosss:

    If you want to remove objective reminders , do the following:
    - Get a hex editor, I like HxD and it's free.
    - Open FC3.dll or FC3_d3d11.dll. Make a backup first.
    - Search for hex 4F 00 62 00 6A 00 43 00 6F 00 6E 00 74 00 61 00 69 00 6E 00 65 00 72, or
    look for offset 015D29F0 (FC3.dll) or 015E18F0 (FC3_d3d11.dll), it should say
    O.b.j.C.o.n.t.a.i.n.e.r, replace it with all zeroes.
    - To disable the sounds as well, search for text sndObjectiveUpdatePopup and
    sndLogUpdatePopup, replace those with zeroes.
    - Save.
    - Enjoy.
    Also,
    I was wondering if you'd be interested in adding the sound removal options? Those pretty much posted across the web immediately after release.
    Share this post

Page 1 of 5 123 ... Last ►►