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.

Need .bms file for Ace Attorney Spirit Of Justice

Featured Replies

  • Author
  • Localization

Fr4nz, posted Sat Apr 11, 2020 12:04 pm (55753)


I need .bms for Ace Attorney Spirit of Justice for decrypt .obb file. Can anyone help me?
  • Author
  • Localization

Fr4nz, posted Sun Apr 12, 2020 8:54 am (55801)


aluigi wrote:
There is already a script for that game and format on my website, have you tried it?
http://aluigi.org/bms/ace_attorney_obb.bms

Ok it's work, but when I modify a text and switch the original .obb file with the modified .obb file the game doesn't start. Anyway thanks your help
  • Author
  • Localization

aluigi, posted Sun Apr 12, 2020 10:29 am (55809)


There is a field in each entry that is used for, probably, the hash of the filename, but it's also possible that it's 32bit checksum for filename and 32bit for the checksum of the content of the file.
So when you edit the file the game refuses to use it because the checksum is different.
I can't help because there are various algorithms for calculating these checksums and in any case you should manually fix it by your own after reimporting (obviously if that's the reason and it's not caused by checking the hash of the whole obb against an hash stored somewhere else).
  • Author
  • Localization

TakingOver, posted Sun Mar 13, 2022 8:08 am (70461)


aluigi wrote:
There is a field in each entry that is used for, probably, the hash of the filename, but it's also possible that it's 32bit checksum for filename and 32bit for the checksum of the content of the file.
So when you edit the file the game refuses to use it because the checksum is different.
I can't help because there are various algorithms for calculating these checksums and in any case you should manually fix it by your own after reimporting (obviously if that's the reason and it's not caused by checking the hash of the whole obb against an hash stored somewhere else).


I guess I'm pretty late, but anyway. Well, this script works fine until I'm trying to insert files which're bigger than original ones (at least in my case). I tried both reimport2 and reimport3, but the game won't start. So I think checksums are not a problem there (I'm definetly not an expert though, so I may be wrong).

Is there something from the reimport2 exceptions list in Ace Attorney DD/SoJ .obb format or the problem here is something else?

P.S. I'm talking about this "exceptions list":
Quote:
The reimport2 method doesn't work if:
- the TOC is compressed or located on a MEMORY_FILE
- the TOC/magic is (relatively) located at the end of the archive
- the content is sequential, so there is no offset
- the 3 fields mentioned above are very different than those
originally read from the TOC, in this mode only one maximum
"math" operation is allowed on the variable which means that the
following example works:
get OFFSET long ; math OFFSET * 0x800 ; log NAME OFFSET SIZE
while this example produces an incorrect OFFSET field:
get OFFSET long ; math OFFSET * 0x800 ; math OFFSET BASE_OFF ; log NAME OFFSET SIZE
the same is valid for the size fields too, anyway note that
"offset" is rewritten only if the new file is bigger than before
- the game strictly trusts the original size of the archive and
ignores data appended to it, for example some archives may have a
field in the TOC that specifies the size of the archive
- SLog is implemented but may not work with some archives
- the archive is subject to other limits described below, excluded
the advantages listed before
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.