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
30
Location
???
XP
11,248
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
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    When I worked for Dell we had access to data about military contracts and addresses for high ranking people.
  • Psionic Roshambo @ Psionic Roshambo:
    I personally handled a call from the second highest person at Raytheon. That call bothered me a lot... The guy was nice and smart what bothered me was the way management basically just blew him off instead of going the extra mile to help him.
  • Psionic Roshambo @ Psionic Roshambo:
    In the end that call ended up costing Dell millions in lost contracts with Raytheon, and really the issue could have been solved for like 450 bucks lol
  • NinStar @ NinStar:
    sometimes I wonder why anyone would ever buy mega man x legacy collection 2
  • NinStar @ NinStar:
    I always thought that capcom shuffled the games in these collection, but apparently they are all in chronological order, which makes legacy collection 2 worthless
  • BakerMan @ BakerMan:
    guys, i want to start singing pirate metal songs and sea shanties if i play sea of thieves
  • The Real Jdbye @ The Real Jdbye:
    find a pirate metal playlist
    +2
  • The Real Jdbye @ The Real Jdbye:
    and sing along
  • BakerMan @ BakerMan:
    nevermind i just learned swearing is against the rules in sea of thieves

    i was about to start singing the song i last put in "what song are you currently listening to" yesterday
  • BakerMan @ BakerMan:
    but yeah ig so
  • The Real Jdbye @ The Real Jdbye:
    swearing not allowed in a pirate game? what has the world come to
  • BakerMan @ BakerMan:
    (here's the song for context)
  • BigOnYa @ BigOnYa:
    Just add -izle to the end of every curse word, you will be fine.
    +2
  • The Real Jdbye @ The Real Jdbye:
    i like alestorm
    +1
  • The Real Jdbye @ The Real Jdbye:
    @BigOnYa too many syllables
    +1
  • BakerMan @ BakerMan:
    same lmao
  • BigOnYa @ BigOnYa:
    hi, welcome to the Temp!
    +1
  • BakerMan @ BakerMan:
    Welcome to the Underground!
    +1
  • BakerMan @ BakerMan:
    the booty boogie from (once again) the donkey kong country cartoon could also be a good song to sing while playing sea of thieves
  • BigOnYa @ BigOnYa:
    Please insert 25 cents for an additional 30 minutes of talk time.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    It's the Switcheroo
    Psionic Roshambo @ Psionic Roshambo: It's the Switcheroo