Wemod building is not working - DeckCheatz/wemod-launcher GitHub Wiki

Building is not working:

Building the WeMod-Launcher may not work on many systems due to differences in dependencies, environment setups, or package conflicts. Users, especially on platforms like the Steam Deck or custom Linux setups, might encounter build errors or crashes during the build process. Common issues include:

  • Dotnet48 compatibility problems
  • Dependency version mismatches
  • Wine configuration issues

For most users, it's highly recommended to use the "download" option instead of building from source. The download method provides a pre-configured version that is more likely to work out-of-the-box, saving time and avoiding potential build errors.


Recommendation:

  1. Use the download option to quickly get WeMod running without worrying about build complications.
  2. If you still wish to attempt building, ensure your system has the correct dependencies, but expect potential hurdles.

Deleting the Wine Prefix for a Steam Game

If you're encountering issues with WeMod-Launcher or the game after installing it, it's possible that the game's Steam Proton prefix (Wine environment) is corrupted or misconfigured. Deleting the prefix can help reset the configuration. Here's how to do it using Protonfixes to get the game ID and remove the prefix folder.

Steps to Delete the Proton Prefix:

  1. Install Protonfixes (if you haven't already): Protonfixes is a tool that helps manage per-game Proton configurations and allows you to easily find the game’s Steam ID.

    You can install Protonfixes with the following command:

    pip install protonfixes
  2. Find the Game's Steam ID: Every Steam game has a unique ID. To find the ID of the game you're troubleshooting, use Protonfixes:

    • Run the following command:
      protonfixes --gameid
    • This will list the Steam IDs of games installed on your system. Find the ID of the game that you're having issues with.
  3. Locate and Delete the Proton Prefix: The Proton prefix for each Steam game is typically located in the ~/.steam/steam/steamapps/compatdata/ directory, with the game ID as the folder name. To delete the prefix for your game:

    • First, navigate to the compatibility folder:

      cd ~/.steam/steam/steamapps/compatdata/
    • Then, delete the folder corresponding to your game's Steam ID:

      rm -rf <SteamID>

      Replace <SteamID> with the actual ID of the game you found earlier.

  4. Restart the Game: After deleting the Proton prefix, the next time you launch the game through Steam, it will recreate the prefix and reapply Proton, which may fix any configuration issues.


Why Delete the Proton Prefix?

When using WeMod-Launcher or other tools like Wine and Proton, misconfigurations or corrupted settings can accumulate over time. Deleting the Proton prefix gives the game a fresh start with clean configurations, helping avoid problems such as:

  • Missing dependencies
  • Game not responding to inputs
  • Conflicts with mods or tools like WeMod

Once the prefix is deleted, Steam will recreate it the next time you launch the game, potentially solving input or configuration-related issues.

⚠️ **GitHub.com Fallback** ⚠️