Hello. Your mod works like a charm. I was wondering as many others if you're still up to make a version with every grindstone, or if you could tell us which .pak we need to look into to make our own mod. I understand you may not play the game anymore so if you remember which pak you unpacked to do the mod it would be really helpful !
hey im trying to get into lies of p modding, can you explain me how to open the "LiesofP\Content\ContentInfo\InfoAsset\AbnormalStateInfo.uasset." ive tried some programs to unpack the pakchunk0_s4-WindowsNoEditor.pak but no sucess
Like others, I went ahead and downloaded UAssetGUI to see if I could modify this to extend the duration for other grindstones, but was unable to due to lacking the required .usmap file. A quick search brought me to this github repo where I was able to download it though, so I've linked it here for others to use. To import them, you just have to select Utils in UAssetGUI, then click import mappings and direct it to the downloaded Mappings.usmap file. You'll want to select unreal engine version 4.27 in the dropdown on the top right. After doing that, you can select File, open container, direct it to this mod's pak file, and go down the file tree to open up the AbnormalStateInfo.uasset file, which will let you poke around its contents and make changes. Happy modding.
Edit: The only problem is, after changing the durations as specified in objir's post, I was only able to save the edited file as a .uasset file without the folder structure... Unfortunately, I have no idea what I'm doing, or how to fix it and repackage this into a .pak that I can upload or drop into my ~mods folder, but maybe somebody cleverer than I can figure it out and lend us a helping hand.
Edit 2: Figured it out! File > Open container, select Lies-Tough_P.pak, File > Stage from disk to path, selected the AbnormalStateInfo.uasset file that I modified and saved, then when it asked what path the object should be staged to, I entered LiesofP\Content\ContentInfo\InfoAsset\AbnormalStateInfo.uasset and hit OK. Saved as a .pak file. Opened it up afterwards to check that everything looked okay, loaded it into my ~mods folder and from what I could tell it worked. I've messaged the author to see if I can get permission to upload the modified version.
Edit 3: Figuring this out was fun and I want to share, so in the mean-time here's some summarized instructions for everyone that doesn't mind putting the work in themselves. Google UAssetGUI, download it and open it up. Import mappings linked below through Utils > import mappings, change version in top right dropdown to 4.27, then hit File > Open container, select this mod's pak, navigate to AbnormalStateInfo.uasset through the file tree and double click, Ctrl+F to search G_enchant_ and change the _duration value to 99999999. Repeat the process for every _duration entry under each G_enchant_ line , then File>Save as. Go back to the window that opens from File>Open container and select File > Stage from disk to path, select the AbnormalStateInfo.uasset that you saved and in the next prompt enter LiesofP\Content\ContentInfo\InfoAsset\AbnormalStateInfo.uasset. Click save, and you'll have a usable pak file that gives unlimited duration to all your grindstones. https://github.com/TheNaeem/Unreal-Mappings-Archive/blob/main/Lies%20of%20P/1.5.0.0/Mappings.usmap
I would, but the permissions and credits section on the mod says that if I want to alter this mod and upload it, I have to get the creator's permission first. Hopefully he responds, but if not at least it's possible to do it yourself thanks to objir.
Permission obtained, mod published! I don't know if I'm allowed to link it here, so you can find it by searching Infinite Grindstones or visiting my profile. Cheers!
61 comments
Your mod works like a charm. I was wondering as many others if you're still up to make a version with every grindstone, or if you could tell us which .pak we need to look into to make our own mod. I understand you may not play the game anymore so if you remember which pak you unpacked to do the mod it would be really helpful !
Thanks.
The uasset file is LiesofP\Content\ContentInfo\InfoAsset\AbnormalStateInfo.uasset.
Search for "G_enchant_" and edit the value of "_duration".
Credit to GutsBerkman for this mod as reference.
Edit: The only problem is, after changing the durations as specified in objir's post, I was only able to save the edited file as a .uasset file without the folder structure...
Unfortunately, I have no idea what I'm doing, or how to fix it and repackage this into a .pak that I can upload or drop into my ~mods folder, but maybe somebody cleverer than I can figure it out and lend us a helping hand.Edit 2: Figured it out! File > Open container, select Lies-Tough_P.pak, File > Stage from disk to path, selected the AbnormalStateInfo.uasset file that I modified and saved, then when it asked what path the object should be staged to, I entered LiesofP\Content\ContentInfo\InfoAsset\AbnormalStateInfo.uasset and hit OK. Saved as a .pak file. Opened it up afterwards to check that everything looked okay, loaded it into my ~mods folder and from what I could tell it worked. I've messaged the author to see if I can get permission to upload the modified version.
Edit 3: Figuring this out was fun and I want to share, so in the mean-time here's some summarized instructions for everyone that doesn't mind putting the work in themselves. Google UAssetGUI, download it and open it up. Import mappings linked below through Utils > import mappings, change version in top right dropdown to 4.27, then hit File > Open container, select this mod's pak, navigate to AbnormalStateInfo.uasset through the file tree and double click, Ctrl+F to search G_enchant_ and change the _duration value to 99999999. Repeat the process for every _duration entry under each G_enchant_ line , then File>Save as. Go back to the window that opens from File>Open container and select File > Stage from disk to path, select the AbnormalStateInfo.uasset that you saved and in the next prompt enter LiesofP\Content\ContentInfo\InfoAsset\AbnormalStateInfo.uasset. Click save, and you'll have a usable pak file that gives unlimited duration to all your grindstones.
https://github.com/TheNaeem/Unreal-Mappings-Archive/blob/main/Lies%20of%20P/1.5.0.0/Mappings.usmap
Now I'm starting this game and I want to borrow the power of this mod, but how do I get it in the beginning?