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.

Fate/stay Night Realta Nua(PS2) .BIN files

Featured Replies

  • Author
  • Localization

aluigi, posted Sat Apr 16, 2016 8:55 pm (12642)


data1.bin can be extracted with:
http://aluigi.org/bms/afs.bms
Then reuse the script on the 2 extracted files you get from it.

data2.bin and data.bin have no file table apparently ("MF" is just one of the archived files).

data0.bin has something at the end but they appear only filenames without offset/size fields.
  • Author
  • Localization

AnonBaiter, posted Sat Apr 16, 2016 9:10 pm (12645)


I'll try that one. I just find it weird that they packed these "MF" or "AFS" files into four .BIN archive files while the developers were making the port, though.

EDIT: I've just made a breakdown of what are these files. The results so far:
Code:
DATA.BIN - MF archive file.
DATA0.BIN - Contains AFS files.
DATA1.BIN - Contains AFS files.
DATA2.BIN - MF archive file.

DATA.BIN file location:
0h - MF header
800h - MF header*
(they were stored without a file table, thus the information for these files are unknown at this point)
14BB800h - .PSS file
8190000h - .PSS file
EE64800h - .PSS file
15B38804h - DATA.BIN files end here

DATA2.BIN file location:
0h - MF header
800h - UFFA/MF(?) header*
(they were stored without a file table, thus the information for these files are unknown at this point)
3D28B680h - DATA2.BIN files end here

*That's where it stores all the files.
  • Author
  • Localization

aluigi, posted Mon Apr 18, 2016 12:42 pm (12674)


In my opinion those are just raw container without file table.
The first PNG in bgimage.xp3 is 0x14bab bytes but there are no references about it and there are full files both at beginning (dll) and end (png) without space for information.
The table is somewhere else.
  • Author
  • Localization

aluigi, posted Mon Sep 04, 2017 5:47 pm (26254)


Ah it's one of those nested archives.
The samples are no longer available but I'm sure it works :)
  • Author
  • Localization

AnonBaiter, posted Mon Sep 04, 2017 8:47 pm (26265)


Hmm. I might try that out someday once I get to obtain the game again.
  • Author
  • Localization

aluigi, posted Mon Sep 04, 2017 10:00 pm (26272)


In the meantime I have made also a script based on the info of RikuKH3, I can't test it but it's just a temporary solution since I would like to try to parse the archives recursively (but I need a sample or it may not work):
http://aluigi.org/bms/mf_uffa.bms
  • Author
  • Localization

AnonBaiter, posted Sun Jan 07, 2018 4:44 am (31349)


Okay, I got the game again(as in, right now and right away - couldn't leave anything like this hanging by this point). I tested RikuKH3's mf_pack tool and it works perfectly with both DATA.BIN and DATA2.BIN.

As for aluigi's script, I decided to tweak it so it can handle "compressed" files more directly rather than just outright calculating the OFFSET and ZSIZE fields for whatever reason. It works just as well, so I decided to attach it here.

Both "tools" as mentioned above can be reused on either .mf files(assuming you use mf_pack) or .dat files, depending on which one you're using at the moment. DATA0.BIN and DATA1.BIN are simply AFS archives, therefore they can be extracted and reused within the extracted AFS archives(yes, there are literally AFS archives stored in said .BIN archives) through the afs.bms script without much problem.

I can set up a sample file for upload if the need arises.

mf_uffa.bms

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.