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.

Edit MegaMan BN Legacy Collection .mpak & .pak files

Featured Replies

  • Author
  • Localization

Schneitizel, posted Sun Apr 16, 2023 3:56 am (76406)


Hello all!
Does anyone have an idea how to extract, then reinsert, the .mpak files (Dialogues) and the .pak files (Images and fonts) of the game "Mega Man Battle Network Legacy Collection" (From Capcom) please?
Here attached, some example files

The header of the text files (message_X.mpak) is identical in the first 0x36 bytes, which seem to be addresses; thereafter, a sequence of bytes is repeated, with the second byte increasing by 1 each time

The first four bytes of the image files (.pak) contain the address where the image starts; but without a magic word, it is impossible to determine what the format and encoding of the image is
I don't know what the following bytes correspond to

I also send a chip_base_d_eng.pak file, the biggest of the game (16Mb), whose header is ultra complete, it is likely that there are several images in the file, and that these addresses all point to an image

Thanks in advance



  • Author
  • Localization

MonkeyBoys, posted Mon Apr 17, 2023 4:44 pm (76429)


Up, Need help with this too.
  • Author
  • Localization

mrmemmo_, posted Tue Apr 18, 2023 12:20 am (76438)


i think its encrypted.
  • Author
  • Localization

rabatini, posted Tue Apr 18, 2023 1:28 pm (76446)


The game uses custom table.

Image
  • Author
  • Localization

JokerDKha, posted Tue Apr 18, 2023 5:23 pm (76449)


I will write detailed instructions on how to handle this file type soon tomorrow. This is the result after processing the files.
Image
  • Author
  • Localization

Schneitizel, posted Wed Apr 19, 2023 2:18 am (76456)


JokerDKha wrote:
I will write detailed instructions on how to handle this file type soon tomorrow. This is the result after processing the files.
Image
image.png


I was just working on a software to extract the texts...
You're a lifesaver here, thank you very much! :lol:
  • Author
  • Localization

JokerDKha, posted Wed Apr 19, 2023 4:15 am (76458)


Schneitizel wrote:
I was just working on a software to extract the texts...
You're a lifesaver here, thank you very much! :lol:


I hope this tool will be good help to you. Good luck with your translation project.
https://github.com/JokerDKha/MegamanBNLC_TextEditor
  • Author
  • Localization

Schneitizel, posted Wed Apr 19, 2023 5:24 am (76459)


Thanks you very much, it's work perfectly! :D
I would have to still see the images, because some of the text is not plain text; and the font doesn't seem to handle special characters like "e" or "E"...
Anyway, many thanks to you!

Image
  • Author
  • Localization

JokerDKha, posted Wed Apr 19, 2023 5:39 am (76460)


Schneitizel wrote:
Thanks you very much, it's work perfectly! :D
I would have to still see the images, because some of the text is not plain text; and the font doesn't seem to handle special characters like "e" or "E"...
Anyway, many thanks to you!

Image


For the font you can use this to extract .pak and edit font

pak_and_fnt.rar

  • Author
  • Localization

Schneitizel, posted Wed Apr 19, 2023 5:52 am (76461)


Thanks very much! Again, you're real lifesaver!
It seems I had some problems, of course... xD

The first one concerns the extraction of the images, this works well up to the "network_loser" file (Or the following one, passcode_spr)
Image

The second, when extracting the eng font
Image

Did I do something wrong? :/
  • Author
  • Localization

JokerDKha, posted Wed Apr 19, 2023 6:05 am (76462)


For the font.pak files you need create new folder like this "\exe1\data\ui" then copy your font file in folder ui.
Then you need create folder name "exe1_output" , and follow like this command:
"python3 extract_pak.py .\exe1\data\ui .\exe1_output"
The fnt font only using for version 4,5,6.
Image
Image
Image
  • Author
  • Localization

Schneitizel, posted Wed Apr 19, 2023 6:26 am (76463)


Okay, so from what I understand, it's not possible to change the font of version 1, 2, 3, right?
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.