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.

The Cave ~.h and ~.p files

Featured Replies

  • Author
  • Localization

spider91, posted Thu Mar 26, 2015 11:23 am (4113)


I've been working on translation of the game to russian on android. And all the doublefine tools don't work correct on android version. So here is script for android version of the game (based on aluigi script for brutal legend). Hope it will be usefull for someone.

Code:
open FDDE "~h" 0
open FDDE "~p" 1

endian big
idstring dfpf
get DUMMY long
get DUMMY long
get DUMMY long  # align?
get DUMMY long
get NAME_OFF long
get DUMMY long
get DUMMY long
get FILES long

math INFO_SIZE = FILES
math INFO_SIZE <<= 4
math INFO_OFF = NAME_OFF
math INFO_OFF -= INFO_SIZE
goto INFO_OFF

for i = 0 < FILES
    get SIZE threebyte
    get NAMEX threebyte
    get DUMMY short
    get OFFSET long
    get ZSIZE threebyte
    get COMTYPE byte

    savepos INFO_OFF
    math NAMEX >>= 3
    math NAMEX = NAME_OFF
    goto NAMEX
    get NAME string
    goto INFO_OFF

    if COMTYPE & 2
        comtype XMemDecompress
    else
        comtype zlib
    endif

    math ZSIZE >> 3
    math OFFSET >>= 2
    if SIZE == ZSIZE
        log NAME OFFSET SIZE 1
    else
   math SIZE *= 10
        clog NAME OFFSET ZSIZE SIZE 1
    endif
    math OFFSET = ZSIZE
next i
  • Author
  • Localization

aluigi, posted Fri Mar 27, 2015 3:44 pm (4129)


Interesting, this format is used not only by Brutal Legend but also by Stacking.
It's one of those file formats that differ from game to game like the audio PCK used in All Points Bulletin, or namco AR / Nascar 2011, Company of Heroes /Warhammer 40000 / Homeworld... they are boring :(
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.