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.

Final Fantasy 5 (iOS) .bin

Featured Replies

  • Author
  • Localization

puggsoy, posted Mon Mar 16, 2015 11:17 am (3920)


This was challenging but fun :) It requires the data0.bin file to be in the same directory as the files you're extracting (since that's the index file).
Code:
# Final Fantasy 5 (iOS) .bin format
#
# Written by puggsoy
# script for QuickBMS http://quickbms.aluigi.org

open FDSE "data0.bin" 1

idstring FFDL
idstring 1 FFDL

get FILENUM basename
string FILENUM | data

goto 8 1
get NAMESPOS long 1

goto 0x14 1
savepos POS 1

for POS = POS    get NAMEOFF long 1
   math NAMEOFF = NAMESPOS
   get SIZE long 1
   get SIZE2 long 1
   get NUM long 1
   get OFFSET long 1
   get DUMMY long 1
   
   if NUM == FILENUM
      savepos TEMP 1
      goto NAMEOFF 1
      get NMSZ byte 1
      getdstring NAME NMSZ 1
      goto TEMP 1
      
      goto OFFSET
      getdstring TYPE 3
      
      if TYPE == "INP"
         math OFFSET = 4
         math SIZE -= 4
      elif TYPE == "ICP"
         string NAME = ".icp"
      endif
      
      log NAME OFFSET SIZE
   endif
   
   savepos POS 1
next

I'm planning to make a converter for .icp files soon (they're PNGs that need to be manipulated in a certain way).
  • Author
  • Localization

hackspeedok, posted Mon Mar 16, 2015 12:41 pm (3921)


Thanks. Reimport supported, puggsoy?
  • Author
  • Localization

hackspeedok, posted Mon Mar 16, 2015 1:29 pm (3923)


And if you use ios, can you help me with this viewtopic.php?f=9&t=710
Series game of Kairosoft are interested
  • Author
  • Localization

puggsoy, posted Tue Mar 17, 2015 6:25 am (3931)


I don't do reimporting, but from what I know this script doesn't support it, sorry.

As for the Ninja Village file, mobile games (iOS, Android, etc) are similar to PC in the fact that they often have custom formats, so extracting from one game can be much different than extraction from another. For the specific case of that Ninja Village file, I don't know how to decompress or decrypt it. I will try using QuickBMS to check all compression types but if that doesn't work then I can't help you.

EDIT: Oh by the way, apparently this script works for Final Fantasy Dimensions too, I think it uses the same file types.
  • Author
  • Localization

aluigi, posted Tue Mar 17, 2015 9:54 am (3936)


As far as I can see the script supports reimporting because there are no strange compressions and no memory files used for the files extraction.
  • Author
  • Localization

puggsoy, posted Tue Mar 17, 2015 11:26 am (3940)


Oh OK then, awesome. As I said I don't do reimporting so I wasn't sure, good to know it does :)
  • Author
  • Localization

puggsoy, posted Wed Mar 18, 2015 11:02 am (3957)


icp2png
Code:
Usage: icp2png inFile outDir
    inFile: The .icp file to convert. Can alternatively be a folder containing the files to convert
    outDir: The folder to save the converted files to

For converting the .icp files. Again, this should work with FF Dimensions as well.

EDIT: Sorry, apparently it doesn't work yet. I'll try figure out what's wrong soon.

EDIT2: OK it works now, same link.
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.