Almamu / linux-wallpaperengine

Wallpaper Engine backgrounds for Linux!
GNU General Public License v3.0
1.69k stars 61 forks source link

The assets folder itself must be copied to the same folder where the binary lives #240

Open hdShang opened 2 months ago

hdShang commented 2 months ago

The assets folder itself must be copied to the same folder where the binary lives. What does this mean? Where should i copy asset folder to?

SirGamsay commented 2 months ago

After you compile the application you will have a linux-wallpaperengine file (binary) in a folder. You can copy the asset folder from steam into the same folder.

For example:

My Wallpaperengine is in /home/meiko/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/wallpaper_engine

In this Folder there is a Folder called assets

As can be seen

$ ls /home/meiko/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/wallpaper_engine
assets             config.json    locale      ui
bin                distribution   plugins     version.json
ChromaAppInfo.xml  installer.exe  projects    wallpaper32.exe
config_backups     launcher.exe   thirdparty  wallpaper64.exe

And I compiled the linux-wallpaperengine software following the instructions, so my binary is in /home/meiko/repos/linux-wallpaperengine/build/build In my Case it looks like:

$ ls /home/meiko/repos/linux-wallpaperengine/build/build/
assets                  chrome-sandbox  libcef.so     libvk_swiftshader.so   resources.pak            vk_swiftshader_icd.json
chrome_100_percent.pak  debug.log       libEGL.so     linux-wallpaperengine  snapshot_blob.bin
chrome_200_percent.pak  icudtl.dat      libGLESv2.so  locales                v8_context_snapshot.bin

As you can see there is a Folder called assets again (this is just here, because I already copied it.

In my Case I copied the folder using

cp -r /home/meiko/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/wallpaper_engine/assets /home/meiko/repos/linux-wallpaperengine/build/build/assets