🛈 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

    [MOD|REL] ASI Loader, no more dll patching

    This is a DLL file which adds ASI plugin loading functionality to FAR CRY 3.
    ASI Loader is the tool, allowing to load custom libraries with extension .asi in the game process. At the game startup the loader scans the game root folder(and scripts folder) and loads all the asi files that are normally have to be common dynamic libraries (.dll) with changed extension.

    This tool not modified any existing files in game directory. I made two example plugins, based on information which was found on this forum:
    -Remove all hud
    -Remove objective reminders

    Installation: Copy dsound.dll, dsoundhooked.dll and scripts folder to "...\FarCry 3\bin" directory. ASI plugins can be stored in bin or scripts folder. You can find couple of them in 'Examples' folder, and source codes in 'Examples sources'.

    DOWNLOAD: FarCry3_asi_loader_1.0.zip

    I hope someone will find it useful.
    Share this post

  2. #2
    Weird, as far as I know Dunia doesn't even use DirectSound, and FC3.dll doesn't seem have dsound in its dependencies...?

    Well, I haven't tested it and don't know more about this ASI stuff, so I might be wrong. (Bink might use DirectSound for the videos, though, so that might be why it works)
    Share this post

  3. #3
    You really think i didn't test it before uploading?
    And, by the way, example plugins compatible only with latest patch.
    Share this post

  4. #4
    Originally Posted by ThirteenAG Go to original post
    This is a DLL file which adds ASI plugin loading functionality to FAR CRY 3.
    ASI Loader is the tool, allowing to load custom libraries with extension .asi in the game process. At the game startup the loader scans the game root folder(and scripts folder) and loads all the asi files that are normally have to be common dynamic libraries (.dll) with changed extension.

    This tool not modified any existing files in game directory. I made two example plugins, based on information which was found on this forum:
    -Remove all hud
    -Remove objective reminders

    Installation: Copy dsound.dll, dsoundhooked.dll and scripts folder to "...\FarCry 3\bin" directory. ASI plugins can be stored in bin or scripts folder. You can find couple of them in 'Examples' folder, and source codes in 'Examples sources'.

    DOWNLOAD: FarCry3_asi_loader_1.0.zip

    I hope someone will find it useful.
    The idea isn't bad, but -imho- using a CT table or CE (prepared start for some constans(eg Higlight Colors)) maybe a little easier.
    Share this post

  5. #5
    Originally Posted by ThirteenAG Go to original post
    You really think i didn't test it before uploading?
    Not really, just the dsound.dll seemed a bit weird as the game itself doesn't use DirectSound.
    Share this post

  6. #6
    Originally Posted by tom.solo Go to original post
    The idea isn't bad, but -imho- using a CT table or CE (prepared start for some constans(eg Higlight Colors)) maybe a little easier.
    It's not really hard, if you have some addresses to patch in exe or dll, you just need to find them in memory and put into asi. I'm not really experienced c++ programmer, and i believe my examples are very simple. By the way, it think this ASI Loader could work with FarCry 2 too.
    Share this post

  7. #7
    v00d00m4n's Avatar Member
    Join Date
    May 2005
    Location
    Russia, Moscow
    Posts
    56
    Good, GTA SA style ASI loader for FC3 ))
    By the way, why still calling it ASI loader insteald of DLL? well for old good GTA SA it was just called that way for compat reasons and keep style of gta 3 and vs , that uses Miles Sound System which autoloads anything with ASI extension as dll) but why keep calling it asi for other games?)
    Share this post