matyalatte / UE4-DDS-Tools

Texture modding tools for UE games
MIT License
58 stars 12 forks source link

Compatibility with .GNF images #25

Open DouglaszSampaio opened 1 year ago

DouglaszSampaio commented 1 year ago

Good morning!

Would it be possible to add support for the .GNF image format?

It is a standard PS4 image format

matyalatte commented 1 year ago

Hi, maybe the same request as #18?

I'm using external projects to support non-DDS formats. So, I need a python (or c++) module for conversion and swizzling to support gnf.

Or you can get the images as DDS because GNF is using the same pixel formats as DDS. (Idk how to handle swizzling tho.)

zerlkung commented 5 months ago

Can use requirement files like this sir? Because this file is work with other project

orbis-image2gnf.exe, libSceTextureTool.dll, libSceGpuAddress.dll, libSceGnm.dll

Project: PS4-RE-TEX Fallout-4-Texture-Converter

matyalatte commented 4 months ago

orbis-image2gnf.exe, libSceTextureTool.dll, libSceGpuAddress.dll, libSceGnm.dll

Thanks for the info but they seem to be from the official SDKs. I want an open source module to make my tool standalone. Today, I found GDF Studio that had its own gnf converter. I think I can convert PS4SwizzleAlgorithm.cs to c/c++ to use it on Python.

matyalatte commented 4 months ago

I made a CLI tool for swizzling. You can edit DDS data with swizzling algorithms for console platforms. https://github.com/matyamod/Console-Swizzler/issues/1

I'll merge it into UE4-DDS-Tools in the future.

hostexploit commented 4 months ago

I'm looking forward to this version 👏🏼

hostexploit commented 3 months ago

@matyalatte Would it be possible to create a version that extracts the image and then converts it with third-party tools like "SSE-Fallout-4-Texture-Converter" and then your tool imports the image already converted to .gnf again?

The SSE-Fallout-4-Texture-Converter tool is the best for converting gnf images