Talk:How to save and upload sprites

From Another Eden Wiki

About this board

Someweirdo237 (talkcontribs)

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

Voiddp (talkcontribs)

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

Someweirdo237 (talkcontribs)

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

Voiddp (talkcontribs)

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.

  • Steam files are encrypted
  • Mobile are not, and just need root for access into /Data (or using emulator with root)

Which is why only mobile files and paths are mentioned as source of game files on page, and steam files are not.

Someweirdo237 (talkcontribs)

Ah I see. Guess I need to figure out how to get those images from mobile then.

Voiddp (talkcontribs)

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.

Someweirdo237 (talkcontribs)

It might also be helpfully to post recommended Emulators for datamining. Since I tried with Bluestacks but that didn't work.

Reply to "3(Bitstream_Error)"
146.70.45.86 (talkcontribs)

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?

Bluezero (talkcontribs)

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

  • .png - These files were converted to webp format but these hold the image of the character but each part is separate (ex the limb will be separate from the head and the weapon will be separate from the arms, etc..)
  • .skel = The instruction on creating the sprite. It tells how to create the .png into the sprite and instruct on the animations (sprites can have multiple animation, like attack, or in pain or idle animation).

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).

37.19.221.228 (talkcontribs)

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.

Bluezero (talkcontribs)

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.

37.19.221.228 (talkcontribs)

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.

37.19.221.228 (talkcontribs)
 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?
37.19.221.228 (talkcontribs)

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)

37.19.221.228 (talkcontribs)
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.

37.19.221.228 (talkcontribs)

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.

Bluezero (talkcontribs)

Webp is for game optimization. Wiki doesn't need it, can just upload the png. Not sure wiki can handle webp format.

There are no older topics