Need GIF player source

All Helbreath Client Source Discussion here.
vgvgf
just visiting
Posts: 5
Joined: Sat Oct 30, 2004 1:49 pm
Location: Córdoba(Argentina)

Post by vgvgf »

Someone knows how to play an animated GIF in snoopy client. If it is posible it may have: transparent compability, pause/resume/stop commands, select frames to play, change width & height, play speed.
I have tried lots of scripts for GIF playing, but I can't make them to work.
Thanks!
Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

thats maby cos Helbreath uses .pak, not .gif's lol u have to make it .pak and code the controls yourself ;)
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

Possible yes. Practical, no. GIFs are compressed and the quality takes a hit. You'd be better off just leaving them as bitmap pak files and playing them like that. Same thing really. The hb pak file is like a gif in different format xD just a bunch of frames to make an animated shot. I don't think dx7 has native gif support but dx9 does (i think)
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
Orkl
Loyal fan
Posts: 376
Joined: Sat Sep 17, 2005 2:31 pm

Post by Orkl »

bone-you wrote: Possible yes. Practical, no. GIFs are compressed and the quality takes a hit. You'd be better off just leaving them as bitmap pak files and playing them like that. Same thing really. The hb pak file is like a gif in different format xD just a bunch of frames to make an animated shot. I don't think dx7 has native gif support but dx9 does (i think)
DX7 only natively supports BMP files, but its really easy to code in support for any image type.
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
vgvgf
just visiting
Posts: 5
Joined: Sat Oct 30, 2004 1:49 pm
Location: Córdoba(Argentina)

Post by vgvgf »

Well, I want to use GIF, files, because they have less size than the bitmap pak files. It's like 10kb for GIF, and 1.5mb for pak files. I know that I will need to rewrite all the helbreath system for using GIF, but if it is neccessary I will rewrite it all. I only need a good player source and a "how to use it" little guide. I'm just starting on c++, so I don't know well how to insert a gif player.
tester
Outpost bitch
Posts: 544
Joined: Wed Jan 07, 2004 8:58 pm

Post by tester »

Could you also code me a Ferrari please, I want one

Thx in advance


Cheers Tester
I support a woman's right to choose<br><br>- In the Mouth?<br>- In the Ass ?<br>- In the Vagina?<br>- Between the Tits?
Firestorm
Loyal fan
Posts: 260
Joined: Fri Apr 07, 2006 10:29 pm

Post by Firestorm »

i want a pony please =(
vgvgf
just visiting
Posts: 5
Joined: Sat Oct 30, 2004 1:49 pm
Location: Córdoba(Argentina)

Post by vgvgf »

i want a pony please =(
Image
Could you also code me a Ferrari please, I want one
What colour do you want?
Seriously, it's so difficult to put a simple GIF player in a hb c++ client? I only need the Gif player, not the replacement of pak sprites from hb. I will make it.
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

If you're trying to replace all paks with gifs it would be difficult since every draw function and the entire sprite class is based on raw bitmaps. If you're just trying to add a gif displayer, just go grab some code somewhere that works with dx7.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
tester
Outpost bitch
Posts: 544
Joined: Wed Jan 07, 2004 8:58 pm

Post by tester »

vgvgf wrote:
i want a pony please =(
Image
Could you also code me a Ferrari please, I want one
What colour do you want?
Seriously, it's so difficult to put a simple GIF player in a hb c++ client? I only need the Gif player, not the replacement of pak sprites from hb. I will make it.
I lolled at the ponies xD

NOW THAT WOULD BE A COOL BOSSMOB EVEN STRONGER THAN ABADDON



Cheers Tester
I support a woman's right to choose<br><br>- In the Mouth?<br>- In the Ass ?<br>- In the Vagina?<br>- Between the Tits?
vgvgf
just visiting
Posts: 5
Joined: Sat Oct 30, 2004 1:49 pm
Location: Córdoba(Argentina)

Post by vgvgf »

If you're trying to replace all paks with gifs it would be difficult since every draw function and the entire sprite class is based on raw bitmaps. If you're just trying to add a gif displayer, just go grab some code somewhere that works with dx7.
I have thought on that, and I think that if the gif can be "translated" to raw bitmaps. Like creating a blank raw bitmap and setting the colors pixel by pixel based on the gif file. For that I need a gif decoder, but I don't know how to add it to hb. Maybe I can do all that, but I need to have a working gif decoder. Or gif displayer and I will manage me to replace the pak Sprites class to new gif Sprites class.
Orkl
Loyal fan
Posts: 376
Joined: Sat Sep 17, 2005 2:31 pm

Post by Orkl »

vgvgf wrote:
If you're trying to replace all paks with gifs it would be difficult since every draw function and the entire sprite class is based on raw bitmaps. If you're just trying to add a gif displayer, just go grab some code somewhere that works with dx7.
I have thought on that, and I think that if the gif can be "translated" to raw bitmaps. Like creating a blank raw bitmap and setting the colors pixel by pixel based on the gif file. For that I need a gif decoder, but I don't know how to add it to hb. Maybe I can do all that, but I need to have a working gif decoder. Or gif displayer and I will manage me to replace the pak Sprites class to new gif Sprites class.
That is doing a lot of processing for something that would be a complete waste of time.
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
HatoL
Member
Posts: 151
Joined: Sun Jul 25, 2004 12:16 pm
Contact:

Post by HatoL »

what are you going to do with GIF files?
vgvgf
just visiting
Posts: 5
Joined: Sat Oct 30, 2004 1:49 pm
Location: Córdoba(Argentina)

Post by vgvgf »

what are you going to do with GIF files?
I want to play animated gif files in hb.
Charles
Loyal fan
Posts: 418
Joined: Wed Nov 26, 2003 8:20 pm

Post by Charles »

vgvgf wrote:
what are you going to do with GIF files?
I want to play animated gif files in hb.
how gay can you be??
<i>"Always write good code. Feel bad to write bad code."</i>
Post Reply