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.

prehistorik VGA and CUR

Featured Replies

  • Author
  • Localization

AntonZab, posted Sun Oct 11, 2015 12:46 pm (8345)


No ideas?
  • Author
  • Localization

aluigi, posted Sun Oct 11, 2015 12:51 pm (8346)


When you see no replies from me it usually means "no idea", yeah :)
  • Author
  • Localization

AntonZab, posted Sun Oct 11, 2015 12:55 pm (8348)


Sorry :D
  • Author
  • Localization

einstein95, posted Sun Oct 11, 2015 1:51 pm (8354)


Code:
# Uses info from Malvineous
# http://www.shikadi.net/moddingwiki/CUR_Format
get OFF short
for
   get SIZE long
   if SIZE = 0
      break
   endif
   get NAME string
   log NAME OFF SIZE
   math OFF SIZE
next


Some of the files are compressed as noted on the wiki page:
Quote:
Those files that are compressed start with a UINT32BE value storing the uncompressed size (in bytes), followed by the compressed data. The compression algorithm is LZSS with a length field of 2 bits, a distance field of 8 bits and a code field of 0=escape, 1=length/distance pair. The length-distance pair stores the length field first, followed by the distance field. Like the field storing the uncompressed size, all bits are decoded in big-endian order.

As far as is known, the .mat, .mdi and .pc1 files are always compressed, and all other files are uncompressed.


If aluigi wants to implement this into the script, then that's all the better.
  • Author
  • Localization

aluigi, posted Mon Oct 12, 2015 6:27 am (8375)


I have some problems to build the list of parameters for comtype lzss using these information.
By default lzss uses "12 4 2 2": EI, EJ, P and rless (the names of the first 3 come from the original implementation).
I tried some values but don't get any good result.
Maybe it's not that lzss?
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.