Hacking cSM Sneak Peek!

Status
Not open for further replies.

Tichinde925

Marth Ditto Money Match?
Member
Joined
Jul 14, 2008
Messages
1,096
Trophies
0
Age
35
Location
Warwick, Rhode Island
Website
Visit site
XP
143
Country
United States
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
 

zidane_genome

My sword has a +2 bleeding... wanna test it out?
Member
Joined
May 21, 2006
Messages
2,320
Trophies
0
Age
41
Website
Visit site
XP
275
Country
United States
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!"
 

MrBubbles

Well-Known Member
Member
Joined
Oct 19, 2007
Messages
323
Trophies
0
Age
34
Location
USA
XP
250
Country
United States
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.
 

zidane_genome

My sword has a +2 bleeding... wanna test it out?
Member
Joined
May 21, 2006
Messages
2,320
Trophies
0
Age
41
Website
Visit site
XP
275
Country
United States
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
 

Blue-K

No right of appeal.
Member
Joined
Jun 21, 2008
Messages
2,572
Trophies
0
Location
Helvetica
XP
199
Country
Swaziland
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...
 

t7g

Well-Known Member
Newcomer
Joined
Dec 1, 2008
Messages
48
Trophies
0
XP
34
Country
United States
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.
 

Rykin

Well-Known Member
Member
Joined
Feb 15, 2004
Messages
404
Trophies
1
Age
39
Location
Baltimore, MD
Website
Visit site
XP
681
Country
United States
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.
 

SanGor

Witchhunter
Member
Joined
Aug 21, 2008
Messages
993
Trophies
0
Website
Visit site
XP
215
Country
United States
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.
 

Beatchu

Well-Known Member
Member
Joined
Oct 27, 2008
Messages
347
Trophies
0
Age
29
Location
UK
XP
39
Country
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?
 

thawkins1

Well-Known Member
Member
Joined
Sep 26, 2008
Messages
272
Trophies
0
Age
36
Location
USA
Website
Visit site
XP
140
Country
United States
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
 

nicksasa

Well-Known Member
Member
Joined
Oct 25, 2008
Messages
1,410
Trophies
0
XP
79
Country
Belgium
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
 

Chemical_Warfare

Well-Known Member
Member
Joined
Oct 25, 2008
Messages
111
Trophies
0
XP
16
Country
Canada
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.
 

EmperorOfCanada

Well-Known Member
Member
Joined
Aug 4, 2008
Messages
1,474
Trophies
0
Age
43
Location
Canada
Website
Visit site
XP
339
Country
Canada
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

Marth Ditto Money Match?
Member
Joined
Jul 14, 2008
Messages
1,096
Trophies
0
Age
35
Location
Warwick, Rhode Island
Website
Visit site
XP
143
Country
United States

wolffangalchemist

This is bat country!
Member
Joined
Nov 23, 2008
Messages
1,519
Trophies
1
Age
32
Location
middleofnowhere, AL
XP
1,393
Country
United States
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!
 

ganons

Well-Known Member
Member
Joined
Jun 12, 2005
Messages
3,203
Trophies
1
XP
2,781
Country
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.
General chit-chat
Help Users
  • Skelletonike @ Skelletonike:
    a big nope
  • T @ TimeGBAtmep:
    Hey, so noobie wii modderhere, with an already hacked wii from my brother with homebrew channel ands hitand d2x cIOS installer, so i was trying to run some old wii games i lost off of USB Loader GX, im aware that your supposed to use a usb drive, but currently the only drive i have is used for steam games and personal stuff so i'm gonna try running them off a 32 GB Fat32 SD Card that i use for all the wii mods i have, but when i try and launch skyward sword from usb loader gx, it goes black for a second then sends me back to homebrew channel? i just looked for guides on here and saw one that said to install CiOS v8 Final Base 57 onto slot 49? but it still does the same even after i do that
  • AncientBoi @ AncientBoi:
    [calls your boss to make it so] :rofl2::evil:
  • T @ TimeGBAtmep:
    and should i make this a post? probably
  • Skelletonike @ Skelletonike:
    Yeah, always make posts.
  • T @ TimeGBAtmep:
    got it
  • Skelletonike @ Skelletonike:
    The chat isn't that viewed, you'll usually find the same members and they're like 10 active or so
  • Skelletonike @ Skelletonike:
    posts get more visibility, and if you do get an answer, it won't be lost in the sea of convos
  • T @ TimeGBAtmep:
    okay this is embarrasing how do i make a non blog post
  • AncientBoi @ AncientBoi:
    try the Wii section. then add your post
  • T @ TimeGBAtmep:
    oh.. this is a VERY common question it seems LOL
  • AncientBoi @ AncientBoi:
    cool
  • Skelletonike @ Skelletonike:
    I'd recommend you add a prefix
  • Veho @ Veho:
    Did the chatbox change position on the homepage? What's with all the new people asking questions?
  • Veho @ Veho:
    Is there a big shiny banner saying "visit the chatbox why don't you?"
  • Skelletonike @ Skelletonike:
    I'd also recommend you make the post more easily read. More Paragraphs and spaces.
  • Skelletonike @ Skelletonike:
    Lmao x'D
  • Skelletonike @ Skelletonike:
    Veho's territory is being threatened
    . :P
  • SylverReZ @ SylverReZ:
    Make the chat box disabled to new users until they level up.
    SylverReZ @ SylverReZ: Make the chat box disabled to new users until they level up.