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.
Zero Tolerance for Disrespect

Investigating MRSC text file [senran kagura]

Featured Replies

  • Author
  • Localization

Eldinen, posted Mon Feb 25, 2019 10:33 am (45262)


Hi everyone!

I am trying to understand a file from senran kagura.
I coded a tool to extract and insert all the text from the file I attach here, but I must be missing something because the strings are been showed in a wrong way. It must be because of pointers, but I havent found all the info I need.

So, I leave here the current info I got when I investigated the file:

*Header
(30 bytes)
0x00 - 4 bytes Magic number MRSC
0x04 - amount of blocks of text, I explain it later
0x08 - 4 bytes pointer to a table.
I only understand the 4? value in this table, the last 4 bytes in each line is the pointer to the beginning of the block of text fron the beginning of the text's section
By example: 00 is the first, 0B38 is the second, 0D0C is the third...
With this, I have extracted all the text of this file.
I tried to re-do it changing only this value, the pointers of each block, but the text is showed in wrong order.

0x0C - 4 bytes, pointer to another table I dont understand
0x10 - 4 bytes, pointer to another table I dont understand either
0x14 - 4 bytes, pointer to the text's section
From this point, you can extract each block of text with the pointers I said earlier.
But I havent found references to the null values inside each block of text.
I think that is what I am missing.

I hope someone can help me to understand the rest of this file!
  • Author
  • Localization

Delutto, posted Mon Feb 25, 2019 6:32 pm (45271)


Name of the game? Senran Kagura series have a bunch of different games...
Eldinen wrote:
But I havent found references to the null values inside each block of text.
It's the padding, every text entry size must be a multiple of 4.
  • Author
  • Localization

Eldinen, posted Tue Feb 26, 2019 6:04 am (45278)


Yes, I know that. I am filling every line with 0x00 null values until the size is multiple of 4.
Must be something else...

Edit: Resolved!
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.