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.

Harry Potter: Magic Awakened PNG and strings

Featured Replies

  • Author
  • Localization

gbmats, posted Wed Mar 09, 2022 10:33 pm (70390)


Hi,

I'm trying to extract only PNG and text (strings) data from the Harry Potter: Magic Awakened files.

So far I was able to get the NPK files and from them (using the QuickBMS script attached) a bunch of .dat, .txt, .xml and .raw files, but the png/strings are nowhere to be found.

Can someone help point me in the right direction to achieve this?

Thanks in advance!

nxpk_hpma.bms

  • Author
  • Localization

rabatini, posted Wed Mar 09, 2022 11:02 pm (70392)


gbmats wrote:
Hi,

I'm trying to extract only PNG and text (strings) data from the Harry Potter: Magic Awakened files.

So far I was able to get the NPK files and from them (using the QuickBMS script attached) a bunch of .dat, .txt, .xml and .raw files, but the png/strings are nowhere to be found.

Can someone help point me in the right direction to achieve this?

Thanks in advance!


How do you know that game uses PNG?
texture can be a lot of kind of extension and types.
  • Author
  • Localization

gbmats, posted Thu Mar 10, 2022 12:42 am (70398)


rabatini wrote:
gbmats wrote:
Hi,

I'm trying to extract only PNG and text (strings) data from the Harry Potter: Magic Awakened files.

So far I was able to get the NPK files and from them (using the QuickBMS script attached) a bunch of .dat, .txt, .xml and .raw files, but the png/strings are nowhere to be found.

Can someone help point me in the right direction to achieve this?

Thanks in advance!


How do you know that game uses PNG?
texture can be a lot of kind of extension and types.


I just thought it might have some image files somewhere...

This user in the topic below posted a few examples he managed to extract:
viewtopic.php?f=5&t=16453&hilit=awakened

Also a few files mention png files:
https://imgur.com/sEWG1rD
  • Author
  • Localization

parttimegamer15, posted Thu Mar 10, 2022 9:36 pm (70426)


Check this post, you can get the texture and image files. It's a mix of dds and png format.

https://forum.xentax.com/viewtopic.php? ... 89#p180789


gbmats wrote:
Hi,

I'm trying to extract only PNG and text (strings) data from the Harry Potter: Magic Awakened files.

So far I was able to get the NPK files and from them (using the QuickBMS script attached) a bunch of .dat, .txt, .xml and .raw files, but the png/strings are nowhere to be found.

Can someone help point me in the right direction to achieve this?

Thanks in advance!
  • Author
  • Localization

gbmats, posted Thu Mar 10, 2022 10:00 pm (70427)


parttimegamer15 wrote:
Check this post, you can get the texture and image files. It's a mix of dds and png format.

https://forum.xentax.com/viewtopic.php? ... 89#p180789


Hey,

I've seen this topic and got these files and opened them like described.

But I'm looking for other kind of png (not model or animation related), like the ones below:

Image

Image

Image
  • Author
  • Localization

coredevel, posted Sun Mar 13, 2022 10:40 pm (70473)


Like someone said, if this is a mobile game, then they most likely use compressed formats to save space. Compressed formats like PVR and KTX. Even if the file extension is called .PNG, some games use dummy placeholder extensions to store a different format.

So, look at the first 16 bytes of each .dat file with a hex editor. If you see the text 'KTX', then it's a KTX graphics file. You can rename this .dat file to .ktx and load into PVRTexTool, then export to whatever format you want.

0000000000000000.dat on this link is a KTX file:
https://drive.google.com/drive/folders/ ... ntRC8HcsXx
  • Author
  • Localization

gbmats, posted Mon Mar 14, 2022 8:44 pm (70491)


coredevel wrote:
Like someone said, if this is a mobile game, then they most likely use compressed formats to save space. Compressed formats like PVR and KTX. Even if the file extension is called .PNG, some games use dummy placeholder extensions to store a different format.

So, look at the first 16 bytes of each .dat file with a hex editor. If you see the text 'KTX', then it's a KTX graphics file. You can rename this .dat file to .ktx and load into PVRTexTool, then export to whatever format you want.

0000000000000000.dat on this link is a KTX file:
https://drive.google.com/drive/folders/ ... ntRC8HcsXx


Hi, thanks a lot. Really appreciate your help!

Do you have any idea where I can find the strings?

Thanks again
  • Author
  • Localization

coredevel, posted Tue Mar 15, 2022 4:35 pm (70504)


Sorry, I don't know about text strings. I was only interested in the graphics.

Is the game localized in different languages? Text should be easy to find if the game is written in dozen of languages.
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.