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.

PhyreEngine 2D textures (.phyre) (Noesis: 0.6.2/QBMS: 0.5.1 - abandoned)

Featured Replies

  • Author
  • Localization

rubyshoes, posted Wed Aug 29, 2018 12:57 am (37907)


Hello!

I was hoping somebody could help me export/import textures for PS4 Journey. Attached is what is there in the pkg and when extracted I get a folder with all the individual textures with a .dds.GNM extension and not sure how to use this Noesis extension to open it. I'm not super savvy with this stuff so any help is extremely appreciated!
  • Replies 97
  • Views 37
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

TheUkrainianBard, posted Wed Aug 29, 2018 7:56 am (37911)


Export - yes but import is very unlikely.
Put "tex_PhyreEngine_phyre.py" in "noesis\plugins\python" folder.

You'll have to either add ".phyre" extension by hand to each ".dds.GNM" file or run QuickBMS with "add_phyre_extension.bms".
Then you can view and export them in Noesis.
  • Author
  • Localization

rubyshoes, posted Wed Aug 29, 2018 6:51 pm (37930)


May I ask what is preventing importing from being possible? I work on Journey with two other guys who are programmers that might actually be able to make sense of it and possibly help. (If this isnt the purpose for your tool at all please feel free to say so. You've already helped a lot)
  • Author
  • Localization

TheUkrainianBard, posted Wed Aug 29, 2018 7:10 pm (37931)


I don't know if Noesis can import at all.
You can try to add texture data and change some values in the file you're editing (you can see data offset & size when exporting).
Also textures for PS3 can be swizzled in Morton order (aka Z-order); for PS4 - in Peano's curve, according to Assetto Corsa dev.
  • Author
  • Localization

TheUkrainianBard, posted Thu Sep 20, 2018 5:36 pm (38669)


Added a QuickBMS script that's functionally on par with 0.4.2 but can extract BC5/BC7 textures as is (applicable only to DX11/PC).
It's very slow when the texture is Morton order swizzled (applicable only to GCM/PS3) at about 1.5-2 pixels per MHz per second for Core i5.
  • Author
  • Localization

muyuygfert, posted Sun Sep 23, 2018 2:41 pm (38754)


I used the QuickBMS script 0.4.2 to extract .dds file from .phyre.
But when I reimported the .dds file back to .phyre,it just failed.
Could you please tell me how to import .dds back to .phyre?Thanks!
  • Author
  • Localization

TheUkrainianBard, posted Sun Sep 23, 2018 5:23 pm (38757)


You'll have to do it by hand. At least for now.
  • Author
  • Localization

TheUkrainianBard, posted Sun Nov 04, 2018 10:15 pm (40117)


Some bugs I've found while making 0.5:
Noesis messes up non-power-of-two width GNF images. Seems like a small mistake, otherwise it would've broken the untiling spectacularly.
Also: doesn't support DX10 DDS with dxgiFormat = 115 (which is b4g4r4a4_unorm); no grayscale/luma raw decode.
Scarlet eats the end of data. I have an idea why.
Only id-daemon's Raw texture previewer/converter doesn't break. But still, no swizzling options in CLI.
  • Author
  • Localization

muyuygfert, posted Tue Nov 20, 2018 9:28 am (40537)


Thanks for the update.Very great work!
  • Author
  • Localization

TheUkrainianBard, posted Wed Jan 02, 2019 6:40 pm (41156)


Bypassed broken GNF image untiling/unswizzling in Noesis. This allows DXTn export from PS4 PhyreEngine assets (previously it was possible to export only RGBA8).
You can use it too, usage is the same as imageFromMortonOrder. And it's about 20-50 times faster than my QuickBMS script.

Code:
from inc_ps4untiling import *

imageFromPeanoOrder(input_array, width, height, bytes_per_block)
  • Author
  • Localization

TheUkrainianBard, posted Mon Feb 25, 2019 2:08 pm (45267)


Noesis script is now 0.5.2
No major changes, just rewrites and cleanups here and there.
  • Author
  • Localization

eaZy, posted Sat Apr 13, 2019 9:27 am (46874)


Is there any chance to add NVN (Nintendo Switch) platform support?
  • Author
  • Localization

TheUkrainianBard, posted Sat Apr 13, 2019 9:38 pm (46897)


If I could get samples from Switch - then pretty likely.

Actually, this is a good opportunity to say that I've been working on the next big thing: models.
  • Author
  • Localization

eaZy, posted Sun Apr 14, 2019 12:17 am (46900)


Here is some samples from Nintendo Switch
  • Author
  • Localization

TheUkrainianBard, posted Sun Apr 14, 2019 9:43 am (46914)


Please try this.

UPD (2019/04/14): removed the attachment, see the first post instead.
  • Author
  • Localization

eaZy, posted Sun Apr 14, 2019 11:07 am (46916)


It seems to work fine on all other files. Many thanks for your hard work!
  • Author
  • Localization

TheUkrainianBard, posted Sun Apr 14, 2019 11:10 am (46917)


That's good.
I'd appreciate if you could share some more files.
  • Author
  • Localization

eaZy, posted Sun Apr 14, 2019 11:48 am (46919)


You need original, unconverted files?
  • Author
  • Localization

TheUkrainianBard, posted Sun Apr 14, 2019 12:00 pm (46920)


".phyre" ones.
  • Author
  • Localization

eaZy, posted Sun Apr 14, 2019 12:39 pm (46921)


Here is some *dds.phyre files. And some other files with *.phyre extension for future work. All from Final Fantasy X on Nintendo Switch.

And one more question which I can't understand. Does noesis can import edited textures in *.phyre format?
  • Author
  • Localization

TheUkrainianBard, posted Sun Apr 14, 2019 12:44 pm (46922)


Thank you for the files.
Sadly, as far as I know, Noesis cannot reimport in a simple way.
  • Author
  • Localization

eaZy, posted Sun Apr 14, 2019 12:49 pm (46923)


I guess, QuickBMS can do it? Will the script be updated to 0.6.0 verdion?
  • Author
  • Localization

TheUkrainianBard, posted Sun Apr 14, 2019 1:02 pm (46924)


That's a very, very tall order, especially with swizzling or tiling in play.
I'm sorry, but I can't help you here.
  • Author
  • Localization

eaZy, posted Sun Apr 14, 2019 1:08 pm (46925)


Sadly, but thanks for your work anyway!
  • Author
  • Localization

TheUkrainianBard, posted Sun Apr 14, 2019 1:41 pm (46927)


Switch unswizzling function needs some tuning to handle non-power-of-2 cases.
Reuploaded the Noesis script in the first post.
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.