Commit Graph

54 Commits

Author SHA1 Message Date
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
2769d3a891 * fix wad class for dealing with backwards-ass cIOS wads
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@53 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-15 22:45:32 +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
da0f3cc79e * allow reading of old nand.bin for creating a new one
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@51 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-14 17:48:38 +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
38bff8d982 * fix bug dealing with cache for NUS class
* add settings for example programs

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@49 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-08 19:14:47 +00:00
giantpune@gmail.com
644aa141bb * add a thp player. based off dimok & thakis' work ( requires libjpeg )
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@48 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-06 11:56:02 +00:00
giantpune@gmail.com
a041dba1b3 * fix installing saves to nand dump
* add installing saves to nand in savetoy

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@47 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-04 05:37:50 +00:00
giantpune@gmail.com
411c42203d * adding icons and adjusting layouts for example programs
* adjust U8 class for changed round-up macro.  still needs to be verified

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@46 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-04 02:40:25 +00:00
giantpune@gmail.com
930e92ca3c * use Qt stuff for general sha1 & md5.
* replace apparently buggy round-up macro

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@45 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-04 00:07:21 +00:00
giantpune@gmail.com
3f1f5654ad * add a few more things to get from keys.bin
* remove some junk left over from testing

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@44 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-03 10:21:34 +00:00
giantpune@gmail.com
adebd42830 * oneswanzenegger: create factory test logs and dirs when creating a blank nand.bin
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@43 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-03 05:09:49 +00:00
giantpune@gmail.com
1801f7f8cf * fix bug in nand.bin class: when creating a new nand.bin, initialize fst_pos in fst entries
* insert new entries in nand.bin at the start of the chain instead of at the end ( to closer mimic IOS FS behavior )
* oneswanzenegger: create /sys/cert.sys when creating a new nand.bin

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@42 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-03 04:02:00 +00:00
giantpune@gmail.com
d9a2a2e012 * add zip .a for OSx
* adjust layout for savethingy in Osx

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@41 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-02 09:39:30 +00:00
giantpune@gmail.com
154abeda92 * add zip stuff for the savetoy in windoze
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@40 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-02 09:03:50 +00:00
giantpune@gmail.com
64aa3bace1 .
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@39 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-02 08:46:59 +00:00
giantpune@gmail.com
a5d91b5bbb * more changes to the savetoy example. now it actually does stuff
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@38 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-02 08:18:00 +00:00
giantpune@gmail.com
cc09d9e72f * and these
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@37 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-02 06:48:17 +00:00
giantpune@gmail.com
f3c7feaee5 * forgot these
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@36 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-02 06:47:44 +00:00
giantpune@gmail.com
6c6796bddb *stupid svn
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@35 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-02 06:18:33 +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
7570278999 * made a bug
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@33 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-29 04:12:20 +00:00
giantpune@gmail.com
271429a006 * display images in the breft thingy
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@32 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-29 03:44:52 +00:00
megazig
fd20bc4484 start of an editor for breft files
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@31 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-29 02:47:06 +00:00
giantpune@gmail.com
a3e6288604 * implement static function for creating wads from a list of bytearrays
* minor optimizations - using "const &" to avoid creating a duplicate for function arguments in the library files
* nandBin needs to be built with write support to create a new file

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@30 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-23 16:17:46 +00:00
megazig
4ef3c3bebf added functions for modifying permissions of a wad. applied titleid setting for tickets.
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@29 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-23 07:32:10 +00:00
giantpune@gmail.com
d0b87f88f4 * remember the ticket decrypted key and dont calculate it every time it is requested
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@28 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-22 19:19:12 +00:00
giantpune@gmail.com
44900c32f1 * setting.txt dialog knows different regions
* make the button for selecting the NUS_Cache path actually do something in the 2 programs that use NUS
* default NUS_cache is up 2 directories in windoze
* allow reading bad blocks from a txt file when creating a blank nand

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@27 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-22 00:25:08 +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
giantpune@gmail.com
00f7302b0d * NUS downloader - add 2 more full updates to the list
* fix bug in creating the jap lists
* change the saveDialog to openFileDialog when opening a wad
* remove default text in the NUS downloader
* nandBin class - add the beginnings of writing...  adding & deleting files & directories apparently is working.  writing data to a file appears to work
* right now, its not writing to the nand.bin, so dont use these functions
* probably some other stuff i forgot

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@22 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-16 23:37:30 +00:00
megazig
ba948e0e26 added code for importing a wad into a nand
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@21 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-16 20:07:38 +00:00
giantpune@gmail.com
86c9d73b1e * add spare.cpp/.h for calculating ecc & hmac used in the nand
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@20 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-15 08:11:56 +00:00
giantpune@gmail.com
729f215d4e * added a class to deal with getting data from the first 8 nand blocks ( ones not belonging to the filesystem )
* really fix the bug that caused the nandBin class not to be able to open keys.bin

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@19 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-14 05:58:44 +00:00
giantpune@gmail.com
af2f9ee039 changes to the nandExtractor...
* add more info at the bottom of the block map including free space, key, and file details
* make the blocks a bit smaller so the screen doesnt need to be quite as freakin huge
* blockmap is hidable and resizable

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@18 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-12 11:48:51 +00:00
giantpune@gmail.com
71314d484c * fix bug in nandBin class that added the "/" root item to the path being extracted to
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@17 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-11 11:05:37 +00:00
giantpune@gmail.com
034e487a31 * forgotten files
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@16 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-11 10:39:41 +00:00
giantpune@gmail.com
cc7d47f3ab * add access functions to the nandBin class to get the cluster map for whole nand and for a given file
* change the nandExtract program a bit.  move nand extraction to a thread to keep it from hanging the main thread
* add pretty block map

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@15 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-11 10:12:50 +00:00
giantpune@gmail.com
5dddc3cfc8 * adding in support for transparently replacing characters in save names in the nand dump class. replacements are held in "/sys/replace". this should allow writing all official save data to a nand dump on any filesystem. weather or not other program know how to read that data back is another story. but at least this one will be able to handle all sorts of filenames now
* adding save installing & retrieving from an extracted nand FS ( untested )

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@14 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-10 13:10:53 +00:00
giantpune@gmail.com
64850e0ec3 * delete more unused files
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@13 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-10 03:52:43 +00:00
giantpune@gmail.com
134bb8f277 * moving the "library" files into a common folder 'WiiQt'
* adding in ASH0, LZ77 and  ( messy ) U8 classes

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@12 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-10 03:50:08 +00:00
giantpune@gmail.com
d8ea7b899b forgot this
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@11 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-09 11:31:24 +00:00
giantpune@gmail.com
ea71bb3f9a * fix bugs in the nand extractor that caused it not to be able to find the keys.bin
* add fakesigning stuff to the tmd & ticket classes
* add functions for changing the tmd & ticket classes ( size, hash, tid... )
* allow replacing contents in wads ( untested )
* other little bug fixes i forgot

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@10 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-09 11:30:25 +00:00
giantpune@gmail.com
d9ecb76202 * add a menu in the NUS tool to access setting.txt from the nand dump
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@9 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-09 05:45:12 +00:00
giantpune@gmail.com
4ff87cd24e * fix a few bugs in the NUS tool
* corrected TIDs used when downloading an entire update
* set the path to the nand dump when clicking the button to download something
* read data from cache even if title version is 0

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@8 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-09 04:10:19 +00:00
giantpune@gmail.com
7cbba0738e * add wad packing to NUS tool
* add more "known updates" to the NUS class.  now your can specify "3.4u" or similar instead of a TID and it will try to download all the titles that would have been in that update.    the lists of titles were taken from wiimpersonator logs and when those were missing, from disc update partitions.  thanks to markhemus and rduke for helping make the lists
* NUS tool will now make sure there is a valid setting.txt in the nand after it is done installing titles to it

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@7 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-08 18:07:57 +00:00
giantpune@gmail.com
d795e3ffdc * change "get the latest version of this title" to version 0xffff instead of 0. this allows getting version of a title that really does have version 0 ( some jap ones for example )
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@6 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-08 08:47:19 +00:00
giantpune@gmail.com
ca34183e4f * adding brief readmii about what each program does
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@5 389f4c8b-5dfe-645f-db0e-df882bc27289
2010-12-08 08:26:07 +00:00