TheRioMiner/Wallpaper-Engine-Pkg-to-Zip

How do i run this ?

RoboticTea opened this issue · 4 comments

I've tried building this project with visual studio but the .exe just closes instantly

Alright so I ran it into a batch file and I managed to understand how to make it work thanks for the thing RioMiner :D (if anyone needs to know how to make it work reply i'll reply soon)

Of course it close instantly, it designed to run from batch or console. If i make pause like "Console.ReadLine();", I can duplicate consoles every start of batch!
I glad if I helped you :)

Alright so I ran it into a batch file and I managed to understand how to make it work thanks for the thing RioMiner :D (if anyone needs to know how to make it work reply i'll reply soon)

Yea im new and isk how to run this, can ya help?

download https://cmder.net

open;
Use the CD command to go to the exe directory

example: cd C:\Users\FireCrauter\Downloads\Wallpaper.Engine.Pkg2Zip

image

Open the exe with:
cmd "Wallpaper Engine Pkg To Zip.exe"

image

Now I will try to explain how to use it; (first the official tutorial)

Usage: "Wallpaper Engine Pkg To Zip.exe" [-mode] [pkgFile] [zipFile]
-mode "-pkg2zip" or "-zip2pkg"
pkgFile Wallpaper Engine ".pkg" file path
zipFile Archive ".zip" file path

Example: "Wallpaper Engine Pkg To Zip.exe" -pkg2zip scene.pkg result.zip

<--->
The program was created for introductory purposes.
Files in .pkg files may be copyrighted.
Source code of this program: https://github.com/TheRioMiner/Wallpaper-Engine-Pkg-to-Zip
<--->


You must know the location of the scene.pkg;
image

"Wallpaper Engine Pkg To Zip.exe" -pkg2zip "C:\Program Files (x86)\Steam\steamapps\workshop\content\431960\1202569461\scene.pkg" result.zip

In the path, change it to your folder with scene.pkg

"C:\Program Files (x86)\Steam\steamapps\workshop\content\431960\1202569461\scene.pkg"

Remember to leave the "".
At the end of the path add \scene.pkg

image
And already, the result.zip will be created.

Why no one notices .bat files?
They are specially created for easy execution.
Just put "scene.pkg" nearby with exe and run "!pkg2zip.bat".