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.

Rayman 2 (Dreamcast) .TEX archive

Featured Replies

  • Author
  • Localization

RibShark, posted Sun Jun 12, 2016 3:09 pm (14339)


These archives appear to contain a collection of PVR textures (the headers [GBIX] of these textures appear throughout the archive), but are compressed. The string "LZSS" appears at the start of every archive suggesting LZSS compression. Before each PVR file is a short int containing the size of the file in the archive followed by three "00" bytes.

Link to sample archive.
  • Author
  • Localization

aluigi, posted Sun Jun 12, 2016 6:05 pm (14343)


Can you confirm if the files extracted with this script have a correct format?
Code:
comtype BPE_ALT2
idstring "LZSS"
get LZSS_SIZE asize
for OFFSET = 0 != LZSS_SIZE
    get SIZE long
    math SIZE - 4
    savepos OFFSET
    xmath XSIZE "SIZE * 20"
    clog "" OFFSET SIZE XSIZE
    math OFFSET SIZE
    goto OFFSET
next
  • Author
  • Localization

RibShark, posted Wed Jun 15, 2016 8:38 pm (14492)


Unfortunately not. The correct format is detailed here. Looking at the files that that BMS script outputs (and what other comtypes also output when I tried them), I notice an extra "00" byte before the integer 8 (which is meant to follow directly after the string "GBIX"). Thanks a lot anyway though.
  • Author
  • Localization

RibShark, posted Wed Jun 15, 2016 9:07 pm (14494)


That tool opens textures of a different format which are not compressed in an archive. Actually reading the textures themselves isn't the problem though, as there are tools available for that. The problem is getting them out of the archive itself.
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.