Commit Graph

27 Commits

Author SHA1 Message Date
martravi
0da56e8f75 NUS NAND Builder and base ported to QT 6 2024-07-19 16:36:53 +02:00
Antonio SJ Musumeci
a18bbb98cd get nandBinCheck to compile with QT5 2014-07-09 17:49:58 -04:00
giantpune
06da4707a6 * ohneschwanzenegger:: allow passing nand filename as argv
* nandBinCheck:: default to "-all -v -v" if no args are given

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@104 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-30 23:39:10 +00:00
giantpune
bdc77990a1 * nandBinCheck: add SVN identification crap
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@100 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-28 09:10:50 +00:00
giantpune
a747992319 * use const reference in foreach() also
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@91 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-17 21:18:45 +00:00
giantpune@gmail.com
f5c17b4483 * nandBinCheck: give slightly more information about uid/gid anomalies
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@80 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-04-30 02:16:41 +00:00
giantpune@gmail.com
f17ee5987f oops
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@79 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-04-28 22:35:29 +00:00
giantpune@gmail.com
ff8c2e9751 * nandBinCheck: check multiple versions of tickets instead of just the first one
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@78 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-04-28 21:44:18 +00:00
giantpune@gmail.com
b91785abac nandbin.cpp: add more characters to replace to support lame-ass windows filesystems
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@77 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-04-19 08:24:00 +00:00
giantpune@gmail.com
ca9ee0ebcc * nandBinCheck: show titles that rely on busted shared contents
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@73 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-02-21 16:25:42 +00:00
giantpune@gmail.com
43ae33972d * TMD:: use reserved2 for fakesigning. "zeros" is actually part of the region and breaks things
* nandBin:: if SFFS generation rolls around to 0, write all 16 superclusters

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@72 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-02-21 15:51:14 +00:00
giantpune
e48e9d67e0 *ash class: slightly better error handling & memory management. should help fix/avoid some issues with buffer overflowing using the hardcoded buffer size from crediar's original code
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@71 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-29 08:44:22 +00:00
giantpune@gmail.com
bd7b56f644 * nandBinChecker & ohneswanzenegger: SU tid is not part of the stuff installed at the factory
* fix korean brick tests

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@70 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-28 22:47:35 +00:00
giantpune@gmail.com
b899479a01 * NUS Downloader: fix missing titles for 4.0+u.
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@69 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-26 02:44:03 +00:00
giantpune@gmail.com
2ef8140044 * Tmd class: change name of bootindex/index to match libogc and avoid confusion
* nandChecker: add korean brick checking ( still untested with a real korean dump )

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@67 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-21 06:21:28 +00:00
giantpune
0c84a11f79 * nandChecker: don't use bundle crap on OSx. add color stuff for win32
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@66 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-20 03:22:30 +00:00
giantpune@gmail.com
b9acf97809 * nandchecker: send text to stdout instead of stderr. add pretty colors to see errors and warnings easier.
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@65 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-20 02:05:18 +00:00
giantpune@gmail.com
9c9e7a763f *nandchecker: add listing of deleted titles
* ohneswanzenegger: fix bug that let original HBC slip though as "installed at the factory"

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@64 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-19 22:32:13 +00:00
giantpune@gmail.com
a283f45b7d *NUSdownloader: get regsel v1 for 2.X updates. v2 requires ios31, which didnt come around till 3.0
*nandBin: #ifdef out code not used when not built with write ability
*nandChecker: add stuff for checking system menu against setting.txt
* add stuff for displaying title name and other information
*ohneswansenegger: fix bug which caused formatted nand to use previous content.map and uid.sys

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@63 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-19 03:39:39 +00:00
giantpune@gmail.com
e8bd408ba6 * nandBin - change the way gathering clusters for new data works. this seems to better emulate the way IOS does it
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@54 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-16 14:40:14 +00:00
giantpune@gmail.com
dfd31fe4ed * fix bug in NUS downloader that added some titles to the list and then used another list, forgetting about the first 2 titles
* fix bug in nandBin class when the current superblock was the last one

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@52 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-15 22:21:43 +00:00
giantpune@gmail.com
92f2500c08 * sort titles in nandBinChecker
* use unsigned int since HBC's TID wont fit in a signed 32 bit int
* add key index fixing in the ticket class

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@50 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-13 16:43:49 +00:00
giantpune@gmail.com
1994e8bdda * adding stuff to convert to/from data.bin for saves
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@34 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-02 06:15:26 +00:00
giantpune@gmail.com
c41bc634a1 * fix bugs in the nandBin delete
* fiix bug when writing supercluster
* add macros for nand attributes
* adding another example program for creating nand.bin and adding wads.  it SEEMS to work as expected, but still, use it with EXTREME CAUTION
* changed default NUS_Cache path in NUS downloader to parent directly so the 2 example programs can share the same cache
* added "-all" argument for the nandBinchecker

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@26 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-21 20:01:39 +00:00
giantpune@gmail.com
e20fcdaeb4 * add building a "blank" nand.bin.
* when checking spare data, dont check for blocks that are all 0xff ( untouched )
* dont try to check contents for DLC, since there will probably always be some missing

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@25 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-19 22:24:54 +00:00
giantpune@gmail.com
d11f38a82c * fix missing case that let bad RSA slip through the cracks in the latest demo app
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@24 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-18 21:45:14 +00:00
giantpune@gmail.com
a498d9def8 * fixed bugs in nandBin dealing with getting the supercluster
* adding stuff for writing a supercluster with updates information, using correct rotation
* fixed a few more bugs in this class forgot about
* move the "fakesign checker" stuff to a more appropriate place
* add a couple small functions to TMD, ticket, shardeMap
* add a new "demo" program/project nandBinCheck.  it does lots of useful integrety checks on a nand.bin that will be needed when starting to actually write these things

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@23 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-18 21:07:58 +00:00