Skip to content

Docs: Download EXE and Sync Data

Marvin1099 edited this page Jul 13, 2024 · 5 revisions

As mentioned in:
Docs: The Launcher Installs Wemod The wemod data will then need to be synced and the wemod files will need to get setup. The order might seem strange, but it doesn't matter since the data files will only exist after wemod has been started once. So:

  1. We check if the prefix should be packaged into a zip.
    This is used when a prefix needs to be uploaded
  2. We copy the wemod data folder the the script dir.
  3. It is dosn't exist we make a emtpy folder in the script dir.
  4. Next we symlink the folder where wemod saves the data to that script dir folder.
  5. Now any wemod data will be saved in the script dir folder (on all games).
    Therefore its synced by basically using the same folder on all games.
  6. Next we check if wemod.exe exists
  7. If not then we run the setup. This will essentially download and extract the wemod-setup.exe.
    The exe contains all files to run wemod like the wemod.exe file.
    Of course the dependency's are not part of this the are handled in:
    Docs: The Launcher Installs Wemod
  8. After that we are done with the setup and can return to:
    Docs: The Main Flow