🛈 Announcement
Greetings! Far Cry forums are now archived and accessible in read-only mode, please go to the new platform to discuss the game.
  1. #1

    [Tool] Entity Archetype Browser (ark.xml)

    Entity Archetype Browser

    This tool can be used to quickly browse extracted Far Cry 4 Entity Archetype files (*.ark.xml). You can obtain a set of +9000 converted Entity Archetype files from this download (created by RazorFinnish & Janne252). You will need the latest version of .NET Framework in order to run this application.




    The tool is relatively easy to use - use the button to select a path where your converted *.ark.xml files are (see the top of this post for a download of a set of +9000 *.ark.xml files) or paste in a path and hit enter. You can also run the tool from the same directory where these *ark.xml files are stored.

    It will take a moment to load all the files but once that's done you can start filtering the view by typing in the filter textbox. Right-click rows for more options. Selecting multiple rows with the checkboxes only affects "Copy objectInventry entry".

    Downloads

    Share this post

  2. #2
    Flanker1Six's Avatar Senior Member
    Join Date
    Aug 2013
    Location
    US
    Posts
    2,125
    LOL! That's the ticket! I asked RF this morning if there was a way to tell which file was which, as I didn't really feel like a trial and error of over 9200 xml files! TY! DLing now.

    +1!

    UPDATE: Works nice! Pulled up the NPC AK47 and took a quick peak.......................75 meters max range and the bullet ceases to exist! Power factor breaks are at 1, 10, 60, and 75 meters. 45 rounds per mag?! WTF! NPCs don't need mags...............................they never run out of ammo! I see ther ecoil parameters and zoom factor for iron sights.

    Got stuff to do! TY again!
    Share this post

  3. #3
    Originally Posted by Flanker1Six Go to original post
    LOL! That's the ticket! I asked RF this morning if there was a way to tell which file was which, as I didn't really feel like a trial and error of over 9200 xml files! TY! DLing now.

    +1!
    We've been closely working together - this is one of our "dev" tools.
    Share this post

  4. #4
    I'm still a little tad confused on how to do this. The first thing is i want to do is adjust the range of the AK47 and the other is compiling. The readme says something about Stock Gibbed tools.
    Share this post

  5. #5
    Flanker1Six's Avatar Senior Member
    Join Date
    Aug 2013
    Location
    US
    Posts
    2,125
    That's a reference to Rick's Gibbed Dunia 2 tool set; you may get a copy at: Take the one with the highest number (115 I think).

    http://svn.gib.me/builds/dunia2

    There's a bunch of tools in the tool set; I mostly use the unpack, pack, and convertbinaryobject.exe tools.

    There's a how to video for the tool set at: https://www.youtube.com/watch?v=wssj7gZN8Ic

    Keep in mind the tutor is discussing modifying the vanilla FC 3, and not one that has a mod installed.

    I "think" the three tools I mentioned above will allow you make adjustments to weapon stats if you start with the archetype files developed by Janne & JRavens. Good luck!
    Share this post

  6. #6

    This is so cool. Definitely will be using this.
    Share this post

  7. #7
    These are great (God I wish I had these about 3 weeks ago ugh). Thank you for this!

    Unfortuantely I don't think they will work without your guys class definition files, because when I edited any and convert with Dunia and add to a patch they crash out the game on load

    Tried several different files - asian elephant, kurki, svd. Tried them one at a time and no joy. So for now I'm back to hex editing the original FCBs which... well... sucks
    Share this post

  8. #8
    Originally Posted by jvarnes Go to original post
    Unfortuantely I don't think they will work without your guys class definition files
    That is what I think as well... as I can't even get the Gibbed tools to recompile it back to fcb.

    Code:
    $ Gibbed.Dunia2.ConvertBinaryObject.exe --verbose --fcb 153129968707904202.ark.xml
    Loading project...
    Loading binary class and object definitions...
    Reading XML...
    Warning: could not find binary object file definition '.ark.fcb'
    
    Unhandled Exception: System.FormatException: could not parse enum value 'Snap' as an Int32 (perhaps enum definition is missing?)
    ...

    Another thing I noticed was that in the readme.txt, it says to put them in "<root>/entityarchetypes/":
    Code:
    (e.g. directory will be %modname%/entityarchetypes)
    But it looks like the lua scripts would be looking for them in "<root>/entityarchetypeslibrary/"
    Code:
    fcc_main/__UNKNOWN/scripts/0055498473F49CFA.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    fcc_main/__UNKNOWN/scripts/2F673B96B6D1D7B7.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    fcc_main/__UNKNOWN/scripts/49753E8473F67B64.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    fcc_main/__UNKNOWN/scripts/88F57A8473F5921A.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    fcc_main/__UNKNOWN/scripts/99025EFC064442AC.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    fcc_main/__UNKNOWN/scripts/C1D50D8473F77584.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    But thats not even something I care about at this point... as I can't even make it past the XML -> FCB conversion.

    Btw, how were these files extracted, since almost every single FCB I have converted has been 90% BinHex...


    Edit: FWIW, I'm using dunia2-r179_b115, which appears to be the latest available version from his site.
    Share this post

  9. #9
    Originally Posted by StabbysUPAcct Go to original post
    That is what I think as well... as I can't even get the Gibbed tools to recompile it back to fcb.

    Code:
    $ Gibbed.Dunia2.ConvertBinaryObject.exe --verbose --fcb 153129968707904202.ark.xml
    Loading project...
    Loading binary class and object definitions...
    Reading XML...
    Warning: could not find binary object file definition '.ark.fcb'
    
    Unhandled Exception: System.FormatException: could not parse enum value 'Snap' as an Int32 (perhaps enum definition is missing?)
    ...

    Another thing I noticed was that in the readme.txt, it says to put them in "<root>/entityarchetypes/":
    Code:
    (e.g. directory will be %modname%/entityarchetypes)
    But it looks like the lua scripts would be looking for them in "<root>/entityarchetypeslibrary/"
    Code:
    fcc_main/__UNKNOWN/scripts/0055498473F49CFA.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    fcc_main/__UNKNOWN/scripts/2F673B96B6D1D7B7.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    fcc_main/__UNKNOWN/scripts/49753E8473F67B64.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    fcc_main/__UNKNOWN/scripts/88F57A8473F5921A.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    fcc_main/__UNKNOWN/scripts/99025EFC064442AC.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    fcc_main/__UNKNOWN/scripts/C1D50D8473F77584.lua: cbox:LoadResource([[entityarchetypeslibrary/153129968707904202.ark.fcb]], "CEntityArchetypeRes");
    But thats not even something I care about at this point... as I can't even make it past the XML -> FCB conversion.

    Btw, how were these files extracted, since almost every single FCB I have converted has been 90% BinHex...
    That's the reason I provided the files in Xml format; I've got some automated type finding stuff in the modified build of the tools- includes automatic string type detection.

    %modname% is the root directory of the mod. E.g. the directory you will pack, I guess I should clarify the readme a bit for the next converted archetypes library version... Anyway, my mistake, when uploading them I forgot about the enum definitions causing problems...

    Check this thread for the definitions, also explains how to use some stuff. (Definitions are included in the "Installing The Mod Tools"-spoiler tags.)
    Share this post

  10. #10

    Archetype for DLC the Valley of the Yeti

    Tell please and whether there is archetype for DLC the Valley of the Yeti?
    Share this post