ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Sep 18, 2018 7:03 pm

All times are UTC




Post new topic  Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Sun Oct 04, 2015 5:07 pm 

Joined: Thu Oct 01, 2015 5:03 pm
Posts: 457
Icy tower DAT file

Sample


https://drive.google.com/file/d/0B0oEDr ... sp=sharing


Top
   
 Post subject: Re: Icy tower DAT
PostPosted: Sun Oct 04, 2015 5:30 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8779
http://aluigi.org/bms/icy_tower.bms


Top
   
 Post subject: Re: Icy tower DAT
PostPosted: Sun Oct 04, 2015 7:06 pm 

Joined: Thu Oct 01, 2015 5:03 pm
Posts: 457
After Unpack. I See. PCX and bmp not shown. Wave do not play. When unpacking wrote replace duplicate files or not. If not. That there are several files at 87 MB. Although the archive weighs just 1 mb


Top
   
 Post subject: Re: Icy tower DAT
PostPosted: Sun Oct 04, 2015 7:54 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8779
I have updated the script to version 0.1.1 for fixing the problem of duplicated names.
For the rest the script is correct and extracts all the files.
Please note that the files are raw (headerless).


Top
   
 Post subject: Re: Icy tower DAT
PostPosted: Thu Mar 24, 2016 6:29 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8779
I have updated the script to version 0.2 for supporting the encryption adopted by some games that use the Allegro 4.x library like Happyland Adventures (password "happy" which is automatically set by the script).


Top
   
 Post subject: Re: Icy tower DAT
PostPosted: Sat Apr 28, 2018 6:24 pm 
User avatar

Joined: Mon Jul 31, 2017 11:23 pm
Posts: 19
aluigi wrote:
I have updated the script to version 0.2 for supporting the encryption adopted by some games that use the Allegro 4.x library like Happyland Adventures (password "happy" which is automatically set by the script).


What's The Pass For Icytower 1.5.1


Top
   
 Post subject: Re: Icy tower DAT
PostPosted: Sun Apr 29, 2018 9:19 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8779
Doesn't the script work automatically?
Upload the archive.


Top
   
 Post subject: Re: Icy tower DAT
PostPosted: Sun May 06, 2018 10:56 am 
User avatar

Joined: Mon Jul 31, 2017 11:23 pm
Posts: 19
aluigi wrote:
Doesn't the script work automatically?
Upload the archive.


No The Script Extract Files Like ("FILENAME_FileExtension") When I replace _fileExtension with .FileExtension The OGG Only Works But The BMP Doesn't Works

Sample:
https://mega.nz/#!M40gnYiT!I1rYO6tqYGU9xqiYnfwcOQTMZ8hu20PKFfgetG1DtRY


Top
   
 Post subject: Re: Icy tower DAT
PostPosted: Sun May 06, 2018 11:19 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8779
The script extracts everything perfectly and the names are those provided by the archive itself.

The reason why BMP don't work is that they have a custom mini-header instead of the normal "BM" header.
For example 001_BMP starts with the following big endian 16bit fields:
0x0010: bits per pixel
0x001e: X
0x0034: Y

Remove these 6 bytes, open the file as raw with a program that allows it (irfanview for example) and set width 30, height 52 and 16bit.

WAV* files have a similar header too composed by 3 16bit fields: bits (for example 16), samplerate (22050) and channels (1).
My suggestion is to check the source code of the Allegro library and check the fields there, paying attention if there are differences between 4.x and 5.x, probably most of games are based on 4.x:
https://github.com/liballeg/allegro5
http://liballeg.org/old.html


Top
   
PostPosted: Sun May 06, 2018 12:38 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8779
I just updated the script for making it compatible with another encryption method used in Allegro where it's just a xor of the whole archive with the password.

For example Zelda Classic https://www.allegro.cc/depot/ZeldaClassic uses this method with the password "longtan", the script has the password in its database so no modification is necessary by the user.

I'm sure many other games use passwords (packfile_password function) so, to anyone, feel free to post them here.


Top
   
 Post subject: Re: Icy tower DAT
PostPosted: Sun May 06, 2018 12:58 pm 
User avatar

Joined: Mon Jul 31, 2017 11:23 pm
Posts: 19
aluigi wrote:
The script extracts everything perfectly and the names are those provided by the archive itself.

The reason why BMP don't work is that they have a custom mini-header instead of the normal "BM" header.
For example 001_BMP starts with the following big endian 16bit fields:
0x0010: bits per pixel
0x001e: X
0x0034: Y

Remove these 6 bytes, open the file as raw with a program that allows it (irfanview for example) and set width 30, height 52 and 16bit.

WAV* files have a similar header too composed by 3 16bit fields: bits (for example 16), samplerate (22050) and channels (1).
My suggestion is to check the source code of the Allegro library and check the fields there, paying attention if there are differences between 4.x and 5.x, probably most of games are based on 4.x:
https://github.com/liballeg/allegro5
http://liballeg.org/old.html


I made what you say but irfanview tell me Out Of Memory! and dosen't show to file(The IMG)

Is There's Any Another Way


Top
   
PostPosted: Sun May 06, 2018 1:30 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8779
I have no idea of what mess you did there :)

File->Open As->RAW file
select 001_BMP
Image width: 30
Image height: 52
File header size: 6 (so you don't even need to delete bytes)
BitsPerPixel: 16 BPP
All the other options don't affect the visualization and can't produce any error like the one you got.


Top
   
PostPosted: Sun May 06, 2018 5:43 pm 
User avatar

Joined: Mon Jul 31, 2017 11:23 pm
Posts: 19
aluigi wrote:
I have no idea of what mess you did there :)

File->Open As->RAW file
select 001_BMP
Image width: 30
Image height: 52
File header size: 6 (so you don't even need to delete bytes)
BitsPerPixel: 16 BPP
All the other options don't affect the visualization and can't produce any error like the one you got.


What Version You Use 32 or 64 (I Use 64)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 13 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