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.

(SOLVED) Labyrinth of Galleria the Moon Society (.dds.phyre)

Featured Replies

  • Author
  • Localization

Arcafa, posted Tue Feb 21, 2023 4:22 am (75506)


I want to extract the sprites but i don't have success.
I've tried to extract the .dat file (over 13gb) with this script

Code:
idstring "FAFULLFS"
get FILES longlong
get NSOFF longlong #names
get NSIZE longlong
get TABLEOFF longlong
goto TABLEOFF
savepos TMP
for i = 0 < FILES
goto TMP
get UNK1 longlong
get NOFF longlong
get NULL longlong
get SIZE longlong
get FOFF longlong
get UNK3 longlong
savepos TMP
xmath NTMP "NSOFF NOFF"
goto NTMP
get FNAME string
goto FOFF
log FNAME FOFF SIZE
next i


I found this script here: viewtopic.php?t=7756

It extracted files in nested folders but I don't know the extraction was correctly done.
I think the output is not exactly correct because the output file format is a little bit different from coven of dusk
i have a sample file extracted from the data.dat here with the script above: https://drive.google.com/drive/folders/ ... share_link
coven of dusk sample file for comparison: https://drive.google.com/drive/folders/ ... share_link

I tried to convert the phyre file with this script with no success: viewtopic.php?t=7573
  • Author
  • Localization

h3x3r, posted Wed Mar 01, 2023 2:51 pm (75613)


So i checked archive and it seems to be compressed. There is also a lz4.dll file inside game folder.

EDiT: O.K Got the logic.
Image
When DecFileSize 0 = file is uncompressed.
When DecFileSize > FileSize = file is compressed.

EDiT: Here's bms. Should by O.K now...
Code:
#########################
comtype lz4
idstring "FAFULLFS"
get Files longlong
get NamesOffset longlong
get NamesSize longlong
get TableOffset longlong

goto TableOffset

for i = 0    get Unknown0 longlong
   get FileNameOffset longlong
   math FileNameOffset NamesOffset
   get DecFileSize longlong
   get FileSize longlong
   get FileOffset longlong
   get Unknown1 longlong
   savepos tmp
   goto FileNameOffset
   get FileName string
   if DecFileSize == 0
      log FileName FileOffset FileSize
   else
      goto FileOffset
      math FileOffset 32
      getdstring Dummy 0x18
      get ComFileSize long
      math ComFileSize - 20
      get DecFileSize long
      clog FileName FileOffset ComFileSize DecFileSize
   endif
   goto tmp
next i
  • Author
  • Localization

Arcafa, posted Thu Mar 02, 2023 3:28 am (75628)


it worked wonderfully, thanks
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.