Skip to content
/ we Public
forked from redpfire/we

Wallpaper Engine PKGV0001 repack tool

License

Notifications You must be signed in to change notification settings

confrontal/we

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motivation

I've recently bought the Wallpaper Engine and it bugged me that I can't do much with workshop contents. I then reverse engineered the pkg file and I've managed to develop somewhat stable tool to extract, list and repack the contents of a, so called, PKGV0001 filesystem/package structure. I'm happy to accept feedback and pull requests/issues on this tool and to keep working on it if it gains some interest.

Disclaimer

Any content that you download from the Steam Workshop belongs to it's respective owners. Do not by any means use this tool to redistribute any content that you do not own or do not have rights to redistribute in any way. I as the creator of the tool am not responsible for any illegal usage of this tool. Just, please, do what you think is right.

Building

Windows

create a visual studio project with atleast c++ 17. copy the main.cpp code into the project and compile.

Linux -DOESNT WORK

Or Windows with WSL
libraries required:

  • libboost
  • libstdc++

    Building it:
    $ make linux

Usage

image Bring up workshop item and locate scene.pkg
image Drag and drop the file into tool directory (copy, not move)
image Extract it!
image It should extract to a tmp folder. Don't touch it! Edit contents or do whatever you like inside of it.
image Inside are the standard files of a Wallpaper Engine project. You can paste them into a new project and edit them. Don't forget to place everything into the tmp folder after you finish!

Now simply repack it! ./we r scene.pkg
image Now there's the freshly repacked file!
image Copy all of the old files except scene.pkg into a freshly created project and paste in your repacked scene.pkg

MAC - DOESNT WORK

Required:

  • Macport or Brew (for install libboost)
  • Xcode and the Xcode Command Line Tools
  • libboost

Usage

  1. install Xcode and the Xcode Command Line Tools

  2. install libboost : brew install boost(When you installed Brew) or sudo port install boost(When you installed Macport)

2-1. If you don't have brew : ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

2-2. If you don't have Macport : Install Macport and reboot.

  1. make linux

  2. ./we x scene.pkg

  3. ./we r scene.pkg

That's it!

Now you've successfully modified and repacked the workshop item.
You can now, after all of this, use it as a your wallpaper.
Thanks for tuning in!

About

Wallpaper Engine PKGV0001 repack tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.8%
  • Makefile 1.2%