limo-app / limo

A simple Qt based mod manager
GNU General Public License v3.0
122 stars 3 forks source link

Reverse Deployer error when using AUR version of Limo + Other oddities #49

Open Heisenborgar opened 3 weeks ago

Heisenborgar commented 3 weeks ago

Hello, I know that Flatpak is the officially supported version but I enjoy using the AUR version, thanks to OdinVex from #43. I use it as the AUR version of Limo provides quicker mod downloads, but the main reason why I use it is to get ahead of the new feature commits here, such as the new Reverse Deployer.

When trying to add a Reverse Directory to Skyrim's Data folder, that's: /home/patrick/.local/share/Steam/steamapps/common/Skyrim Special Edition/Data

I get this error: Error: Could not open "/home/patrick/Games/Skyrim/Mods/rev_depl_0/.revdepl-managed_files.json".

This Mods folder is where all my Mods are stored, which is then deployed to the Data folder. I checked the Mods directory for a rev_depl_0directory but there are no folder with that name. Nor any .revdepl-managed_files.json file.

Other commits such as undeploy, and bug fixes like dialog close events are working correctly. However, when Import deployers is checked when importing a supported game like Skyrim SE, the default ones are selected and they are:

Install: Case Matching Deployer, Sym Link, /home/patrick/.local/share/Steam/steamapps/common/Skyrim Special Edition.
Prefix: Case Matching Deployer, Sym Link, /home/patrick/.local/share/Steam/steamapps/compatdata/489830/pfx/drive_c

When it should be pulling from the steam_app_configs/489830.json. And I know that this happens because of Flatpak, right? Additionally when adding tools, In Flatpak it's --directory=/tool/directory/protontricks-launch --appid 489830 tool.exe and in AUR it's cd "/tool/directory"; protontricks-launch --appid 489830 tool.exe.

The others mentioned here, can I make changes to the Wiki?

Heisenborgar commented 3 weeks ago

I get this error: Error: Could not open "/home/patrick/Games/Skyrim/Mods/rev_depl_0/.revdepl-managed_files.json".

With the latest commit, I don't experience this error anymore. Will try the reverse deployer with Pandora

limo-app commented 3 weeks ago

I get this error: Error: Could not open "/home/patrick/Games/Skyrim/Mods/rev_depl_0/.revdepl-managed_files.json".

This should hopefully be fixed now. I didn't do enough testing before pushing the reverse deployer, since i was used to updates only going live when they are part of a GitHub release, sorry.

I will look into fixing the issues with Steam imports for non Flatpak versions tomorrow.

limo-app commented 3 weeks ago

The others mentioned here, can I make changes to the Wiki?

For some reason GitHub does not allow PRs to wiki pages. I will look into setting up some workaround for this. In the meantime, i have set the wiki to public, which should allow you to edit its contents.

Heisenborgar commented 3 weeks ago

Hello, I didn't encountered this Error: Could not open "/home/patrick/Games/Skyrim/Mods/rev_depl_0/.revdepl-managed_files.json" anymore, and the reverse deployer works just fine. However, it list all files from the Data directory such as Dawnguard.esm, Dragonborn.esm. Did I set it wrong?

Here are the pics: image

and

image

Thanks!

Edit: I just ticked Ignore current files/Use ignore list and it works perfectly. Just some minor caveats though. As it showed po3_Tweaks.ini in which I don't want to, and there's no way for me to remove a file from the Reverse Data list.

If I remove a file like po3_Tweaks.ini and hit Un/Deploy, it will error. Even when the file is deleted, it will still list it so what I did instead was removed that entry from .revdepl-managed_files.json. Then ticked ignore current files so that it only shows the generated INI file

limo-app commented 3 weeks ago

If I remove a file like po3_Tweaks.ini and hit Un/Deploy, it will error.

I was initially not sure how to deal with files that where deleted in the source directory and decided to show an error to inform the user. A better solution would probably be to include this in the check for modified files that is done prior to deployment and then let the user decide.

it will still list it so what I did instead was removed that entry from .revdepl-managed_files.json

A context menu entry that allows the user to manually add files to the ignore list seems like the best solution for this. I will add this in the next commit.

On a general note: The reverse deployer may not work as intended when used on a game that already contains mod files not managed by another deployer (such as files generated by Pandoras/ Nemesis in Skyrims case), as there is no easy way to differentiate between vanilla files and mod files. The only way i see to do this retroactively is to create that list from a vanilla game and then copy the JSON file over.

ActuallyTheOwner commented 1 week ago

I am on gentoo linux I do not know where to install loot due to their confusing github, and I need it to build native, so I tried the flatpak

2024-11-17 20:16:12 [Info]: Default LOOT masterlist URLs have been updated 2024-11-17 20:16:12 [Info]: Startup complete 2024-11-17 20:22:18 [Warning]: Could not open /media/wellswole/quickfiles/SteamLibrary/steamapps/appmanifest_219740.acf 2024-11-17 20:22:18 [Warning]: Could not open /media/wellswole/quickfiles/SteamLibrary/steamapps/appmanifest_553850.acf 2024-11-17 20:22:18 [Warning]: Could not open /mnt/947ba43d-8b9a-429e-b643-8f254fc0cec4/SteamLibrary/steamapps/appmanifest_219740.acf 2024-11-17 20:22:18 [Warning]: Could not open /mnt/947ba43d-8b9a-429e-b643-8f254fc0cec4/SteamLibrary/steamapps/appmanifest_553850.acf 2024-11-17 20:22:24 [Error]: Could not find "steam_app_configs" directory. Make sure Limo is installed correctly 2024-11-17 20:23:08 [Warning]: Could not open /media/wellswole/quickfiles/SteamLibrary/steamapps/appmanifest_219740.acf 2024-11-17 20:23:08 [Warning]: Could not open /media/wellswole/quickfiles/SteamLibrary/steamapps/appmanifest_553850.acf 2024-11-17 20:23:08 [Warning]: Could not open /mnt/947ba43d-8b9a-429e-b643-8f254fc0cec4/SteamLibrary/steamapps/appmanifest_219740.acf 2024-11-17 20:23:08 [Warning]: Could not open /mnt/947ba43d-8b9a-429e-b643-8f254fc0cec4/SteamLibrary/steamapps/appmanifest_553850.acf 2024-11-17 20:23:11 [Error]: Could not find "steam_app_configs" directory. Make sure Limo is installed correctly 2024-11-17 20:23:29 [Info]: Adding new application 'Fallout: New Vegas' 2024-11-17 20:23:29 [Info]: Application added

limo-app commented 1 week ago

I do not know where to install loot due to their confusing github

Limo's CMake script should find libloot in any of the common library/ include locations. If it helps, i have installed the header Limo needs to /usr/local/include/loot/api.h and the library to /usr/local/lib/libloot.so on my setup.

Looks like the flatpak version has issues finding your Steam installation. Are you using native or flatpak Steam? Where are your Steam libraries located?