Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Icy tower DAT [Allegro liballeg library]

Featured Replies

  • Author
  • Localization

AntonZab, posted Sun Oct 04, 2015 7:06 pm (8058)


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
  • Author
  • Localization

aluigi, posted Sun Oct 04, 2015 7:54 pm (8062)


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).
  • Author
  • Localization

aluigi, posted Thu Mar 24, 2016 6:29 pm (12240)


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).
  • Author
  • Localization

ahmedwalid605, posted Sat Apr 28, 2018 6:24 pm (34468)


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
  • Author
  • Localization

aluigi, posted Sun Apr 29, 2018 9:19 pm (34508)


Doesn't the script work automatically?
Upload the archive.
  • Author
  • Localization

ahmedwalid605, posted Sun May 06, 2018 10:56 am (34720)


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
  • Author
  • Localization

aluigi, posted Sun May 06, 2018 11:19 am (34722)


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
  • Author
  • Localization

aluigi, posted Sun May 06, 2018 12:38 pm (34723)


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.
  • Author
  • Localization

ahmedwalid605, posted Sun May 06, 2018 12:58 pm (34724)


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
  • Author
  • Localization

aluigi, posted Sun May 06, 2018 1:30 pm (34727)


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.
  • Author
  • Localization

ahmedwalid605, posted Sun May 06, 2018 5:43 pm (34731)


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)
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.