YesNoOk
avatar

DBFCI Battle Sprites ripping help. (Read 5399 times)

Started by morshuboms, July 13, 2016, 05:51:19 pm
Share this topic:
DBFCI Battle Sprites ripping help.
#1  July 13, 2016, 05:51:19 pm
  • avatar
    • Spain
Hello everyone. I need help to rip the sprites from Dengeki Bunko FC Ignition. Exploring the files a little with an hexadecimal editor, and others programs, I have been able to export everything about voices and sounds, and graphics in format ".dds" and ".dds.gz". However, I can't extract the battle sprites correctly.

Apparently, the file that stores this graphics is a ".pac" (there is one for each character), which also contains other files that are not graphics. Because my level of work with hexadecimal editor is pretty sad, I only got this:



This is a ".dds.gz" (is a normal .dds, but compressed into a kind of ".rar" file type.), obtained by holding the file ".pac" only with the supposed data that should contain the image, and erasing the rest.
Despite being the same format as the others ".dds.gz" that are not compiled, and both have the same header file,  and a very similar amount of Kb's size, it seems that the ".pac" modifies the data in a way I don't understand, and results in a distorted image like this.

I hope someone has an idea of how could be fixed this problem.
This is a file ".pac", for those who want to try: http://www.mediafire.com/download/8w2ocbqncsvop9j/Zer_s.pac
The file contains graphics from the support character, Zero.

Thanks in advance, and sorry if my English has some error.
Re: DBFCI Battle Sprites ripping help.
#2  July 13, 2016, 07:24:30 pm
  • *****
  • Shame on you!
    • USA
It looks like what ever "chunk" size you've set up to read is off.
What ever your math is, divide by half on the height. Like it needs to return to the next line half way down, or maybe by quarters.

Not knowing what your character should look like, this is what I got on basic reconstruction.

It almost seems like 2 sprites are mixed together.
vVv Ryuko718 Updated 10/31/22 vVv
Re: DBFCI Battle Sprites ripping help.
#3  July 13, 2016, 11:52:19 pm
  • avatar
    • Spain
Thanks for answering. Now it is closer to the real image. The character is this:

Another question also would be how to get the original colors of the image. It is as if instead of using the RGB colors, it use a grayscale palette. I don't know if that can also be corrected somehow.

Odb718, a question about your reconstruction. Have you made it with an image editing software? Or have you done it with other method?
Re: DBFCI Battle Sprites ripping help.
#4  July 14, 2016, 01:56:31 am
  • *****
  • Shame on you!
    • USA
I just did it SUPER FAST with M$ Paint.
I'm sure it could be a lot, lot, better if I figured out the actual pattern to cut it up into. Maybe look into that? I'm sure there has to be a pattern.

I know Super Smash Bros. Brawl would use black and white images for it's special effects. It changed the colors in game, but all I could get were the black and white images from BrawlBox. You might look into that. the dds file format seems familiar. can't remember if it's from my Xbox days or SSBB.
vVv Ryuko718 Updated 10/31/22 vVv
Re: DBFCI Battle Sprites ripping help.
#5  July 15, 2016, 08:46:40 am
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
DDS are DirectDraw Surface texture files. You can view them with lots of free DDS viewers, just google for them
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!