-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with ModManager reading mod.ini in the mods folder #10
Comments
No, there shouldn't be a mod.ini file in the mods folder. I don't know where you're getting one from, but it's not included with the mod loader. |
Its not included, but some people are extracting mod.ini in their mods folder which causes the ModManager to throw an exception. |
Well then people should include the folder in their mod packages, like I do. I guess I could try to add some kind of warning about having mod.ini in the mods folder. |
That should help. |
I haven't written an issue in a very long time.
So it looks like ManiaModManager is trying to load mod.ini from
Sonic Mania/mods/mod.ini
and is failing to substring the path.The issue is that the ModManager is failing to substring the path for the key because its trying to get the directory name by removing the mods directory path plus a slash(I guess), which will not work if the mod.ini is in the mods directory, The exception is thrown at line 217 in MainForm.cs when mod.ini exists in the mods directory.
I have no idea if you wanted the mods directory to be a mod.
The text was updated successfully, but these errors were encountered: