Homebrew Making your own channel injected with flash content?

alexdodd

Member
OP
Newcomer
Joined
Jan 14, 2010
Messages
14
Trophies
0
XP
50
Country
I haven't got a clue, but i wondered what the possibility of making your own channel on the wii based off a flash website is? I would love to see TVCatchup even just hastily ported/injected as a channel to hopefully get it working a little like the BBC iPlayer Channel. What are the possibilities of that? I can imagine its not particularly easy?

Shall i just keep dreaming of tvcatchup on my little wii?
frown.gif
 

Slimmmmmm

GBAtemp MoNkEeE
Member
Joined
Nov 1, 2007
Messages
1,770
Trophies
0
Location
the land of lol
XP
528
Country
Can you load this url and have it work on opera on the Wii ?
Remember there are 2 versions of Opera on the Wii with diff flash support.

If you can load this site and view it on Opera then give me the url please.
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
If you are able to open it with the internet channel it's easy. Could you please try it if it works?
@Slimmmmmm:
lol your post was invisible for me!
 

Slimmmmmm

GBAtemp MoNkEeE
Member
Joined
Nov 1, 2007
Messages
1,770
Trophies
0
Location
the land of lol
XP
528
Country
This works, I "think" this is as small as i can make it...

#include
#include
#include
#include

static void *xfb = NULL;
static GXRModeObj *rmode = NULL;

//---------------------------------------------------------------------------------
int main(int argc, char **argv) {
//---------------------------------------------------------------------------------

// Initialise the video system
VIDEO_Init();

// This function initialises the attached controllers
WPAD_Init();

// Obtain the preferred video mode from the system
// This will correspond to the settings in the Wii menu
rmode = VIDEO_GetPreferredMode(NULL);

// Allocate memory for the display in the uncached region
xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode));

// Initialise the console, required for printf
console_init(xfb,20,20,rmode->fbWidth,rmode->xfbHeight,rmode->fbWidth*VI_DISPLAY_PIX_SZ);

// Set up the video registers with the chosen mode
VIDEO_Configure(rmode);

// Tell the video hardware where our display memory is
VIDEO_SetNextFramebuffer(xfb);

// Make the display visible
VIDEO_SetBlack(FALSE);

// Flush the video register changes to the hardware
VIDEO_Flush();

// Wait for Video setup to complete
VIDEO_WaitVSync();
if(rmode->viTVMode&VI_NON_INTERLACE) VIDEO_WaitVSync();

WII_OpenURL("http://www.google.co.uk/");

while(1) {

// Call WPAD_ScanPads each loop, this reads the latest controller states
WPAD_ScanPads();

// WPAD_ButtonsDown tells us which buttons were pressed in this loop
// this is a "one shot" state which will not fire again until the button has been released
u32 pressed = WPAD_ButtonsDown(0);

// We return to the launcher application via exit
if ( pressed & WPAD_BUTTON_HOME ) exit(0);

// Wait for the next frame
VIDEO_WaitVSync();
}

return 0;
}

Your code Fix needs IF .... etc
But you don't need 3 urls just use the 1 function WII_OpenURL("http://www.google.co.uk/");

The best one to make if you run apache or a web server is to hook it to your local host, make a page that displays the pages in either an iframe or frames, this way you can do a lot more, with some php or js you can get some cool features or simple ones like on onscreen clock, you can make the frames dynamic so they go away unless you hover at the top of the screen etc.

You can do a lot more this way, if you use a frame and have php list dir of a folder then you can drop .swf files in and have a flash arcade which can even allow saves (to the pc), or the same again but for favourites or whatever you want zillions of without doing more than dropping files in a folder.
wink.gif


If you put a local addy, then you don't ever need to recompile or touch the Wii and can make changes at your server side. I GET the ID6 from cfg and add it to some search queries to generate links that my kids can browse on psp/ds while playing the Wii and ... loads of other crap 8-)

I could go on and on ... but this is more web dev than Wii dev so I'll stfu !!
tongue.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: