Welcome! Log In Create A New Profile

Advanced

How To Use Wii_LaunchTitle();

Posted by Mellon 
How To Use Wii_LaunchTitle();
September 24, 2009 10:01PM
Need Help On How To Use Wii_LaunchTitle(); To Start Wii Apps, And How To Make The Title Id's Work With It!

Please Help!

Thanks , Mellon!
Re: How To Use Wii_LaunchTitle();
September 24, 2009 10:08PM
So you're looking for a "how-to"? Check out loadmii source.

Or do you have a specific question?
Re: How To Use Wii_LaunchTitle();
September 25, 2009 12:08AM
well it's ES_LaunchTitle not Wii_LaunchTitle...

take a look at below code...
[code.google.com]
especially launchTitle function
Re: How To Use Wii_LaunchTitle();
September 25, 2009 12:17AM
Src Is Use Full!!

But What Does views[0]); Do?

Can You Post Up A Loader Sub So I Can Use It In My Code!?!
Re: How To Use Wii_LaunchTitle();
September 25, 2009 01:12PM
Well all the needed code is in the source I referred.
You'll not find a lot of information about the structures used in that code, even wiibrew doesn't have it...

[www.wiibrew.org]

Here is the actual structure from ogc,

typedef struct _tikview {
	u32 view;
	u64 ticketid;
	u32 devicetype;
	u64 titleid;
	u16 access_mask;
	u8 reserved[0x3c];
	u8 cidx_mask[0x40];
	u16 padding;
	tiklimit limits[8];
} __attribute__((packed)) tikview;
Re: How To Use Wii_LaunchTitle();
September 25, 2009 01:50PM
try this

WII_Initialize();
WII_LaunchTitle(u64 title);
You will probably need more to shut down your threads that are currently running, but this should get you in the right direction. Wii_LaunchTitle() gets the views[] for you and calls the ES functions. The u64 title is the installed title to be loaded. For help knowing what number to call for what title, [wiibrew.org] will get you started. If you want to do (u32 upper ,u32 lower) , then you can use this little guy
#define TITLE_ID(x,y)		(((u64)(x) << 32) | (y))
So to launch HBC (HAXX), you could call
WII_LaunchTitle(TITLE_ID(0x00010001,0x48415858));



Edited 1 time(s). Last edit at 09/25/2009 02:11PM by giantpune.
Re: How To Use Wii_LaunchTitle();
September 29, 2009 12:12AM
Thanks giantpune !

Your Code Worked ! Thanks!

Case Closed!
Re: How To Use Wii_LaunchTitle();
September 29, 2009 10:59AM
it isn't mine. that is brought to you by the brilliant minds behind libogc.
Sorry, only registered users may post in this forum.

Click here to login