Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

opium_addict

[GTAIV|REL] GenericLoader

Recommended Posts

opium_addict

GenericLoader is a dll loader which is not dependent on game version, it has no special fixes or anything like that, just a loader.

 

Loads any and all DLL files you specify, it even (now) supports ASI, and any other file extension really.

 

DOWNLOAD

 

Instructions:

 

Simple, put "dinput8.dll", "individual.cfg" and "folder.cfg" in your EFLC or GTAIV directory (which contains either EFLC.exe or GTAIV.exe),the "folder.cfg" works by setting folder names you wish to load, i.e. by default "plugins\" is specified, but you can load any folder by replacing "plugins\" or adding another line, like:plugins\tools\mods\note: folders ONLY load DLL files by default.the "individual.cfg" works by loading only 1 dll you specify, or ASI even.It has the same format as the folder.cfg except with a minor difference.format is as follows:plugins\Trainertbogt.dllplugins\AnarchyMod.asiplugins\MYAWESOMEFILE.dllyou can also load them from your main folder by doing this:Trainertbogt.dllAnarchyMod.asiMYAWESOMEFILE.dllyou can also "comment" out lines so that scripts don't load, but it is easy to put back the next time.a commented line might look like:# plugin\Trainer.asias long as it starts with "#" it will be ignored and not loaded.

 

 

Note: ScriptHook.dll goes in GTAIV or EFLC's directory!!!!!!!!!!!!!

 

This should never really need to be updated (lol i updated it anyway), which seems to be some other loader's downsides, have fun.

 

Credits:

s0beit

JeNkStA (dinput is easier to proxy)

 

http://gta4.pastebin.com/8dHcEzyb

Edited by opium_addict

Share this post


Link to post
Share on other sites
silvermanblue

Tried it out, didnt work on any asi files that I renamed

 

Share this post


Link to post
Share on other sites
opium_addict

There may be a bug in it, i tried multiple files yesterday and it only loaded the first module, i will be updating this most likely anyway

(because i want it to be able to load entire folders and specific files as well)

Share this post


Link to post
Share on other sites
an0nm00s3

Try this instead

 

 

while( FindNextFileA( hFirst, &f ) != 0 ){sprintf( pszPluginPath, "plugins\\%s", f.cFileName );hModule = LoadLibraryA( GApp.GetDirectoryFileA( pszPluginPath ));if( hModule ){ GApp.AddToLogFileA( "[Log] Loaded plugin [%s][0x%X]", GApp.GetDirectoryFileA( pszPluginPath ), hModule );}else{ GApp.AddToLogFileA( "[Log] Error Loading plugin [%s]", GApp.GetDirectoryFileA( pszPluginPath ) );}}

 

Edited by an0nm00s3

Share this post


Link to post
Share on other sites
opium_addict

Version 2 (1.1) is finished, more extensive. check it out above devil.gif

Share this post


Link to post
Share on other sites
opium_addict

Sorry for the double-post, i didn't know the etiquette on this one, but i updated genericloader one subversion, changes include:

 

added the ability to comment out lines from being loaded, for ease of removing/adding ASI/DLLs into the list.

Share this post


Link to post
Share on other sites
StillMisters007

Dont download, this sh*t no works :

 

 

Individual File Found [C:\Program Files\Rockstar Games\EFLC\plugins\Trainertbogt.dll]Warning: Failed to load module [C:\Program Files\Rockstar Games\EFLC\plugins\Trainertbogt.dll]Folder Found [C:\Program Files\Rockstar Games\EFLC\plugins\]

 

Share this post


Link to post
Share on other sites
opium_addict

 

Dont download, this sh*t no works :

 

 

Individual File Found [C:\Program Files\Rockstar Games\EFLC\plugins\Trainertbogt.dll]Warning: Failed to load module [C:\Program Files\Rockstar Games\EFLC\plugins\Trainertbogt.dll]Folder Found [C:\Program Files\Rockstar Games\EFLC\plugins\]

 

Yes it does, i am currently using it.

 

I don't know what is wrong with yours, but i have no issues (and a bunch of people i gave it to so far)

 

[ Generic Loader ] Version 1.1 loadedIndividual File Found [D:\Steam\steamapps\common\grand theft auto iv\GTAIV\plugins\RiotMode.asi]Loaded module [D:\Steam\steamapps\common\grand theft auto iv\GTAIV\plugins\RiotMode.asi]Folders list empty or missing![ Generic Loader ] Version 1.1 loadedIndividual File Found [D:\Steam\steamapps\common\grand theft auto iv\GTAIV\plugins\RiotMode.asi]Loaded module [D:\Steam\steamapps\common\grand theft auto iv\GTAIV\plugins\RiotMode.asi]Folders list empty or missing![ Generic Loader ] Version 1.1 loadedIndividual File Found [D:\Steam\steamapps\common\grand theft auto iv\GTAIV\plugins\RiotMode.asi]Loaded module [D:\Steam\steamapps\common\grand theft auto iv\GTAIV\plugins\RiotMode.asi]Folders list empty or missing!

 

 

Share this post


Link to post
Share on other sites
d875jfighter

yes it works but trainer idk why not working but i got the flags.asi mod working

Share this post


Link to post
Share on other sites
d875jfighter

and fix in next version in 2.2 i still fail to get more asi mods working

Share this post


Link to post
Share on other sites
d875jfighter

then again i can be using trainer wrong but dude check your pm plz convert that lua script to asi for me

Share this post


Link to post
Share on other sites
DoGmp3

so do I have to add a plugins folder to the EFLC dir and put my asi file into that?

 

Some clarification for us noobs would be appreciated

 

EDIT; does this work with GTA IV EFLC FILE UNLOCKER (SDFA DUMPER)?

Edited by DoGmp3

Share this post


Link to post
Share on other sites
opium_addict

It has not been tested with file unlocker, but i can do so in time.

 

EDIT:

Just FYI i updated the link on this, the old one was dead (sorry for the trouble).

Edited by opium_addict

Share this post


Link to post
Share on other sites
StillMisters007

This mod still works ?.

Share this post


Link to post
Share on other sites
FaTony

I see you only proxy DirectInput8Create. But I've checked original dinput8.dll and it exports 5 functions.

 

Can you please post the full source code of this?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.