Commit Graph

107 Commits

Author SHA1 Message Date
giantpune
c71ac45ab2 *u8: add support for checking if an archive was packed with wii.cs to allow fixing it
use case-insensitivity.  seems all the nintendo tools are running on windows and in the system menu html, paths are case-insensitive.  it doesnt seem like there is anywhere where they would need to be the other way

* lz77: support for unpacking archives larger than 0xffffff bytes

* nusdownloader: dont try to write files to cache if there is not one set
2011-07-11 05:47:33 +00:00
giantpune
f4a991de29 * ohneschwanzenegger:: add stuff to readmii 2011-05-31 04:01:49 +00:00
giantpune
52c732489a * nandExtract:: add svn identification stuff 2011-05-31 03:53:03 +00:00
giantpune
7b998b5422 * ohneschwanzenegger:: allow passing nand filename as argv
* nandBinCheck:: default to "-all -v -v" if no args are given
2011-05-30 23:39:10 +00:00
giantpune
3d7a8fb8fb *ohneschwanzenegger:: change handeling of uid.sys on content -> format 2011-05-30 00:52:10 +00:00
giantpune
64af2c61f5 *ohneschwanzenegger: use busy cursor when writing a 500MiB file
*nandExtract: remove unused save functions
2011-05-29 01:01:11 +00:00
giantpune
eeb3feb955 * ohmeschwanzenneger: adjust button layout a bit; allow pressing enter to trigger downloading stuff 2011-05-29 00:31:24 +00:00
giantpune
92faf689ee * nandBinCheck: add SVN identification crap 2011-05-28 09:10:50 +00:00
giantpune
481a4d2b4e * ohneschwanzenegger: fix SVN identification for winblows 2011-05-28 08:59:33 +00:00
giantpune
9079f8af42 * nusDownloader: use newer IOS14 for early JAP updates 2011-05-28 08:08:10 +00:00
giantpune
7f3c6d1d25 * add basic stuff for putting svn rev into the programs for identification.
* only tested on kubuntu with ohneswanzenegger so far
2011-05-28 06:50:16 +00:00
giantpune
530f360482 *nusDownloader:: fix cache bug caused be overzealous optimizations; add better error handeling when reading and saving data to/fromcache
*ohneschwanzenegger:: change possible misleading version text when overwriting a title
2011-05-28 06:05:34 +00:00
giantpune
3abb9f4b71 * ohneschwanzenegger: if trying to install multiple wads, and one fails, keep going. add testlog on format as well as creating new nand (yet untested) 2011-05-27 21:34:22 +00:00
giantpune
5e765319d2 *nandBin:: fix return value for failed reading of keys 2011-05-26 23:40:12 +00:00
giantpune
34a4f8876c * dont need save file stuff in nandbincheck 2011-05-18 17:34:45 +00:00
giantpune
a27c48058c * use ++i instead of i++ for iterators 2011-05-18 17:24:51 +00:00
giantpune
d0ca7c0f15 * use const reference in foreach() also 2011-05-17 21:18:45 +00:00
giantpune
3ee828284a * more of the same 2011-05-17 19:02:45 +00:00
giantpune
4f74cc3968 * more of the same 2011-05-17 18:36:33 +00:00
giantpune
15d6ba4344 * ohneschwanzenegger: fix possible crash, use const reference when installing shared contents 2011-05-16 07:46:42 +00:00
giantpune
32cf8113e4 * ohneswanzenegger: dont include code for building extracted FS 2011-05-15 23:17:06 +00:00
giantpune
b6330b362d * minor optimizations 2011-05-15 17:22:42 +00:00
giantpune
b8ae0d48f2 *nusdownloader: dont include USA news & weather channels in EU updates ( fix for issue 1 ) 2011-05-15 16:32:08 +00:00
giantpune
42970e46a8 * cleanup some useless text in punetwiin 2011-05-08 06:13:26 +00:00
giantpune
2de556bc77 * adding new program... punetwiin. its purpose is kinda like betwiin. but it works slightly different. for one, it takes a full nand.bin for both done files. it pulls the files and filesystem from the first nand, and it pull boot1&2, the keys and the bad block map from the second nand. then it bakes on low heat for 45 minutes and when its done, you will have the contents from the filesystem in teh first nand mixed with everything else from the second nand.
i only performed limited testing, but it seems to work fine.  in linux, the full process took < 20 seconds.  in windows, it was about 2 minutes.  bad blocks are taken into account, so i personally feel that it is safer that betwiin ( but im not knocking that program at all :) )

anybody using punetwiin is encouraged to verify the content of the output file before even thinking about installing it.
2011-05-08 06:09:02 +00:00
giantpune@gmail.com
92bbc87067 * ohneswanzenegger: dont try to write setting.txt if there is an error creating it 2011-05-03 07:20:11 +00:00
giantpune@gmail.com
8b0d801a34 *ohneswanzenegger: fix setting.txt bug 2011-05-03 07:13:42 +00:00
giantpune@gmail.com
2ec2031f6b * nandBinCheck: give slightly more information about uid/gid anomalies 2011-04-30 02:16:41 +00:00
giantpune@gmail.com
f8b3416a26 oops 2011-04-28 22:35:29 +00:00
giantpune@gmail.com
c75547111b * nandBinCheck: check multiple versions of tickets instead of just the first one 2011-04-28 21:44:18 +00:00
giantpune@gmail.com
1617433aea nandbin.cpp: add more characters to replace to support lame-ass windows filesystems 2011-04-19 08:24:00 +00:00
giantpune
12964e5c91 *svnfail 2011-03-24 09:11:51 +00:00
giantpune@gmail.com
a8c39270b8 2011-03-24 08:57:59 +00:00
giantpune
dd38acc53e * settingtxtdialog:: add newline after the last entry to keep libogc from choking on it 2011-03-13 06:53:43 +00:00
giantpune@gmail.com
52c6124b8e * nandBinCheck: show titles that rely on busted shared contents 2011-02-21 16:25:42 +00:00
giantpune@gmail.com
15f5715c52 * 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
2011-02-21 15:51:14 +00:00
giantpune
c96add47e3 *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 2011-01-29 08:44:22 +00:00
giantpune@gmail.com
506aa591e5 * nandBinChecker & ohneswanzenegger: SU tid is not part of the stuff installed at the factory
* fix korean brick tests
2011-01-28 22:47:35 +00:00
giantpune@gmail.com
b733f95398 * NUS Downloader: fix missing titles for 4.0+u. 2011-01-26 02:44:03 +00:00
giantpune@gmail.com
4c2eea6ddd * ohneswanzenegger: write metadada after editing setting.txt 2011-01-25 22:29:59 +00:00
giantpune@gmail.com
1ee50ec16f * 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 )
2011-01-21 06:21:28 +00:00
giantpune
14f32c8fd6 * nandChecker: don't use bundle crap on OSx. add color stuff for win32 2011-01-20 03:22:30 +00:00
giantpune@gmail.com
b45b4dfd83 * nandchecker: send text to stdout instead of stderr. add pretty colors to see errors and warnings easier. 2011-01-20 02:05:18 +00:00
giantpune@gmail.com
924ce71bf6 *nandchecker: add listing of deleted titles
* ohneswanzenegger: fix bug that let original HBC slip though as "installed at the factory"
2011-01-19 22:32:13 +00:00
giantpune@gmail.com
96860e5aeb *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
2011-01-19 03:39:39 +00:00
giantpune@gmail.com
d0b90a46d9 * nandBin: add format()
* ohneswanzenegger: allow using format on an already existing nand.bin
2011-01-18 19:30:36 +00:00
giantpune@gmail.com
2ccd125bb3 * account for the other, non-usa regions when creating default UID entries
* try to use the least possible ones amount of them while still being accurate
2011-01-18 03:03:08 +00:00
giantpune@gmail.com
29d7193a21 * NUSdownloader:
fix incorrect system menu version in one of the jap updates
add some 2.X updates
2011-01-17 19:31:00 +00:00
giantpune@gmail.com
b901dfe453 * nanddump: fix bug when changing basepath
* NUSdownloader: dont always include IOS35, since the class is used for other things besides just sneek now
2011-01-17 16:24:12 +00:00
giantpune@gmail.com
070e78bef5 * oneswanzenegger: add crap in /meta 2011-01-16 19:47:33 +00:00