Hacking Dol ios patching

batwings21

Active Member
OP
Newcomer
Joined
Dec 2, 2006
Messages
42
Trophies
1
Location
USA
XP
347
Country
United States
Is there a way to load a homebrew .dol file using an ios other than what it was written for. Either a loader that forces the dol to run on a selected ios or a way to hex edit the dol to change the ios it loads from?
 

WiiCrazy

Be water my friend!
Member
Joined
May 8, 2008
Messages
2,395
Trophies
0
Location
Istanbul
Website
www.tepetaklak.com
XP
387
Country
You can do that only on select homebrew that explicitly reloads ios... of course you should know where to patch, to know that you should disassemble the program and find where it reloads the ios and accordingly...
 

ether2802

we have the techno...!!
Former Staff
Joined
Oct 14, 2007
Messages
4,349
Trophies
0
Age
41
Location
Pto. Vallarta
XP
312
Country
Mexico
Unfortunately, the OP doesn't seems to know about sources and compilling Mr. WiiCrazy, so is there another way..??
huh.gif
 

WiiCrazy

Be water my friend!
Member
Joined
May 8, 2008
Messages
2,395
Trophies
0
Location
Istanbul
Website
www.tepetaklak.com
XP
387
Country
ether2802 said:
Unfortunately, the OP doesn't seems to know about sources and compilling Mr. WiiCrazy, so is there another way..??
huh.gif

Well then he should interpret my response as plain 'no'
smile.gif


If there is a specific binary that reloads ios, then I can help though making it reload another...
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
If the app does not do an IOS reload, you could try to find the code where libogc loads IOS36 for most homebrew. You could patch this to use another IOS. But seriously, the easiest method is to change the source.
 

batwings21

Active Member
OP
Newcomer
Joined
Dec 2, 2006
Messages
42
Trophies
1
Location
USA
XP
347
Country
United States
Ether you are correct, I am no coder. I was not sure if there was a specific offest in the dol where it specified the ios it used, or if it was like you have explained and it can reload its ios at any point it chooses.

Here's what I was after. RawkSD's files do not work with rockband 2 played from usb loader. Some other finds recently lead me to believe if the rawksd app you run on the wii were patched to use cios223 or cios248 (these are where my ios37 cios's are) that the resulting files may work. So I was hoping I could just patch the app. But it seems it's not that easy.

WiiCrazy, WiiPower - Thanks for replying
 

ether2802

we have the techno...!!
Former Staff
Joined
Oct 14, 2007
Messages
4,349
Trophies
0
Age
41
Location
Pto. Vallarta
XP
312
Country
Mexico
Mmmmm.... you could ask to the creators to change the IOS, or get the source of the project and try to change it yourself it is not hard to install DevKitPro and mess around with sources, even I've been checking out a few ones (
 

WiiCrazy

Be water my friend!
Member
Joined
May 8, 2008
Messages
2,395
Trophies
0
Location
Istanbul
Website
www.tepetaklak.com
XP
387
Country
Ok, if it doesn't do any ios reloads then search for the hex string "7F E3 FB 78 83 A1 00 1C 83 C1 00 20 7C 08 03 A6 83 E1 00 24" in the dol... this is the relevant part in IOS_GetPreferredVersion... the last byte in the search string 24 is the max number of ios that is preferred by libogc... change it to what you want... 24 in hex = 36 in decimal... that is for latest libogc

Notify me if it works...

And of course asking the author of the apps will be more clear and easier... maybe you are after something irrelevant...

ps: hang on, finding a generic patch for all reloads, I need to convert last opcode to immediate... back to ppc basics...
Code:
.text1:80039E8C loc_80039E8C:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ # CODE XREF: sub_80039E38+2Cj
.text1:80039E8CÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ srawiÂÂ %r9, %r3, 0x1F
.text1:80039E90ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ oriÂÂÂÂ %r31, %r3, -0x522
.text1:80039E94ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ oriÂÂÂÂ %r30, %r9, 1
.text1:80039E98ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ mrÂÂÂÂÂÂ%r4, %r31
.text1:80039E9CÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ mrÂÂÂÂÂÂ%r3, %r30
.text1:80039EA0ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ addiÂÂÂÂ%r5, %sp, 0x3A8+var_3A0
.text1:80039EA4ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ blÂÂÂÂÂÂsub_8003A6B4
.text1:80039EA8ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ mr.ÂÂÂÂ %r0, %r3
.text1:80039EACÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ bcÂÂÂÂÂÂ13, lt, loc_80039E68
.text1:80039EB0ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ lwzÂÂÂÂ %r4, 0x3A8+var_3A0(%sp)
 

WiiCrazy

Be water my friend!
Member
Joined
May 8, 2008
Messages
2,395
Trophies
0
Location
Istanbul
Website
www.tepetaklak.com
XP
387
Country
Ok I think I got it,

For any homebrew app that's linked to latest libogc, here is the reload patch...
Find hex string "7C 60 1B 79 41 A0 FF C0 80 81 00 08" in the dol... change the last four bytes as "38 80 00 XX" where XX is the IOS you want to use...

Anyone willing to test?
 

batwings21

Active Member
OP
Newcomer
Joined
Dec 2, 2006
Messages
42
Trophies
1
Location
USA
XP
347
Country
United States
Both of those strings are present in the dol. Would I patch both of them, or just one. I'm at work now but I appreciate the help and will test tonight.
 

Alexrose

Untitled
Member
Joined
Jan 20, 2009
Messages
783
Trophies
0
Age
32
Location
England
XP
374
Country
You know you can just burn it to a disc and install ios37bugfix.wad then boot it through softchip using IOS37 and it'll work with RawkSD, right?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, i have a physical copy of mgs4
  • Xdqwerty @ Xdqwerty:
    ok I tried it and 1) it doesnt boot wood menu automatically and 2) when trying to load a game through wood theres just a loading screen
  • K3Nv2 @ K3Nv2:
    It's low on wood
    +1
  • Xdqwerty @ Xdqwerty:
    lemme ask in forums
  • Xdqwerty @ Xdqwerty:
    yawn
  • BigOnYa @ BigOnYa:
    @Xdqwerty No you heard wrong, and don't believe till you experience yourself. Fallout 4 is one of my favorite games of all time. Yes it had issues early on, esp with older hardware like the xbox1, but it is awesome, esp now being 4k on Series S/X or PS5
    +2
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, Then i think people were talking about fallout 76
  • Xdqwerty @ Xdqwerty:
    that one was buggy too
  • BigOnYa @ BigOnYa:
    Yea you right there, fallout 76 was a letdown, but it not that bad now, they have fixed slot of issues they had at launch. Biggest issue with Fallout 76 is its a pay to advance further type of game, which sucks
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I may probably download fallout 3 or new vegas on my ps3
  • Xdqwerty @ Xdqwerty:
    cuz I didnt like fallout 1 that much
  • BigOnYa @ BigOnYa:
    New Vegas is awesome, F3 was ok too.
  • Psionic Roshambo @ Psionic Roshambo:
    I played Fallout 4 on PC, I enjoyed it honestly. Not my favorite game on earth but at the same time I didn't hate it at all lol
  • BigOnYa @ BigOnYa:
    That's cool you got a ps3... Glad to hear. Game on!
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Ironic this was posted today lol
  • BigOnYa @ BigOnYa:
    I think the tv series has boasted play of, I did see they said playing of it Is up, way more than norm
    +1
  • BigOnYa @ BigOnYa:
    I've been playing the next gen version on Series X all day, I love it. :wub:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Downloading some random stuff, damn almost 400GBs in like 4 hours lol
  • Psionic Roshambo @ Psionic Roshambo:
    Gonna be over 1TB this month.... damn lol
  • Xdqwerty @ Xdqwerty:
    good night
    +1
  • BigOnYa @ BigOnYa:
    At least you have some fast speeds. What a drag that used to be, I remb downloading 1 pic back in the day, and seeing line by line show
  • BigOnYa @ BigOnYa:
    Nighty night.
  • BigOnYa @ BigOnYa:
    Or worse, you downloading something, and someone calls your phone and interupts the download, good ole AOL. Of course that's before most you guys even were born yet.
    BigOnYa @ BigOnYa: Or worse, you downloading something, and someone calls your phone and interupts the download...