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.

Trying to figure out FPK

Featured Replies

  • Author
  • Localization

ThatTrueStruggle, posted Fri Oct 21, 2016 4:16 pm (18200)


https://www.dropbox.com/s/mllle878kpqykew/ui.fpk?dl=0
Is there a repacker/unpacker for the FPK files that actually works? Spent all of yesterday looking for one and found one but it didn't repack properly.

(hell id write one if i knew what the first 4 bytes were/compression type, looks like LZSS)
  • Author
  • Localization

aluigi, posted Fri Oct 21, 2016 5:00 pm (18204)


It's not an archive and I'm not sure if it's really compressed (yeah I see a sort of ZSIZE and SIZE), anyway I don't know what's the compression algorithm.
My suggestion: post name of the game and platform.
  • Author
  • Localization

ThatTrueStruggle, posted Fri Oct 21, 2016 5:08 pm (18206)


The game is Naruto Shippuden: Gekitou Ninja Taisen Special, for the Wii.
Code:
0x00 - 0x04 = unknown
0x04 - 0x08 = file count
0x08 - 0x0C = entry start
0x0C - 0x10 = file size

for file count
   filename, null terminated = 0x24
   offset, = 0x04
   compressed size = 0x04
   uncompressed size = 0x04
   
   compressed data = compressed size


you can see the header for U8 data which is uncompressed, however the data for it is compressed with something
  • Author
  • Localization

aluigi, posted Fri Oct 21, 2016 5:53 pm (18214)


Code:
endian big
comtype PRS_8ING
get DUMMY long
get DUMMY long  # 1
get DUMMY long
get FPK_SIZE long
getdstring NAME 0x24
get OFFSET long
get ZSIZE long
get SIZE long
clog NAME OFFSET ZSIZE SIZE
  • Author
  • Localization

ThatTrueStruggle, posted Fri Oct 21, 2016 8:59 pm (18220)


How would I go about reimporting the edited files?
  • Author
  • Localization

aluigi, posted Sat Oct 22, 2016 7:10 am (18227)


The arc format parsed by kirby_epic_yarn.bms is complex with files extracted even from the memory_file, so no reimporting.
The fpk file instead can be probably removed and using directly the extracted arc with its full path, I have no recompression function for the prs_8ing algorithm.
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.