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.

Dreamfall The Longest Journey [PAK files]

Featured Replies

  • Author
  • Localization

MuslimCyberGames, posted Sun Jun 19, 2022 1:45 pm (72163)


Image
Dreamfall: The Longest Journey (GOG)

Hello, can anyone make some bms script for extracting this game files?

This game made from Shark 3D Engine from SPINOR

I just want to research and examine the Localization files.

This some Header (I guess?):
Image

I attach some files for sample test: Common Files (116MB)

Thanks for help.
  • Author
  • Localization

h3x3r, posted Sun Jun 19, 2022 10:56 pm (72171)


For unpacking *.pak files
Code:
####################################
get FILENAME basename
idstring "tlj_pack0001"
get FILES long

for i = 0 < FILES
   get UNK0 long
   get UNK1 long
   get OFFSET long
   get SIZE long
   get UNK2 long
   string NAME p= "%s/x.dat" FILENAME OFFSET
   savepos TMP
   if SIZE > 0
      goto OFFSET
      get SIGN0 long
      get SIGN1 short
      goto OFFSET
      get STRSIGN string
      if SIGN0 == 542327876
         string NAME p= "%s/x.dds" FILENAME OFFSET
      elif SIGN0 == 796160609
         string NAME p= "%s/x.font" FILENAME OFFSET
      elif SIGN0 == 1179011410
         string NAME p= "%s/x.wav" FILENAME OFFSET
      elif SIGN0 == 1430672467
         string NAME p= "%s/x.uft" FILENAME OFFSET
      elif SIGN1 == 28261
         string NAME p= "%s/x.loc" FILENAME OFFSET
      elif STRSIGN == shark3d_snake_binary
         string NAME p= "%s/x.bin" FILENAME OFFSET
      endif
      log NAME OFFSET SIZE
   endif
   goto TMP
next i

Loc file is serialized in a way i don't understand how to output.
There are 14016 ID's and 14016 offsets. But string references count is only 10040. In a short table uses multiple same offsets for one string reference with ID's combination.
  • Author
  • Localization

MuslimCyberGames, posted Mon Jun 20, 2022 10:46 am (72182)


Okey, I'm gonna to tried now.

Thanks for helping, btw.
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.