Skip to content

Improve compatibility with CLEO5 - #152

Open
x87 wants to merge 3 commits into
thelink2012:masterfrom
x87:improve_cleo5_compat2
Open

x87 wants to merge 3 commits into
thelink2012:masterfrom
x87:improve_cleo5_compat2

Conversation

@x87

@x87 x87 commented Sep 23, 2026 •

Copy link
Copy Markdown

it is a combination of 3 open PRs (#148, #149, #151) + some additions. If you chose to merge this one, other three can be closed.

This PR extends support for relocated CLEO 5 folder added in #151. It can be reviewed via this commit.

Basically what happens is that CLEO rewrites paths like cleo\demo.ini to scripts\cleo\demo.ini to match the actual file path when the CLEO folder relocated. Modloader has to do the inverse operation and rewrite it back to cleo\demo.ini to match the mod folder's structure. Otherwise, users have to create scripts folder inside each mod folder and move mod's CLEO folder there (modloader\mymod\scripts\cleo\demo.ini), which is not ideal.

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