Commit Graph

115 Commits

Author SHA1 Message Date
giantpune
a4648d8cac * symbolizer: handle HA and HI relacotians differently. use unique function names in IDC
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@115 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-12-15 00:41:41 +00:00
giantpune
ea3e04d2c0 * remove debug stuff
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@114 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-12-14 03:51:01 +00:00
giantpune
9eacd0f21e * symolizer: fix a couple bugs in list filtering and whatnot
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@113 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-12-14 03:49:16 +00:00
giantpune
a7675877ca * symbolizer: follow global variables from known functions to identify the unknown ones
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@112 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-12-13 06:07:45 +00:00
giantpune
fc190bfc93 * symbolizer: dont do anything with r2 and r13 references for functions that dont match patterns
look for functions with a certain minimum size that only fit 1 place in the dol, then include branches off of that one, and branches off those, and so on until there are no more branches to follow

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@111 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-12-13 00:22:53 +00:00
giantpune
d886066446 * fix aligned searching. it should find a few more matches now
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@110 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-12-12 07:18:29 +00:00
giantpune
830e1bdb4a * dont need this in there
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@109 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-12-12 07:02:05 +00:00
giantpune
6e25705126 * add new program 'symbolizer' which has basically nothing to do with any of the rest of this stuff. but it is wii-related and using Qt, so it ends up here
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@108 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-12-12 06:52:50 +00:00
giantpune
b703943847 *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

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@107 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-07-11 05:47:33 +00:00
giantpune
802b4a2894 * ohneschwanzenegger:: add stuff to readmii
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@106 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-31 04:01:49 +00:00
giantpune
b17507e0e9 * nandExtract:: add svn identification stuff
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@105 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-31 03:53:03 +00: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
7752ff1843 *ohneschwanzenegger:: change handeling of uid.sys on content -> format
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@103 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-30 00:52:10 +00:00
giantpune
dbeaa3ea98 *ohneschwanzenegger: use busy cursor when writing a 500MiB file
*nandExtract: remove unused save functions

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@102 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-29 01:01:11 +00:00
giantpune
f14dcde52f * ohmeschwanzenneger: adjust button layout a bit; allow pressing enter to trigger downloading stuff
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@101 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-29 00:31:24 +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
2defb5d42e * ohneschwanzenegger: fix SVN identification for winblows
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@99 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-28 08:59:33 +00:00
giantpune
62be6769b1 * nusDownloader: use newer IOS14 for early JAP updates
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@98 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-28 08:08:10 +00:00
giantpune
c621d20e86 * add basic stuff for putting svn rev into the programs for identification.
* only tested on kubuntu with ohneswanzenegger so far

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@97 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-28 06:50:16 +00:00
giantpune
2777708318 *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

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@96 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-28 06:05:34 +00:00
giantpune
ad906d24d9 * ohneschwanzenegger: if trying to install multiple wads, and one fails, keep going. add testlog on format as well as creating new nand (yet untested)
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@95 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-27 21:34:22 +00:00
giantpune
c744b29d04 *nandBin:: fix return value for failed reading of keys
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@94 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-26 23:40:12 +00:00
giantpune
a9bde8574e * dont need save file stuff in nandbincheck
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@93 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-18 17:34:45 +00:00
giantpune
057023094e * use ++i instead of i++ for iterators
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@92 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-18 17:24:51 +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
573d64a87b * more of the same
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@90 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-17 19:02:45 +00:00
giantpune
a747124f2b * more of the same
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@89 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-17 18:36:33 +00:00
giantpune
04094e8e54 * ohneschwanzenegger: fix possible crash, use const reference when installing shared contents
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@88 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-16 07:46:42 +00:00
giantpune
8a683c7078 * ohneswanzenegger: dont include code for building extracted FS
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@87 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-15 23:17:06 +00:00
giantpune
1dab1d2a59 * minor optimizations
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@86 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-15 17:22:42 +00:00
giantpune
c891dd5ff5 *nusdownloader: dont include USA news & weather channels in EU updates ( fix for issue 1 )
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@85 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-15 16:32:08 +00:00
giantpune
87bbdf54ec * cleanup some useless text in punetwiin
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@84 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-08 06:13:26 +00:00
giantpune
0576fafe79 * 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.

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@83 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-08 06:09:02 +00:00
giantpune@gmail.com
fcf97db89e * ohneswanzenegger: dont try to write setting.txt if there is an error creating it
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@82 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-03 07:20:11 +00:00
giantpune@gmail.com
d00f9235e3 *ohneswanzenegger: fix setting.txt bug
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@81 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-05-03 07:13:42 +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
13610f87ad *svnfail
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@76 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-03-24 09:11:51 +00:00
giantpune@gmail.com
bb4f9e1653 git-svn-id: http://wiiqt.googlecode.com/svn/trunk@75 389f4c8b-5dfe-645f-db0e-df882bc27289 2011-03-24 08:57:59 +00:00
giantpune
45ab760616 * settingtxtdialog:: add newline after the last entry to keep libogc from choking on it
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@74 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-03-13 06:53:43 +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
ca5c68010b * ohneswanzenegger: write metadada after editing setting.txt
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@68 389f4c8b-5dfe-645f-db0e-df882bc27289
2011-01-25 22:29:59 +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