Author Topic: Getting gifs from .dat  (Read 30685 times)

Gatts

  • VIPER Initiate
  • Posts: 1
  • Karma: +0/-0
  • Prinny dood...?
Getting gifs from .dat
« on: November 20, 2005, 04:23:14 pm »
Hi guys! I've got an interesting ig getting gif's from Viper games by myself. I found a simple extractor which extracts all the files form sgs.dat to chosen dir. And it's size 144k only. But I wanted converter not extractor. That's why I downloaded Graphopholic from here (big thanks). But it can't convert *.anm to *.gif either... :(
So I wanted to ask - which is the easiest way to convert *.anm to *.gif OR to get all bmp's together easily... which tools do u use?

And... I wanted to ask... how much games in Viper series and is there possibility to get 'em in English?

Hyperguy

  • Retired Admin 2004-2012
  • Forum Administrator
  • Hardcore VIPER Otaku
  • *******
  • Posts: 2,840
  • Karma: +48/-6
  • o/
Re: Getting gifs from .dat
« Reply #1 on: November 21, 2005, 03:18:32 pm »
Hi guy!

Tell me about that extractor you mentioned.  You've got me curious. :3

Otherwise, the reason why you can't convert .anm files to gifs is because the formats are way different.  The best you can do is extract single animation frames from the sgs.dat files and then reanimate them using a gif animator.

Personally, I use ImageReady, which is part of Adobe Photoshop, for reanimating Viper animations from the individual animation frames I extract from the SGS.DAT files.

ImageReady is THE program for making gifs.  It's got many, many useful features inherited from Photoshop, like a history, a wide assortment of tools, and automated tasks.  It also has many features unique to ImageReady all of which relate to animation.  The real icing on the cake is it's optimization tool.  You can make a gif that would normally be server hundred KB in file size much smaller using ImageReady's various optimization options, and can even preview your gif in browsers before you finish it.

Also, a lot of the Viper gifs have large areas of blue that need to be made transparent in order for the gifs to animate correctly, which can be done with a few steps in Image Ready.  I'd use nothing else for animating gifs, though I have tried many other gifs programs before.

Anyhow, there's around 45 Viper games total.  You can find a semi-complete list of them here:

http://hyperguy.net/index.php?page=The_Complete_Viper_Games_Listing

Of the give or take 45 Viper games that were made, four of them have been released internationally. Viper V16, Viper M1, Viper Paradice, and Viper Limited Edition.  They were translated in a couple of languages, including Engrish, Italian, and French.

JG

  • Karin-chan Fan
  • Website Administrator
  • Hardcore VIPER Otaku
  • ********
  • Posts: 3,497
  • Karma: +85/-4
  • 3000 posts of rediculousness and counting
    • Favorite Sogna Game:
      ・Gokuraku VIPER Paradice
    • Now Playing:
      ・Mario & Luigi: Brothership
    • Sogna Digital Museum
Re: Getting gifs from .dat
« Reply #2 on: November 21, 2005, 07:40:59 pm »
Yeah I want to know about that non-Grapholic extractor as well.  Especially if it has source code with it. I could do fun things if I could only reverse engineer the .win and .anm files but I don't have access to the encryption/compression method(s) used in them.

AnimeFan

  • Engaged VIPER Fan
  • **
  • Posts: 24
  • Karma: +4/-0
Re: Getting gifs from .dat
« Reply #3 on: November 23, 2005, 10:19:13 am »
ImageReady is THE program for making gifs.  It's got many, many useful features inherited from Photoshop, like a history, a wide assortment of tools, and automated tasks.  It also has many features unique to ImageReady all of which relate to animation.  The real icing on the cake is it's optimization tool.  You can make a gif that would normally be server hundred KB in file size much smaller using ImageReady's various optimization options, and can even preview your gif in browsers before you finish it.

Ulead GIF Animator also works well. It has a 'merge layer' option for combining the transparency image with the background shot.
You can download it at  http://www.ulead.com/ga/runme.htm

Sesshoumaru

  • Casual VIPER Fan
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Getting gifs from .dat
« Reply #4 on: November 27, 2005, 08:17:32 pm »
ok i got that Ulead Program im so lost i dont get on how to merge the backround to the images that got the blue backround can someone help me out

AnimeFan

  • Engaged VIPER Fan
  • **
  • Posts: 24
  • Karma: +4/-0
Re: Getting gifs from .dat
« Reply #5 on: November 27, 2005, 09:00:00 pm »
ok i got that Ulead Program im so lost i dont get on how to merge the backround to the images that got the blue backround can someone help me out

I'm using version 3 of ulead. Hopefully the newer version should work the same. The blue background that you see is the transparancy. There should be a box that says 'transparent index'. Click on it and then change the transparent index number near the box until the blue transparancy turns black. Try using number 12. Highlight the background image and the image with the transparancy using the mouse and the ctrl key on the image names and then under the 'layer' menu, you should see a 'merge images' option. Click this and the two images become one. Remember that the background image has to be behind the transparancy image. It's the same technique that the cell animators use to make cartoons.

Sesshoumaru

  • Casual VIPER Fan
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Getting gifs from .dat
« Reply #6 on: November 27, 2005, 10:19:25 pm »
ok im still having no luck i got version 5 and i cant find those opitions and when i try to view the help file it wont let me so im still lost thanks for the help anyway

AnimeFan

  • Engaged VIPER Fan
  • **
  • Posts: 24
  • Karma: +4/-0
