Help With Decompressing .dat File.
-
- Posts: 12
- Joined: Sat Mar 19, 2022 3:31 am
Help With Decompressing .dat File.
Hello,
So, there's this game called Moorhuhn Adventure 2: Der Fluch des Goldes, and all its assets are in a .DAT file (moorhuhn games are known for storing their assets in .DAT files). Except, this file is unlike the other .DAT files that other moorhuhn games use, but i still tried to use all .DAT file scripts i can find, and all Moorhuhn scripts, too ! But none worked. Can someone please help me ? I would be grateful if someone did.
Thanks !
MaxBOOST.
P.S: Here's the .DAT file in case you wanna try something with it.
https://drive.google.com/file/d/1ch8aKisHSowof7J3ENcQ0sJNhv9UFjdA/view?usp=sharing
So, there's this game called Moorhuhn Adventure 2: Der Fluch des Goldes, and all its assets are in a .DAT file (moorhuhn games are known for storing their assets in .DAT files). Except, this file is unlike the other .DAT files that other moorhuhn games use, but i still tried to use all .DAT file scripts i can find, and all Moorhuhn scripts, too ! But none worked. Can someone please help me ? I would be grateful if someone did.
Thanks !
MaxBOOST.
P.S: Here's the .DAT file in case you wanna try something with it.
https://drive.google.com/file/d/1ch8aKisHSowof7J3ENcQ0sJNhv9UFjdA/view?usp=sharing
-
- Posts: 46
- Joined: Sat Mar 16, 2019 1:21 pm
Re: Help With Decompressing .dat File.
it's zlib but more block compresses
-
- Posts: 12
- Joined: Sat Mar 19, 2022 3:31 am
Re: Help With Decompressing .dat File.
mrmemmo_ wrote:it's zlib but more block compresses
so, what should i do with it ?
-
- Posts: 46
- Joined: Sat Mar 16, 2019 1:21 pm
Re: Help With Decompressing .dat File.
i don't know. decompress and compress level 9 to get compress file...bla bla. i think
-
- Posts: 179
- Joined: Tue Jan 18, 2022 12:21 am
Re: Help With Decompressing .dat File.
MaxBOOST wrote:mrmemmo_ wrote:it's zlib but more block compresses
so, what should i do with it ?
Just use offzip from alluigi
http://aluigi.altervista.org/mytoolz/offzip.zip
create a text file and put this command
Code: Select all
offzip -s -a mha2.dat
pause
then rename the extensio .txt to .bat and run.
-
- Posts: 12
- Joined: Sat Mar 19, 2022 3:31 am
Re: Help With Decompressing .dat File.
rabatini wrote:MaxBOOST wrote:mrmemmo_ wrote:it's zlib but more block compresses
so, what should i do with it ?
Just use offzip from alluigi
http://aluigi.altervista.org/mytoolz/offzip.zip
create a text file and put this commandCode: Select all
offzip -s -a mha2.dat
pause
then rename the extensio .txt to .bat and run.
ok i did that, but then i got a bunch of dat files and vap files
-
- Posts: 46
- Joined: Sat Mar 16, 2019 1:21 pm
Re: Help With Decompressing .dat File.
exam: file 000b4ba5.dat
delete 89 bytes first and change file extension to jpg and chill
some file vap is ogg sound
delete 89 bytes first and change file extension to jpg and chill
some file vap is ogg sound
-
- Posts: 12
- Joined: Sat Mar 19, 2022 3:31 am
Re: Help With Decompressing .dat File.
mrmemmo_ wrote:exam: file 000b4ba5.dat
delete 89 bytes first and change file extension to jpg and chill
some file vap is ogg sound
so, do i open dat with notepad and delete the first 89 bytes and change the vap to ogg ?
-
- Posts: 179
- Joined: Tue Jan 18, 2022 12:21 am
Re: Help With Decompressing .dat File.
So, you did the decompress, now its up to you dig out the files, some are images and some other is songs and maybe your scripts is inside one of them.
to jpg you can use this script in quickbms.
if is jpg it will create a file with jpg image, if not will create no file.
to jpg you can use this script in quickbms.
if is jpg it will create a file with jpg image, if not will create no file.
Code: Select all
get file asize
get name basename
get id long
if id == 0x00000000
goto 0x59
savepos temp
xmath size "(file - temp)"
String FILENAME P "%name%.%jpg%"
log filename temp size
endif
-
- Posts: 12
- Joined: Sat Mar 19, 2022 3:31 am
Re: Help With Decompressing .dat File.
rabatini wrote:So, you did the decompress, now its up to you dig out the files, some are images and some other is songs and maybe your scripts is inside one of them.
to jpg you can use this script in quickbms.
if is jpg it will create a file with jpg image, if not will create no file.Code: Select all
get file asize
get name basename
get id long
if id == 0x00000000
goto 0x59
savepos temp
xmath size "(file - temp)"
String FILENAME P "%name%.%jpg%"
log filename temp size
endif
ok, and for VAPs ?
-
- Posts: 179
- Joined: Tue Jan 18, 2022 12:21 am
Re: Help With Decompressing .dat File.
MaxBOOST wrote:rabatini wrote:So, you did the decompress, now its up to you dig out the files, some are images and some other is songs and maybe your scripts is inside one of them.
to jpg you can use this script in quickbms.
if is jpg it will create a file with jpg image, if not will create no file.Code: Select all
get file asize
get name basename
get id long
if id == 0x00000000
goto 0x59
savepos temp
xmath size "(file - temp)"
String FILENAME P "%name%.%jpg%"
log filename temp size
endif
ok, and for VAPs ?
dont know.
sound is not my field.
-
- Posts: 12
- Joined: Sat Mar 19, 2022 3:31 am
Re: Help With Decompressing .dat File.
rabatini wrote:MaxBOOST wrote:rabatini wrote:So, you did the decompress, now its up to you dig out the files, some are images and some other is songs and maybe your scripts is inside one of them.
to jpg you can use this script in quickbms.
if is jpg it will create a file with jpg image, if not will create no file.Code: Select all
get file asize
get name basename
get id long
if id == 0x00000000
goto 0x59
savepos temp
xmath size "(file - temp)"
String FILENAME P "%name%.%jpg%"
log filename temp size
endif
ok, and for VAPs ?
dont know.
sound is not my field.
ok, so, most jpgs are fine, others are corrupted/don't open. is that normal ?
-
- Posts: 12
- Joined: Sat Mar 19, 2022 3:31 am
Re: Help With Decompressing .dat File.
MaxBOOST wrote:rabatini wrote:MaxBOOST wrote:
ok, and for VAPs ?
dont know.
sound is not my field.
ok, so, most jpgs are fine, others are corrupted/don't open. is that normal ?
and some .dat files gave this error out
offset filesize filename
--------------------------------------
- 0 files found in 0 seconds
coverage file 0 0% 4 2079 . offset 00000004
-
- Posts: 46
- Joined: Sat Mar 16, 2019 1:21 pm
Re: Help With Decompressing .dat File.
some raw data, you have to know what it is to convert
-
- Posts: 12
- Joined: Sat Mar 19, 2022 3:31 am
Re: Help With Decompressing .dat File.
mrmemmo_ wrote:some raw data, you have to know what it is to convert
alright, so what do i do with the .vap files containing the sounds ?
-
- Posts: 46
- Joined: Sat Mar 16, 2019 1:21 pm
Re: Help With Decompressing .dat File.
search google "ogg vorbis file structure"
-
- Posts: 12
- Joined: Sat Mar 19, 2022 3:31 am
Re: Help With Decompressing .dat File.
mrmemmo_ wrote:search google "ogg vorbis file structure"
ok, i managed to get everything out of the file, but there are some images that are missing, mostly because offzip doesn't detect them. What shall i do in that case ?
-
- Posts: 179
- Joined: Tue Jan 18, 2022 12:21 am
Re: Help With Decompressing .dat File.
MaxBOOST wrote:mrmemmo_ wrote:search google "ogg vorbis file structure"
ok, i managed to get everything out of the file, but there are some images that are missing, mostly because offzip doesn't detect them. What shall i do in that case ?
Do you know where files the offzip did not detect?
-
- Posts: 12
- Joined: Sat Mar 19, 2022 3:31 am
Re: Help With Decompressing .dat File.
rabatini wrote:MaxBOOST wrote:mrmemmo_ wrote:search google "ogg vorbis file structure"
ok, i managed to get everything out of the file, but there are some images that are missing, mostly because offzip doesn't detect them. What shall i do in that case ?
Do you know where files the offzip did not detect?
the same .dat file, and while they are images for a fact, i don't know their formats. i tried using jaeder naub, but idk how to use it tbh..