ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Dec 13, 2017 8:56 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Dec 07, 2017 5:00 pm 

Joined: Sun Dec 03, 2017 7:52 am
Posts: 12
Hi after unpacking Jungle Storm data (NNG) I have many TGA and BMP pics, but seems it all unheadered.
So, I can see some "image" opening TGA with hex editor. Also I try paste header to BMP from other image and can see some data with i_wiev bat it not correct.
Is it possible to restore headers or convert images for editing?
Samples and executable here:
https://mega.nz/#!5lNRGDja!VkOkvAH8UCbG ... xjLvSzOkX0
Upd
Also i can see some gfx with texture finder.

_________________
github:
N-Gage stuff
psp/psv tools


Top
   
PostPosted: Thu Dec 07, 2017 9:42 pm 

Joined: Fri Oct 27, 2017 7:36 pm
Posts: 32
if you got texture finder you can work with it. all the files have the sizes in the broken headers. the ai_somethings are a plain 16-bit rgb. most others have 32-bit palettes with a 8-bit index format (256 colors).

Code:
header_tga
{
   int32   dummy;
   int32   width;
   int32   height;
   int32   nr_pal_entries;
   int32   unk0;
   int32   unk1;
}

then palette

then index bitmap


the bmp have this lil header. a 16-bit palette and 8-bit index format (256 colors).

Code:
header_bmp
{
   byte   unk0;
   int32   width;
   int32   height;
}

then palette

then index bitmap


i gotta write bmses? maybe acewell does again. :)


Top
   
PostPosted: Fri Dec 08, 2017 5:07 am 

Joined: Sun Dec 03, 2017 7:52 am
Posts: 12
Thx! bms script will be great!

_________________
github:
N-Gage stuff
psp/psv tools


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited