Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Browser game "Mesolithic" .sau

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
User avatar
SoldierTODD
beginner
Posts: 35
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 7 times

Browser game "Mesolithic" .sau

Post by SoldierTODD »

Help, please, unpack graphic files from the browser game "Mesolithic".

Wolf walk animation
walk.rar
You do not have the required permissions to view the files attached to this post.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Browser game "Mesolithic" .sau

Post by Acewell »

there is zlib compressed data in there, extracted there is 708x708 jpg image
sprite sheet with another zlib compressed section and table at the end of the file. :D
this bms script will extract the data as is:

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

comtype zlib_noerror
get ZSIZE asize
math ZSIZE - 8
get NAME basename
string NAME + .dat
clog NAME 0x8 ZSIZE ZSIZE
the other zlib compressed section when decompressed contains the 708x708 8bit alpha mask for the jpg image.

and this bms script will get you just the jpeg image

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

comtype zlib_noerror
get ZSIZE asize
math ZSIZE - 8
get NAME basename
string NAME + .jpg
clog memory_file 0x8 ZSIZE ZSIZE
goto 0x20 -1
get SIZE long -1
savepos OFFSET -1
log NAME OFFSET SIZE -1
Last edited by Acewell on Wed Feb 06, 2019 4:07 am, edited 1 time in total.
User avatar
SoldierTODD
beginner
Posts: 35
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 7 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD »

This code does not work for me:

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get SIZE asize
math SIZE - 8
get NAME basename
string NAME + .dat
clog NAME 0x8 SIZE
Only the second code works.
Image

Sorry, is it possible to unpack in .png format with a transparent background?
For example, like this:
Image

P.S. Sorry for my English, I use a translator.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Browser game "Mesolithic" .sau

Post by Acewell »

SoldierTODD wrote:This code does not work for me...
sorry, fixed! :D
Sorry, is it possible to unpack in .png format with a transparent background?
like i already mentioned there is recursive compression in the file,
after you decompress the sau there is another compressed section in the
decompressed sau, this compressed section is the 8bit alpha mask you seek.
when you extract that it has no header, and it has to be combined with color
image by hand unless someone gets crafty with a new script. :]
User avatar
SoldierTODD
beginner
Posts: 35
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 7 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD »

Acewell, help, please, disassemble. [roll]
viewtopic.php?p=136422#p136422
User avatar
SoldierTODD
beginner
Posts: 35
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 7 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD »

Acewell wrote:like i already mentioned there is recursive compression in the file,
after you decompress the sau there is another compressed section in the
decompressed sau, this compressed section is the 8bit alpha mask you seek.
when you extract that it has no header, and it has to be combined with color
image by hand unless someone gets crafty with a new script. :]
Acewell, sorry for bothering you. The ".sau" file must contain another file (in text form), which is responsible for the coordinates of the sprites. This file can be found and unpacked?
Without these coordinates it will be very difficult to cut the sprite sheet.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Browser game "Mesolithic" .sau

Post by Acewell »

SoldierTODD wrote:The ".sau" file must contain another file (in text form), which is responsible for the coordinates of the sprites. This file can be found and unpacked?
Without these coordinates it will be very difficult to cut the sprite sheet.
the first bms script unpacks the whole sau file, there is no text file only a binary table at the end.
SoldierTODD wrote:Acewell, help, please, disassemble. [roll]
viewtopic.php?p=136422#p136422
i don't know, looks compressed to me.
User avatar
SoldierTODD
beginner
Posts: 35
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 7 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD »

Acewell wrote:the first bms script unpacks the whole sau file, there is no text file only a binary table at the end.
The first bms script unpacks everything in ".dat" format.
Image
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Browser game "Mesolithic" .sau

Post by Acewell »

SoldierTODD wrote:The first bms script unpacks everything...
yes, it was a single compressed container. :]
.... in ".dat" format.
dat is just a meaningless extension, or would you rather windows see it as "file". :D

i have nothing more to add here, maybe someone else can do better. (:
User avatar
SoldierTODD
beginner
Posts: 35
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 7 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD »

Acewell wrote:yes, it was a single compressed container. :]

dat is just a meaningless extension, or would you rather windows see it as "file". :D

i have nothing more to add here, maybe someone else can do better. (:
Thank. I just clarified, because the first time I did not understand you much.


Acewell, I'm sorry, I have another request for you. Please try to unpack this file (.atf) from the Forge of Empires game.
O_SS_ArcticFuture_Hub1_0[1].rar
You do not have the required permissions to view the files attached to this post.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Browser game "Mesolithic" .sau

Post by Acewell »

SoldierTODD wrote:Please try to unpack this file (.atf) from the Forge of Empires game.
O_SS_ArcticFuture_Hub1_0[1].rar
1024x1024 dxt5

big-endian header
0x0 - 4 bytes - magic (ATF\x00)
0x4 - 2 bytes - unk
0x6 - 2 bytes - unk
0x8 - 4 bytes - file size minus 0xc
0xc - 1 byte - format(?) (0x5 = dxt5)
0xd - 1 byte - width (2 to the power of 0xa = 1024)
0xe - 1 byte - height (2 to the power of 0xa = 1024)
0xf - 1 byte - unk
0x10 - 4 bytes - image data size
0x14 - image data starts
0x100014 - 128 bytes - footer (padding?)
:D

i need more samples to make a script.
User avatar
SoldierTODD
beginner
Posts: 35
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 7 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD »

Acewell, sorry again. Can I unzip the ".bin" file?
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Browser game "Mesolithic" .sau

Post by Acewell »

what bin file are you asking about? :D
User avatar
SoldierTODD
beginner
Posts: 35
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 7 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD »

Acewell wrote:what bin file are you asking about? :D
data.rar
You do not have the required permissions to view the files attached to this post.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Browser game "Mesolithic" .sau

Post by Acewell »

i don't see anything in it. :]
Post Reply