Browser game "Mesolithic" .sau

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

Browser game "Mesolithic" .sau

Post by SoldierTODD » Mon Feb 04, 2019 1:48 pm

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.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2383 times
Been thanked: 716 times

Re: Browser game "Mesolithic" .sau

Post by Acewell » Tue Feb 05, 2019 5:26 am

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: 31
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 6 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD » Tue Feb 05, 2019 12:46 pm

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.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2383 times
Been thanked: 716 times

Re: Browser game "Mesolithic" .sau

Post by Acewell » Wed Feb 06, 2019 4:14 am

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: 31
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 6 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD » Wed Feb 06, 2019 9:48 pm

Acewell, help, please, disassemble. [roll]
viewtopic.php?p=136422#p136422

User avatar
SoldierTODD
beginner
Posts: 31
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 6 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD » Thu Feb 07, 2019 1:00 pm

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.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2383 times
Been thanked: 716 times

Re: Browser game "Mesolithic" .sau

Post by Acewell » Thu Feb 07, 2019 8:25 pm

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: 31
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 6 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD » Thu Feb 07, 2019 9:22 pm

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

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2383 times
Been thanked: 716 times

Re: Browser game "Mesolithic" .sau

Post by Acewell » Fri Feb 08, 2019 12:39 am

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: 31
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 6 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD » Fri Feb 08, 2019 12:58 pm

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.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2383 times
Been thanked: 716 times

Re: Browser game "Mesolithic" .sau

Post by Acewell » Fri Feb 08, 2019 9:29 pm

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: 31
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 6 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD » Sun Feb 10, 2019 11:29 pm

Acewell, sorry again. Can I unzip the ".bin" file?

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2383 times
Been thanked: 716 times

Re: Browser game "Mesolithic" .sau

Post by Acewell » Mon Feb 11, 2019 12:05 am

what bin file are you asking about? :D

User avatar
SoldierTODD
beginner
Posts: 31
Joined: Fri Oct 24, 2014 10:15 pm
Has thanked: 6 times

Re: Browser game "Mesolithic" .sau

Post by SoldierTODD » Mon Feb 11, 2019 11:39 am

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.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2383 times
Been thanked: 716 times

Re: Browser game "Mesolithic" .sau

Post by Acewell » Mon Feb 11, 2019 10:09 pm

i don't see anything in it. :]

Post Reply