Skip to content

Support loading modloader folder next to ASI#142

Open
sndth wants to merge 1 commit into
thelink2012:masterfrom
sndth:next-to-asi
Open

Support loading modloader folder next to ASI#142
sndth wants to merge 1 commit into
thelink2012:masterfrom
sndth:next-to-asi

Conversation

@sndth

@sndth sndth commented Jun 12, 2026

Copy link
Copy Markdown

This PR introduces support for loading the modloader folder from the same directory as modloader.asi.

Previously, Mod Loader only looked for its folder in the game root, for example:
D:/SteamLibrary/steamapps/common/Grand Theft Auto San Andreas/modloader

With this change, it can also use layouts like:
D:/SteamLibrary/steamapps/common/Grand Theft Auto San Andreas/scripts/modloader

The ASI-local modloader folder is preferred when present, while the original game-root location remains supported as a fallback.

The change keeps gamepath pointing to the game root for plugin/API compatibility, and routes Mod Loader-owned paths such as .data, .profiles, plugins, logs, config files, watcher, and menu text through the selected active modloader directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant