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.

Scrabble SCRABBLE.DAT

Featured Replies

  • Author
  • Localization

puggsoy, posted Mon Feb 09, 2015 5:11 am (3122)


Interesting format! It's a bit tricky to extract from (it has weird chunks) but it was fun to figure out and write the script :)
Code:
# Scrabble SCRABBLE.DAT
#
# Written by puggsoy
# script for QuickBMS http://quickbms.aluigi.org

idstring "\x00\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x00"
get DUMMY long
get DUMMY long
get DUMMY long

get FILES long
set CHOFF 0

savepos CURROFF
math CURROFF -= 4
goto CURROFF

for i = 0    if CHOFF >= 0x800
      savepos CURROFF
      math CURROFF = 0x130
      goto CURROFF
      set CHOFF 0
   endif
   
   get DUMMY long
   callfunction EXTRACT 1
   
   math CHOFF = 0x20
next i

startfunction EXTRACT
   getdstring NAME 0x10
   get OFFSET long
   math OFFSET *= 0x930
   math OFFSET = 0x18
   get SIZE long
   get CHUNK_NUM long
   
   set LEFT SIZE
   log MEMORY_FILE 0 0
   
   append
   for j = 0       log MEMORY_FILE OFFSET 0x800
      math OFFSET = 0x930
   next j
   append
   
   log NAME 0 SIZE MEMORY_FILE
endfunction


I also made a script for extracted .wad files. I'm not sure if it would be better to merge this with the original script?
Code:
# Scrabble .wad
#
# Written by puggsoy
# script for QuickBMS http://quickbms.aluigi.org

get FILES long

for i = 1    getdstring NAME 0x0C
   get OFFSET long
   
   if i == FILES
      get NEXT_OFF asize
   else
      savepos TEMP
      getdstring DUMMY 0x0C
      get NEXT_OFF long
      goto TEMP
   endif
   
   set SIZE NEXT_OFF
   math SIZE -= OFFSET
   
   log NAME OFFSET SIZE
next i
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.