Banner
Myth Mod Manager 1.7.0
Thumbnail
62
Downloads1,875
Views7,616
Publish Date2 years ago
Last Updated6 months ago by
Version1.7.0
Members
Avatar

Hey there,

I've been trying to give this mod manager a shot for the past hour or so and I just can't get it to read zip files. When I try to drag them in, I get this error.

20:02:48,967 INFO 
STARTING: Myth Mod Manager
VERSION: 1.5.1
EXE PATH: D:\Games\Myth Mod Manager\Myth-Mod-Manager\Myth Mod Manager
20:02:48,990 WARNING config.ini does not exist, creating...
20:03:04,24 INFO config.ini has been saved
20:03:04,47 INFO mods.json has been saved.
20:03:04,995 INFO Latest Version: 1.5.1
20:03:12,506 INFO Drop event with URLs detected
20:03:14,104 INFO Unzipping C:/Users/avemi/Downloads/Compressed/BeardLib.zip to D:\Games\Steam\steamapps\common\PAYDAY 2\mods
20:03:14,115 ERROR An error was raised in FileMover.unZipMod():
No module named 'patoolib.programs'
Try extracting the mod manually first
20:03:26,524 INFO Task <src.threaded.unZipMod.UnZipMod(0x2726dab6140) at 0x00000272537CACC0> was canceled
20:03:29,791 INFO mods.json has been saved.

I see it asks to try extracting the mod first, but that's definitely a pain to do if there's a feature for unzipping. I installed Python 3.11 and built the exe myself just to be sure there wasn't something wrong with the build, but I still get the same error. Any ideas?

Also, just noticed that dark mode doesn't seem to save on restart.
Sorry for another note, but I just noticed that "Regarding" is spelled incorrectly in the mod description.

Avatar
(Owner)1 year ago(Edited)

...I just can't get it to read zip files. When I try to drag them in, I get this error.

I honestly don't know why this is happening because it works on my machine. But I'll continue looking into it. This error especially really shouldn't be happening I might have to be more explicit with how the EXE is built

EDIT: I found the issue and it should be fixed soon

Throughout development I've always had issues with unzipping things and different compressed file formats, which is why I have the "Try extracting mod first" message.

The user needs to have some of those formats installed in order to work too, its a very finicky field because of licensing. And even then it won't work sometimes.

Also, just noticed that dark mode doesn't seem to save on restart.

I found the cause of the issue and it will be patched next hotfix.

If you want to fix this yourself, go into config.ini and change the value of color_theme to dark

..."Regarding" is spelled incorrectly in the mod description.

That'll also be fixed in the next hotfix 😅

Thanks for reporting!

Avatar

I released a new patch, all issues should be fixed but I can't exactly guarantee on the unzipping one.

Avatar

@wolfmyths Hey there, thanks for the quick responses! Great work, the theme saving works totally fine now, and the zip extraction works as well, for the most part!

I recently uninstalled 7zip as I switched to NanaZip (modern 7zip fork) and when I drag the zip in, it seems to look for 7zip and errors out when it can't find it. Re-installing 7zip from chocolatey seems to have fixed it.

It might be worth including a 7zip dll, or the exe itself with the application, as 7zip allows redistribution of the exe as long as they're given credit. Probably easier than wrestling with patoolib, although I've never worked with it so I'm not sure.

Thanks again for all the hard work, I hope reporting bugs doesn't come off as complaining! Just trying to give data.

Avatar
(Owner)1 year ago(Edited)

@avery

So the package I use to exctract archives is called Patool, it was last updated in 2016 but last year that has changed and I didn't realize until now.

If I update this it may fix the issue you're having without needing a .dll, as the newer updates seem to fix some things with 7zip as well as newer python environments (which in this case is the mod manager)

Here's the changelogs, the mod manager is using patool 1.12.0. The updates that I think could help are updates 2.2 and 1.5

https://github.com/wummel/patool/blob/master/doc/changelog.txt

33 862