-
Notifications
You must be signed in to change notification settings - Fork 4
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
Need support for mods without json files #70
Comments
This seems liek a major thing as It seems like most mods do not have Json files and don't work. I hope this will come! |
Second this. An example for this would be the "bags bags bags" mod. |
I'm in the process of moving right now so not able to work on the app at the moment. But as soons as I'm done I will take a look if it's possible to add that feature. |
any update? |
I also encountered this issue, digging in the part that skips updating the Line 25 in e64b727
Here is the line where the mod info is only populated via included JSON: Line 37 in e64b727
My hunch would be simply populating mod info with pak data at this point will fall back pak data would fix this. I’ll setup my dev environment and try it when I get a chance. |
I had little time to investigate whether it's possible to get data from pak files. So here's an outcome. First all, pak files seem to contain same data provided in |
I agree @mkinfrared the .pak contains all the needed details for this case but isn't available as toolkit outside of Windows. I was looking and found others discussing this problem with Linux based mod managers: CHollingworth/Lampray#14 I hacked together a version of this mod manager working to create the expected JSON file, but I still needed to manually populate the necessary UUID/MD5/Folder/Version details in order to reliably get it to load. These details are somewhat visible in the .pak if you open it as a .txt file but ultimately not in reliably parsable way. There are interesting ongoing projects to convert LsLib to .NET 6 (which may work with Mono) and another to allow it to work standalone on Linux. Unless anyone else is aware of any tools that can extract pak files those projects seem necessary to fix this issue reliably. |
I did some research, and fortunately it's seems to be doable at the moment. I will keep you updated |
@mkinfrared can you clarify how PR #87 resolves this issue? Looking at the source I see some changes to how the UUID is generated but it is still not writing the details to the |
Which mod are you trying to install? And which version of the app are you using? |
@mkinfrared, my apologies. I simply missed clicking the activate button. This is an incredible fix, sorry for my confusion! |
The manager correctly will copy the .pak file to the mods folder, but doe# not create an entry in the approximate files for loading the mods. This forces the user to have to manually find and edit these files resulting in errors. Create a generic process to create an entry when no provided .json file is included.
The text was updated successfully, but these errors were encountered: