Chaos Wars .UN2 (Seems very easy)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Dazz
beginner
Posts: 21
Joined: Thu Mar 17, 2011 12:10 pm
Location: Peterborough, UK
Has thanked: 3 times
Been thanked: 1 time
Contact:

Chaos Wars .UN2 (Seems very easy)

Post by Dazz » Sat Mar 10, 2012 11:15 am

I'm looking for a means to ripping the sprites from this game, but so far I've only found a japanese application that will extract the CG artwork, and is hard coded just to do that.

The format seems pretty standard, but I'm a moron when it comes to this stuff.

I'd love something that could just output the sprites in a .png format, with the correct palettes and offsets.

There's a couple files that use this format, they seem pretty much the same in structure - i've uploaded the smallest one here:
http://www.mediafire.com/?27cv911m1um32wy


From what I gather, it contains the character's attack sprites, and their "basic" weapon above them.

Graphics:
4 bits/pixel
Big Endian
linear

Palettes:
4 bytes/colour
BGR
Big Endian
Tiled 8x2


Any and all help would be greatly appreciated.

Dazz
beginner
Posts: 21
Joined: Thu Mar 17, 2011 12:10 pm
Location: Peterborough, UK
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Chaos Wars .UN2 (Seems very easy)

Post by Dazz » Thu Mar 15, 2012 6:28 pm

I hate to bump, but I've not yet had any assistance on this yet... Any help?

XeroNazoBlaze
ultra-n00b
Posts: 6
Joined: Sat Dec 05, 2009 8:34 pm
Location: Argentina
Has thanked: 2 times
Been thanked: 4 times

Re: Chaos Wars .UN2 (Seems very easy)

Post by XeroNazoBlaze » Fri Mar 30, 2012 10:51 pm

Oh mang, I'm really sorry, I wish I had viewed this thread sooner.

I have no idea about how to convert the sprites to PNG, but luckily the data isn't compressed or encrypted, so I suggest you using TiledGGD.

Here's the script to unpack the UN2 files. Have fun! :D :

Code: Select all

# Chaos Wars UN2 format unpacker script for Quickbms
# Made by XeroNazoBlaze

ImpType Standard ;
Idstring "UNI2"
Get NULL1 long ;
Get NOFFILES long ;
Get NULL2 long ;
Get FFOM long ;
Math FFOM *= 2048 ;
Set FFOFFSET FFOM ;
GoTo 0x800 ;
For I = 0 < NOFFILES ;
Get NULL3 long ;
Get FOFFSET long ;
Get FSIZE long ;
Get NULL4 long ;
Math FOFFSET *= 2048 ;
Math FOFFSET += FFOM ;
Math FSIZE *= 2048 ;
Log "" FOFFSET FSIZE ;
Next I
Let me know if there's something wrong.

Dazz
beginner
Posts: 21
Joined: Thu Mar 17, 2011 12:10 pm
Location: Peterborough, UK
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Chaos Wars .UN2 (Seems very easy)

Post by Dazz » Sat Mar 31, 2012 10:15 am

Hey man, thanks so much! This is a great start to getting this all sorted!! Thank you! <3

Post Reply