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.

Unpack Sengoku Basara 2 FPK files

Featured Replies

  • Author
  • Localization

LowTierDev, posted Mon Jun 08, 2020 12:36 am (57097)


Hiya, I tried using all the available scripts previously for FPK files to no avail.

Using AFS Explorer for the PES game series, I am able to extract alot of the games' files. These include the audio files in .ahx format, the movies in .sfd files and the last linkdata / afs file contains a few file formats, this one in particular looks interesting (FPK)

Here are a few which I've uploaded all of the different variations of this file type within this game:
https://drive.google.com/drive/folders/ ... sp=sharing

If anyone could help unpack them / make a script it would be appreciated
  • Author
  • Localization

BloodRaynare, posted Mon Jun 08, 2020 1:00 am (57098)


Here's a quickie script i wrote for this format:

Code:
idstring "#fpk"
get FILES long
get UNK long # Values is always 0x10
get HEADSIZE long # File's header info length. Probably wasn't needed for extraction but still included for completeness.
for i = 0 < FILES
   get OFFSET long
   get SIZE long
   get FNAME basename
   math i 1
   string NAME p= "%s\%s_i." FNAME FNAME i
   log NAME OFFSET SIZE
next


This script will create a new directory for the extracted archives
  • Author
  • Localization

LowTierDev, posted Mon Jun 08, 2020 3:00 am (57101)


BloodRaynare wrote:
Here's a quickie script i wrote for this format:

Code:
idstring "#fpk"
get FILES long
get UNK long # Values is always 0x10
get HEADSIZE long # File's header info length. Probably wasn't needed for extraction but still included for completeness.
for i = 0 < FILES
   get OFFSET long
   get SIZE long
   get FNAME basename
   math i 1
   string NAME p= "%s\%s_i." FNAME FNAME i
   log NAME OFFSET SIZE
next


This script will create a new directory for the extracted archives


Wow, thanks so much!!!! Any ideas on the MSG files? They appear to be an image format
  • Author
  • Localization

BloodRaynare, posted Mon Jun 08, 2020 4:23 am (57104)


LowTierDev wrote:
Wow, thanks so much!!!! Any ideas on the MSG files? They appear to be an image format


N?o? ?i?d?e?a? ?a?b?o?u?t? ?t?h?o?s?e?.? ?B?u?t?,? ?f?r?o?m? ?q?u?i?c?k? ?g?l?a?n?c?e? ?i?n? ?h?e?x? ?e?d?i?t?o?r? ?t?h?e? ?s?c?t?r?u?c?t?u?r?e?'?s? ?f?r?o?m? ?t?h?o?s?e? ?M?S?G?'?s? ?k?i?n?d?a? ?r?e?m?i?n?d?s? ?m?e? ?o?f? ?R?e?n?d?e?r?W?a?r?e?'?s? ?T?X?D?.? ?M?a?y?b?e? ?y?o?u? ?c?a?n? ?t?r?y? ?p?o?s?t? ?a?b?o?u?t? ?t?h?e?m? ?i?n? ?t?o? ?G?r?a?p?h?i?c? ?f?i?l?e? ?f?o?r?m?a?t?s? ?s?e?c?t?i?o?n?.?N?o? ?i?d?e?a? ?a?b?o?u?t? ?t?h?o?s?e?.? ?B?u?t?,? ?f?r?o?m? ?q?u?i?c?k? ?g?l?a?n?c?e? ?i?n? ?h?e?x? ?e?d?i?t?o?r? ?t?h?e? ?s?c?t?r?u?c?t?u?r?e?'?s? ?f?r?o?m? ?t?h?o?s?e? ?M?S?G?'?s? ?k?i?n?d?a? ?r?e?m?i?n?d?s? ?m?e? ?o?f? ?R?e?n?d?e?r?W?a?r?e?'?s? ?T?X?D?.? ?M?a?y?b?e? ?y?o?u? ?c?a?n? ?t?r?y? ?p?o?s?t? ?a?b?o?u?t? ?t?h?e?m? ?i?n? ?t?o? ?G?r?a?p?h?i?c? ?f?i?l?e? ?f?o?r?m?a?t?s? ?s?e?c?t?i?o?n?.?

EDIT: Whoops, scratch that. I think I confused it with the files from 000.pack. I think the MSG was the game's text or something related to it.
  • Author
  • Localization

LowTierDev, posted Mon Jun 08, 2020 5:46 pm (57110)


BloodRaynare wrote:
LowTierDev wrote:
Wow, thanks so much!!!! Any ideas on the MSG files? They appear to be an image format


N?o? ?i?d?e?a? ?a?b?o?u?t? ?t?h?o?s?e?.? ?B?u?t?,? ?f?r?o?m? ?q?u?i?c?k? ?g?l?a?n?c?e? ?i?n? ?h?e?x? ?e?d?i?t?o?r? ?t?h?e? ?s?c?t?r?u?c?t?u?r?e?'?s? ?f?r?o?m? ?t?h?o?s?e? ?M?S?G?'?s? ?k?i?n?d?a? ?r?e?m?i?n?d?s? ?m?e? ?o?f? ?R?e?n?d?e?r?W?a?r?e?'?s? ?T?X?D?.? ?M?a?y?b?e? ?y?o?u? ?c?a?n? ?t?r?y? ?p?o?s?t? ?a?b?o?u?t? ?t?h?e?m? ?i?n? ?t?o? ?G?r?a?p?h?i?c? ?f?i?l?e? ?f?o?r?m?a?t?s? ?s?e?c?t?i?o?n?.?N?o? ?i?d?e?a? ?a?b?o?u?t? ?t?h?o?s?e?.? ?B?u?t?,? ?f?r?o?m? ?q?u?i?c?k? ?g?l?a?n?c?e? ?i?n? ?h?e?x? ?e?d?i?t?o?r? ?t?h?e? ?s?c?t?r?u?c?t?u?r?e?'?s? ?f?r?o?m? ?t?h?o?s?e? ?M?S?G?'?s? ?k?i?n?d?a? ?r?e?m?i?n?d?s? ?m?e? ?o?f? ?R?e?n?d?e?r?W?a?r?e?'?s? ?T?X?D?.? ?M?a?y?b?e? ?y?o?u? ?c?a?n? ?t?r?y? ?p?o?s?t? ?a?b?o?u?t? ?t?h?e?m? ?i?n? ?t?o? ?G?r?a?p?h?i?c? ?f?i?l?e? ?f?o?r?m?a?t?s? ?s?e?c?t?i?o?n?.?

EDIT: Whoops, scratch that. I think I confused it with the files from 000.pack. I think the MSG was the game's text or something related to it.


Looking around on this forum I've seen a few posts about it, what do you suggest? Should I still go ahead and post it in the graphic file format?
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.