PWI: Extract emotes to animated GIFs (maybe for FW, ESO, JD too?)
Discussion on PWI: Extract emotes to animated GIFs (maybe for FW, ESO, JD too?) within the PW Hacks, Bots, Cheats, Exploits forum part of the Perfect World category.
I can't find the .bat file I used to go from .dds + .txt -> .gifs, but I know for a fact that imagemagick will let you chop up .dds files, since you weren't too keen on C# doing that stuff for you, maybe you can look into that next time
You did that with a .bat file :O ? Well now I feel dumb lol.
And I didn't realise IM could use .dds files - Wish I had as I could have removed the whole DevIL.NET stuff from the project.
As for chopping the images up, that's a bit cumbersome using IM, hence why I opted to do that part in C#. I'd love to see that bat file though if you ever find it
I wonder if there is any difference in final gif quality if I use IM to build the gifs from sliced up .dds chunk rather than using .pngs as an intermediate stage. I may have to have a play with that later lol.
I'm also contemplating adding an option to make animated .pngs, although the browser devs can't seem to make up their minds about them. If I can get them to work well in .NET controls I might just do it anyway, as that was my original requirement when I started this little tool.
You did that with a .bat file :O ? Well now I feel dumb lol.
And I didn't realise IM could use .dds files - Wish I had as I could have removed the whole DevIL.NET stuff from the project.
As for chopping the images up, that's a bit cumbersome using IM, hence why I opted to do that part in C#. I'd love to see that bat file though if you ever find it
I wonder if there is any difference in final gif quality if I use IM to build the gifs from sliced up .dds chunk rather than using .pngs as an intermediate stage. I may have to have a play with that later lol.
I'm also contemplating adding an option to make animated .pngs, although the browser devs can't seem to make up their minds about them. If I can get them to work well in .NET controls I might just do it anyway, as that was my original requirement when I started this little tool.
I've swapped HDs a few times since I did that... running a search on *.bat didn't net me any results (well, plenty of results, but not what I wanted ), so I'm afraid it might be on some broken HD or formatted into oblivion. It's been a while ago, and there was a fair bit of thinking work involved so I can't recall how exactly I did it lol.
Obviously your program has way more utility anyway, as it integrates the .pck bits etc. I'm guessing your PWI msn program is one step further towards the completion then Really a project for the long run it seems, although I suppose it could be integrated with other PW games as well, so even if you don't complete it before pwi goes belly up, it will still be useful
Awwh shame about the file. I bet you lost lots of other nice stuff too
Yeah the plan is to make the chat program compatible with FW, JD, ESO, etc. too
I might even integrate a scaled down and cleaned up version of this into it too, so if PWE add some more emote packs to the client, the user will be able to automagically update the program to include them :P
On an ooold version of the PWMSN program I was developing, it used to extract the .dds files then extract each emote as a virtual image, then lay the .dds frames directly over the chat window, but it was a bit processor intensive to manually animate the sprites (had a tick timer which would advance the frame count on each sprite as and when required). It worked quite well though, until there were a lot of smilies on the page.
Since then I've figured out a really nice way to drop an animated gif into a richtextbox and preserve the transparency, along with an overall form transparency too (you can adjust how transparent the entire window and contents are, so you can leave it in the corner of your screen and still see your other windows through it ^_^), so I'm gonna do it like that now and let the native stuff handle the gif animations
Simple, easy to use and useful. Funny enough, I was just about to start playing with getting those darn smilies out and here you go posting this.. brilliant timing, thank you.
Quote:
Originally Posted by dumbfck
Using the convert.exe program bundled with it, we can do something like this on the command line to create an animated gif from frames:
[code]
convert -dispose background -delay 100 image1.png -delay 250 image2.png -delay 50 image3.png derp.gif
[\code]
Perhaps place that convert command for ImageMagick into some text file, where end users can modify it. For example, I'm thinking of resizing .gif smilies into a smaller form, so they don't break lines of text in such an ugly fashion.
Being able to modify IM command line would open end image manipulation to a new level. All it takes is a short read trough IM manuals and as far as my experience go with IM, there is very little that thing can't do.
Please note though, I'm not in any way implying you should do that, full source is available to all (another thank you for that), I'm merely giving out suggestions.
I was thinking of adding an option for resizing, but in the end I just wanted to finish it hehe. I'll take a look at some point - it should be pretty easy to add.
The IM stuff in an ini file is a pretty good idea too!
btw doesnt work on all the games, technicly it works but the image sizes are different. So it ends up with a bunch of weird half cut up images. lil text box with image sizes could fix it
Ahh thanks for the feedback. Do you have an example emotionsx.dds and emotionsx.txt pair you can upload or send me please so I can test?
Also, which game are your emotes from?
Extract epk and eix error (Dont extract because eix) 12/26/2012 - Metin2 Private Server - 2 Replies Hi, My first topic xD... But i have a problem extracting...
how gives the informacion for extract is archive eix, and if isnīt the correct archive eix for archive epk donīt extract... itīs my problem... isnīt the correct eix file... And i need to extract pc2... is possible creat a archive eix for archive epk??
Please! I Need really... if possible for today!
Try donīt respond in German... Or, write right... for i can translate...
[How to] open animated GIFs in Photoshop! 06/12/2010 - Artist Tutorials - 4 Replies Lately I've been many times asked if there is a way to open animated GIFs in Adobe Photoshop... Many say that there isn't but there is. All you have to do is follow these steps:
1. Click File -> Import -> Video Frames To Layers
http://i49.tinypic.com/a357d.jpg
But when you open the "Import" window it will only allow to open .MOV; .AVI; .MPG & .MPEG files.
http://i48.tinypic.com/34oa9mc.jpg
[Geile Gifs]Meine 1ten gifs 10/08/2009 - General Art - 9 Replies hier mein aller 1tes Gif gemischt mord und 11.sep.
http://img209.imageshack.us/img209/742/11septembe r.gif
Hier mein 2tes. "Krimi"
http://img84.imageshack.us/img84/6975/krimi.gif
Viel spass hahaha