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.
Zero Tolerance for Disrespect

Moorhuhn Winter Edition .dat archive

Featured Replies

  • Localization

I found nothing i can use to extract this properly, and game archives are a bit out of my skillset. Can anybody help ?

moorhuhnwinter.zip

Edited by MaxBOOST
messed up text

Solved by LinkOFF

  • Supporter
  • Solution
import struct
import io
import os

class Entry:
    def __init__(self, f):
        self.filepath = str(f.read(48), 'utf-8').strip('\0')
        self.offset, self.size, self.pad1, self.pad2 = struct.unpack('4i', f.read(16))

def extract(file):
    f = open(file, 'rb')
    sign = str(f.read(48)).strip('\0')
    datastart, unk1, unk2, unk3 = struct.unpack('4i', f.read(16))
    entries = []
    while(True):
        check = f.read(4)
        if check == b'\x2A'*4:
            break
        f.seek(-4, io.SEEK_CUR)
        entries.append(Entry(f))
    for entry in entries:
        print('Extracting: %s' % entry.filepath)
        f.seek(entry.offset)
        data = f.read(entry.size)
        dirname = os.path.dirname(entry.filepath)
        if not os.path.exists(dirname):
            os.makedirs(dirname)
        r = open(entry.filepath, 'wb')
        r.write(data)
        r.close()
    f.close()
    
extract('moorhuhnwinter.dat')

You can extract the archive with that python script

Create an account or sign in to comment

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.