Homebrew RELEASE NXhactool - hactool built as a nro/nso with libnx!

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,230
Country
Spain
Hi again! I've finally managed to port hactool as a homebrew app!
  • Original source by mbedtls and SciresM, who really made a great work with this cmd-line tool
  • Originally grabbed from another libnx project which used some mbedtls/hactool stuff for deriving keys
Modified stuff:
  • Changed all return/exit for Await function to avoid instant closes
  • Added consoleInit and gfxInit as libnx needs them
  • Added credits to usage text
  • Changed program name to NXhactool
  • All includes are included from "hactool.hpp" to make embedding easy (I'm embedding them in NSPower too)
  • The rest is just hactool's main.c's source plus its libs and mbedtls libs, grabbed from hactool v1.2.0
This is just a fast port, enjoy! Also, be free to try embedding/forking this project!

IMPORTANT! NXhactool anyway asks for args, so it should be called from nxlink!
Example nxlink command:
Code:
nxlink -a 192.168.1.64 NXhactool.nro --args "-t nca -k sdmc:/mykeys.ini sdmc:/myrom.nca"

GitHub repository: https://github.com/XorTroll/NXhactool
GitHub release: https://github.com/XorTroll/NXhactool/releases/latest

Enjoy! Btw, this hasn't been tested yet as it's a fast port of hactool!
 
Last edited by XorTroll,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Lol rappers still promoting crypto