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.

[3DS] NEW LOVE PLUS - img.bin

Featured Replies

  • Author
  • Localization

RetroHelix, posted Thu Sep 15, 2016 4:42 pm (17468)


Hello everyone,

I read that the translation team for NEW LOVE PLUS has problems with reinserting files back into one big archive file. I got curious because I knew there was an unpacker with source for the archive file (img.bin (~600mb)). I thought it can't be this hard to write a reinserter with the sourcecode of the unpacker but it looks like the unpacker "only" searches for PACK files in the archive and extracts them. So I have no information about how the files are accessed by the game. :(
It looks like there is some kind of header and a table in the img.bin but I could not make much sense out of it. Byteorder is littleendian.

Offsets:
0x800 = start of a table
0x10 uint32 = number of entries in the table
0x14 uint32 0x800 = offset to the end of the table (or start off a second file)
0x24 uint32 0x800 = offset to the end of the second table (or start off a third file)
The first real file (a PACK file) seems to start at 0x28000

Can someone please take a look at the (img.bin) and explain its structure if possible?
  • Author
  • Localization

aluigi, posted Sun Sep 18, 2016 7:44 pm (17504)


The truth is that there is no offset for the files and so scanning the "PACK" magic is the only way to get everything.
Luckily the other non-PACK files are just a few so who cares.
Script:
http://aluigi.org/bms/new_love_plus.bms
  • Author
  • Localization

RetroHelix, posted Tue Sep 20, 2016 3:49 pm (17538)


aluigi wrote:
The truth is that there is no offset for the files and so scanning the "PACK" magic is the only way to get everything.
Luckily the other non-PACK files are just a few so who cares.
Script:
http://aluigi.org/bms/new_love_plus.bms


Thank you.
So there is no reference to where the PACK-files are located in the img.bin. Do I got this right?
  • Author
  • Localization

aluigi, posted Tue Sep 20, 2016 6:06 pm (17546)


Right, the only 32bit field available (I called it "SIZE" at line 32) was strange, because it was the real size for one of the non-pack files but didn't match the pack sizes.
  • Author
  • Localization

RetroHelix, posted Mon Sep 26, 2016 8:42 pm (17676)


I wonder how the game indexes the files then. Since I could not find any other file that looks like a filetable, I guess it must be in the code itself. I could not find anything tough... :(
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.