Giter Club home page Giter Club logo

Comments (7)

xforce avatar xforce commented on May 28, 2024 1

GUI files like the images are .ktx files usually.
They are in some of the NPK files. The dump_static_data.py doesn't output them.
But it is easy enough to just extract the APK manually and run npktool on them to get a full disk dump of all the files. See (https://github.com/xforce/neox-tools#usage)

They will require conversion to a more regular file format, like png. This can be done rather easily using ImageMagick.
magick convert image.ktx image.png (obviously change the file names or better write a script to automate this step 🙂 )

Hope that helps. Let me know if there are any other questions.

from eve-echoes-tools.

SilkyPants avatar SilkyPants commented on May 28, 2024

TIL you can use ImageMagick - I'd only just found you can also use PVRTexTools as well, though there is a bug in the latest version.

https://www.imaginationtech.com/developers/powervr-sdk-tools/pvrtextool/

from eve-echoes-tools.

SgtMerrell avatar SgtMerrell commented on May 28, 2024

I used the npktool and wasn't able to recover any .ktx files... almost all of them are .nxs files, which I'm unsure what to do with. Was there any luck from other attempts to find .ktx files I could use to convert the images?

from eve-echoes-tools.

SilkyPants avatar SilkyPants commented on May 28, 2024

@SgtMerrell - In the location where you extract the obb data, you can run npktool there

npktool x -d {data-dump-path} {path-to-obb-data}/res*.npk

The ktx files are then under a few different file paths. (like gui/ etc)

from eve-echoes-tools.

sergiyz57918 avatar sergiyz57918 commented on May 28, 2024

GUI files like the images are .ktx files usually.
They are in some of the NPK files. The dump_static_data.py doesn't output them.
But it is easy enough to just extract the APK manually and run npktool on them to get a full disk dump of all the files. See (https://github.com/xforce/neox-tools#usage)

They will require conversion to a more regular file format, like png. This can be done rather easily using ImageMagick.
magick convert image.ktx image.png (obviously change the file names or better write a script to automate this step 🙂 )

Hope that helps. Let me know if there are any other questions.

TIL you can use ImageMagick - I'd only just found you can also use PVRTexTools as well, though there is a bug in the latest version.

https://www.imaginationtech.com/developers/powervr-sdk-tools/pvrtextool/

ImageMagick didn't work for me neither on Linux nor on Windows machines. However, it did point me in the right direction.

Here is a simple sh script that uses PVRTexToolCLI, but it needs few additional steps:
https://github.com/linkabox/KTXConverter
Following is for Linux only, as I do not want to deal with Windows at the moment

  1. Download the latest PVRTexToolSetup-2020_R2.run-x64 binary
  2. Install it. ./PVRTexToolSetup-2020_R2.run-x64
  3. Accept EULA, and note the installation directory at the end /home/{user}/Imagination Technologies/PowerVR_Graphics
  4. cd ~/Imagination Technologies/PowerVR_Graphics/PowerVR_Tools/PVRTexTool/CLI/Linux_x86_64
  5. copy PVRTexToolCLI to the location of .ktx files, they should be in ktx directory by that point
  6. I would not recommend using PVRTexToolCLI binary from the git repository
  7. Make the output directory
  8. run convertktx.sh .ktx -> .pvr -> .png
  9. Enjoy your extracted PNGs in output folder

from eve-echoes-tools.

SilkyPants avatar SilkyPants commented on May 28, 2024

@sergiyz57918 - Did the images come out whiteish for you? I haven't had much luck with the PVRTextTool and accurate images

from eve-echoes-tools.

sergiyz57918 avatar sergiyz57918 commented on May 28, 2024

@sergiyz57918 - Did the images come out whiteish for you? I haven't had much luck with the PVRTextTool and accurate images

@SilkyPantsDan Yah, white balance is off on them. Mostly because they are used as skeans in OpenGL. I will try to correct the white balance in PS.

from eve-echoes-tools.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.