Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract nxtheme file online or with python script? #132

Open
HeikesFootSlave opened this issue Apr 20, 2023 · 1 comment
Open

Extract nxtheme file online or with python script? #132

HeikesFootSlave opened this issue Apr 20, 2023 · 1 comment

Comments

@HeikesFootSlave
Copy link

HeikesFootSlave commented Apr 20, 2023

Suggestion not issue!

Like title says!
Would that be possible?

Would be nice to get the content of a nxtheme file using just a web site or even better a python script that would extract the nxtheme file in a given folder (with subdirectories) / same folder with subdirectories! (then it would easily work on android!

Example:
py nxtheme.py test.nxtheme /test

And you would get all included theme pages as folders like this

  • test
    • lockscreen
      • bg.png
      • layout.json
    • homescreen
      • bg.png
      • layout.json
      • common.json
      • icon-a.png
      • ...
    • Playerselect
      -...
      -...

Would be really cool!

@exelix11
Copy link
Owner

nxtheme is just an szs archive containing a json manifest, layout and jpg image. Szs is a custom archive format used by nintendo in games, you can use any existing libraries to extract and pack them.
in hindisght it wasn't a great idea to recycle it for custom themes packing but it's too late to change it now.

I think the theme injector also has a command line option to extract them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants