Comments (7)
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.
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.
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.
@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.
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
- Download the latest PVRTexToolSetup-2020_R2.run-x64 binary
- Install it.
./PVRTexToolSetup-2020_R2.run-x64
- Accept EULA, and note the installation directory at the end
/home/{user}/Imagination Technologies/PowerVR_Graphics
cd ~/Imagination Technologies/PowerVR_Graphics/PowerVR_Tools/PVRTexTool/CLI/Linux_x86_64
- copy PVRTexToolCLI to the location of .ktx files, they should be in ktx directory by that point
- I would not recommend using PVRTexToolCLI binary from the git repository
- Make the output directory
- run
convertktx.sh .ktx -> .pvr -> .png
- Enjoy your extracted PNGs in output folder
from eve-echoes-tools.
@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 - 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)
- Thread panic 'Integer too large' HOT 2
- [bug] FileNotFoundError: [Errno 2] No such file or directory HOT 3
- docker build fail , FileNotFoundError run in docker HOT 6
- Can not find the blueprint manufacture data
- Reading MPK/Messiah HOT 1
- Add staticdata which is contained in the python scripts (compile python scripts) HOT 7
- Translation index HOT 4
- Data file url broken HOT 2
- Docker and fsd2json HOT 11
- ZH to EN translations? HOT 5
- failed to compile `fsd2json v0.1.0 (/app/fsd2json)` while building docker image HOT 5
- dump_static_data.py returned non-zero exit status 1 HOT 3
- API endpoints HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eve-echoes-tools.