https://drive.google.com/file/d/1od5Qbj ... =drive_web
The original weights around 400 MB, so I used filecutter to upload it here.
Script for this please and if possible, leave the directory structures intact
Mar Heaven - Arm Fight Dream (PS2) - _DATA.YFS
-
- Posts: 367
- Joined: Fri Mar 10, 2017 7:23 am
-
- Posts: 119
- Joined: Sun Dec 27, 2015 10:22 pm
Re: Mar Heaven - Arm Fight Dream (PS2) - _DATA.YFS
This should extract the files with directories retained:
Can't be certain, as I'm not certain if that's the correct offset and size values, but I think it is
Code: Select all
# Mar Heaven - Arm Fight Dream *.YFS
# Written By Eric Van Hoven
# Script for QuickBMS http://quickbms.aluigi.org
idstring "YFS\x00"
get DIRCNT short
get ENTRYCNT short
savepos DIROFF
set TABLEOFF long 0
xmath TABLEOFF "(DIRCNT * 0x40) + DIROFF"
for i = 0 < DIRCNT
goto DIROFF
getdstring DIRNAME 0x3C
get COUNT short
get STARTIND short
savepos DIROFF
goto TABLEOFF
for j = 0 < COUNT
getdstring FNAME 0x18
get SIZE long
get OFFSET long
get NULL long
set NAME string DIRNAME
string NAME += FNAME
log NAME OFFSET SIZE
next j
savepos TABLEOFF
next i
Can't be certain, as I'm not certain if that's the correct offset and size values, but I think it is
-
- Posts: 367
- Joined: Fri Mar 10, 2017 7:23 am
Re: Mar Heaven - Arm Fight Dream (PS2) - _DATA.YFS
Seems it extracted all the files correctly
Thanks!
Thanks!
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Mar Heaven - Arm Fight Dream (PS2) - _DATA.YFS
I leave my script just for reference:
http://aluigi.org/bms/mar_heaven_yfs.bms
http://aluigi.org/bms/mar_heaven_yfs.bms