Silent 15,839 Posted September 8, 2012 Share Posted September 8, 2012 (edited) Silent's ASI Loader This is a DLL file which adds ASI plugin loading functionality to San Andreas. What makes it better from any other ASI Loaders available? Increased compatibility - all current loaders share a flaw, which sometimes results in a plugin loading failure. This loader uses a brand new loading method developed by @NTAuthority, which makes it work all the time. Compatible with 3.0 (old Steam) and new Steam Executables. Loads files located in the game root directory and scripts folder (although not all the plugins are guaranteed to work properly when located in the latter!). Has an INI file in which you can toggle on/off plugins loading. Has an ability of loading plugins exclusive for specific Executable and/or exclude another plugins from loading on specific Executable. Lightweight and fast. When an encrypted EXE (like Steam EXE) is used, plugins are loaded after it gets decrypted - no need to wait in the ASI code. This loader is also used in Grand Theft Auto: Vice City Stories PC Edition and Vigilante Justice Total Conversions. In order to install it, you just need to place both DLL files into game directory, overwriting the old files.Usage Basic Plugin Installation: If you want to add an ASI for all Executable versions you have, put it either in game root directory or scripts folder. Various plugins may fail to work properly when running from scripts folder, it is advised to move it to the game directory if plugin fails to launch properly. Advanced Plugin Installation: If you have multiple Executable versions and want to make each one use different ASI plugins, you can create a new folder inside scripts folder with the same name as your Executable (so gta_sa.exe gets gta_sa folder, my_fancy_exe.exe gets my_fancy_exe folder etc.). Plugins placed in thisfolder will be exclusive to specific Executable. You also can make specific Executables override global settings and load/ignore all plugins via settings.ini edit. Specific Executable can also ignore only some of the plugins - see advanced_plugin_management_example for more info. Download https://cookieplmonster.github.io/mods/ Mirror:http://www.gtagarage.com/mods/show.php?id=21709Credits & License Firstly, thanks to @NTAuthority for sharing his code snippet, and also for Stanislav "listener" Golovin for sharing his ASI Loader source, which acted as a base for my version of the tool. As the following tool is open source, it's under the Silent's License. It means that the source code is for learning purposes, as all source code is. You may only use it for your own projects but NOT to recreate or build on the original work. Edited June 3, 2018 by Silent 25 Link to post Share on other sites
fastman92 2,558 Posted September 8, 2012 Share Posted September 8, 2012 Thanks for taking your time to make it. I'll test in a while. 1 Link to post Share on other sites
Silent 15,839 Posted September 8, 2012 Author Share Posted September 8, 2012 Okay, the tool is now reuploaded in 1.01 version - doesn't crash with CLEO 4.1.1.30f no more (damn you Alien!). Link to post Share on other sites
direstraits 24 Posted September 8, 2012 Share Posted September 8, 2012 Nice. I like it. 5x Link to post Share on other sites
-DP- 97 Posted September 8, 2012 Share Posted September 8, 2012 Nice Link to post Share on other sites
lpgunit 499 Posted September 9, 2012 Share Posted September 9, 2012 Thank you so much for the loader! The previous one I used required SA to be added to the DEP exceptions list as the game crashes if I don't. Link to post Share on other sites
Silent 15,839 Posted September 9, 2012 Author Share Posted September 9, 2012 Thank you so much for the loader! The previous one I used required SA to be added to the DEP exceptions list as the game crashes if I don't. Ooh, good to know. Wasn't aware about that Link to post Share on other sites
lpgunit 499 Posted September 9, 2012 Share Posted September 9, 2012 Thank you so much for the loader! The previous one I used required SA to be added to the DEP exceptions list as the game crashes if I don't. Ooh, good to know. Wasn't aware about that Yep, I can confirm that. CLEO 4.0.1 and almost a dozen scripts loaded. Game seemed stable, no crashes at all. Link to post Share on other sites
TheGodfather. 23 Posted September 19, 2012 Share Posted September 19, 2012 So is it completely compactible with citizen launcher & CLEO 4 ?? Link to post Share on other sites
Silent 15,839 Posted September 19, 2012 Author Share Posted September 19, 2012 So is it completely compactible with citizen launcher & CLEO 4 ?? Yes. Link to post Share on other sites
TheGodfather. 23 Posted September 19, 2012 Share Posted September 19, 2012 Short & quick reply ...Huh!! Anyways can I use your loader for my upcoming TC GTA 2012 http://www.gtaforums.com/index.php?showtopic=515279 I wish I ll get a positive reply ?? Link to post Share on other sites
Silent 15,839 Posted September 20, 2012 Author Share Posted September 20, 2012 Short & quick reply ...Huh!! Anyways can I use your loader for my upcoming TC GTA 2012 http://www.gtaforums.com/index.php?showtopic=515279 I wish I ll get a positive reply ?? Yeah, sure. Link to post Share on other sites
TheGodfather. 23 Posted September 21, 2012 Share Posted September 21, 2012 Thanks..Good work with the loader.. Link to post Share on other sites
Gramps 783 Posted October 11, 2012 Share Posted October 11, 2012 Just a small request .. Any chance that you could make it so that ASI's have to be in a certain folder to be loaded, just like CLEO's .. With all the *.asi mods around these days (and more on the way, as coders seem to be favouring ASI over CLEO), the ROOT directory of GTA:SA is starting to get rather messy. This request is more for organization purposes only Link to post Share on other sites
Silent 15,839 Posted October 12, 2012 Author Share Posted October 12, 2012 You can already use scripts folder to store the files, but I can't guarantee that all mods will work when placed inside it. Some of them might read specific SA files, thus it would be messed up when not allowing to put them in the main game dir. Link to post Share on other sites
Gramps 783 Posted October 14, 2012 Share Posted October 14, 2012 Sorry for wasting your time then, I forgot all about the scripts folder lol And I understand why it wouldn't work on some ASI's. Link to post Share on other sites
l911 112 Posted December 17, 2012 Share Posted December 17, 2012 First off i dont know nothing about asi mods, i never used it before but now i want cheeck them out And i have a problem none of ASI loaders work for me... i tested them with this mod http://hotmist.ddo.jp/plugin/shell/index.html When i put the mod in game folder it just dont do no thing when i put in /scripts game crash. i use windows 7 Link to post Share on other sites
Silent 15,839 Posted December 18, 2012 Author Share Posted December 18, 2012 This ASI mod can crash from two reasons: 1) Your EXE version is wrong. 2) Your PC is old and doesn't support it (rly, I've been getting that sort of crash on my old PC). Link to post Share on other sites
l911 112 Posted December 18, 2012 Share Posted December 18, 2012 I have i3, 3gigs of ram and 1giga gforce i think this is enough for gta sa, also i use HOODLUM no cd exe Link to post Share on other sites
Silent 15,839 Posted December 18, 2012 Author Share Posted December 18, 2012 Oh, luckily (?) it's not a fault of my ASI loader. It seems to crash for me aswell, I just guess it's mod's fault Link to post Share on other sites
l911 112 Posted December 18, 2012 Share Posted December 18, 2012 Oh, luckily (?) it's not a fault of my ASI loader. It seems to crash for me aswell, I just guess it's mod's fault oh. Can you recomend some asi mod to check out ? Link to post Share on other sites
Silent 15,839 Posted December 18, 2012 Author Share Posted December 18, 2012 You could try one of my ASI mods*. * Oh well, I've released only one ASI mod for San Andreas. 1 Link to post Share on other sites
ThirteenAG 3,749 Posted December 25, 2012 Share Posted December 25, 2012 (edited) I've got a proposition. An ini file, which allows [not] to load specific dll's for specific exes. For example: asiloader.ini [iNCLUDE]gta_united.exe=val.dllsnow_sa.exe=snowfall.dll[EXCLUDE]the_95_story.exe=bullet.asigta_united.exe=shadows.asigta_united.exe=GTA_IV_HUD.asi Which means, if i run gta_united.exe, ASI loader will load val.dll, and don't load GTA_IV_HUD.asi and shadows.asi. If i run standart gta_sa.exe, loader will load all asi plugins. Edited December 25, 2012 by ThirteenAG Link to post Share on other sites
Silent 15,839 Posted December 25, 2012 Author Share Posted December 25, 2012 I could try to add a feature which would read scripts\*exename*.ini file with similar syntax. Link to post Share on other sites
ThirteenAG 3,749 Posted December 25, 2012 Share Posted December 25, 2012 I could try to add a feature which would read scripts\*exename*.ini file with similar syntax. Yeah, that's would be great. Link to post Share on other sites
Silent 15,839 Posted December 25, 2012 Author Share Posted December 25, 2012 I also think I won't unprotect full EXE anymore. It is so useless and only spoils people (isn't that right Link? ). Link to post Share on other sites
ThirteenAG 3,749 Posted December 25, 2012 Share Posted December 25, 2012 I also think I won't unprotect full EXE anymore. It is so useless and only spoils people (isn't that right Link? ). Link to post Share on other sites
Silent 15,839 Posted December 27, 2012 Author Share Posted December 27, 2012 OK, so shall we make a little summary of what 1.1 needs? Ability to toggle EXE unprotect on/off Ability to load scripts\*exename*.ini file with [includes] and [Excludes] sections + "LoadASIPlugins" switch in the file Or perhaps I could ditch [includes] and the INI idea and instead make scripts folder kinda global and instead include the INI and "exclusive" plugins in *exename* dir? What seems more suitable? Link to post Share on other sites
ThirteenAG 3,749 Posted December 27, 2012 Share Posted December 27, 2012 OK, so shall we make a little summary of what 1.1 needs? Ability to toggle EXE unprotect on/off Ability to load scripts\*exename*.ini file with [includes] and [Excludes] sections + "LoadASIPlugins" switch in the file Or perhaps I could ditch [includes] and the INI idea and instead make scripts folder kinda global and instead include the INI and "exclusive" plugins in *exename* dir? What seems more suitable? Maybe instead of ini would be better to use blank files? GTA SA: <DIR> scripts <DIR> gta_united.exe val.asi <DIR> exclude [0-byte] ragdoll.asi [0-byte] shadows.asi Link to post Share on other sites
Silent 15,839 Posted December 27, 2012 Author Share Posted December 27, 2012 (edited) Blank files sounds dumb, really Edit: How about releasing 1.1 in two versions - Full (with all these fancy features) and Lite (basically a renamed 1.01 )? Edited December 27, 2012 by SilentPL Link to post Share on other sites