Hacking How to inject homebrew .dols into .isos?

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
320
Country
Gambia, The
I finally got Sam & Max, and i have an idea how to get it to work, but for this i need to burn a modified copy with an injected .dol. Trucha Signer is a total failure for this, it even changes the size of the .dol. I tried WiiScrubber and a .dol with exact the same size as the original .dol, but the result i got is:
In the disc channel, the disc keeps spinning and the Wii is actually crashed, i can move around, but when i start the HBC it freezes. And when i try to start it with SoftChip(i need to start it from the disc channel), then i get a buffer alignment error.

Something interesting:
I accidentally used a makefile from a .dol loader and when i try to start the disc in SoftChip i get:
APPLOADER ERROR >>> One of the sections in the dol file exceeded its boundary. All the sections should not exceed 0x80900000 (production mode)
From the apploader! Nice to know this limitation for game .dols, even if it's quite useless.

So can anyone give me a hint how i can inject my .dol into the disc and start it from the disc channel?

PS: I forgot to mention that i changed the entrypoint to the same as the original .dol uses(0x80006124)
PPS: Lol, WiiScrubber reduces the size of the .dol too, but is able to extract the correct file. If i open the .iso with trucha signer, i see that a few bytes are cropped.
 

Wiisel

Well-Known Member
Member
Joined
Dec 4, 2008
Messages
1,309
Trophies
0
Website
Visit site
XP
332
Country
i did ths awhile ago swapping the main dol with mahjongg wii using wiiscrubber but only tried it in the usb loader i changed the game disc id also but cant remember what i used as a base ill see if i can find the thread



Edit just found the thread i never mentioned the base i used but it would have been something small like wii chess or gayfish ill redump the iso off my usb and see whats inside to find what i used
i know my original plan was to use the hbc iso
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
320
Country
Gambia, The
Great! Even if i save the decrypted partition and replace the main.dol with a hexeditor, trucha signer still shows the wrong size of the .dol. I guess Sam & Max does something non standard and causes this. Maybe the problem backup loders have, is the same i have when trying to replace the .dol.
 

sr_corsario

Well-Known Member
Member
Joined
Jun 11, 2008
Messages
423
Trophies
0
Age
42
XP
824
Country
Im not sure, but its very simple changing the main.dol from a iso. (last wiiscrubber) However... homebrew dols in general, make calls to SD and if some file are missing use to give a code dump. May be that could be the problem.
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
320
Country
Gambia, The
It doesn't get to the point of being executed. The disc channel keeps spinning forever and SoftChip shows an error before starting the disc. Somehow injecting the other .dol kills the disc.
 

Site & Scene News

General chit-chat
Help Users
  • ILeo @ ILeo:
    i might just mod it? my pc had only 1 fan with 80 temp now i added 4 fans and has 30 temp to 40 while on load
  • ILeo @ ILeo:
    might put it in a pc case?
  • ILeo @ ILeo:
    sounds good?
  • IanSkinner1982 @ IanSkinner1982:
    What is the recommended banner resolution for groups?
  • Flame @ Flame:
    i dont think they is one just get the biggest banner you find for your 70's computer group
  • IanSkinner1982 @ IanSkinner1982:
    70's and 80's! (maybe 90's too, I forgot when CBM went bankrupt)
    And alright.
  • DinohScene @ DinohScene:
    putting a 360 in a pc case is a big project... I'd just leave it at upping the fan
  • RedoLane @ RedoLane:
    so much for making a decent group.
  • IanSkinner1982 @ IanSkinner1982:
    What do you mean?
  • RedoLane @ RedoLane:
    I wasted my time coming up with a cool group idea, only to end up being the only member.
  • IanSkinner1982 @ IanSkinner1982:
    What was it?
  • RedoLane @ RedoLane:
    The Post-Apocalypse Survivors Association
  • IanSkinner1982 @ IanSkinner1982:
    gtg, been nice talking for this whole minute.
  • RedoLane @ RedoLane:
    welp
  • D34DL1N3R tempBOT:
    D34DL1N3R has left the room.
  • CPG @ CPG:
    oh hi tempbot
  • tsao @ tsao:
    hi @CPG
  • RAHelllord tempBOT:
    RAHelllord has left the room.
  • lemonmaster @ lemonmaster:
    wow wow
  • VashTS @ VashTS:
    oh hai chat
  • RedoLane @ RedoLane:
    oh hai mark
  • Hleb tempBOT:
    Hleb has left the room.
    Sonic Angel Knight @ Sonic Angel Knight: :blink: