XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Feb 25, 2018 10:54 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: BlazBlue: Chrono Phantasma Extend - unsupported .hip files
PostPosted: Tue Jul 26, 2016 4:32 pm 
Offline
ultra-n00b

Joined: Mon Jul 25, 2016 11:20 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time














You can make the ads go away by registering

First time poster here, please bear with me :P

There's hip files in this game that seem to contain character sprites, but the format for some of the .hip files has changed since the older games and I'd like to figure out how to extract them.

Things I've tried:
  • exah3pac from http://asmodean.reverse.net/pages/exah3pac.html - this extracts one type of hip file with ID 0x0101, compression type identified as 8bit RLE. These seem to contain sprites for secondary assets that aren't the main character sprite (weapons, flames, etc.). The type I'm interested (0x0410) in is explicitly stated to be not supported by this code.
  • Basic python script to create the image that loads the palette and reads the data as indexed colors, I included the output below.

Image

My understanding of the structure of these hip files is as follows:
  • 0x000 to 0x030 - HIP file header with file information
  • 0x040 to 0x430 - 32 bit palette with 256 entries
  • 0x440 - First two integers are repeated info found in HIP file header (seems to be related to resolution), next 8 bytes always 0's
  • 0x450 onwards - raw data seems to begin, though the first 8 bytes almost look like they could be some additional header data?

I read up a bit on texture swizzling but I'm not sure if that's what is going on here with the raw data. :(

I included a sample hip file in the attachment.

EDIT: I forgot to add another file with the same naming scheme, .jonbin files. In total it seems to be three files: *.hip files, *.hpl files and *.jonbin files. This jonbin file seems to have a header which has JONB followed by filename.bmp in all cases, so it might help in putting together the data from the hip file correctly, just have no idea how.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group