The Forum is up for sale: XeNTaX Forum looking for new owner

MG2, MGR for Virtual On DC

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
User avatar
youngmark
veteran
Posts: 145
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 6 times

MG2, MGR for Virtual On DC

Post by youngmark »

Image
I have some MG2 & MGR file with 78 9C header, how to decompress it.
If someone can decompress this it would be awesome.
User avatar
dj082502
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Oct 13, 2010 3:47 am
Has thanked: 37 times
Been thanked: 21 times

Re: MG2, MGR for Virtual On DC

Post by dj082502 »

The file starts with xœ (78 9C) and can be decoded with zlib.

Code: Select all

C:\offzip.exe -a C:\*.MG2  C:\ 0x0
MG2 is pvr texture, MGR is unknown model.
Looks similar to xbox360's Virtual On
viewtopic.php?f=16&t=8020&hilit=Virtual+On
User avatar
youngmark
veteran
Posts: 145
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 6 times

Re: MG2, MGR for Virtual On DC

Post by youngmark »

Is it possible to make the BMS script?

Code: Select all

get FLAG short
get NAME FILENAME
if FLAG = 0x9C78
????????? 
I don't know any more, need help.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: MG2, MGR for Virtual On DC

Post by aluigi »

it's just a compressed zlib file:

Code: Select all

get NAME basename
get EXT extension
string NAME += "_unpacked."
string NAME += EXT
comtype unzip_dynamic
get SIZE asize
clog NAME 0 SIZE SIZE
User avatar
youngmark
veteran
Posts: 145
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 6 times

Re: MG2, MGR for Virtual On DC

Post by youngmark »

Thanks aluigi
Post Reply