MVFU (Like Kung Fu.) - Nice conversion for VX/Ace assets

Any chance you can make the prefix optional? I am trying to do Ace -> MV conversion, and the filenames need to stay for it to work easily.
Ah, yeah. Looks like I need start adding some checkbox options 😉

EDIT: I've had to bring the service down for a little while. There is an issue where some files won't finish processing, which holds up the queue and basically crashes the whole system... sorry everyone, it should be back as soon as I can resolve this issue!

EDIT 2: Service is back online with a fix. If processing of a file takes longer than 2 minutes, it's cancelled and re-queued with a 'Retrying soon' notice -- sorry about that, but if a file is taking that long then generally there is something going wrong and I don't want it to hold up everyone else's processing (note that regular queued files take priority over files that are 'retrying'). I've also added an option checkbox for the 'MVFU' prefix (on by default).
Thank yu, now i can convert some of the tile sets that i had in ace
Thank yu, now i can convert some of the tile sets that i had in ace
No problem at all 🙂

I've made a few updates today. The queuing has been further improved, with better error handling and user feedback. It will now tell you the file's position in the queue which should help indicate when progress is being made (and rough waiting time). Tomorrow I'm hopefully going to add a few more supported file types.
I am still unable to access the site; it says "This webpage is unavailable". 

It works for my friends for some reason. 

Any ideas? 
I am still unable to access the site; it says "This webpage is unavailable". 

It works for my friends for some reason. 

Any ideas? 
Sounds like a DNS issue. You could try using a proxy/anonymiser? I'm going to be setting up CloudFlare at some point which will fix these kinds of issues, but that's not a super high priority so I'm not 100% sure when I'll get around to it.
I can get the site to load using an in-browser proxy, but then anything I try to do eventually ends up with "Processing failed. Retrying Soon..." error. 

Any chance you can make this an executable, offline program? 
This is awesome! I can't post my result as it was a store pack, but I think it did a great job! You can tell it's resized but I don't think the end result looks bad at all. I hope that it can someday do Facesets! Nice job!
Yea I agree. This is by far the best resizer yet, I've tried photoshop, waifu, RTP Scaler, ImageResizer, a few random ones and they all either created a glow, caused the tiles to have seams,a blur, or just did not look good. This is almost perfect, but if you take the image into photoshop and do a few final touches you may get a tileset looking fantastic, or good enough to deal with at least.

Here is my comparison image for Rural Farm Tileset. *Note I did do some photoshop stuff but I may go back to originals.

Spoiler
Np9z7ry.png
Btw , exist a way to import the faces too?
I can get the site to load using an in-browser proxy, but then anything I try to do eventually ends up with "Processing failed. Retrying Soon..." error. 

Any chance you can make this an executable, offline program? 
Unfortunately not at the moment - firstly, I don't really have time. I considered both approaches but decided to make it as a web app for a few reasons, but most importantly it relies on Waifu2x to do the base resizing (via a HTTP API) so it made the most sense to me to build it on a server. I also didn't want to have to deal with cross-platform compatibility (I used NW.js for my other tool, MVStripper, but the filesize ended up being way bigger than I wanted), plus it was much much quicker to get the site up and running than it would've been for me to build an application. Finally, I wanted to mess around with ImageMagick as a learning exercise 🙂

With regards to the issue you're having, that message almost always appears when you are trying to resize an incompatible file. What kind of sheet are you trying to resize? The only compatible images are those listed on the site, and must match the exact pixel sizes listed.If your image is not listed, keep an eye out here as I'll be adding more supported image types soon. If your image does match, this could be a bug - can you PM me a couple of the sheets you're attempting?

This is awesome! I can't post my result as it was a store pack, but I think it did a great job! You can tell it's resized but I don't think the end result looks bad at all. I hope that it can someday do Facesets! Nice job!
Thanks! I'm glad you're pleased 🙂 I will be adding faceset support soon - probably even today. Watch this space!

Yea I agree. This is by far the best resizer yet, I've tried photoshop, waifu, RTP Scaler, ImageResizer, a few random ones and they all either created a glow, caused the tiles to have seams,a blur, or just did not look good. This is almost perfect, but if you take the image into photoshop and do a few final touches you may get a tileset looking fantastic, or good enough to deal with at least.

Here is my comparison image for Rural Farm Tileset. *Note I did do some photoshop stuff but I may go back to originals.

Spoiler
Np9z7ry.png
Great results! And those tiles look absolutely beautiful to begin with 🙂 That's definitely what I recommend also; use MVFU for a basic resize then touch up in photoshop to get the best results.

Btw , exist a way to import the faces too?
Currently not, but I'll be adding support for them soon. Maybe even today! 🙂

EDIT: Also w00t, 100th post. 😀
Currently not, but I'll be adding support for them soon. Maybe even today! 🙂
Cool 😀
Sounds like a DNS issue. You could try using a proxy/anonymiser? I'm going to be setting up CloudFlare at some point which will fix these kinds of issues, but that's not a super high priority so I'm not 100% sure when I'll get around to it.
Cloudflare absolutely won't help in this case. It doesn't cache dynamic files (eg anything with a ? in the url) and generated files won't be cached long enough. At best it might be an end-run around a DNS problem.

