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

Incorrect command error from hacbrewpack when building nro forwarder #15

Open
linusrg1 opened this issue Apr 25, 2023 · 1 comment
Open
Labels
question Further information is requested

Comments

@linusrg1
Copy link

Describe the bug
A clear and concise description of what the bug is.
hacbrewpack exits with /usr/bin/hacbrewpack: unrecognized option '--titleid' Usage: hackbrewpack [options...]

To Reproduce
Steps to reproduce the behavior:
Simply attempt to build an NRO with nton build blank.nro
Expected behavior
A clear and concise description of what you expected to happen.
For nton to use hacbrewpack correctly when building the nro.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@rlaphoenix
Copy link
Owner

rlaphoenix commented Aug 6, 2023

Hi,

It looks like you're trying to run NTON on Linux, which is currently not really supported, though you have seemed to gotten the furthest out of others who have made Issues. I'm not sure why it's complaining that --titleid doesnt exist, because it does. If you manually run hacbrewpack and do hacbrewpack --help, does it show it? This is what it should show:

$ .\hacbrewpack.exe --help                                                                                    00:39 AM
hacBrewPack v3.05 by The-4n

Usage: hacbrewpack.exe [options...]

Options:
-k, --keyset             Set keyset filepath, default filepath is .\keys.dat
-h, --help               Display usage
--nspdir                 Set output nsp directory path, default path is .\hacbrewpack_nsp\
--ncadir                 Set output nca directory path, default path is .\hacbrewpack_nca\
--tempdir                Set temp directory filepath, default filepath is .\hacbrewpack_temp\
--backupdir              Set backup directory path, default path is .\hacbrewpack_backup\
--exefsdir               Set program exefs directory path, default path is .\exefs\
--romfsdir               Set program romfs directory path, default path is .\romfs\
--logodir                Set program logo directory path, default path is .\logo\
--controldir             Set control romfs directory path, default path is .\control\
--htmldocdir             Set HtmlDocument romfs directory path
--legalinfodir           Set LegalInformation romfs directory path
--noromfs                Skip creating program romfs section
--nologo                 Skip creating program logo section
--keygeneration          Set keygeneration for encrypting key area, default keygeneration is 1
--keyareakey             Set key area key 2 in hex with 16 bytes lenght
--sdkversion             Set SDK version in hex, default SDK version is 000C1100
--plaintext              Skip encrypting sections and set section header block crypto type to plaintext
--keepncadir             Keep NCA directory
--nosignncasig2          Skip patching acid public key in npdm and signing nca header with acid public key
Overriding options:
--titleid                Use specified titleid for creating ncas and patch titleid in npdm and nacp
--titlename              Change title name in nacp for all languages, max size is 512 bytes
--titlepublisher         Change title publisher in nacp for all languages, max size is 256 bytes
--nopatchnacplogo        Skip changing logo handeling to auto in NACP

@rlaphoenix rlaphoenix added the question Further information is requested label Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants