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.

[Two Worlds 1 PC] .wd files extraction help

Featured Replies

  • Author
  • Localization

squerol, posted Sun Apr 02, 2017 9:22 am (21908)


Hello. I want to extract .wd files from Two Worlds 1 PC game. I saw scripts for Two Worlds 2 and Raven's Cry .wd files, but they aren't working with Two Worlds 1. Will someone be able to make quickmbs script for it, please?

Example .wd files:

Code:
http://www.mediafire.com/file/mmsdzm94prh8qgy/TW1_WD_EXAMPLES.rar


Maybe script for Two Worlds 2 and Raven's Cry will help here...

Raven's Cry .wd by Thief1987

Code:
log MEMORY_FILE 0 0
get dirname basename
goto 0x24
get arcnamelen long
getdstring arcname arcnamelen
get dummy long
get filetablezsize long
savepos offset
clog MEMORY_FILE offset filetablezsize 0x10000000

get files long MEMORY_FILE

for i = 0 < files
get filenamelen byte MEMORY_FILE
getdstring name filenamelen MEMORY_FILE
get dummy byte MEMORY_FILE
get offset longlong MEMORY_FILE
get zsize long MEMORY_FILE
get size longlong MEMORY_FILE


set fullname = dirname
string fullname "/"
string fullname name
clog fullname offset zsize size
next i


Two Worlds 2 .wd by Ekey

Code:
# Two Worlds 2 (WD format)
#
# Written by Ekey (h4x0r)
# http://www.progamercity.net
#
# script for QuickBMS http://quickbms.aluigi.org

comtype unzip_dynamic

idstring "WD"
goto 0x2c
get TABLESIZE long
savepos TABLEOFFSET
clog MEMORY_FILE TABLEOFFSET TABLESIZE TABLESIZE
get FILES long MEMORY_FILE

for i = 0 < FILES
     get NSIZE byte MEMORY_FILE
     getdstring NAME NSIZE MEMORY_FILE
     get FLAG byte MEMORY_FILE
     get OFFSET long MEMORY_FILE
     get NULLS long MEMORY_FILE
     get ZSIZE long MEMORY_FILE
     get SIZE long MEMORY_FILE
     get NULLS long MEMORY_FILE
   if SIZE == ZSIZE
     log NAME OFFSET SIZE
   else
     clog NAME OFFSET ZSIZE SIZE
   endif   
next i


Thank You for any help.
  • Author
  • Localization

squerol, posted Sun Apr 02, 2017 11:27 am (21910)


Savage wrote:


Thanks but I've tried it already before - I'm getting "HRESULT 0x8007000b" error with any version of this tool, it has something to do with x64 systems.

That's why I'm searching for quickmbs script for TW1.
  • Author
  • Localization

Savage, posted Sun Apr 02, 2017 11:39 am (21911)


You right, i remember to install a Windows XP in virtual machine to use this tool, if nobody fix the script i recommend to do this
  • Author
  • Localization

squerol, posted Sun Apr 02, 2017 11:47 am (21912)


Savage wrote:
You right, i remember to install a Windows XP in virtual machine to use this tool, if nobody fix the script i recommend to do this


Thank You for idea! I was doing something like that with Gothic 3 ModKit, didn't tried with TW1 tool.
Even had VB installed and enabled shared folders :lol:

Thank You once more! It works
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.