Windows users can use https://github.com/WL-Amigo/waifu2x-converter-cpp/releases , but the instructions are in Japanese and uses opencv. The "help" from the commandline is in english.

Basic use:

waifu2x-converter.exe -i "C:\input\mywaifu.png" -m noise_scale -j 8 --scale_ratio 1.6 --noise_level 2
and/or use -o to specify an output file.

There is a Japanese GUI out there that is drag-and-drop too. Windows-only.

As I said earlier in the thread, I don't think the upscaling algorithm is that great, but if you want to use it, knock yourself out.
Cloudflare absolutely won't help in this case. It doesn't cache dynamic files (eg anything with a ? in the url) and generated files won't be cached long enough. At best it might be an end-run around a DNS problem.

Windows users can use https://github.com/WL-Amigo/waifu2x-converter-cpp/releases , but the instructions are in Japanese and uses opencv. The "help" from the commandline is in english.

Basic use:

and/or use -o to specify an output file.

There is a Japanese GUI out there that is drag-and-drop too. Windows-only.

As I said earlier in the thread, I don't think the upscaling algorithm is that great, but if you want to use it, knock yourself out.
I don't need caching to solve this particular issue - the site was up and working for everybody else. I need a DNS middleman service because the DNS isn't resolving for the user -- "At best it might be an end-run around a DNS problem"; which is exactly what I want to use it for 🙂

Regarding Waifu on desktop, I'm aware that those solutions are available, but they all require CUDA or they're dog slow. And by 'dog slow' I mean 4 minutes to process a 512x512 file on a 4.0ghz Intel i7. That's simply not nearly fast enough for the use case; many users are queuing up 50+ files at a time: that's hours of converting for a system that doesn't have an nVidia GPU.

I do appreciate your time and input though, especially since you yourself are not a fan of the results. Thanks!
Regarding Waifu on desktop, I'm aware that those solutions are available, but they all require CUDA or they're dog slow. And by 'dog slow' I mean 4 minutes to process a 512x512 file on a 4.0ghz Intel i7. That's simply not nearly fast enough for the use case; many users are queuing up 50+ files at a time: that's hours of converting for a system that doesn't have an nVidia GPU.
The one I linked to uses openCV (OpenCL) All GPU's support OpenCL if they have 2014 or better drivers. It took 82 seconds on my nVidia GTX 760 + i7-4770 to process a 512x512 using noise_rescale and 1.5. Unfortunately it also destroys the alpha channel. It takes 60 seconds with -j 8 (8 threads, since I have 8 logical cores (4 real cores)) and just rescale So unfortunately it doesn't look like it will be useful. It could probably be hacked in since the source code to the CUDA version is also available to reference but that's not something I'm going to do.

At any rate I had to get a benchmark for completeness. It's not much slower than optipng/pngcrush.
Ah sweet, I didn't know about OpenCL's wider support. Even still, a lot of users will be using Intel GPUs, or at the very least GPUs that are significantly slower than yours. But yeah, 60 seconds is still slow enough that it won't be useful (not as bad as my non-GPU test though)!

It wouldn't really be hard to just make a http request to waifu like I do with my web app, but the other reasons I mentioned were enough to justify me doing it that way.

I googled your name and found your Twitter - you mentioned on it that you play FFXIV. What server are you on?
Ah sweet, I didn't know about OpenCL's wider support. Even still, a lot of users will be using Intel GPUs, or at the very least GPUs that are significantly slower than yours. But yeah, 60 seconds is still slow enough that it won't be useful (not as bad as my non-GPU test though)!

It wouldn't really be hard to just make a http request to waifu like I do with my web app, but the other reasons I mentioned were enough to justify me doing it that way.

I googled your name and found your Twitter - you mentioned on it that you play FFXIV. What server are you on?
Excalibur 😛 , currently not playing at the moment. My Avatar is from FFXIV and is drawn by a friend on the same server.

I'm actually pretty sure the OpenCL/CV implementation appears to not actually use the GPU unless it was compiled to, and from what I'm looking at in the OpenCV source code, probably needs to be implicitly told which OpenCL device to use.
I've tried Waifu2x both the cpp and the gui version, both require editing skills since it changes the transparancy of your image, which MV doesn't support like Ace did,   MVFU seems to work perfectly for my needs and with the promised support for different filetypes/sizes.   Thank you again for making this. 

Also I'm thinking about getting back into FF XIV..
It says "unsupported image size" when I'm trying to convert battlers. Does it support battlers or can I just convert tilesets?
I've tried Waifu2x both the cpp and the gui version, both require editing skills since it changes the transparancy of your image, which MV doesn't support like Ace did,   MVFU seems to work perfectly for my needs and with the promised support for different filetypes/sizes.   Thank you again for making this. 

Also I'm thinking about getting back into FF XIV..
Thanks for your support 🙂  

It says "unsupported image size" when I'm trying to convert battlers. Does it support battlers or can I just convert tilesets?
No support for battlers yet, just tilesets and 'full' character sheets from VX/Ace. Battlers will probably come before parallaxes and battlebacks, but after facesets.
I upload a file, bar turns orange and then blue but it won't let me download the file..?

Original thread: https://forums.rpgmakerweb.com/threads/mvfu-like-kung-fu-nice-conversion-for-vx-ace-assets.48830/