Jump to content

[REL|OpenSrc] Silent's ASI Loader


Recommended Posts

 

Blank files sounds dumb, really tounge.gif

Alright then, i vote for

instead make scripts folder kinda global and instead include the INI and "exclusive" plugins in *exename* dir

 

How about releasing 1.1 in two versions - Full (with all these fancy features) and Lite (basically a renamed 1.01 )?

As you wish.

Edited by ThirteenAG

Do we need a global.ini with LoadPlugins option? I don't think so, can be done if needed though.

Do we need a global.ini with LoadPlugins option? I don't think so, can be done if needed though.

It maybe useful to test something in clean game. I think it should disable the plugins in root directory, and still loads them in scripts\gta_sa.exe\

Well, I can easily split it into

 

LoadFromRootDir=LoadFromScriptsDir=

 

+ "exclusive" scripts loading wouldn't be toggleable at all.

 

Again, does "Full" and "Lite" sound OK?

Well, I can easily split it into

 

LoadFromRootDir=LoadFromScriptsDir=

 

+ "exclusive" scripts loading wouldn't be toggleable at all.

 

Again, does "Full" and "Lite" sound OK?

Yeah, full is good for total conversions, and i have plenty of them. People with normal SA could use lite, i think.

Btw, afair, some plugins, like bullet.asi, can't start from scripts folder. What if i decide to put one of them in *exe_name* folder?

They won't start neither. Blame Ryosuke who screwed up INI loading tounge.gif

 

Bullet is open source though, you could fix it for yourself.

 

They won't start neither. Blame Ryosuke who screwed up INI loading tounge.gif

 

Bullet is open source though, you could fix it for yourself.

Got it, i thought maybe it was not just loading files issue. All good then.

Maybe i will be able to get rid of Citizen.Launcher and make a separate exe for cleo 4.

Edited by ThirteenAG

OK, so current dir order is:

 

.\scripts\global.ini:

 

[GlobalSets]; Set to 0 if you don't want ANY plugins to be loaded (neither from game directory, scripts directory or *exename* directoryLoadPlugins=1

 

 

.\scripts\*exename*\settings.ini:

 

[ExclusiveSets]; Set to 0 if you don't want plugins to be loaded; Comment out the entry with; if you don't want this EXE to have its own plugin loading policy; This entry overrides LoadPlugins entry from global.ini and also DOES NOT stop loading exclusive files from this directory!;LoadPlugins=0[Excludes]; Here you can specify which plugins should be ignored by this EXE; Include ONLY filenames (with or without extension)

 

 

Is that enough? smile.gif

1.1 is now up. Have fun with advanced plugin management smile.gif

Gonna test it, thanks!

UPD: Woohoo

 

 Directory of E:\Games\Rockstar Games\Grand Theft Auto Trilogy\Grand Theft Auto San Andreas\scripts\cleo427.12.2012  22:27    <DIR>          .27.12.2012  22:27    <DIR>          ..28.03.2011  11:29           149я504 CLEO4.asi17.06.2010  18:17             4я096 FileSystemOperations.asi17.06.2010  18:16             4я608 IniFiles.asi17.06.2010  18:16             2я560 IntOperations.asi04.08.2012  17:42            74я240 newOpcodes.asi27.12.2012  22:25               687 settings.ini              7 File(s)        235я695 bytes              2 Dir(s)  45я200я809я984 bytes free

 

Works like a charm cookie.gifcookie.gifcookie.gif

Edited by ThirteenAG

Whoops! A little bug sneaked into this version, reuploaded now.

 

Source got 3 downloads before a fix - first person to find a difference (except Link) wins a cookie tounge.gif

 

Whoops! A little bug sneaked into this version, reuploaded now.

 

Source got 3 downloads before a fix - first person to find a difference (except Link) wins a cookie tounge.gif

Well, now i have cleo 3 and cleo 4 in one folder. And GTA United gets its val.asi.

I'm pretty sure new features will be useful when i will install next beta of VCS PC Edition wink.gif

Thanks again, Silent cool.gif

 

UPD: Omg, i think my game is addicted to plugins, it crashes with LoadPlugins=0 biggrin.gif

Edited by ThirteenAG
  • 4 weeks later...
  • 2 months later...

That's not a loader's fault. Looks like you're using CLEO3 and you don't have GXTHook installed.

 

In-game Timecyc Editor 1.8

user posted image

no text

Copy ALL the files, do not select which files need to be copied.

You may have skipped copying CLEO_TEXT directory.

 

I sent you PM, please reply.

Edited by fastman92
do you think it'd ever be possible to disable San Andreas' mod protection?

Is there any? tounge.gif

 

If you mean 2.0 then no, this EXE is also SecuROM'ed - not worth messing with.

Why would anyone want to play with 2.0 EXE anyway?

  • 9 months later...
  • 3 weeks later...

Version 1.2 has been released! This version changed the way ASI plugins are loaded (again), so now they load after the EXE is encrypted. Useful when using plugins with non-cracked EXEs or Steam version, as plugin developers don't have to care about wait for EXE decrypt anymore.

 

Now you can use CLEO 4.3 with Steam EXE :p

  • Like 3

Yes, and I can't do anything with it, as explained in the topic a while ago.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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