MathewWi / dop-iosmod

Automatically exported from code.google.com/p/dop-iosmod
0 stars 0 forks source link

fixed some code. #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
here is a rar with files to put in the current svn.  it fixes the shit
where patchmii could not write to the sd card.  you were trying to init the
sd card more than once and after the first it always returned false so the
card wasnt used.

also i moved the sd init to wait until the card is actually needed before
you init it.

also cleaned up some compile warnings and commented out one or two
redundant functions like conclear().

i added a function to tools to create the subfolders and commented out the
old method

http://www.mediafire.com/?ziu2z4timow

Original issue reported on code.google.com by giantpune@gmail.com on 4 Dec 2009 at 6:26

GoogleCodeExporter commented 9 years ago
oops i just learned that my changed kill the sd/usb support while downgrading 
15 &
36.  to fix it, i just deinit the fat before IOS reloads, reinit after.  and 
put a 

if (!fatIsInit)fatinitdefault();...  blabla

 at the start of get_IOS() and all is well.

Original comment by giantpune@gmail.com on 4 Dec 2009 at 2:35

GoogleCodeExporter commented 9 years ago
I had a glance at your source, and I'm a little confused. It appears to reload 
IOS249 
before doing anything else. The whole point of this MOD was originally to stop 
you 
needing IOS249. Also, where is get_IOS()?

Original comment by themanwithnoaddress@gmail.com on 4 Dec 2009 at 9:23

GoogleCodeExporter commented 9 years ago

Original comment by themanwithnoaddress@gmail.com on 4 Dec 2009 at 9:31

GoogleCodeExporter commented 9 years ago
that IOS reload to 249 is inside a #ifdef statement.  so it isnt compiled 
unless you
have a #define GIANTPUNE.  i just put that in there so i could compile and test 
minor
changes without having to sit through the ios selection every time.

Original comment by giantpune@gmail.com on 5 Dec 2009 at 3:24

GoogleCodeExporter commented 9 years ago
alos - get_IOS() is in IOSPatcher.c.  its part of the stuff from TBR.

Original comment by giantpune@gmail.com on 5 Dec 2009 at 3:31

GoogleCodeExporter commented 9 years ago
OK. BTW, the second post you made stated some errors. I am assuming these were 
not 
fixed in the dl above, and so they need to be made before committing changes to 
SVN?

Original comment by themanwithnoaddress@gmail.com on 5 Dec 2009 at 1:39

GoogleCodeExporter commented 9 years ago
OK, I've been trying to make the changes detailed above, before committing 
changes to 
SVN, but when I try to compile I get the following error:

c:/Homebrew/dopIOSmodSVN/source/video.h:17: error: expected ')' before 'u16'

I do not see any changes made to video.h, so I do not see why suddenly this is 
an 
error, when obviously it compiled fine before (otherwise we would not have 
dopIOSMODv9). Do you know what the issue is?

Original comment by themanwithnoaddress@gmail.com on 5 Dec 2009 at 2:48

GoogleCodeExporter commented 9 years ago
c:/Homebrew/dopIOSmodSVN/source/video.h:17: error: expected ')' before 'u16'

tells you the exact error.  go to video.h, line 17.  there is "u16"  and it 
needs a
")" before it.  also do a clean and make when adding my stuff.

Original comment by giantpune@gmail.com on 5 Dec 2009 at 9:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
ok, i cant get this working, probably due to my n00bishness with programming 
related 
matters. anyway, i'll have to leave this to Arikado to sort out.

Original comment by themanwithnoaddress@gmail.com on 5 Dec 2009 at 9:37

GoogleCodeExporter commented 9 years ago
and you are correct.  the files in the rar i put are from before i realized 
that i
killed FAT support for the downgrading stuff.  but its just a simple fix to 
init the
FAT where i said.   

also i dont think using USB to downgrade 15 and 36 were working in your 
version.  i
didnt really mess with it because SD is fine.  people need to have a SD card to 
run
bannerbomb and make a bootmii backup, etc.  and after hackmii, downgrading the 
IOS
stuff is the first thing they will have to do. so really theres no reason to 
use USB.
 the SD card is already in the wii.  but if you really care about it, it seemed to me
that the first 2 wads it got from the USB worked and then it reloaded to 15 and 
after
that any time it tried to go to the USB it froze.

Original comment by giantpune@gmail.com on 5 Dec 2009 at 9:40

GoogleCodeExporter commented 9 years ago
giantpune, if I add you to the project as a committer can you commit your 
commit your
changes?

Original comment by castleva...@yahoo.com on 6 Dec 2009 at 5:41

GoogleCodeExporter commented 9 years ago
i could.  but ive made some more changes to my version.  i made it able to 
delete
stub ioses.  idk if you want that in there or not.

Original comment by giantpune@gmail.com on 6 Dec 2009 at 6:21

GoogleCodeExporter commented 9 years ago
Yeah, thats fine so long as it receives user consent at some point and the user 
is
fully aware of whats going on.

Original comment by castleva...@yahoo.com on 6 Dec 2009 at 1:57

GoogleCodeExporter commented 9 years ago
Oh, and I've added you as a committer to the project :-)

Original comment by castleva...@yahoo.com on 6 Dec 2009 at 3:53

GoogleCodeExporter commented 9 years ago

Original comment by castleva...@yahoo.com on 10 Dec 2009 at 11:42