Hacking cSM Sneak Peek!

  • Thread starter Thread starter Forsaekn
  • Start date Start date
  • Views Views 188,420
  • Replies Replies 1,248
Status
Not open for further replies.
mariomaniac33 said:
What about an option to turn on the Wii's Blue LED permanently? That would be cool. Then our Wiis would look like they did back when they were introduced at E3!

It shouldn't be too hard to program...

http://blog.emiliobool.com/posts/wiilight_code/

QUOTE#include
#include
#include
#include

struct timespec _wiilight_timeOn;
struct timespec _wiilight_timeOff;

int WIILIGHT_IsOn;
int WIILIGHT_Level;

void _wiilight_turn(int enable);
static void * _wiilight_loop(void *arg);
static vu32 *_wiilight_reg = (u32*)0xCD0000C0;
lwp_t _wiilight_thread;


void WIILIGHT_Init();
void WIILIGHT_TurnOn();
int WIILIGHT_GetLevel();
int WIILIGHT_SetLevel(int level);

void WIILIGHT_Toggle();
void WIILIGHT_TurnOff();

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

void WIILIGHT_Init(){
_wiilight_timeOn.tv_sec=(time_t)0;
_wiilight_timeOff.tv_sec=(time_t)0;
WIILIGHT_IsOn=0;
WIILIGHT_SetLevel(0);
}


int WIILIGHT_GetLevel(){
return WIILIGHT_Level;
}

//
// here is where we set the light intensity
// it turns on the light and
// waits level*40000 nanoseconds
// (so, if it is 255 it will wait for 10200000 nanoseconds)
// (that means ~ 1/100secs)
//
// for the time turned off it is 10200000-level_on
// (so, if level is 255, it will wait for 0 seconds)
// (that means full light intensity)
//

int WIILIGHT_SetLevel(int level){//0 to 255
long level_on;
long level_off;
if(level>255) level=255;
if(level0) _wiilight_turn(0);
nanosleep(&timeOff);
}

return NULL;

}

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

VIDEO_Init();
WPAD_Init();

rmode = VIDEO_GetPreferredMode(NULL);

xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode));

console_init(xfb,20,20,rmode->fbWidth,rmode->xfbHeight,rmode->fbWidth*VI_DISPLAY_PIX_SZ);
VIDEO_Configure(rmode);
VIDEO_SetNextFramebuffer(xfb);
VIDEO_SetBlack(FALSE);
VIDEO_Flush();
VIDEO_WaitVSync();
if(rmode->viTVMode&VI_NON_INTERLACE) VIDEO_WaitVSync();

printf("Invisible Line... can't be seen on my tv! O: n");
printf("Starting fading effect
biggrin.gif
...n");

//
// we set the initial values about timing
//
WIILIGHT_Init();

//
// with this we start the loop
//
WIILIGHT_TurnOn();

int i=0;
int dir=2;
while(1) {


if(i>255){
i=255;
dir=-2;
}
if(i
 
any way to make it flash in a specific order with that code? like make it flash in Morris Code... that would be funny as hell!

Have your Wii drive flashing something like "Help! There's a Leprechaun stuck on my drive chip making backups playable!"
 
mariomaniac33 said:
What about an option to turn on the Wii's Blue LED permanently? That would be cool. Then our Wiis would look like they did back when they were introduced at E3!

It shouldn't be too hard to program...

Why are people fascinated by this light? You do know that doing this will decrease the lifetime for the LED? Maybe not this year or next year, but it will die faster than it would normally would compared to everyone else.
 
LED's can last over 100,000 hours when lit constantly... That's about 11.42 years... will you still be using your Wii in 11 years? Doubt it!

EDIT:
corrected LED lifespan
 
And if the LED's will die soon, I will buy a nice new Case with new LEDs...(Black Katana)..Win-Win situation
nyanya.gif


So, if I understood this right, this is no problem to code, right? Since the Wiis in the Shops always lights blue...
 
Why didnt nintendo put this in on normals wiis as it looks tonnes better if the light is on
 
The reason the Wii light isn't always on is because some people actually have one in their room and it's already annoying as hell trying to sleep with a computer with a few led lights on it, they really can light up the whole room, ESPECIALLY the drive light.
 
Amen. Not to take this thread even further off topic, but I would HATE to have the blue LED on 24/7. It's cool to see it when I have a message because it's fairly obvious, but I always rush to check that message ASAP because the light is too bright and annoys me.

Hell, the light on the wiimote even annoys me when I'm playing in the dark.

P.S. I'm also not a fan of any console/PC/Controller that are "blinged" out with LEDs.
 
while it might be very easy to turn the LED on with code (setting one bit in a register), it's another story having it on all the time, you would need to patch EVERY IOS!
The easiest way would be a small hardware mod, just connect the LED to constant powersource.
 
SanGor said:
while it might be very easy to turn the LED on with code (setting one bit in a register), it's another story having it on all the time, you would need to patch EVERY IOS!
The easiest way would be a small hardware mod, just connect the LED to constant powersource.
Clock battery, perhaps?
 
Well you guys know how you can change the LED light on the original XBOX if it's softmodded? Would that be possible with the wii? That would be awesome!

*thawkins1 imagines a red LED light on his wii
 
thawkins1 said:
Well you guys know how you can change the LED light on the original XBOX if it's softmodded? Would that be possible with the wii? That would be awesome!

*thawkins1 imagines a red LED light on his wii
no because the xbox has a red/green/blue light that only shows red if there is somthing wrong the wii doesnt have that
 
zidane_genome said:
any way to make it flash in a specific order with that code? like make it flash in Morris Code... that would be funny as hell!

Have your Wii drive flashing something like "Help! There's a Leprechaun stuck on my drive chip making backups playable!"

It's called Morse, but still a neat idea having it flash messages, lol.

Something you can toggle though, cuz as some of the above posters have said, it can be annoying at times.
 
It is a little stalled right now because his wii's are out for repair. Be patient and it will be ready when its ready. Also I believe he is not planning on releasing it at all at the very least until Bootmii is out
 
Tichinde925 said:
If you want your Wii disc slot to stay on all the time, your going to have to remove the face plate and do it yourself
tongue.gif


I did it to mine:



http://www.youtube.com/watch?v=qSU5fJnojFE&fmt=18

Before:

n538333417_972007_9411.jpg


After:

n538333417_972006_9181.jpg


No soldering is necessary at all, I just followed this tutorial:



http://www.youtube.com/watch?v=L5ftb7XpNJM&fmt=18

Note: I did not strip any wires, only a copper wire I ripped out of my old Tyko RC Rebound.
that's fucking awesome i just did that!
man you could make $10 a friend doing that mod!
 
BL4Z3D247 said:
dbkdbk said:
How do you have GoldenEye, does it work?
no, he made that so people can play jokes on friends and such... Golden Eye somewhat works(from what i've seen on youtube and is very real) but is not released due to graphic problems(i believe)

from the guy who done banjo tooie?
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum