Welcome! Log In Create A New Profile

Advanced

System Menu Location?

Posted by pokeglobe 
System Menu Location?
October 01, 2009 04:19AM
What is the name of the System menu dol file? And where abouts on the nand is it?
I am trying to make a preloader like app. I am just stuck with the system menu location part.

Also... Does the system menu have a TITLE ID?
Re: System Menu Location?
October 01, 2009 04:24AM
isfs/title/00000001/00000002/content/
that would make its ID 0x100000002LL



Edited 1 time(s). Last edit at 10/01/2009 04:24AM by giantpune.
Re: System Menu Location?
October 01, 2009 04:27AM
Thanks :)
I didn't know it was so easy to code a preloader XD

Edit: but what is the system menu's dol called?



Edited 1 time(s). Last edit at 10/01/2009 04:31AM by pokeglobe.
Re: System Menu Location?
October 01, 2009 05:42AM
it depends on your sysmenu version. it will be one of the 000000##.app files. i am on 3.2u so mine is 00000043.app.
Re: System Menu Location?
October 01, 2009 07:00AM
Great if you rename the .app will the lauch title still load it?
Re: System Menu Location?
October 01, 2009 07:41AM
i believe you would just put your app in the system menu's place and then you can rename the system menu to whatever you want. so if i had a snes emulator and named it 00000043.app and put it in the 00000001/00000002/content folder im guessing it would make my wii a snes player. just make sure you have a way to undo what you are doing otherwise you could end up with a wii shaped snes.
Re: System Menu Location?
October 01, 2009 08:09AM
That is one expensive snes IMO. I will write another code reversing the installation so no worries.
Also bootmii boot2 is installed.

I was asking about this:WII_LaunchTitle(0x100000002LL)
Would that load the new .app or still find the renamed system menu.

Wow I went a long way from freaking out from the Devkitpro Template file!
I thought Hello world would brick my wii .
Re: System Menu Location?
October 01, 2009 08:43AM
I know it's not clean code, but with this you get the number of the .app file you want from the tmd:

bootindex = ((tmd *)SIGNATURE_PAYLOAD((signed_blob *)tmdBuffer))->boot_index;
tmd_content *p_cr;
p_cr = TMD_CONTENTS(((tmd *)SIGNATURE_PAYLOAD((signed_blob *)tmdBuffer)));
bootapp = p_cr[bootindex].cid;

Anyways, the system menu .dol has 0x3400 (=0x80003400) as entrypoint and in homebrew you need different code to load .dols with that entrypoint than you need for other .dols. I think boot2 does the same and won't boot homebrew .dols that are just renamed.

Only try this with BootMii installed to boot2 and a nand backup ready! Everything else can't protect you from the brick you will get by this.
Re: System Menu Location?
October 01, 2009 09:14AM
Lol I have bootmii as boot2
I have also made an uninstaller for issues like this.

How does preloader run before the system menu?
Re: System Menu Location?
October 01, 2009 09:54AM
Where can I find the other wii versions of 000000##.app
I only know the 3.2u .

If someone could send a list or link to a list that would be great!
Re: System Menu Location?
October 01, 2009 12:38PM
You don't need a list, there is field called boot_index in the tmd... Just lurk into the source code of sadmenu... it's done there...
Re: System Menu Location?
October 01, 2009 02:57PM
Hey i already posted code to get that information directly from the Wii for all system menus!

And boot_index is not the 000000xx.app file, it's the index of the boot title within the tmd contents.

Preloader does it by replacing that .dol, crediar knows how to do that. (and i'm not sure regular homebrew .dols don't work there, i just assume it) And the original system menu gets renamed to 100000xx.app on preloader and can easily be launched.
Sorry, only registered users may post in this forum.

Click here to login