So I'm trying to convert the Webp Files from the compressed version to the regular PNG and I get this error.
I think a more detailed example of what to put into the command line would be helpful
Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
So I'm trying to convert the Webp Files from the compressed version to the regular PNG and I get this error.
I think a more detailed example of what to put into the command line would be helpful
bitstream error probably means you are trying to decompress already decompressed file or something like that. like in theoretical situation if your input_file and output_file are the same it will override old with new one and next time you try on it will be this error. put output files in some folder maybe like: D:/webp_folder/bin/dwebp.exe d:/AE/original_file.png -o d:/AE/Converted/output_file.png
Hmmm, that didn't seem to work. If it helps I'm trying to decompress the steam files.
The Codeline I'm trying to use is the same though.
libwebp-1.3.2-windows-x64\libwebp-1.3.2-windows-x64\bin\dwebp.exe C:\Users\myname\OneDrive\Desktop\Datamine\0dc3e6d233bd5f61c3c77b9de407edd4.png -o C:\Users\myname\OneDrive\Desktop\Datamine\0dc3e6d233bd5f61c3c77b9de407edd4.png
I also tried replacing the second instance with a new location but that didn't work either
steam files were always encrypted, you cant open them even to look at them. Need to break wfs decryption first and this need real expert datamining, not what we do. Category of difficulty is same as trying to look into masterfile.enc for drop rates...
Webp isn't encryption its just modern compression method of images for web, same category of things as jpeg compression but lossless. In the first place you can open compressed webp like images with usual image apps and even wiki can open them, as example:
BUT: wiki cant work with mismatched file extensions (wrong Mime type error). So we either have to rename files to .webp like above and remake templates to use webp extention, or decompress .png (webp) into normal .png with this tool we are discussing. Its basically just a image converter. And encrypted file from steam isn't an openable image.
Which is why only mobile files and paths are mentioned as source of game files on page, and steam files are not.
Ah I see. Guess I need to figure out how to get those images from mobile then.
also btw. When you will have files, just for wiki character/weapon/whatever pages you can use anything to just resave .png file into .png file, like even windows Paint 3d "save as" option is fine. Don't need webp tool.
Its specifically to open spines in spineviewer app and for spineviewer to not crash, only fully correct image conversion works. And original webp tool is one of those correct methods, other apps may work or not, need to confirm yourself for each.
It might also be helpfully to post recommended Emulators for datamining. Since I tried with Bluestacks but that didn't work.
Forgot to do this because I was busy; is there a notification system for new discussions I wonder?
Could someone clarify on the process for uploading enemy sprites? I read the page and looked through the folders and I see .skel .atlas .png and .png.png. Which one am I supposed to use? Do I create pngs with the SpineViewerWPF?
Also how are the sprites organized? What do each of the folders 1-13 represent?
If you are part of a discussion, you get subscribed to the topic if you a registered user. You can also follow if you subscribe to a topic (clicking on the star will do)
So when you go to the applicable directory, you find 2 types of files
There should be 14 directories as of current update but we probably haven't update the google drive. We copy the format that WFS place into the directory on Android devices. Generally each area is under a new directory. So 13-14 would be the hollow (present and past).
Ok so as I understand it, the general process would be to download the entire folder, extract it, and then decompile each of the pngs using dwebp. How would one decompile all of them at once while keeping the name the same? I decompiled one for testing and opened it with SpineViewer. I don't know what canvas size I should use (the canvas size has to be around 1500-2000 to fit the monster), which anime setting I should use and at what point I should export either. I'm assuming the export type is Png Sequence and I press the camera button to capture the current image.
Probably would have to use some kind of bash/shell script. Yeah enemies can have very large canvas size, it why there hasn't been much done to bring it to the wiki since you have to check each file individually. You can use the idle animation. Also make sure you select the 2 alpha checkbox since that hide the connection lines.
So to summarize, I have to load each enemy, manually figure out what canvas size to use, output the image, rescale it to 300x300, and then maybe recompile it to webp to save space.
As for the script a temporary solution would be `forfiles /m *.png /c "cmd /c dwebp @file -o @file"` which decompiles every .png in a folder. However, this isn't an elegant solution since `forfiles` is a bit buggy and needs to open a new instance of cmd (`cmd /c`) for the commands to work properly.
forfiles /m *.png /c "cmd /c dwebp @file -o @file"
The wiki is formatted in html right? Are there any formatting shortcuts like in Markdown?
can you delete my previous message
forfiles /m *.png /c "cmd /c dwebp @file -o @file"
(dwebp has to be put in the path variable, otherwise you have to call the full path of where dwebp.exe is)
for %G in (*.png) do (dwebp %G -o %G)
This is for command prompt, if done from a batch file it should be %%G instead. Again the full path to dwebp.exe should be used if it isn't already specified in the PATH variable.
What are your thoughts on uploading bigger images that have been compressed to webp to reduce space? I see the old images are around 10-30 KB while the Vaporia images are around 500-over 1 MB.