Re: Getting gifs from .dat
« Reply #7 on: November 28, 2005, 12:38:36 am »
ok im still having no luck i got version 5 and i cant find those opitions and when i try to view the help file it wont let me so im still lost thanks for the help anyway

I found a site that has version 3. Look near the bottom of this page and follow the previous instructions that I gave.
http://www.filelibrary.com/Contents/Windows/133/28.html

Sesshoumaru

  • Casual VIPER Fan
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Getting gifs from .dat
« Reply #8 on: November 28, 2005, 09:24:36 pm »
Thanks Alot That Works Ok Now I Got one More Question How Do I Do Ones With A Black Backround Instead Of Blue?

AnimeFan

  • Engaged VIPER Fan
  • **
  • Posts: 24
  • Karma: +4/-0
Re: Getting gifs from .dat
« Reply #9 on: November 28, 2005, 10:05:13 pm »
Thanks Alot That Works Ok Now I Got one More Question How Do I Do Ones With A Black Backround Instead Of Blue?

A white rectangular box will surround the image. For the images where the mouth is just moving, you have a small box surrounding the mouth with a black background. For those images you don't need to set a transparency. Just align the x and y offset so that the image is in the right place and merge it with the previous frame. When you are finished making the gif and are happy with the result, goto the 'Optimization wizard' option under the 'File' menu  and save these setting:

Create a global optimized palette: NO
Analize color usage: YES
Remove redundant pixels: YES
Keep all comment blocks: NO

Then go to the 'Optimize with presents' and it will reduce the gif size with no degredation.

Sesshoumaru

  • Casual VIPER Fan
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Getting gifs from .dat
« Reply #10 on: November 28, 2005, 10:14:35 pm »
Ok Thanks Alot It Works

Sesshoumaru

  • Casual VIPER Fan
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Getting gifs from .dat
« Reply #11 on: November 29, 2005, 04:46:42 pm »
ok dont know why but i try using grapholic on Viper Guynaroc RPG and it keeps saying a error

JG

  • Karin-chan Fan
  • Website Administrator
  • Hardcore VIPER Otaku
  • ********
  • Posts: 3,497
  • Karma: +85/-4
  • 3000 posts of rediculousness and counting
    • Favorite Sogna Game:
      ・Gokuraku VIPER Paradice
    • Now Playing:
      ・Mario & Luigi: Brothership
    • Sogna Digital Museum
Re: Getting gifs from .dat
« Reply #12 on: November 29, 2005, 08:34:12 pm »
Guynarock and M5 both give me that problem.  Either the cd image we've used is bad, or there's some minor switch in the .anm formats of those files that grapholic doesn't like.  I've been able to work around the bad anm files in M5, but not in Guynarock, hinting that the disc image is bad.

Sesshoumaru

  • Casual VIPER Fan
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Getting gifs from .dat
« Reply #13 on: November 29, 2005, 09:20:25 pm »
which i dont get cause the game plays fine

Sesshoumaru

  • Casual VIPER Fan
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Getting gifs from .dat
« Reply #14 on: December 07, 2005, 05:33:53 pm »
so how did u get around it with viper m5?

JG

  • Karin-chan Fan
  • Website Administrator
  • Hardcore VIPER Otaku
  • ********
  • Posts: 3,497
  • Karma: +85/-4
  • 3000 posts of rediculousness and counting
    • Favorite Sogna Game:
      ・Gokuraku VIPER Paradice
    • Now Playing:
      ・Mario & Luigi: Brothership
    • Sogna Digital Museum
Re: Getting gifs from .dat
« Reply #15 on: December 07, 2005, 08:27:46 pm »
Grapholic blows up at the first .anm file it can't handle, so I wrote myself an app to break the data file into its component files (like .anm and .win), then rebuilt the .dat without any bad files I come across. I keep repeating the process, removing one bad .anm at a time until I got about 90% of them decompressed through Grapholic.

Sesshoumaru

  • Casual VIPER Fan
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Getting gifs from .dat
« Reply #16 on: December 09, 2005, 04:42:10 pm »
ok i got no idea how to do that stuff what can i do to get it?
« Last Edit: December 09, 2005, 07:50:02 pm by Sesshoumaru »

Sesshoumaru

  • Casual VIPER Fan
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Getting gifs from .dat
« Reply #17 on: December 14, 2005, 04:34:54 pm »
WTF Now I Finnaly Got Viper M3 and it has like 5 .dat files and not 1 works on graphloic y me all i want was the pics from m3 and m5 was that so much to ask for

JG

  • Karin-chan Fan
  • Website Administrator
  • Hardcore VIPER Otaku
  • ********
  • Posts: 3,497
  • Karma: +85/-4
  • 3000 posts of rediculousness and counting
    • Favorite Sogna Game:
      ・Gokuraku VIPER Paradice
    • Now Playing:
      ・Mario & Luigi: Brothership
    • Sogna Digital Museum
Re: Getting gifs from .dat
« Reply #18 on: December 14, 2005, 05:26:23 pm »
M3's engine is AGS, not SGS.  I don't know how to extract the images from the AGS data files.

Sesshoumaru

  • Casual VIPER Fan
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Getting gifs from .dat
« Reply #19 on: December 14, 2005, 08:21:33 pm »
aw thanks anyway i just got bad luck i guess man this sucks only 2 viper games i cant get the picture from so i can make gifs