Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Perfect World > PW Hacks, Bots, Cheats, Exploits
You last visited: Today at 11:30

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



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.

Reply
 
Old   #1
 
elite*gold: 10
Join Date: Sep 2010
Posts: 400
Received Thanks: 234
Talking PWI: Extract emotes to animated GIFs (maybe for FW, ESO, JD too?)

*removed*
dumbfck is offline  
Thanks
8 Users
Old 04/20/2012, 01:55   #2
 
elite*gold: 0
Join Date: May 2010
Posts: 220
Received Thanks: 203
Quote:
As always, I'm going to bore you all by going into great detail about how it works and ****
man, i love this really!
not only ur great work and helpfull hands, the sence of humor u have

i remember the day wen i had to rip all pig animation from the game, for the website of my gf...since she wanted those icons for her guestbook

very great and i linked u tomorrow evening +the other new threads, then its weekend start *hurray*

thanks again
amineurin is offline  
Old 04/20/2012, 11:30   #3
 
Interest07's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 575
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
Interest07 is offline  
Old 04/20/2012, 12:50   #4
 
elite*gold: 10
Join Date: Sep 2010
Posts: 400
Received Thanks: 234
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.
dumbfck is offline  
Old 04/20/2012, 14:14   #5
 
Interest07's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 575
Quote:
Originally Posted by dumbfck View Post
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
Interest07 is offline  
Old 04/20/2012, 14:27   #6
 
elite*gold: 10
Join Date: Sep 2010
Posts: 400
Received Thanks: 234
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
dumbfck is offline  
Old 04/20/2012, 16:44   #7
 
Sᴡoosh's Avatar
 
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 326
Nice project, thanks.
Sᴡoosh is offline  
Old 04/20/2012, 16:59   #8
 
elite*gold: 0
Join Date: Mar 2009
Posts: 112
Received Thanks: 123
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 View Post
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.
Shareen is offline  
Old 04/22/2012, 19:35   #9
 
elite*gold: 10
Join Date: Sep 2010
Posts: 400
Received Thanks: 234
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!
dumbfck is offline  
Old 04/24/2012, 16:43   #10
 
AEBus's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 106
Received Thanks: 52
Completed Gifs
AEBus is offline  
Thanks
6 Users
Old 04/24/2012, 17:58   #11
 
elite*gold: 10
Join Date: Sep 2010
Posts: 400
Received Thanks: 234
Good idea, thanks :P - Did you use this program to extract them or did you already have them?
And where are those last few packs from? Different game?
dumbfck is offline  
Old 04/24/2012, 18:07   #12
 
AEBus's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 106
Received Thanks: 52
Quote:
Originally Posted by dumbfck View Post
Did you use this program to extract them?
Yes
Quote:
Originally Posted by dumbfck View Post
And where are those last few packs from? Different game?
From some Russian Perfect World Free PVP servers
AEBus is offline  
Old 05/01/2012, 01:42   #13
 
elite*gold: 0
Join Date: Oct 2009
Posts: 7
Received Thanks: 2
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
ItsMeMario1 is offline  
Old 05/01/2012, 02:34   #14
 
elite*gold: 10
Join Date: Sep 2010
Posts: 400
Received Thanks: 234
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?

Cheers.
dumbfck is offline  
Old 05/01/2012, 12:25   #15
 
elite*gold: 0
Join Date: Oct 2009
Posts: 7
Received Thanks: 2
they are eso, exacly the same as pw as far as i know but the size (40x40)
Attached Files
File Type: rar ingame.rar (428.0 KB, 141 views)
ItsMeMario1 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
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



All times are GMT +1. The time now is 11:30.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.